wood burning stoves 2.0*
The moose likes Servlets and the fly likes Servlet sending request object to 2 jsp's Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet sending request object to 2 jsp Watch "Servlet sending request object to 2 jsp New topic
Author

Servlet sending request object to 2 jsp's

kiran nori
Greenhorn

Joined: May 28, 2001
Posts: 12
I have a page with 2 frames. Both the frames display 2 jsp files. when I submit the jsp in frame one to the servlet , the servlet returns back the jsp in frame one. Now I need to populate the results of the submit action on JSP 1 in JSP 2. can any one tell me how to do this.
rgds
Kiran
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
This a fairly standard frames problem. The trick is to set the "target" attribute of the link or form which causes the change to be the enclosing frameset rather than either of the two frames. The frameset can then refresh both the frames.


Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Servlet sending request object to 2 jsp's