Randy,
Yes that was the problem.Now when I give the complete
path-http://localhost:8080/search/servlet/HelloWorldExample
I can execute the class. 
But I still can not execute the class with:
/hello or http://localhost:8080/search/HelloWorld
or http://localhost:8080/search/servlet/HelloWorld
Thanks very much again,
Sanjay
--- Randy Layman <[EMAIL PROTECTED]> wrote:
> 
>       Your problem isn't in the loaded classes (that
> would be a class not
> found).  Instead look at where you are calling the
> method
> java.util.ResourceBundle.getBundle.  The parameter
> you are passing in
> references a resource that Tomcat can't find.
> 
>       Randy
> 
> > -----Original Message-----
> > From: Sanjay Bahal [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, March 21, 2002 9:56 AM
> > To: Tomcat Users List
> > Subject: RE: Servlet Deploy Problem Help
> > 
> > 
> > Thanks of the insight. The servlet is a HelloWorld
> > example. The only imports in the class are:
> > import java.io.*;
> > import java.text.*;
> > import java.util.*;
> > import javax.servlet.*;
> > import javax.servlet.http.*;
> > I would easily suppose these should be available
> to
> > Tomcat. If not what do I do.
> > Thanks
> > Sanjay
> > --- Randy Layman <[EMAIL PROTECTED]>
> wrote:
> > > 
> > >   The stack trace you included indicates that you
> are
> > > running the
> > > servlet, but its throwing an exception.
> > > 
> > > > -----Original Message-----
> > > > From: Sanjay Bahal [mailto:[EMAIL PROTECTED]]
> > > > Sent: Thursday, March 21, 2002 9:21 AM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: Servlet Deploy Problem Help
> > > > 
> > > > 
> > > > I either get a resource not found or 
> > > > java.util.MissingResourceException: Can't find
> > > bundle
> > > > for base name LocalStrings, locale en_US
> > > >         at
> > > >
> > >
> >
>
java.util.ResourceBundle.throwMissingResourceException(Resourc
> > > > eBundle.java:707)
> > > >         at
> > > >
> > >
> >
>
java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:604)
> > > >         at
> > > >
> > >
> >
>
java.util.ResourceBundle.getBundle(ResourceBundle.java:559)
> > > >         at HelloWorldExample.doGet(Unknown Source)
> > > > 
> > > 
> > >   If your servlet wasn't being called then you
> > > wouldn't see it in the
> > > stack trace.  I would suggest that you look at
> how
> > > you are loading resources
> > > in your servlet (they are probably not in the
> > > classpath).
> > > 
> > >   Randy
> > > 
> > > --
> > > To unsubscribe:  
> > >
> <mailto:[EMAIL PROTECTED]>
> > > For additional commands:
> > > <mailto:[EMAIL PROTECTED]>
> > > Troubles with the list:
> > > <mailto:[EMAIL PROTECTED]>
> > > 
> > 
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Movies - coverage of the 74th Academy
> Awards®
> > http://movies.yahoo.com/
> > 
> > --
> > To unsubscribe:  
> <mailto:[EMAIL PROTECTED]>
> > For additional commands:
> <mailto:[EMAIL PROTECTED]>
> > Troubles with the list:
> <mailto:[EMAIL PROTECTED]>
> > 
> 
> --
> To unsubscribe:  
> <mailto:[EMAIL PROTECTED]>
> For additional commands:
> <mailto:[EMAIL PROTECTED]>
> Troubles with the list:
> <mailto:[EMAIL PROTECTED]>
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to