Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_jsp thread: Regading passing variables


Message #1 by "Rajeev" <rajeevpatkie@r...> on Thu, 18 Jan 2001 06:06:45 -0000
hi:
 you mat try this 
  passing from xyz.jsp?v=1 to 
  ddd.jsp

put this in the body: String[] num = request.getParameterValues("v");
  
Good Luck

----- Original Message -----
From: "Rajeev" <rajeevpatkie@r...>
Date: Thursday, January 18, 2001 2:06 pm
Subject: [pro_jsp] Regading passing variables

> I want to pass an array from one .jsp page to other.
> I had used querystring method for one variable which is working fine
> like
> reponse.sendRedirect("xyz.jsp?v="+v1);
> 
> Now i want to pass array and i am reteiving by 
> request.getParameterNames()which returns Enumeration type or 
> request.getParameterValues(Stringvalues) but i m not knowing how 
> to store in current .jsp page.

  Return to Index