Re: TC 4.0 newbie - servlet app won't run

2001-11-27 Thread David Smith
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

Re: TC 4.0 newbie - servlet app won't run

2001-11-26 Thread Mark
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

Re: TC 4.0 newbie - servlet app won't run

2001-11-26 Thread Micael Padraig Og mac Grene
- 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

Re: TC 4.0 newbie - servlet app won't run

2001-11-26 Thread Micael Padraig Og mac Grene
] 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

Re: TC 4.0 newbie - servlet app won't run

2001-11-26 Thread Micael Padraig Og mac Grene
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

Re: TC 4.0 newbie - servlet app won't run

2001-11-26 Thread Mark
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

Re: TC 4.0 newbie - servlet app won't run (correction)

2001-11-26 Thread Mark
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

Re: TC 4.0 newbie - servlet app won't run (correction)

2001-11-26 Thread Micael Padraig Og mac Grene
/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

Re: TC 4.0 newbie - servlet app won't run (correction)

2001-11-26 Thread Micael Padraig Og mac Grene
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

Re: TC 4.0 newbie - servlet app won't run (correction)

2001-11-26 Thread Micael Padraig Og mac Grene
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

Re: TC 4.0 newbie - servlet app won't run

2001-11-26 Thread Micael Padraig Og mac Grene
: 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

Re: TC 4.0 newbie - servlet app won't run

2001-11-26 Thread Micael Padraig Og mac Grene
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

RE: TC 4.0 newbie - servlet app won't run

2001-11-26 Thread William Tansill
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

TC 4.0 newbie - servlet app won't run

2001-11-21 Thread Mark
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

Re: TC 4.0 newbie - servlet app won't run

2001-11-21 Thread Micael Padraig Og mac Grene
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

Re: TC 4.0 newbie - servlet app won't run

2001-11-21 Thread Mark
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

RE: TC 4.0 newbie - servlet app won't run

2001-11-21 Thread Wouter Boers
'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

Re: TC 4.0 newbie - servlet app won't run

2001-11-21 Thread Galbayar
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

Re: TC 4.0 newbie - servlet app won't run

2001-11-21 Thread Scott Ahten
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.'

Re: TC 4.0 newbie - servlet app won't run

2001-11-21 Thread Micael Padraig Og mac Grene
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