Hi,

Yes I got it working.  Thank you all for the help.  
 
> Paste your <servlet> and <servlet-mapping> code here.
> 
> Kind Regards
> Schalk Neethling
> Web Developer.Designer.Programmer.CEO
> Volume4.Development.Multimedia.Branding
> emotionalize.conceptualize.visualize.realize
> Tel: +27125468436
> Fax: +27125468436
> email:[EMAIL PROTECTED]
> web: www.volume4.com
> 
> 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.
> 
> :: -----Original Message-----
> :: From: Jason Tesser [mailto:[EMAIL PROTECTED]
> :: Sent: Tuesday, February 17, 2004 9:22 PM
> :: To: Tomcat Users List
> :: Subject: RE: servlet help please
> ::
> :: Hi
> ::
> :: > Howdy,
> :: >
> :: > >        <servlet-mapping>
> :: > >                <servlet-name>MessageServlet1</servlet-name>
> :: > >
<url-pattern>/servlet/MessageServlet1</url-pattern>
> :: > >        </servlet-mapping>
> :: > >
> :: > >The problem is when I add the above code to the xml file nothing
> :: Under
> :: > >servlets-examples will run.  What am I doing wrong?
> :: >
> :: > You need to have a <servlet> element in your web.xml file
defining
> :: what
> :: > class MessageServlet1 is, e.g.
> :: > <servlet>
> :: >   <servlet-name>MessageServlet1</servlet-name>
> :: >   <servlet-class>com.mycompany.SomeServlet</servlet-class>
> :: > </servlet>
> :: >
> :: > It's preferable to put this servlet element before the servlet-
> mapping
> :: > one ;)
> :: >
> :: > Yoav Shapira
> :: >
> :: ok got it :-)  Thanks now I am getting the following error
> ::
> :: HTTP Status 500 -
> ::
> ::
-----------------------------------------------------------------------
> -
> :: --------
> ::
> :: type Exception report
> ::
> :: message
> ::
> :: description The server encountered an internal error () that
prevented
> :: it from fulfilling this request.
> ::
> :: exception
> ::
> :: javax.servlet.ServletException: No servlet class has been specified
for
> :: servlet MessageServlet1
> ::
> ::
>
org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authenticator
> :: Base.java:509)
> ::
> ::
>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
> :: :164)
> ::
> ::
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206)
> ::
> ::
>
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:82
> :: 8)
> ::
> ::
>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
> :: onnection(Http11Protocol.java:700)
> ::
> ::
>
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:58
> :: 4)
> ::
> ::
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
> :: .java:683)
> ::    java.lang.Thread.run(Thread.java:534)
> ::
> ::
> :: note The full stack trace of the root cause is available in the
Tomcat
> :: logs.
> ::
> ::
---------------------------------------------------------------------
> :: 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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to