RSS Feed
Knowledgebase : JSP and Servlet
JSP Files By default JSP files configures to work anywhere under your public_html directory. All you need to do to use JSP files is give your files an extension of '.jsp' and upload them to the server under public_html. Your public_html directory is lo...
Its quite simple to restart your Tomcat server instance. Just login to the server via SSH and use the following directions: If you run the following commands on the command line you can restart your instance: killall -9 java (the above command will pr...
To help you get started, we are providing an example web.xml and servlet class you can use to try out a servlet. Place this web.xml in the following directory: /home/username/public_html/WEB-INF (replace 'username' with your account's username.) Plac...
You can use the Tomcat Manager application to start, stop, reload, etc. your web applications. To access it, the URL is: http://www.yourname.com:8080/manager/html Replace yourname.com with your actual domain name and replace 8080 With the port number fo...
There is an easy way to solve the problem of getting their JSP pages or servlets to recognize changes they make to their Java classes, and it doesn't require a JVM or Tomcat restart. To force the JSP pages to recognize your class changes, execute the foll...
To see what version of the JDK is installed on your server run the following command that the SSH Command prompt: java --version It will show you the version of the JDK is installed on your server.
Java classes need to be arranged in the proper directories in order for the Tomcat server to find them. For example, classes with no package would be in: /home/username/public_html/WEB-INF/classes classes in package com.company would be in: /home/u...
Is the bean you are accessing part of a package ? For instance: com.mycompany.Bean or are does the class have no package ? Just: Bean If the class is not part of a package, you will have problems. Specifically the JSP page will not compile, it w...
Help Desk Software by Kayako fusion