Howdy,
You will need a servlet-mapping element in your web.xml first.  Then
we'll see why the javax.xml.transform.Source error is coming up.

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: sita tangirala [mailto:[EMAIL PROTECTED]
>Sent: Thursday, October 23, 2003 4:04 PM
>To: [EMAIL PROTECTED]
>Subject: problem displaying the servlet
>
>Hi,
>
>   I'm using Tomcat 5.0.   I'm writing my first servlet program Hello
>World. I could compile the java program but I get servlet not found
error.
>I have placed my HelloWorld.java and HelloWorld.class in
WEB-INF/classes. I
>changed my WEB-INF/web.xml as follows:
>
><web-app>
><servlet>
><servlet-name>HelloWorld</servlet-name>
><servlet-class>HelloWorld</servlet-class>
></servlet>
></web-app>
>
>But I still get the same error. Then I looked at the log. It's a long
error
>message.
>The starting line of it is
>java.lang.NoClassDefFoundError:
>javax/xml/transform/Source>java.lang.NoClassDefFoundError:
>javax/xml/transform/Source
>
>Can anyone please explain me where I'm going wrong.
>
>Thanks,
>Sita.
>
>
>---------------------------------
>Do you Yahoo!?
>The New Yahoo! Shopping - with improved product search



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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

Reply via email to