Originally posted by Kyle Brown:
[B]The fact that you haven't mentioned what Project your servlet is in makes me believe that the source code isn't in VAJ. Is this true? How did you create this servlet, and what project did you create it in? Did you then add that project to the classpath of the WTE?
Yes, I have done all the above. I created a project called JohnsProject and added that project to the classpath using the WTE control center.
The next thing I tried was to create a new package in the IBM JSP Examples project called com.ibm.ivj.wte.samples.johnway I created a new servlet, cut out the auto generated code and pasted my HelloWorld code (shown in original post)into this new class (with the same name)
when I called the URL from my browser with http://localhost:8080/servlet/com.ibm.ivj.wte.samples.johnway.HelloWorld I get a blank email page. View-Source gives me the following
< !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252"></HEAD>
<BODY></BODY></HTML>
Which is obviuosly not what I programmed, but it is something. Any thoughts on what I need to do to get the desired output programmed in HelloWorld?
------------------
John