Some topics

alwaysgreen (alwaysgreen)
Do you mean that when you use the url
http://localhost:8080/servlet/com.jabber.ecommerce.HelloServlet in explorer, in fact , Tomcat will locate the file HelloServlet.class
in C:\jakarta-tomcat\webapps\Root\WEB-INF\classes\com\jabber\ecommerce\ ?

It just like the CGI method. We always put it into a path on the server which the user don't know.But the web server can find it .
I read many html files on sun web site,I researched how to run java programs in html. It looks similar like what I did in cgi. And I found servlet have more methods to pass data . It's interesting! And java has higher safe level !

oh, I don't understand what you said about "structure com.jabber.ecommerce", I think if your class file is HelloServlet.class, you java program must be HelloServlet.java ,isn't it?
I am a little confuse about it.
Would you tell me more about it ?
By the way, please tell me about more java web site, I want to research them. how about your application web server?
2000-11-10 -04:00
This post has been archived. It cannot be replied.
Page address has been copied. To share, click to copy page address.
Share Online by QR Code

Back To Topic: hi,Japper, what's about error 500?

Back To Forum: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论