IntelliJ Java IDE
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
Register / Login
JavaRanch » Java Forums » Application Frameworks » Struts
Reply 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: 61

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


 
 
subject: passing different parameters to different frames in Frameset jsp
 
Threads others viewed
calling a java Script file into the Jsp
org.apache.jasper.JasperException: Unable to compile class for JSP
What's Going Wrong Here?
Servlet code in JSP page
How to send Parameters from JSP to a Servlet?
IntelliJ Java IDE

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture