File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Action Mapping and relative path

 
ashish kulkarni
Ranch Hand
Posts: 131
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Relative path of action mapping,
say i have a jsp called signout.jsp, which has a
submit button, the jsp is in folder pages, so my
action mapping will be like below
<action path="/pages/signout"
type="com.myapp.action.SignoutAction" scope="request">
<forward name="success" path="/pages/signout.jsp"
redirect="false" />
</action>
and my signout.jsp will have a form defined like
below
<html:form action="signout.do" >
the problem i am having is, if i include this
signout.jsp in all the jsp's in folder pages, it works
fine, but if i include it in jsp's which are in folder
mypages , which is a subfolder of pages, it does not
work,
so how do i work around it
Ashish
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic