• Post Reply Bookmark Topic Watch Topic
  • New Topic

accessing request object in a frameset

 
Pradeep Chandrasekharan Nair
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have a problem. i have a jsp page whose onSubmit is to a frameset(for eg.<form ... action="myFrame.jsp> ). i want the request object to be accessed within a particular frame( suppose myFrame.jsp has 3 frames(frame1.jsp,frame2.jsp,frame3.jsp), i want request object in frame2.jsp ) . is it possible? if yes pls help.
Thanks in advance.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The preferred way to handle this would be to extract all needed information from the frameset request and store it in the session. This assumes that each frame generating JSP is in the same "application".
A convenient method to grab all parameter values in a request is getParameterMap - but note that the stored values are String[].

Bill
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!