This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes passing different parameters to different frames in Frameset jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "passing different parameters to different frames in Frameset jsp " Watch "passing different parameters to different frames in Frameset jsp " New topic
Author

passing different parameters to different frames in Frameset jsp

Varshini Priya
Ranch Hand

Joined: Feb 17, 2008
Posts: 93

Hi

I have an issue, where I need help in passing the input information provided by user to all the other jsp pages. I have the below input.jsp page


Input.jsp



I need to pass the input StudentID entered by the user to various jsp pages. Once the action is invoked in the above jsp, the struts config will redirect it to Studresults.jsp page. which based on the studentid provided fetches the values from the DB and displays results. Im able to get the input studentid that was provided by the user in this page, since the form details are being made available in the action class and the results are specified in the studresults.jsp page.


Studresults.jsp




In the above jsp page ( code specified above, I have two hyperlinks where two different actions will be invoked. the parameter that I need to pass in this jsp should be the same studentID provided by the user as input . But Im not able to get the input userid as parameter, there are someother userids that are returned not the input one. Can you please let me know how to pass the input userid to all the other jsp pages.

Thanks in Advance


 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: passing different parameters to different frames in Frameset jsp
 
Similar Threads
Servlet code in JSP page
org.apache.jasper.JasperException: Unable to compile class for JSP
calling a java Script file into the Jsp
How to send Parameters from JSP to a Servlet?
What's Going Wrong Here?