Web Hosting Java, JSP, Tomcat 6, J2EE, Servlets, Struts, Jboss
JavaSercer Pages Two new directories are created: ora
November 29, 2006 on 7:18 am | In Java | JavaSercer Pages Two new directories are created: ora and src. The first directory contains all examples described in this java blog, and the second contains the Java source files for the JavaBeans, custom actions, and utility classes used in the examples. The examples’ directory structure complies to the standard Java web application format described in Chapter 2. You can therefore configure any Servlet 2.2-compliant web container to run the examples. If you like to use a container other than Tomcat, be sure to read the documentation for that container. To install the example application for Tomcat, copy the web application directory structure to Tomcat’s default directory for applications, called webapps. Use this command on a Windows platform: C:JSPBook> xcopy /s /i ora %TOMCAT_HOME%webappsora On a Unix platform it looks like this: [hans@gefion /usr/local/jspbook] cp -R ora $TOMCAT_HOME/webapps Recall from Chapter 2 that each web application in a server is associated with a unique URI prefix. When you install an application in Tomcat’s webapps directory, the subdirectory name is automatically assigned as the URI prefix for the application ( /ora in this case). At this point, you must shut down and restart the Tomcat server. After that, you can point your browser to the ora application with the following URL: http://localhost:8080/ora/ You should see a start page, as in Figure 4.3, that contains links for all examples in this java blog. Figure 4.3. JSP book examples start page page 40
Note: If you are looking for best hosting provider to host and run your tomcat application check Astra tomcat hosting services
No Comments yet
Sorry, the comment form is closed at this time.
...I
just wanted to take the time to say "Thank you!" for our new webmail
system. It's great! Thanks for taking such good care of us.
Thanks
for helping me out. Just for the record, Webhostingjava.net has been a great
web host! So far your support and handling of questions has far
exceeded that of a "larger web hosting company".
I
would like to thank you for helping me with my domain...You have
shown me great patience and professionalism. I would not hesitate to
recommend you to my clients.