Hi!
I was following the instructions on
http://www.javaworld.com/javaworld/jw-03-2000/jw-0331-ssj-forms.html
to create a form using JSP.
When it comes to deploy the application I got stuck.
The instructions says:
I will assume that you are using Sun's latest version of JavaServer Web
Development Kit (JSWDK) to run the example. If you aren't, see
the Resources section to find out where to get it. Assuming that the
server is installed in \jswdk-1.0.1, its default location under
Microsoft
Windows, deploy the application files as follows:
Copy register.htm to \jswdk-1.0.1\webpages
Create the directory "forms" under \jswdk-1.0.1\examples\jsp
Copy process.jsp to \jswdk-1.0.1\examples\jsp\forms
Copy retry.jsp to \jswdk-1.0.1\examples\jsp\forms
Copy success.jsp to \jswdk-1.0.1\examples\jsp\forms
Copy forms.properties to \jswdk-1.0.1\examples\WEB-INF\jsp\beans
Copy FormBean.java to \jswdk-1.0.1\examples\WEB-INF\jsp\beans
Compile FormBean.java by typing javac -d . FormBean.java
This should create
\jswdk-1.0.1\examples\WEB-INF\jsp\beans\foo\FormBean.class. If you are
also testing the servlet, you will need to:
Update process.jsp to forward the request to the servlet as shown
earlier
Update the classpath to include
\jswdk-1.0.1\examples\WEB-INF\jsp\beans
Copy DBHandler.java to \jswdk-1.0.1\examples\WEB-INF\servlets
Compile DBHandler.java by typing javac DBHandler.java
I would like to deploy this to my Tomcat server.
Here is my questions:
* In which directorys under Tomcat should I save my files? ( I have the
same files as in the example)
* I'm NOT using JSWDK - do I have to use that???
* Do I have to modify my CLASSPATH? (Update the classpath to include
\jswdk-1.0.1\examples\WEB-INF\jsp\beans)
Regards,
Emma