File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Android Security Essentials Live Lessons this week in the Android 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
 
 
subject: Hosting problem , the Host provider tomcat does not understand .do
 
Similar Threads
Creating and building Standalone application
web server..?
Own website
looking for Tomcat hosting advice.
Hosting Tomcat BIG PROBLEM WITH :8080