posted 14 years ago
i found this example from site.http://www.roseindia.net/jsp/jspsession/SessionUsingUrlRewriting.shtml
this is encodeURL.jsp
this is EncodeURLProgram.jsp
this is NextPageAfterFirst.jsp
[code]
<html>
<head>
<title>Welcome in In the program of URL rewriting</title>
</head>
<body>
<font size = 6>Hello</font> <%= session.getAttribute("username") %>
</body>
</html>
[code]
my question is is i enter Williams as a name and abcde as password it gives second page.then i click the link it shows the name which i entered.
my problem is if i remove this part "EncodeURLProgram.jsp" from EncodeURLProgram.jsp also it is working .
then what is the url rewriting?
why we add "?name=+name+&password=+password" this part?