File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlet sending request object to 2 jsp's

 
kiran nori
Greenhorn
Posts: 12
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 6920
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic