Java Dedicated Server Hosting

Java Dedicated Web Hosting running in  Tomcat 7 . It has certain parameters which is supported  in the server. Kindly refer the below details about the tomcat 7


Share This Now: [addtoany]

Watch Reseller Hosting Video Tutorial



Procedure

Java Web Hosting Procedure

In cpanel servers apache is the webserver and tomcat is application server. Any request made for a website will first go to apache. If you have made request for a html file or css or js or images it will be served by apache. If any request for .jsp, servlet or .do is made it will go to tomcat and tomcat will serve the request.

Tomcat File Structure :

In general

1. All classes must be put inside the WEB-INF/Classes folder
2. Even put your library files also inside it.
3. Try placing classes and library files inside the lib folder also.
4. You can place your jsp files in public_html folder.

We have uploaded sample servlets in WEB-INF/classes folder in your public_html

You can check the test page by domainname/jsptest.jsp

Important : You can access any servlet by using www.yourdomain.com/servlet/YourServletName

Deploying war file is considered insecure and hence it is not allowed by default in your tomcat. However it can be changed if you require.

Screen Shots

No Screen Shots Available

Troubleshooting FAQs

Java Troubleshooting FAQs

I am getting Getting 404 File not found

Error:

ERROR: 404 File not found

Solution :

You are under Standard Cpanel server with tomcat 7.x where .jsp,servlet and .do are enabled by dafault. Hence if any request which is made to your site goes to apache server where the request is processed to tomcat server. But in your case the error seems to be the request is getting rejected from the apache server itself. This is something which you have to check with your developers. They only can fix this issue.You can also check the examples which we have updated and also refer the concern java forums at your end. As we are not developers we are unable to troubleshoot on your coding part.

Downloads

Related Downloads

Related Articles