THANKS! That worked. I thought it looked a bit weird but someone else suggested it and being obliging I played along since I couldn't come up with a rational argument not to.
Sandra Patricia Hunter Systems Development and Web Design -----Original Message----- From: Erik Price [mailto:[EMAIL PROTECTED] Sent: March 27, 2003 8:53 AM To: Tomcat Users List Subject: Re: Conflict between servlets and JSP: urgent! Sandra Patricia Hunter wrote: > I built my jsp files and they ran just fine. > Then I created a servlet that runs just fine as well. > But when I try to now run my jsp Tomcat continues to refer to files > that are only relevant for the servlet. Even plain html pages don't > run correctly. Servlets still run fine. Please help! [...] > Web.xml snippet: > <servlet> > <servlet-name>IDLogin</servlet-name> > <description> > this is the login page for the servlet > </description> > <servlet-class>idcard.IDLogin</servlet-class> > </servlet> > <servlet-mapping> > <servlet-name>IDLogin</servlet-name> > <url-pattern>/*</url-pattern> > </servlet-mapping> Looks like you've mapped all requests within the idcard webapp to that servlet. This means that the IDLogin servlet will be called by *any* request made within your webapp's reach. Change the <url-pattern> element to something like /login or something. Erik --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
