• Post Reply Bookmark Topic Watch Topic
  • New Topic

getting paramerts in another page  RSS feed

 
thippareddy mallikarjuna reddy
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Pals,

I have three JSP pages. first jsp page have some input types. here one parameter have multiplue values. i got this parameter in the second page using like :String[] keys = (String[])request.getParameterValues("keywordId") ;

now i need same paramer values in the third page also

please give me idea

Thanks
 
Naseem Khan
Ranch Hand
Posts: 809
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why don't you make your second jsp a servlet. Its better to write java code in servlet rather than in jsp.



in third jsp...
<%
String[] values=(String[])request.getAttribute("someKey");
%>

Naseem
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!