• Post Reply Bookmark Topic Watch Topic
  • New Topic

jsp url rewriting

 
mohammad shadab
Ranch Hand
Posts: 52
Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have to variables in my jsp (firt.jsp)by the name
int id=25;
String name="shadab";
i want to send these both variable onto another jsp page(second.jsp) using the hyperlink.please tell me what will be the way to append in url???
thank you
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65518
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not with URL rewriting.

Simply add the name/value pair to the URL as a request param after the ? character: name=shadab

Be sure that the name and the value are properly URL encoded.
 
mohammad shadab
Ranch Hand
Posts: 52
Eclipse IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear Bibeault wrote:Not with URL rewriting.

Simply add the name/value pair to the URL as a request param after the ? character: name=shadab

Be sure that the name and the value are properly URL encoded.


Thank you Bear Bibeault
what is the mean by url encoded i didnt understand please make clear it....
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65518
105
IntelliJ IDE Java jQuery Mac Mac OS X
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!