vaninf Posted July 7, 2017 Posted July 7, 2017 Could you please configure Apache http server to pass *.do file request to Tomcat server? Right now only *.jsp file request is passed to Tomcat server. Thank you.
Krydos Posted July 7, 2017 Posted July 7, 2017 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.
vaninf Posted July 7, 2017 Author Posted July 7, 2017 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.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now