----Original Message Follows----
From: Ibrahim tangara <[EMAIL PROTECTED]>
Hello Ichiro and Everybody !
Yes, as for the exemples they are all running properly, except
>http://localhost:8080/servlet/snoop
********: shouldn't it be localhost:8080/servlet/SnoopServlet ?
I'am Using Windows NT WorkStation 4 and IE4. I could run the exemples
after
downloading the JSDK2.1 without changing anything in the configuration
files.
I have also been able to compile my servlet succesfully after typing the
following command at the dos prompt
set <JsdkInstallationDirectoryPath>\jsdk2.1\servlet.jar;%classpath%
(because the classes to be imported are in the servlet.jar file)
I've first tried to put my servlet in the same directory as the exmple
servlets, but it doesn't work because the files to be run are not actually
taken from "servlets" directory but from "servlet" (whitout "s") which is
not apparent. You can see this from the address in your browser when running
an exemple servlet.
********: I don't quite understand what you described here... but if
******** everything under examples/servlets/WEB-INF works, your ********
servlet should work too if you put your serlvet there...
********: try to put your servlet under examples/servlets/WEB-INF
******** (servlets with "s":)
******** then point your browser to:
******** localhost:8080/examples/servlet/yourServletClassName
******** (servlet without "s":)
******** it's not right if this doesn't work...:)
******** good luck!
I have then created directories (jsdk2.1\myservlets\servlets) following
Emily's advice and I've also added in the servlets.properties file the two
lines:
server.webapp.myservlets.mapping=/myservlets
server.webapp.myservlets.docbase=myservlets
I still havent found the reason why i get the error i mentioned in my
previous mail i.e "Error 404 : No detailed message".
Regards
Ichiro
wrote-----------------------------------------------------------------------
------
>Hi,
>
>Do you success some example servlet in JSD2.1?
>
>For Example:
>http://localhost:8080/servlet/snoop
>
>Best Regards!
>
>Ichiro Fujita, IBM Japan
>>Ibrahim wrote------------------------------------------------------
>>Hello to all !
>>I have difficulties to run my first servlet with jsdk2.1 as many others.
>>I have tried the solution proposed by Emily but I still get the following
>>error msg
>>
>>Error: 404
>>No detailed message
>>
>>Thanks in advance for any help !
>>Ibrahim
--------------------------------------------------------------
___________________________________________________________________________
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
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.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