Your JSP has to be part of a WAR file (a Web ARchive).
I think you need an IDE.
Maybe you should look at Java Studio Creator which provides RAD capabilities and where such packaging is all done for you: http://developers.sun.com.
If you want a free tool, go to NetBeans (http://www.netbeans.org) and pick version 3.6. NetBeans comes with Tomcat integrated (Tomcat is a servlet engine).
-Alexis
> Hello Forum,
> I have Sun java webserver and would like to know as
> s where to place .jsp files ? Any help is
> appreciated. Thanks.
This article might also help you if you want to do directory deployment as suggested by lancea
http://developers.sun.com/prodtech/appserver/reference/techart/deployment.html
> I have Sun java webserver and would like to know as
> s where to place .jsp files ?
If you are using the newer Sun Java Web Server 6.1, it's default settings will know to interpret any .jsp files automatically if they are stored on your web document root. For example, the default docs directory is /opt/SUNWwbsvr/docs if you didn't change that path when you run the installation of SJWS 6.1.
Note that SJWS 6.1 only understand JSP1.2 specs.