vaninf Posted July 7, 2017 Share 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. Quote Link to comment Share on other sites More sharing options...
Krydos Posted July 7, 2017 Share 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. Quote Link to comment Share on other sites More sharing options...
vaninf Posted July 7, 2017 Author Share 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.