Tomcat newbie question.

I have installed and configured tomcat 3.2.3 on a linux server.
I used the rpm distribution from the jakarta web site.
I am running tomcat as a stand-alone, accessing it through
localhost:8080
All the servlet examples under ~tomcat/webapps/examples work fine.

I created another directory under webapps, ~tomcat/webapps/helpdesk and
below there I created the same directory tree as fown under "examples".
The following simple servlet core

// HelloWorld Servlet
 
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
 
public class HelloWorld extends HttpServlet {
 
  public void doGet(HttpServletRequest request, HttpServletResponse
response)
                   throws IOException, ServletException {
    response.setContentType("text/html");
    PrintWriter out = response.getWriter();
    out.println("<html>");
    out.println("<body bgcolor=#FFFFFF>");
    out.println("<head>");
    out.println("<title>Hello World!</title>");
    out.println("</head>");
    out.println("<body>");
    out.println("<h1>Hello World!</h1>");
    out.println("<b>This is DS ...</b>");
    out.println("</body>");
    out.println("</html>");
  }
} 
                                                                                    
worked fine, but the HelloWorldExample (the one found under examples)
gives me the error below.
Could anyone please point me to the right direction, so solve this
problem?  It may be sometihng very simple I am missing in the
configuration.

Thank you! - Demetrios

java.util.MissingResourceException: Can't find bundle for base name
LocalStrings, locale en
        at
java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:712)
        at
java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:683)
        at java.util.ResourceBundle.getBundle(ResourceBundle.java:559)
        at HelloWorldExample.doGet(HelloWorldExample.java:24)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java)
        at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java)
        at org.apache.tomcat.core.Handler.service(Handler.java)
        at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java)
        at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java)
        at
org.apache.tomcat.core.ContextManager.service(ContextManager.java)
        at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java)
        at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java)
        at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java)
        at java.lang.Thread.run(Thread.java:484)

Reply via email to