PROTECTED]]
Sent: Friday, March 22, 2002 10:24 AM
To: Tomcat Users List
Subject: RE: Servlet Deploy Problem Help
Lance,
Thanks.
Ideally I don't want to call my servlet with /abc. In
this case whatever tag I give it will open the same
one. However what I need instead is to call diffrenet
servlets
place.
Lance
-Original Message-
From: Sanjay Bahal [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 22, 2002 10:24 AM
To: Tomcat Users List
Subject: RE: Servlet Deploy Problem Help
Lance,
Thanks.
Ideally I don't want to call my servlet with /abc.
In
this case whatever tag I
The stack trace you included indicates that you are running the
servlet, but its throwing an exception.
-Original Message-
From: Sanjay Bahal [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 21, 2002 9:21 AM
To: [EMAIL PROTECTED]
Subject: Servlet Deploy Problem Help
I
In you're web.xml change:
servlet-mapping
servlet-nameHelloWorld/servlet-name
url-pattern/hello/url-pattern
/servlet-mapping
to :
servlet-mapping
servlet-nameHelloWorld/servlet-name
url-pattern/hello/*/url-pattern
/servlet-mapping
Then you should be able
Thanks of the insight. The servlet is a HelloWorld
example. The only imports in the class are:
import java.io.*;
import java.text.*;
import java.util.*;
import javax.servlet.*;
import javax.servlet.http.*;
I would easily suppose these should be available to
Tomcat. If not what do I do.
Thanks
-
From: Sanjay Bahal [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 21, 2002 9:56 AM
To: Tomcat Users List
Subject: RE: Servlet Deploy Problem Help
Thanks of the insight. The servlet is a HelloWorld
example. The only imports in the class are:
import java.io.*;
import java.text.*;
import
Lance Thanks.
What does servlet-mapping mean- is it directory
structure or an alias to a servlet.I was trying to use
/hello as an alias for the HelloWorld servlet and try
calling it by /hello or by full URL /hello- am I
completely off on this. and what is this anything?
Thanks again
Subject: RE: Servlet Deploy Problem Help
Lance Thanks.
What does servlet-mapping mean- is it directory
structure or an alias to a servlet.I was trying to
use
/hello as an alias for the HelloWorld servlet and
try
calling it by /hello or by full URL /hello- am I
completely off
that Tomcat can't find.
Randy
-Original Message-
From: Sanjay Bahal [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 21, 2002 9:56 AM
To: Tomcat Users List
Subject: RE: Servlet Deploy Problem Help
Thanks of the insight. The servlet is a HelloWorld
example
try http://localhost:8080/search/hello/HelloWorld
let me know if this works.
Lance
-Original Message-
From: Sanjay Bahal [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 21, 2002 10:13 AM
To: Tomcat Users List
Subject: RE: Servlet Deploy Problem Help
Lance,
So in other words if I may
oops I missed that it was in the stack trace.
Sorry,
Lance
-Original Message-
From: Sanjay Bahal [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 21, 2002 10:20 AM
To: Tomcat Users List
Subject: RE: Servlet Deploy Problem Help
Randy,
Yes that was the problem.Now when I give
/HelloWorld
let me know if this works.
Lance
-Original Message-
From: Sanjay Bahal [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 21, 2002 10:13 AM
To: Tomcat Users List
Subject: RE: Servlet Deploy Problem Help
Lance,
So in other words if I may to /hello/* I would be
able
to call
12 matches
Mail list logo