Hi,

I realise that this subject has probably been covered, however I have tried
as many sources before resorting to the interest list so forgive me!

I created a directory c:\ravendata\java into which I downloaded jswdk-1.0.1,
unzipped and amended the CLASSPATH to include
c:\ravendata\java\jdk1.3\lib\tools.jar;c:\ravendata\java\jswdk-1.0.1\lib\ser
vlet.jar

As you can tell from this I've already downloaded the JDK1.3.

I have started the webserver using startserver.bat (by the way i'm on NT
v4.0)
During my many attempts at this I've also added
Set JAVA_HOME=c:\ravendata\java\jdk1.3\bin to my startserver.bat this
doesn't seem to have had any affect. I've also bounced (stopped and
re-started) the server using stopserver.bat and then startserver.bat. I've
also done this when moving my code around.

I can see and run the examples in <http://localhost>:8080/examples/servlets
but I can't add my own. I'm following Lesson 5 of The Java Programming
Language
(http://developer.java.sun.com/developer/onlineTraining/Programming/BasicJav
a1/servlet.html)

I can compile ExampServlet.java . I've placed the .class and .java in
c:\ravendata\java\jswdk-1.0.1\examples\WEB-INF\servlets and the .html in
c:\ravendata\java\jswdk-1.0.1\examples\servlets
If I open my browser and try running the html to call the servlet, i.e.
<http://localhost>:8080/examples/servlets/simpleHTML, I get

Error 404
 file not found ,
/examples/servlets/simpleHTML

I'm not running JavaWebServer, but the simple http web server (well at least
I think I am) that comes with JSWDK.

I would really appreciate it if someone could talk me through setting up a
new project rather than just using 'examples'

Please advise. Thanks in advance.

Chris J.
xt32161
e-mail:- jenkins, christopher



The Royal Bank of Scotland plc is registered in Scotland No 90312. Registered Office: 
36 St Andrew Square, Edinburgh EH2 2YB.

The Royal Bank of Scotland plc is regulated by IMRO, SFA and Personal Investment 
Authority.

This e-mail message is confidential and for use by the addressee only.  If the message 
is received by anyone other than the addressee, please return the message to the 
sender by replying to it and then delete the message from your computer.

'Internet e-mails are not necessarily secure. The Royal Bank of Scotland plc does not 
accept responsibility for changes made to this message after it was sent.'

___________________________________________________________________________
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

Reply via email to