Martin,
You copy .class file to /bin/examples directory.Then add the following line to the
servlet.properties file.
servlet.HelloWorld.code=HelloWorldExamples
After saving the servlet.properties file,go to MS-DOS prompt.Type the following
command:
servletrunner
It will output stuff like
connections=500 BLAH BLAH BLAH
Then,open your browser,
enter http://localhost:8080/servlet/HelloWorldExamples
The servlet will run
I am assuming that u r working with NT and IIS
--
On Mon, 11 Oct 1999 17:44:53 Hilpert, Martin wrote:
>As the Java Tutorial states:
>
>http://java.sun.com/docs/books/tutorial/servlets/call-servlets/index.html
>
>I copied the HelloWorldExamples.class (that works with the example pages) to
>
>.../webpages/WEB-INF/HelloWorldExample.class
>
>and I try to call it via
>
>http://localhost:8080/servlet/HelloWorldExample
>
>but all I get is the following error:
>
>----------------------------------------------------------
>Error: 500
>
>Internal Servlet Error:
>
>java.util.MissingResourceException: Can't find resource for base name
>LocalStrings, locale de_DE
> at java.util.ResourceBundle.getBundle(ResourceBundle.java:423)
> at java.util.ResourceBundle.getBundle(ResourceBundle.java:339)
> at HelloWorldExample.(HelloWorldExample.java:19)
> at java.lang.Class.newInstance0(Native Method)
> at java.lang.Class.newInstance(Class.java:241)
> at
>com.sun.web.core.ServletWrapper.loadServlet(ServletWrapper.java:100)
> at
>com.sun.web.core.ServletWrapper.handleRequest(ServletWrapper.java:119)
> at com.sun.web.core.InvokerServlet.service(InvokerServlet.java:168)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
> at
>com.sun.web.core.ServletWrapper.handleRequest(ServletWrapper.java:155)
> at com.sun.web.core.Context.handleRequest(Context.java:414)
> at
>com.sun.web.server.ConnectionHandler.run(ConnectionHandler.java:139)
>---------------------------------------------------
>
>Any help?
>
>Martin
>
>___________________________________________________________________________
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff SERVLET-INTEREST".
>
>Archives: http://archives.java.sun.com/archives/servlet-interest.html
>Resources: http://java.sun.com/products/servlet/external-resources.html
>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
What are you N2? Choose from 150 free e-mail addresses.
http://www.n2mail.com
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html