Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HFSJ Chapter 1

 
Nabila Mohammad
Ranch Hand
Posts: 664
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Paul Michael
Ranch Hand
Posts: 697
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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".
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic