This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Struts and the fly likes Problem in setting Application scope Object Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Problem in setting Application scope Object" Watch "Problem in setting Application scope Object" New topic
Author

Problem in setting Application scope Object

Kaleeswaran Karuppasamy
Ranch Hand

Joined: Jul 19, 2007
Posts: 154
i dont know how to set value in application scope object(servletContext in servlet) in action class in struts .


we can set application scope Object in jsp. but i dont know how to set and get in action class,however we get session Object and request Object using
HttpSession session = request.getSession() for session and request for request Objec;

but i dont know how to set Context Object

please help me



Judge a man by his questions rather than his answers --Voltaire
SCJP 1.5 97%
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem in setting Application scope Object