Microsoft
Software
Hardware
Network
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/proj
ectName/
but i'm getting a 404 error code as the resource doesn't exist. i need to manually specify:
http://localhost:8080/proj
ectName/cl
assName.ac
tion
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.co
m/struts-u
ser@jakart
a.apache.o
rg/
msg2191
9.html
Random Solutions
How Can I Trace a Private IP for an Unknown Host?
Mapping IPC$ share of remote host as local administrator of remote host
How to create .js in eclipse?
100-base-T cat5 wiring diagram
How do resolve a Port 80 error using the public IP address of a website vs. the FQDN?
Need to make Windows 2003 Server listen on a specific port
Router - Router PPTP VPN troubles
Windows 7 and Novell Roaming Profiles
Linksys Router
Hosting a site in different vendor