hello,
ahmm, still having this problem and don't know
what to do, sorry ...
-Ursprngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Gesendet: Sonntag, 19. Oktober 2003 18:37
An: Tomcat Users List
Betreff: Re: newbie: servlet examples work, jsp not
hello
hello,
ahmm, still having this problem and don't know
what to do, sorry ...
-Ursprngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Gesendet: Sonntag, 19. Oktober 2003 18:37
An: Tomcat Users List
Betreff: Re: newbie: servlet examples work, jsp not
hello
'
Subject: AW: newbie: servlet examples work, jsp not
hello,
ahmm, still having this problem and don't know
what to do, sorry ...
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Gesendet: Sonntag, 19. Oktober 2003 18:37
An: Tomcat Users List
, October 20, 2003 8:50 AM
To: 'Tomcat Users List'
Subject: AW: newbie: servlet examples work, jsp not
hello,
ahmm, still having this problem and don't know
what to do, sorry ...
-Ursprngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Gesendet
the best Windows OS yet
(yes, I'm sure there are Linux geeks just waiting in the wings with
their comments).
-Original Message-
From: Sven Busse [mailto:[EMAIL PROTECTED]
Sent: Monday, October 20, 2003 11:21 AM
To: 'Tomcat Users List'
Subject: AW: RE: newbie: servlet examples work
hello,
well, that would be bad. I don't have the time to re-install
everything now, ...
hmm ...
-Ursprngliche Nachricht-
Von: Mike Curwen [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 20. Oktober 2003 18:25
An: 'Tomcat Users List'; [EMAIL PROTECTED]
Betreff: RE: RE: newbie: servlet
hello,
i am working in windows xp. i have the jsdk 1.4.1 installed. i also installed
apache2 and tomcat 4.1 as described in the HowTo:
http://www.gregoire.org/howto/Apache2_Jk2_TC4.1.x_JSDK1.4.x.html
after installation, i wanted to try the examples at http://localhost/examples.
the servlet
JAVA_HOME or Java_Home --- I'm not usre if it makes a difference on the
Windows environment, but under Unix it definitely does.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 19 October 2003 12:36
To: [EMAIL PROTECTED]
Subject: newbie: servlet examples
You don't need to set your classpath. Tomcat does that for you.
You should double check that your JAVA_HOME environment variable is set
properly. From the command line type: %JAVA_HOME%\bin\javac
You should see a menu of switches for the compiler.
If not, check to see where your JAVA_HOME
hello,
i tried %JAVA_HOME%\bin\javac and it works properly.
Any other ideas?
You don't need to set your classpath. Tomcat does that for you.
You should double check that your JAVA_HOME environment variable is set
properly. From the command line type: %JAVA_HOME%\bin\javac
You should see
- Original Message -
From: Jim Cobban [EMAIL PROTECTED]
Subject: Re: Urgent Re: Newbie: Servlet under Windows does not run
- Original Message -
From: Wagoner, Mark [EMAIL PROTECTED]
Subject: RE: Urgent Re: Newbie: Servlet under Windows does not run
What URL are you using
Did you add a Census context to your server.xml file?
-Original Message-
From: Jim Cobban [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 18, 2002 9:51 AM
To: Tomcat Users List
Subject: Urgent Re: Newbie: Servlet under Windows does not run
I am really desperate. I need to be able
Do you have a web.xml???
Chris
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
On Behalf Of Jim Cobban
Sent: 18 March 2002 14:51
To: Tomcat Users List
Subject: Urgent Re: Newbie: Servlet under Windows does not run
I am really desperate. I need to be able
Have you got an entry for you servlet in the web.xml file in the WEB-INF
folder ?
Dave
-Original Message-
From: Chris Pheby [mailto:[EMAIL PROTECTED]]
Sent: 18 March 2002 15:07
To: Tomcat Users List
Subject: RE: Urgent Re: Newbie: Servlet under Windows does not run
Do you have
- Original Message -
From: Chris Pheby [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, March 18, 2002 10:07 AM
Subject: RE: Urgent Re: Newbie: Servlet under Windows does not run
Do you have a web.xml???
Yes I previously posted its contents to this mailing list
- Original Message -
From: Wagoner, Mark [EMAIL PROTECTED]
Subject: RE: Urgent Re: Newbie: Servlet under Windows does not run
Did you add a Census context to your server.xml file?
No. I looked at the way the examples used that file, and it seemed that it
was used only to override
What URL are you using to get to the servlet?
-Original Message-
From: Jim Cobban [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 18, 2002 12:47 PM
To: Tomcat Users List
Subject: Re: Urgent Re: Newbie: Servlet under Windows does not run
- Original Message -
From: Wagoner, Mark
- Original Message -
From: Wagoner, Mark [EMAIL PROTECTED]
Subject: RE: Urgent Re: Newbie: Servlet under Windows does not run
What URL are you using to get to the servlet?
I have tried a very wide range of URLs. According to all of the
documentation the one that should work is
http
if the servlet is actually being located or not.
-Original Message-
From: Jim Cobban [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 18, 2002 1:34 PM
To: Tomcat Users List
Subject: Re: Urgent Re: Newbie: Servlet under Windows does not run
- Original Message -
From: Wagoner, Mark
- Original Message -
From: Wagoner, Mark [EMAIL PROTECTED]
Subject: RE: Urgent Re: Newbie: Servlet under Windows does not run
Are you absolutely sure the problem is with CensusQuery and not a
referenced
class? It could be that Tomcat can't find another class that is
referenced
Please read this thread and tell me what the h**l I am doing wrong. I am
just trying to write my first servlet. I have to give a demo Tuesday
evening and I cannot get TomCat to run my servlet. Tomcat insists that it
cannot find the class, even though as far as I can see the servlet has
PROTECTED]]
Sent: Monday, March 18, 2002 3:00 PM
To: Tomcat Users List
Subject: Please read Re: Urgent Re: Newbie: Servlet under Windows does
not run
Please read this thread and tell me what the h**l I am doing wrong. I am
just trying to write my first servlet. I have to give a demo Tuesday
evening
Message-
From: Jim Cobban [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 18, 2002 12:00 PM
To: Tomcat Users List
Subject: Please read Re: Urgent Re: Newbie: Servlet under Windows
does
not run
Please read this thread and tell me what the h**l I am doing
wrong. I am
just trying to write my
At 02:59 PM 18/03/2002 -0500, you wrote:
Please read this thread and tell me what the h**l I am doing wrong. I am
just trying to write my first servlet. I have to give a demo Tuesday
evening and I cannot get TomCat to run my servlet. Tomcat insists that it
cannot find the class, even though as
I am fairly new, but perhaps I can help...
-Original Message-
From: Jim Cobban [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 18, 2002 10:34 AM
To: Tomcat Users List
Subject: Re: Urgent Re: Newbie: Servlet under Windows does not run
- Original Message -
From: Wagoner
from your web.xml).
Hope that helps. Good luck
Peter
- Original Message -
From: Wagoner, Mark [EMAIL PROTECTED]
Subject: RE: Urgent Re: Newbie: Servlet under Windows does not run
What URL are you using to get to the servlet?
I have tried a very wide range of URLs. According
I am desperate for help in getting Tomcat to run my servlet. I have read
all of the documentation and tried to follow the rules, but Tomcat just does
not run the servlet.
Under 4.0.3 I get the following log entries:
2002-03-17 14:52:33 StandardHost[localhost]: Installing web application at
what is the package name in the .java file of your censusquery class?
matt
- Original Message -
From: Jim Cobban [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: John W Austin [EMAIL PROTECTED]
Sent: Sunday, March 17, 2002 3:20 PM
Subject: Newbie: Servlet under Windows does not run
I am
- Original Message -
From: Matt Egyhazy [EMAIL PROTECTED]
Subject: Re: Newbie: Servlet under Windows does not run
what is the package name in the .java file of your censusquery class?
The package name in the .java file is Census, just like the file hierarchy
says.
--
To unsubscribe
4.0 newbie - servlet app won't run
Thanks for your reply Scott, and thanks to your and Micael's responses I
_believe_ I understand the relationship between the servlet
naming/mapping and the associated html. As Micael noted, one could put
pudding in the url-pattern as long as the html
Thanks for your reply Scott, and thanks to your and Micael's responses I
_believe_ I understand the relationship between the servlet naming/mapping
and the associated html. As Micael noted, one could put pudding in the
url-pattern as long as the html was setup as ACTION=pudding. But... how
do
Just a preemptive question, Mark. Is your servlet's class object really
called myservlet.class rather than, say, MyServlet.class?
-Original Message-
From: Mark [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Date: Monday, November 26, 2001 7:00 AM
Subject: Re: TC 4.0 newbie
]
To: Tomcat Users List [EMAIL PROTECTED]
Date: Monday, November 26, 2001 7:00 AM
Subject: Re: TC 4.0 newbie - servlet app won't run
Thanks for your reply Scott, and thanks to your and Micael's responses I
_believe_ I understand the relationship between the servlet naming/mapping
and the associated
the old days about referencing
servlets in a package called servletor something?
Micael
-Original Message-
From: Mark [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Date: Monday, November 26, 2001 7:00 AM
Subject: Re: TC 4.0 newbie - servlet app won't run
Thanks for your reply
to the pattern /servletToJsp.
Micael
-Original Message-
From: Mark [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Date: Monday, November 26, 2001 7:00 AM
Subject: Re: TC 4.0 newbie - servlet app won't run
Thanks for your reply Scott, and thanks to your and Micael's responses I
PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Date: Monday, November 26, 2001 7:00 AM
Subject: Re: TC 4.0 newbie - servlet app won't run
Thanks for your reply Scott, and thanks to your and Micael's responses I
_believe_ I understand the relationship between the servlet naming/mapping
/work/.
Micael
-Original Message-
From: Mark [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Date: Monday, November 26, 2001 10:15 AM
Subject: Re: TC 4.0 newbie - servlet app won't run (correction)
Correction, using POST results in a 405-Resource not allowed due
resolve
everything. Micael
-Original Message-
From: Mark [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Date: Monday, November 26, 2001 10:15 AM
Subject: Re: TC 4.0 newbie - servlet app won't run (correction)
Correction, using POST results in a 405-Resource not allowed due
Message-
From: Mark [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Date: Monday, November 26, 2001 7:00 AM
Subject: Re: TC 4.0 newbie - servlet app won't run
Thanks for your reply Scott, and thanks to your and Micael's responses I
_believe_ I understand the relationship between
: Monday, November 26, 2001 9:58 AM
Subject: Re: TC 4.0 newbie - servlet app won't run
The examples you mentioned are the JSPs examples. I realize JSPs compile to
servlets, but what about the straight up HelloWorldExample servlet? I
didn't see mapping for that or the other servlet (vs. JSP
newbie - servlet app won't run
First, there is more than one way to not only skin a cat but also to access
a servlet. Let's look at a non-web.xml way.
A.We can do it via URL by prepending the servlet's class name with
/servlet/. Thus, we can access it as typically noted by
http
4.0 newbie - servlet app won't run
The examples you mentioned are the JSPs examples. I realize JSPs compile to
servlets, but what about the straight up HelloWorldExample servlet? I
didn't see mapping for that or the other servlet (vs. JSP) examples in the
web.xml. Being a newbie, I could very
Mark wrote:
For example, now that I *finally* got my app to work using servlet mapping,
I also found if I leave all mapping out of web.xml and have FORM
ACTION=servlet/myservlet METHOD=POST, Tomcat will still find/run the
servlet under ..WEB-INF/classes. Is that by design?
Mark,
a while longer, but I believe that that's the answer to
your question. I'm struggling to understand as a newbie myself...
-Original Message-
From: Mark [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 26, 2001 10:03 AM
To: Tomcat Users List
Subject: Re: TC 4.0 newbie - servlet app won't
I installed Tomcat 4.0.1 under Win 2k using JDK 1.3 and able to run the
example servlets, but not my own. My html displays and I can execute my
JSPs, but a POST to a servlet does not work (this app has run under Forte
and VA Java in the past). I get a 404 error with the requested resource
servlet.
-Original Message-
From: Mark [EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
Date: Wednesday, November 21, 2001 12:39 PM
Subject: TC 4.0 newbie - servlet app won't run
I installed Tomcat 4.0.1 under Win 2k using JDK 1.3 and able to run the
example servlets, but not my own
the pattern and that will then refer the app to your servlet.
-Original Message-
From: Mark [EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
Date: Wednesday, November 21, 2001 12:39 PM
Subject: TC 4.0 newbie - servlet app won't run
I installed Tomcat 4.0.1 under Win 2k using JDK
'myservlet' which is associated with the myservlet class
Wouter
-Original Message-
From: Mark [mailto:[EMAIL PROTECTED]]
Sent: 21 November 2001 21:43
To: [EMAIL PROTECTED]
Subject: TC 4.0 newbie - servlet app won't run
I installed Tomcat 4.0.1 under Win 2k using JDK 1.3 and able to run
FORM ACTION=servlet/myservlet method=POST
- Original Message -
From: Mark [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, November 22, 2001 04:42
Subject: TC 4.0 newbie - servlet app won't run
I installed Tomcat 4.0.1 under Win 2k using JDK 1.3 and able to run the
example
Mark,
The servlet tag is used to assign a name to a particular servlet class
file.
servlet
servlet-namemyservlet/servlet-name
servlet-classmyservlet/servlet-class
/servlet
This would attempt to assign the name 'myservlet' to the class
'myservlet.class.'
to the controller. The
issue, in my opinion, is not a trivial matter in Model 2 design patterns.
-Original Message-
From: Scott Ahten [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Date: Wednesday, November 21, 2001 9:20 PM
Subject: Re: TC 4.0 newbie - servlet app won't runThi
Sorry it is newbie..
I have myservlet.java
and i place in
tomcat/webapps/myapp/web-inf/classes
and i had modified web.xml in web-inf..
I only want to ask... Is Tomcat not automatically compile it? or I must
compile the servlet first?
Only JSP's are compiled automatically.
Servlet have to be compiled by yourself.
-Ursprüngliche Nachricht-
Von: Isak Rickyanto [mailto:[EMAIL PROTECTED]]
Gesendet: Sonntag, 23. September 2001 15:21
An: Tomcat User Group
Betreff: newbie Servlet
Sorry it is newbie..
I have
You have to use compiled classes.
Mvgr,
Martin
-Original Message-
From: Isak Rickyanto [mailto:[EMAIL PROTECTED]]
Sent: Sunday, September 23, 2001 3:21 PM
To: Tomcat User Group
Subject: newbie Servlet
Sorry it is newbie..
I have myservlet.java
and i place in
tomcat
yes you do have to compile your servlets. jsps are the only thing that
tomcat will compile for you.
cheers
dim
On Sun, 23 Sep 2001, Isak Rickyanto wrote:
Sorry it is newbie..
I have myservlet.java
and i place in
tomcat/webapps/myapp/web-inf/classes
and i had modified web.xml in
Jason Novotny wrote:
I would like to be able to access a servlet with the URL
http://localhost:8080/demo
However, it only works if I go to
http://localhost:8080/demo/servlet/demo
I have the following in server.xml and web.xml respectively:
Context path="/demo"
I would like to be able to access a servlet with the URL
http://localhost:8080/demo
However, it only works if I go to
http://localhost:8080/demo/servlet/demo
I have the following in server.xml and web.xml respectively:
Context path="/demo"
docBase="webapps/demo"
Thanks, Jan
I actually read your great document plus all the docs in Tomcat- actually
I'm trying to design a web app very much like the one in chapter 9 of the
kolb and fields book.
The idea is to have a central controller servlet- DemoServlet that gets
invoked initially by the user. I
On Thu, 1 Mar 2001, Jason Novotny wrote:
I would like to be able to access a servlet with the URL
http://localhost:8080/demo
However, it only works if I go to
http://localhost:8080/demo/servlet/demo
[ ... ]
How timely! I just joined the list yesterday, and this is exactly one
of the
On Thu, 1 Mar 2001, Jan Labanowski wrote:
You may want to read about servlet URLs ramapping in my
http://www.ccl.net/cca/software/UNIX/apache/tomcatfaq.shtml
Howver, I am not sure it will gonna work...
You can have it remapped to http://localhost:8080/demo/demo
but what you want is to
OK, I found few minutes before my head hit the keyboard...
I am not coy, I am overworked... And lengthy explanations take time to type...
On Thu, 1 Mar 2001, Milt Epstein wrote:
On Thu, 1 Mar 2001, Jan Labanowski wrote:
You may want to read about servlet URLs ramapping in my
I am currently running iTools on MacOSX with the iTools version of Tomcat.
When I place a .jsp file in /webapps/ROOT and place my bean classes in
/webapps/ROOT/WEB-INF/classes, I can run the jsp from //localhost/.jsp.
Works great, however, I cannot figure out how to call a servlet via URL
-
From: "Algarve, Leila" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, December 21, 2000 7:32 AM
Subject: [NEWBIE] Servlet-mapping question
I've already tried to find the answer in many places, including the
archives but it doesn't work.
I am using Visual Cafe for t
63 matches
Mail list logo