Vinod, tell us more about your setup.

you have a "tomcat" directory, right? (maybe named "jakarta-tomcat" or
something like that).
And in this directory is a subdirectory called "WebApps" right?
and THAT is where you put your "purejsp" directory, right?

Now, HOW are you trying to access the page?  Unless you've done special
setup, you use the default tomcat port number of "8080" so if your server is
named "vinod", the url would look something like this:
  http://vinod:8080/purejsp/your.html (or your.jsp)

If you use beans, the CLASS files from the beans goes into the
web-inf/classes directory that you describe.  If the beans are in a package,
the package path must be sub-directories in the web-inf/classes directory.
For example, if your package is named "com.vinod", your beans go into
web-inf/classes/com/vinod/blah.class

One more thing.  Tomcat actually doesn't NEED the context to be added into
web.xml, but if you DO add it there, you MUST make sure that the case
matches.  If your directory is named Webapps and you put "webapps" into
web.xml, it will "break".  

Good luck!

-----Original Message-----
From: vinod watni [mailto:[EMAIL PROTECTED]]
Sent: 06 June 2001 07:54
To: [EMAIL PROTECTED]
Subject: file not gopund error..





  hi friends ,

    i tried to create the drectory structure as bellow

   " purejsp "

   "purejsp/web-inf"

  : purejsp/web-inf/classes"  in the webpages
directory.

  i did put some html and jsp pages in purejsp
directory and added purejsp in context path in
server.xml file.
  this i did as given in purejsp book , but when i try
to access the file from brouser i get error 404.  I
restarted the and tried but dosent work ?/

  where should  i  put my html , jsp and classes ,
beans intomact ???

  how can i create a web application without making
war file ???


 regards
 vinod

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

Reply via email to