wood burning stoves*
The moose likes Servlets and the fly likes Java SDK Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Java SDK" Watch "Java SDK" New topic

Java SDK

Seema Bhatia
Ranch Hand

Joined: Apr 27, 2001
Posts: 36
I am new to JSP and I have installed JAVA SDK 2 Enterprise Edition from sun site and I have no idea to do the setup for environment variables but I did made changes in userconfig.bat i.e. set java_home etc besides that do I need to change any other files to do the environment settings.
If yes then please let me know.
If no then my questions are:
1)Where to put the classes if I am working with JAVA SDK 2 Enterprise Edition?
2)Why my this code does not get executed?
import javax.servlet.jsp.JspWriter;
public class classA
rest of the code....
It gives error on the line import javax.servlet.jsp.JspWriter;
Any idea what's going on?
I am stuck any help will be greatly appreciated.
Andrew Shafer
Ranch Hand

Joined: Jan 19, 2001
Posts: 338

Cause that stuff probably isn't in your classpath.
You probably want to download some sort of Servlet/JSP container, I suggest Tomcat from http://jakarta.apache.org, but there are other choices.
Try a search on google.com
java jsp servlets getting started
Also the JspWriter is not something you would normally import, it will be implicitly created in your jsp or if you are using a plain servlet you can use a printwriter or something else. You could import it but I wouldn't.

I agree. Here's the link: http://aspose.com/file-tools
subject: Java SDK