RE: urgent - servlet not found.

2002-11-21 Thread Turner, John

Perhaps reading the documentation and reviewing the examples included with
every Tomcat installation instead of winging it might help.

John

> -Original Message-
> From: Triptpal Singh Lamba [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, November 21, 2002 3:15 PM
> To: Tomcat Users List
> Cc: [EMAIL PROTECTED]
> Subject: Re: urgent - servlet not found.
> 
> 
> 
> - Original Message -
> From: "Ben Ricker" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Sent: Thursday, November 21, 2002 2:50 PM
> Subject: Re: urgent - servlet not found.
> >
> > 
> >
> > You might also need to add a '/' in front of 'servlet', 
> depending on how
> > you set up your server.xml.
> >
> > The '' directive tells Tomcat what alias to 
> give to the
> > ''. You could do the full path, but looks 
> better to the
> > client to use the alias.
> >
> > Ben Ricker
> > Wellinx.com
> >
> 
> 
> If i change it to servlet/Router the error is a 404 with
> description The requested resource (/osp/servlet/Router) is 
> not available.
> 
> If i change it to /servlet/Router the error is a 404 with
> description The requested resource (/servlet/Router) is not available.
> 
> The server.xml file hasthe entry
> 
>   
>  prefix="osp_" suffix=".txt"
>timestamp="true"/>
> 
> Should I try to remove the servlet from the package 
> com.osp.servlet and try
> something.
> How do I get the index.jsp to submit to the servlet. Its 
> taken too long
> 
> Tript
> 
> 
> 
> --
> To unsubscribe, e-mail:   
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: urgent - servlet not found.

2002-11-21 Thread Wendy Smoak
> This has taken too long so someone pls see if you can help me.

Well, ten minutes after you sent your message on 11/20, you sent another
saying to ignore your previous mail.  I supposed you had fixed your problem.

The web.xml file you attached to that message is missing the
 tag.  In that tag, you will tell Tomcat what sort of URL's
should map to your servlet.  Whatever you put in that tag determines what
you will use for your form's action parameter.

I use Struts, so I'm rusty on  and , but take a
look at the web.xml file in the examples webapp that comes with Tomcat.  It
has enough examples to get you started.

-- 
Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University PA Information Resources Management



Re: urgent - servlet not found.

2002-11-21 Thread Triptpal Singh Lamba

- Original Message -
From: "Ben Ricker" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Thursday, November 21, 2002 2:50 PM
Subject: Re: urgent - servlet not found.
>
> 
>
> You might also need to add a '/' in front of 'servlet', depending on how
> you set up your server.xml.
>
> The '' directive tells Tomcat what alias to give to the
> ''. You could do the full path, but looks better to the
> client to use the alias.
>
> Ben Ricker
> Wellinx.com
>


If i change it to servlet/Router the error is a 404 with
description The requested resource (/osp/servlet/Router) is not available.

If i change it to /servlet/Router the error is a 404 with
description The requested resource (/servlet/Router) is not available.

The server.xml file hasthe entry

  
   

Should I try to remove the servlet from the package com.osp.servlet and try
something.
How do I get the index.jsp to submit to the servlet. Its taken too long

Tript



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




Re: urgent - servlet not found.

2002-11-21 Thread Ben Ricker
On Thu, 2002-11-21 at 13:50, Triptpal Singh Lamba wrote:
> This has taken too long so someone pls see if you can help me.
> 
> My form in index.jsp says
> 
> 
> 
> If index.jsp can find the servlet ,my job is done.
> 
> My web.xml has defined this in WEB-INF
> 
> webapps/osp  // context  = osp
> 
> in osp I have a WEB-INF which has web.xml with only this entry
> 
> 
>   Router
>   com.osp.servlet.Router
> 1
> 
> 
> index.jsp is coming up , server.xml has the context entry.
> What should the action be changed to ??

Looks like the idex.jsp should be changed to:


 
You might also need to add a '/' in front of 'servlet', depending on how
you set up your server.xml.

The '' directive tells Tomcat what alias to give to the
''. You could do the full path, but looks better to the
client to use the alias.

Ben Ricker
Wellinx.com


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




urgent - servlet not found.

2002-11-21 Thread Triptpal Singh Lamba
This has taken too long so someone pls see if you can help me.

My form in index.jsp says



If index.jsp can find the servlet ,my job is done.

My web.xml has defined this in WEB-INF

webapps/osp  // context  = osp

in osp I have a WEB-INF which has web.xml with only this entry


  Router
  com.osp.servlet.Router
1


index.jsp is coming up , server.xml has the context entry.

What should the action be changed to ??

Tript Singh

Error is

HTTP Status 404 - /osp/servlet/com.osp.servlet.Router




type Status report

message /osp/servlet/com.osp.servlet.Router

description The requested resource (/osp/servlet/com.osp.servlet.Router) is
not available.





Apache Tomcat/4.1.12





--
To unsubscribe, e-mail:   
For additional commands, e-mail: