I am just restarting this thread. My problem remains
unsolved. I am running Tomcat4.01/NT. The setup should
be OK as the examples run.
I am trying to deploy the HelloWorldExample. 
My directory structure is-
Tomcat4\webapps\search\WEB-INF\classes
I have my .htm file in the \search directory and my
class in the \classes and my web.xml in the \WEB-INF.
My web.xml looks like this- I have used the example
file to create it-
<servlet>
      <servlet-name>HelloWorld</servlet-name>
          <description>
                HelloWorld
          </description>
      <servlet-class>HelloWorldExample</servlet-class>
    </servlet>
<servlet-mapping>
      <servlet-name>HelloWorld</servlet-name>
      <url-pattern>/hello</url-pattern>
    </servlet-mapping>
Is this web.xml correct?

I have not been able to execute my servelt any which
way:
/hello
http://localhost:8080/search/servlet/HelloWorldExample
http://localhost:8080/search/servlet/HelloWorld
http://localhost:8080/search/HelloWorld
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(ResourceBundle.java:707)
        at
java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:604)
        at
java.util.ResourceBundle.getBundle(ResourceBundle.java:559)
        at HelloWorldExample.doGet(Unknown Source)

 My question is how do I exceute it- from the /search
directory or from anywhere else using a full url path.
Thanks a lot,
Sanjay

__________________________________________________
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