By context.xml I meant your 'context' in question, which in this case is manageit. So, the context of your manageit.xml should look something like this:
<Context path="/manageit" docBase="manageit" debug="0" privileged="true" reloadable="true" crossContext="false"> <Logger className="org.apache.catalina.logger.FileLogger" directory="logs" prefix="localhost_manageit_log." suffix=".txt" timestamp="true"/> </Context> Your URL is something like: localhost:8080\manageit\process.login - correct? Did you try loading the servlet at tomcat startup? -----Original Message----- From: Schalk Neethling [mailto:[EMAIL PROTECTED] Sent: Saturday, August 14, 2004 1:45 PM To: Tomcat Users List Subject: Re: servlet question In 'tomcat\conf\catalina\localhost\' there is no context.xml file but there is a manageit.xml file, which is the webapp in question. server.xml does not contain any of the other info regarding my other webapps which are running fine so I do not think this is where the problem lies. David Short wrote: >Is your context path set up correctly in your servlet.xml or >tomcat\conf\catalina\localhost\context.xml file for this webapp? > >-----Original Message----- >From: Schalk Neethling [mailto:[EMAIL PROTECTED] >Sent: Saturday, August 14, 2004 1:30 PM >To: Tomcat Users List >Subject: Re: servlet question > > >I am running TC 5.0.25 on WindowsXP, my test environment. All other >servlets are running fine on other webapps. > >David Short wrote: > > > >>I don't think the servlet is the issue, since it's not even getting >>executed. Is your context path set up correctly in your servlet.xml or >>tomcat\conf\catalina\localhost\context.xml file (tomcat 5). >> >>Which version of tomcat are you running and on what os? >> >>-----Original Message----- >>From: Schalk Neethling [mailto:[EMAIL PROTECTED] >>Sent: Saturday, August 14, 2004 1:22 PM >>To: Tomcat Users List >>Subject: Re: servlet question >> >> >>Attached is the servlet, can you see any problems here? It compiles fine. >> >>David Short wrote: >> >> >> >> >> >>>Are you running this through apache redirected to tomcat or straight from >>>tomcat? >>> >>>Try loading the servlet at tomcat startup to see if the servlet is >>>recognized. >>> >>>i.e. <load-on-startup>1</load-on-startup> >>> >>>last in the <servlet></servlet> tag set. >>> >>>I had the same issue and discovered that my pattern in apache wasn't >>> >>> >right. > > >>>However, if you're not using apache, I don't know what to say. The syntax >>>looks correct. >>> >>>-----Original Message----- >>>From: Schalk Neethling [mailto:[EMAIL PROTECTED] >>>Sent: Saturday, August 14, 2004 1:05 PM >>>To: Tomcat Users List >>>Subject: re: servlet question >>> >>> >>>Hey all! >>> >>>I have a servlet called login. I have it mapped in my web.xml as follows: >>> >>><servlet> >>> <servlet-name>login</servlet-name> >>> <servlet-class>org.volume4.authentication.login</servlet-class> >>></servlet> >>><servlet-mapping> >>> <servlet-name>login</servlet-name> >>> <url-pattern>*.login</url-pattern> >>></servlet-mapping> >>> >>>My WEB-INF structure is as follows >>> >>>WEB-INF/classes/org/volume4/authentication/login.class >>> >>>Does anyone have an idea as to why when I call login as process.login >>> >>> >>> >>> >>>from a form it is not run? I have placed some System.out.println(); in >> >> >> >> >>>there but, it seems that the servlet is not called at all. I basically >>>just get a blank screen. When I look at the tomcat logs no errors are >>>recorded here either. >>> >>>-- >>>Kind Regards >>>Schalk Neethling >>>Web Developer.Designer.Programmer.President >>>Volume4.Development.Multimedia.Branding >>>emotionalize.conceptualize.visualize.realize >>>Tel: +27125468436 >>>Fax: +27125468436 >>>email:[EMAIL PROTECTED] >>>web: www.volume4.co.za >>> >>>This message contains information that is considered to be sensitive or >>>confidential and may not be forwarded or disclosed to any other party >>>without the permission of the sender. If you received this message in >>> >>> >>> >>> >>error, >> >> >> >> >>>please notify me immediately so that I can correct and delete the original >>>email. Thank you. >>> >>> >>> >>>--------------------------------------------------------------------- >>>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] >>> >>> >>> >>> >>> >>> >>> >>-- >>Kind Regards >>Schalk Neethling >>Web Developer.Designer.Programmer.President >>Volume4.Development.Multimedia.Branding >>emotionalize.conceptualize.visualize.realize >>Tel: +27125468436 >>Fax: +27125468436 >>email:[EMAIL PROTECTED] >>web: www.volume4.co.za >> >>This message contains information that is considered to be sensitive or >>confidential and may not be forwarded or disclosed to any other party >>without the permission of the sender. If you received this message in >> >> >error, > > >>please notify me immediately so that I can correct and delete the original >>email. Thank you. >> >> >> >> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: [EMAIL PROTECTED] >>For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> >> >> > >-- >Kind Regards >Schalk Neethling >Web Developer.Designer.Programmer.President >Volume4.Development.Multimedia.Branding >emotionalize.conceptualize.visualize.realize >Tel: +27125468436 >Fax: +27125468436 >email:[EMAIL PROTECTED] >web: www.volume4.co.za > >This message contains information that is considered to be sensitive or >confidential and may not be forwarded or disclosed to any other party >without the permission of the sender. If you received this message in error, >please notify me immediately so that I can correct and delete the original >email. Thank you. > > > >--------------------------------------------------------------------- >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] > > > -- Kind Regards Schalk Neethling Web Developer.Designer.Programmer.President Volume4.Development.Multimedia.Branding emotionalize.conceptualize.visualize.realize Tel: +27125468436 Fax: +27125468436 email:[EMAIL PROTECTED] web: www.volume4.co.za This message contains information that is considered to be sensitive or confidential and may not be forwarded or disclosed to any other party without the permission of the sender. If you received this message in error, please notify me immediately so that I can correct and delete the original email. Thank you. --------------------------------------------------------------------- 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]