Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

request attributes  RSS feed

 
alex almero
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i had this problem regarding request attributes.
i had a main_frame.jsp compose of file1.jsp and file2.jsp. i was trying to get the attribute i set from the command handler class in file1.jsp. the command handler class forward the request to main_frame.jsp(this file can get the attribute) but the file1.jsp(cannot get the attribute). as a temporary solution i set the attribute using session and retrieve the attribute using session implicit object at file1.jsp.
is there any workaround to this problem?
thank you very much.
alex
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
IF I understand you correctly, you are dealing with separate request objects. There is nothing wrong with using the session to coordinate the two jsp - thats what it is designed for.
Bill
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!