Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to get input jsp in action class of struts

 
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