This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Hosting problem , the Host provider tomcat does not understand .do Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Hosting problem , the Host provider tomcat does not understand .do" Watch "Hosting problem , the Host provider tomcat does not understand .do" New topic
Author

Hosting problem , the Host provider tomcat does not understand .do

raminaa niilian
Ranch Hand

Joined: Jul 14, 2005
Posts: 551
Hi
Thank you for reading my post.
I get a hosting package from a provider ,
Now all jsp files works but when i press some buttons or links that lead to a .do (Action) it return error 404 file not found.
is there any other configuration that i should do in my hosting package ?
it is on linux and tomcat 5.5.9
Is there some MIME that i should set ?
The host has Cpanel

Thanks
James Ellis
Ranch Hand

Joined: Oct 14, 2004
Posts: 205
I'm not sure what Cpanel is, but usually the extension ".do" is mapped to a servlet. For instance, if you have a servlet class "BeerFinder.class" and you want all requests with extension ".do" to be routed to this servlet, this is what you would put in the deployment descriptor (web.xml file).



Now any requests (example http://www.yourservername.com/whatever/test.do) will be routed to that servlet.
raminaa niilian
Ranch Hand

Joined: Jul 14, 2005
Posts: 551
The project Well on local computer but in remote host it just return 404 for Actions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hosting problem , the Host provider tomcat does not understand .do
 
Similar Threads
Creating and building Standalone application
looking for Tomcat hosting advice.
Hosting Tomcat BIG PROBLEM WITH :8080
Own website
web server..?