Jump to content

Passing *.do File Request To Tomcat Server


Recommended Posts

Just put your .do files in your servlet. Everything inside the servlet is processed by Tomcat. The extension .do isn't anything special. The struts framework uses that extension, but it could be anything like .whatever.

Link to comment
Share on other sites

The servlets you deployed don't work well, because request.getServerName() and request.getServerPort() return wrong values. So I have to deploy the servlets by myself in folder public_html/WEB-INF/. If the servlet's name is *.do, the servlet won't get called because Apache http server won't pass *.do file request to Tomcat.


Please configure Apache http server to pass *.do file request to Tomcat server.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...