This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes J2EE question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "J2EE question" Watch "J2EE question" New topic
Author

J2EE question

ego hu
Ranch Hand

Joined: Mar 20, 2001
Posts: 53
I am learning Java servlets. So I downloaded J2EE SDK1.3.
When I launched j2ee server, it involves apache web server
and tomcat automatically.
Then I copied a "Hello world" serlet sample, and compiled it.
But I don't know where I should put the .class file.
The file structure of j2ee sdk is totally different from
which described in the book.
Can you give me some suggections?
Thanks a lot.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15952
    
  19

The webapps/WEB-INF/classes directory is probably what you're looking for, assuming the usual Tomcat directory setup.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: J2EE question
 
Similar Threads
Flexible application deployment
How to start J2EE server ?
Head First EJB, AdviceBean & that damned SerialContextProvider
connecting midlet to a text file and retrieving data
j2ee startup problem