Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / June 2007

Tip: Looking for answers? Try searching our database.

tomcat and 2.0

Thread view: 
javid - 16 Jun 2007 10:23 GMT
i need to know  where  should i put my class and/or java files inside
the tomcat cat_4.1 directory.so that i can run the project/software in
browser.i had earlier tested the same project  using java web server
2.0(an older one) i put up the java and class files of my project
inside the servlet directory and the same is mentioned in the java
code i-e the connection is created obiviously by means of servlets
e.g

import javax.servlet.http.*;
import javax.servlet.*;
import java.io.*;
public class home extends HttpServlet

now the path inside tomcat is like tomcat 4.1/server/classes.

and i am not sure where should i put my class/java files so that i can
run the project using tomcat server.
please help me by specifying the source directory of my java and class
files so that the project runs in tomcat server .
Arne Vajhøj - 16 Jun 2007 14:39 GMT
>  i need to know  where  should i put my class and/or java files inside
> the tomcat cat_4.1 directory.so that i can run the project/software in
[quoted text clipped - 15 lines]
> please help me by specifying the source directory of my java and class
> files so that the project runs in tomcat server .

The class files should be in:

webapps/yourwebapp/WEB-INF/classes/yourpackage

The source files can be wherever you want them.

Arne


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.