aspose file tools*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to get input jsp in action class of struts