Hello All,

Long time lurker, first time poster.  I'm trying integrate our Java
Struts webapplication with an existing web app.  After logging into
the Java site, I want to redirect to outside the webapp, but struts
keeps prepending the webapp name.

For example. in my struts-config.xml I have the following:

    <action path="/LoginSubmit"
        name="loginForm"
        scope="request"
        validate="false"
        input="/WEB-INF/pages/common/login.jsp"
        type="com.company.frontend.action.LoginAction">
      <forward name="success" path="/index.pxt"
               redirect="true"  />
      <forward name="failure" path="/WEB-INF/pages/common/login.jsp" />
    </action>

I want to be sent to http://hostname/index.pxt after the LoginSubmit action has been executed. But we always get sent to
http://hostname/webappname/index.pxt which causes a 404.


Is there anyway to get out of the webapp either through configuration or
through customization?

Sincerely,
Jesus Rodriguez

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to