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
- 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 was setup as ACTION
]
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
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.'
Mark,
Scott is right, of course, but there is no reason to use a url when in fact
you are just using a tag or a name. It is misleading, in my opinion. In
Scott's code, substituting form action=pudding method=post for form
action=/servlet/servlet method=post works just as well as long as you
20 matches
Mail list logo