Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Action Mapping and relative path  RSS feed

ashish kulkarni
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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" />
and my signout.jsp will have a form defined like
<html:form action="" >
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
so how do i work around it
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!