Hi all,
forgive me if this thread has been discussed before. I searched the
archive list but returned with no success. It says some "server not
start error".
Following is the code snippet.
public class Mailbox extends HttpServlet{
public void doGet(HttpServletRequest req, HttpServletResponse res)
throws ServletException, IOException{
ServletOutputStream out = res.getOutputStream();
out.println("Remote Host: " + req.getRemoteHost());
String x="http://";
String name=req.getServerName();
x+=name;
x+=req.getRequestURI();
x+="?srini";
res.encodeRedirectURL(x);
out.println("The string is " + req.getPathInfo());
}
I want to send come added parameter to this current servlet URL and need
to catch them with another servlet. How shall i do that??
Please help me,
Srini
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html