I think this is rather simple, but I can't seem to get this to work: I have a url as follows:
http://localhost:8080/Ship2Storage/landing.s2s that works very well. I'd like to set it up where once I enter
http://localhost:8080, I get to the
servlet I want.
currently using:
Eclipse
Tomcat 5.5, run with workspace metadata
Struts 1.3.10
Tiles
my web.xml as follows:
Also my server.xml -- I realize that it is bad form to put the context in the Server.xml, but this is what Eclipse did (no excuse really).
and I have an index.jsp and an empty file named landing.s2s in my webapps directory (called WebContent in Eclipse):
And this also works well. however, I can't seem to eliminate the
Ship2Storage prefix from the URL. that is, I currently call the site as follows :
http://localhost:8080/Ship2Storage/index.jsp and I'd like to eliminate the context path part. That is, I'd like to have the url be
http://localhost:8080 only. I'm pretty sure this is possible, but I can't get it. I've messed around a lot with servlet config and servlet contexts (e.g. path=""), but to no avail. Maybe I have some problems to overcome in the Tiles and Struts files? All thoughts and even a pointer to some reading would be helpful.