Wrox Programmer Forums
|
Apache Tomcat General discussion of the Apache Tomcat servlet container. For discussions specific to the Professional Apache Tomcat book, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Apache Tomcat section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 19th, 2005, 03:12 AM
Registered User
 
Join Date: Jul 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default tomcat and java

hi ,
my application is a web base library.
i created html files and corresponding java files and somejsp files. what should i do to test it in tomcat.if anyone knows let me know.i'm a novice to this subject .

 
Old July 21st, 2005, 03:02 AM
Authorized User
 
Join Date: Apr 2005
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Well, the directory structure is something similar to this..
Tomcat directory
       |->Webapps folder
            |->your application folder ****
                     |-> All your html and jsp files go here.
                     |->WEB-INF (This folderwill contain web.xml file)
                           |->class (folder)
                               |->all your compiled java files go here



**** You can name it anything you like. This will the name with which you will invoke the application through browser. Suppose you name it library, you can access it using the browser with the following url

http://servername:portnumber/library

In case you are running it on local machine

http://localhost:8080/library


Check out the following link too

http://www.onjava.com/pub/a/onjava/2...19/tomcat.html

eNJay

 
Old July 21st, 2005, 03:09 AM
Authorized User
 
Join Date: Apr 2005
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

Please read the class folder as classes folder. Create a classes folder under WEB-INF folder.

eNJay





Similar Threads
Thread Thread Starter Forum Replies Last Post
tomcat, jsp, java classes Befekadu Apache Tomcat 3 April 2nd, 2009 07:30 AM
wierd performance in tomcat/java: help consult DR POMPEII Apache Tomcat 3 September 27th, 2007 12:29 PM
jsp/java tomcat and mysql harshika JSP Basics 1 August 8th, 2005 03:01 PM
tomcat error: using java beans rus_1496 Apache Tomcat 6 February 15th, 2005 08:18 PM
Flash remoting with core Java and Tomcat. How?? miasjors Flash (all versions) 0 July 14th, 2003 10:38 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.