This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes how to get input jsp in action class of struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "how to get input jsp in action class of struts" Watch "how to get input jsp in action class of struts" New topic
Author

how to get input jsp in action class of struts

kchandra sekhar
Greenhorn

Joined: Feb 01, 2006
Posts: 3
i want to know the input jsp page name in my action class of struts,I tried it from ActionMapping,HttpServletRequest and ActionForm objects,But i did not get that one.

Can anybody help me
Shrinivas Mujumdar
Ranch Hand

Joined: Aug 27, 2004
Posts: 328
Use
ActionMapping.getPath()method....
It returns String which represents Context Relative Path....


ActionMapping Doc

Shrinivas
 
Consider Paul's rocket mass heater.
 
subject: how to get input jsp in action class of struts
 
Similar Threads
Creating Struts's Action
Struts wizard problem
The input attribute of the action tag not working
how can i find input jsp file name in action class of struts
how can i find input jsp name in action class of struts