wood burning stoves 2.0*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes HFSJ Chapter 1 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 » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "HFSJ Chapter 1" Watch "HFSJ Chapter 1" New topic
Author

HFSJ Chapter 1

Nabila Mohammad
Ranch Hand

Joined: Nov 05, 2007
Posts: 661
Hi !
I just started studying for SCWCD.

In chapter 1 , pg 30 , we have been asked to created two files.
1. Servlet called "Ch1Servlet.java"
2. Deplouyment Document called "Web.xml"

In the fifth step mentioned,
Command line statement is given to compile the java file.

I am kind of getting confused with the statemnt and the class path.
I know it's pretty simple , but I still keep getting muddles with the path.


It woule be great if some one can help me with that..


Thanks.


The future belongs to those who believe in the beauty of their dreams.Dream BIG!
Paul Michael
Ranch Hand

Joined: Jul 02, 2001
Posts: 697
Maybe setting up the project using an IDE would be simpler?

Have you ever tried Netbeans or Eclipse WTP?

Both are free tools that can help you set things up easily.


SCJP 1.2 (89%), SCWCD 1.3 (94%), IBM 486 (90%), SCJA Beta (96%), SCEA (91% / 77%), SCEA 5 P1 (77%), SCBCD 5 (85%)
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

A certified programmer (SCJP) is expected to know what the classpath is, and how to compile files, isn't he ?
Nabila, show us exactly which error you have when you compile the file.

2. Deplouyment Document called "Web.xml"

Be careful that case sensitivity is important. The deployment descriptor must be named "web.xml".


[My Blog]
All roads lead to JavaRanch
 
jQuery in Action, 2nd edition
 
subject: HFSJ Chapter 1
 
Similar Threads
HFEJB chapter 1 questions
regard on k&b book
Eliminate duplicates in XML to XML conversion
Pro JPA 2 Book TOC
Study Guide 6 -- Chapter2 Self Test Question 15 on page 181.