String requestUrl = request.getRequestURL().toString();
String querystr = request.getQueryString();
if (querystr != null){
querystr = querystr +
"&inspector-name=Jen&inspector-email=Jenniferq@yahoo.com";
} else {
querystr = "inspector-name=Jen&inspector-email=Jenniferq@yahoo.com";}
RequestDispatcher dispatcher =
request.getRequestDispatcher("/viewPost.jsp?"+querystr);
dispatcher.forward(request,response);