Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

getting paramerts in another page

 
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!