RE: file not gopund error..

2001-06-06 Thread Jann VanOver

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/



RE: file not gopund error..

2001-06-05 Thread vinod watni



  hi 


 no i m not running on apache , i m running as stand
alone tomcat server.

 neither me know about war files.

 regards 

vinod




--- Phillip Gibb <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> If you are running Apache then look at where your
> document Root is pointing
> to in httpd.conf
> there you must place your welcome file and any none
> jsp stuff.
> 
> also add you welcome file in httpd.conf if you don't
> want to type it when
> going to your web site.
> 
> In an Apache-tomcat environment the jsps will be
> handled by tomcat(dynamic)
> and the "normal" html and images, etc by
> apache(static)
> 
> In windows : check that your welcome file is added
> to the web.xml config
> file in tomcat\conf\ (right at the bottom)
> 
> sorry I know nothing of war files
> 
> Phill
> 
> -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/


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



RE: file not gopund error..

2001-06-05 Thread Phillip Gibb

Hi,

If you are running Apache then look at where your document Root is pointing
to in httpd.conf
there you must place your welcome file and any none jsp stuff.

also add you welcome file in httpd.conf if you don't want to type it when
going to your web site.

In an Apache-tomcat environment the jsps will be handled by tomcat(dynamic)
and the "normal" html and images, etc by apache(static)

In windows : check that your welcome file is added to the web.xml config
file in tomcat\conf\ (right at the bottom)

sorry I know nothing of war files

Phill

-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/



file not gopund error..

2001-06-05 Thread vinod watni




  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/