RE: web.xml not working

2001-06-27 Thread Stefan Neumann
give that one a try: url-pattern/story/*/url-pattern using SERVERNAME/sampleapp/story -Original Message- From: Erin Lester [mailto:[EMAIL PROTECTED]] Sent: Dienstag, 26. Juni 2001 16:25 To: [EMAIL PROTECTED] Subject: web.xml not working I have created a web application as per the

Re: web.xml not working

2001-06-26 Thread Charles Baker
Here is a servlet definition from my web.xml file: servlet servlet-name Login /servlet-name servlet-class com.beeslender.servlets.LoginServlet /servlet-class servlet-mapping servlet-name Login

Re: web.xml not working

2001-06-26 Thread Erin Lester
Thanks for the suggestion, but I don't think that's it. According to the Java Servlet Spec. v2.2 (ch. 13, pg 65), servlet-mapping isn't contained within the servlet element, but is a seperate element. In my original post I said I couldn't have a web.xml file in my application. That was

Re: web.xml not working

2001-06-26 Thread Krishna Muthyala
Eric If you deploy your servlets using a web.xml then you should have your servlets properly packaged. so in your case you need to package your servlets as com.beeslender.servlets.LoginServlet package com.beelender.servlets; at the top of your Login Servlet and then you should map your web.xml

Re: web.xml not working

2001-06-26 Thread Charles Baker
That was my web.xml for Erin to use as an example. Mine works just fine btw. --- Krishna Muthyala [EMAIL PROTECTED] wrote: Eric If you deploy your servlets using a web.xml then you should have your servlets properly packaged. so in your case you need to package your servlets as

Re: web.xml not working

2001-06-26 Thread Charles Baker
Okay, that sample was just what I had modified/copied from the web.xml that was supplied w/ TomCat. --- Erin Lester [EMAIL PROTECTED] wrote: Thanks for the suggestion, but I don't think that's it. According to the Java Servlet Spec. v2.2 (ch. 13, pg 65), servlet-mapping isn't contained