Question : web.xml? eclipse?

hi all

i've got an issue that i'm sure has a simple fix but googled for hours but found nothing

i'm starting to dev apps in struts using eclipse and tomcat 5.5
i've compiled and run the first helloWorld app but have a little issue

when i run the app from my IDE, eclipse calls http://localhost:8080/projectName/ but i'm getting a 404 error code as the resource doesn't exist. i need to manually specify: http://localhost:8080/projectName/className.action in order to get it to run.

however this is a bit tedious so i'm looking for a way to somehow specify that either the default action of the namespace projectName is className.action OR tell eclipse to call the full URL when i choose to run the app using: right click on project folder=>run as=>run on server

does that make sense?

cheers,
k

Answer : web.xml? eclipse?

you can try to use <welcome-file-list> directive in your web.xml file, but as far as I know it is not possible for struts actions.
check http://www.mail-archive.com/struts-user@jakarta.apache.org/msg21919.html
Random Solutions  
 
programming4us programming4us