aspose file tools
The moose likes Tomcat and the fly likes Tomcat virtual host and struts Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "Tomcat virtual host and struts" Watch "Tomcat virtual host and struts" New topic
Author

Tomcat virtual host and struts

Tiny Star
Greenhorn

Joined: Jul 29, 2002
Posts: 16
i buy a tomcat virtual host config like this:
<Host name="www.xxx.com" debug="0" autoDeploy="false" appBase="/home/xxx/web">
<Context path="" docBase="" debug="0"/>
<Alias>xxx.com</Alias>
</Host>
The web master has disabled the tomcat manager
so if i want to use the manager shall i change
it to
<Context path="/manager" debug="0" privileged="true" docBase="/path-to/server/webapps/manager"/>
it that ok ?
i then upload struts-blank (unpacked) ,but i
cann't load the Welcome.do it says
The requested URL /Welcome.do was not found on this server.
i do nothing with all the code in struts-blank directory ! what is the problem ?
[ May 26, 2003: Message edited by: Tiny Star ]
Tiny Star
Greenhorn

Joined: Jul 29, 2002
Posts: 16
BTW:
i am sure that struts can find struts-config.xml
so it has nothing to do with the path of the struts-config.xml i think maybe the ActionServlet has not been load. what config in tomcat can prevent ActionServlet being loaded ???
Tiny Star
Greenhorn

Joined: Jul 29, 2002
Posts: 16
sloved!
 
 
subject: Tomcat virtual host and struts
 
Threads others viewed
Root Context - mywebapps has no effect
Virtual Host Configuration in Tomcat 4.01
i get diffrent contextpath
fail to include file from upper directory
My web.xml is good?, why no run my servlets into folder /servlets/ ???
IntelliJ Java IDE

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture