Then it is the xwork.xml file you are interested in. For the example you
site, editProfile.html, you will find an entry in the xwork.xml file:
<action name="editProfile" class="userAction" method="edit">
<result name="success">/WEB-INF/pages/userForm.jsp</result>
<result name="error">/WEB-INF/pages/mainMenu.jsp</result>
</action>
The dispatcher servlet will call the Spring bean "userAction" to process the
request and will navigate to userForm.jsp on success, mainMenu.jsp on error.
Mike.
On 8/8/07, BruceLee <[EMAIL PROTECTED]> wrote:
>
>
> We use AppFuse 1.9 and WebWork. We plan to upgrade to 1.9.4 though.
> Thanks!
>
>
> Michael Horwitz wrote:
> >
> > It all depends on the web framework you have chosen. Which version of
> > AppFuse, and which web framework are you using?
> >
> > On 8/8/07, BruceLee <[EMAIL PROTECTED]> wrote:
> >>
> >>
> >> Thank Mike for answer.
> >> In mainMenu.html there is link to /editProfile.html. But I cannot find
> >> editProfile.jsp anywhere. I guess it jump to editProfile.actiondirectly.
> >> So
> >> my question is,
> >> Which files control this mapping (like xwork.xml)? Any document link
> >> about
> >> the rules?
> >>
> >> Thanks a lot!
> >> -Bruce
> >>
> >> Michael Horwitz wrote:
> >> >
> >> > Normally you do this by pointing to an .html link and then mapping it
> >> > through your chosen web tier, e.g. mainMenu.html maps to
> >> > mainMenu.jspthrough the web tier.
> >> >
> >> > Mike.
> >> >
> >> >
> >> > On 8/8/07, BruceLee <[EMAIL PROTECTED]> wrote:
> >> >>
> >> >> Team, I'm new user of appfuse. In /web/pages/user/main.jsp, I want
> to
> >> >> click a link and jump to another .jsp page in pages/ directory.
> >> However
> >> I
> >> >> also get 404 error. Any advice on config or the code? Thanks a lot
> in
> >> >> advance! -Mike ... "Outside pages/ dir, Relative path: OK"
> >> >> <http://../user/main2.jsp> "Inside pages/ dir, Arbitrary path:
> Failed"
> >> >> <http://pages/user/success.jsp> "Inside pages/ dir, Relative path:
> >> >> Failed"
> >> >> <http://../pages/user/success.jsp> " target="_parent">"Inside pages/
> >> dir,
> >> >> Use c:url: Failed" ...
> >> >> ------------------------------
> >> >> View this message in context: In JSP page, cannot jump to new .jsp
> in
> >> >> pages/
> >> >> directory<
> >>
> http://www.nabble.com/In-JSP-page%2C-cannot-jump-to-new-.jsp-in-pages--directory-tf4234311s2369.html#a12047190
> >> >
> >> >> Sent from the AppFuse - User mailing list
> >> >> archive<http://www.nabble.com/AppFuse---User-f2370.html>at
> >> >> Nabble.com <http://nabble.com/>.
> >> >>
> >> >
> >> >
> >>
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/In-JSP-page%2C-cannot-jump-to-new-.jsp-in-pages--directory-tf4234311s2369.html#a12055966
> >> Sent from the AppFuse - User mailing list archive at Nabble.com.
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/In-JSP-page%2C-cannot-jump-to-new-.jsp-in-pages--directory-tf4234311s2369.html#a12056449
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>