Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to get input jsp in action class of struts  RSS feed

 
kchandra sekhar
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 328
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use
ActionMapping.getPath()method....
It returns String which represents Context Relative Path....


ActionMapping Doc

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