• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

HFSJ Chapter 1

 
Ranch Hand
Posts: 664
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 697
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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".
reply
    Bookmark Topic Watch Topic
  • New Topic