struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin Foulkes" <>
Subject Newbie: Problems After Deploying to Tomcat
Date Tue, 03 Feb 2004 15:46:34 GMT

I'm fairly new to the struts but have been able to get a small struts app working fine under
the internal Tomcat(4.0.6) in Netbeans. Everything here works fine.

When I try to run the app under a standalone Tomcat (4.1.29) I get two problems with my application.

1. I have created an authentication filter that forwards requests to my LoginAction if the
user isn't logged in. When running in the external Tomcat, this forward fails, with a status
404  The requested resource (/ is not available.

2. When I remove the filter from the web.xml mappings, the application can find the LoginAction
fine (through my Login.jsp) and I'm happily insise the app. The Second problem I have is that
the first page I go to after the LoginAction (/WEB-INF/jsp/mainmenu.jsp) contains javascript
include references
<script language="javascript" src="/WSClient/scripts/XXX.js"></script>
These javascript files are not being loaded into my page.

Does anyone have any ideas why these problems are occurring, and have any solutions.

Thanks in advance


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message