Hi, I am new to this servlet thing. I've installed J2EE, it is up and running. I've also written and compiled my first servlet, but when I try to run the servlet on my server with //host-name/name_of_servlet it always ask me to open or to save my .class file. I put my .class and .java file under %J2EE_Home%\public_html. I believe J2EE already included tomcat so I don't have to install tomcat separately, anyone have solution why this is happening? Also anyone knows a good website with j2ee and servlet? Most of the website I found use the JSWDK to develop servlet. Thanks.
Eva [ October 06, 2003: Message edited by: Eva Tang ]
When you say J2EE is "up and running", what do you mean? J2EE is a jar file (collection of classes) for enterprise java. For example, it contains the code for a session. "when I try to run the servlet on my server" What server are you using? J2EE is not a server. (You'll know that you have a server when you have something that can be explicitly started. Yes, you need to install a server separately. Tomcat is pretty simple to use.
When I said j2ee is "up and running" it means I can do j2ee -verbose in dos command. And when I execute that it said "Starting web service at port 8000". I can get my jsp files to run, just having problem to run my servlet.
I think you are using the web services stuff that comes with j2ee 1.4. Am I correct? You need to download tomcat and it will make you life so much better. You can follow the examples that come with it.
No more rhymes! I mean it!<br /> <br />Does anybody want a peanut?