Hi,
Now that I switched to Tiles from pure jsp I get 404 trying to access page.
Before I had an login.jsp. Now all the layout is divided into a
masterTemplate.jsp, the tileDefinitions.xml, and each subcomponent jsp's,
including a loginBody.jsp. But now, how do I access my login page now
directly via typed-in-url without having to go through an
actionservlet-->forward-->tiles-render? /webapp/login.jsp no longer works,
neither does /webapp/login. What if my user is just going to the login page
directly? If I use /webapp/login.

My struts-config.xml already has an action for Login.do thats gets directed
there by jsps...

       <action path="login"  type="gov.usps.rumm.webapp.action.LoginAction"
name="loginForm" scope="request" input="/login.jsp" validate="true">
            <forward name="failure" path="login"/>
            <forward name="success" path="administrationOptions"/>
       </action>

but what do I have to do so that someone can type in a URL /webapp/login and
get to what once was the login.jsp page? How would I make an action that
would trigger rendering the login page, and what would the URL the user
would need to use now to get to a login page. Sure I can make an action that
maps from servlet to the login page, but how to handle going directly to
login page from a URL typed into the browser?

Reply via email to