Hi,
I am having trouble redirecting users from index.jsp to a Tile layout.
In index.jsp I have:
<%@ taglib uri="struts/logic" prefix="logic" %>
<logic:redirect forward="/welcome" />
and in struts-config.xml:
<global-forwards>
<forward name="/welcome" path="/preLoadViewTree.do" />
</global-forwards>
<action-mappings>
<action path="/preLoadViewTree"
type="com.xyz.app.actions.PreLoadViewTreeAction">
</action-mappings>
The error msg in the browser is:
404 Not Found
Resource /app/preLoadViewTree not found on this server
The above action path works ok if called direct from the jsp.
There is a post in the archives from someone who had the same trouble but
his fixes don't work for me:
http://www.mail-archive.com/user@struts.apache.org/msg04357.html
Anyone managed to do this before?
Regards,
Andy
_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger 7.0 today!
http://messenger.msn.co.uk
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]