This site is the archived OWASP Foundation Wiki and is no longer accepting Account Requests.
To view the new OWASP Foundation website, please visit https://owasp.org

Difference between revisions of "ESAPI Swingset"

From OWASP
Jump to: navigation, search
Line 3: Line 3:
 
Swingset is still under development, but will be available for download soon.
 
Swingset is still under development, but will be available for download soon.
  
==Download/Install==
+
==Download/Run==
When the ESAPI Swingset is available for download, a hyperlink will be here.
+
When the ESAPI Swingset is available for download, a hyperlink will be here. This download will contain everything you need to get Swingset up and running in a matter of minutes.  No installation is necessary (assuming you have a Java JDK installed), just edit one line of a batch file or shell script and you're ready to go!
  
 
==Download the JDK==
 
==Download the JDK==
Line 10: Line 10:
  
 
The Java JDK is available [http://java.sun.com/javase/downloads/index.jsp here].
 
The Java JDK is available [http://java.sun.com/javase/downloads/index.jsp here].
==Install to Windows==
+
 
 +
<a name="windows_setup">==Setup Swingset for Windows==</a>
 +
Run Swingset on Windows:
 
<ol>
 
<ol>
 
<li>Extract ESAPI_Swingset.zip to a directory of your choice.</li>
 
<li>Extract ESAPI_Swingset.zip to a directory of your choice.</li>
Line 18: Line 20:
 
<li>Save the file</li>
 
<li>Save the file</li>
 
</ol>
 
</ol>
 +
 
==Running Swingset==
 
==Running Swingset==
 
<ol>
 
<ol>
 +
<li>Navigate to the ESAPI_Swingset
 
<li>Execute Tomcat_6.0.18_start.bat.  This can be done through the command line or by double clicking the file.</li>
 
<li>Execute Tomcat_6.0.18_start.bat.  This can be done through the command line or by double clicking the file.</li>
 +
<li>If you followed the instructions in [[#windows_setup Windows Setup]], Tomcat should now be running</li>
 +
<li>Open a web browser and navigate to [http://localhost:8080/main] </li>
 +
<li>You should see the ESAPI Swingset start page </li>
 
</ol>
 
</ol>
 +
 
==Project Sponsors==  
 
==Project Sponsors==  
  

Revision as of 16:43, 29 August 2008

The ESAPI Swingset is a web application which demonstrates the many uses of the ESAPI.

Swingset is still under development, but will be available for download soon.

Download/Run

When the ESAPI Swingset is available for download, a hyperlink will be here. This download will contain everything you need to get Swingset up and running in a matter of minutes. No installation is necessary (assuming you have a Java JDK installed), just edit one line of a batch file or shell script and you're ready to go!

Download the JDK

If it is not already installed, please download a Java JDK version 5 or later. Tomcat, the web server you will be using, requires a JDK, rather than a JRE, due to the use of JSPs in ESAPI Swingset.

The Java JDK is available here.

<a name="windows_setup">==Setup Swingset for Windows==</a> Run Swingset on Windows:

  1. Extract ESAPI_Swingset.zip to a directory of your choice.
  2. Open Windows Explorer and Navigate to the directory to which ESAPI_Swingset.zip was extracted
  3. Open Tomcat_6.0.18_start.bat with notepad
  4. Set your JAVA_HOME environment variable to a JDK version 5 or later. To do this, change the line "set JAVA_HOME=jdk_directory" to your Java install directory, where "jdk_directory" is the root of your Java directory. For many, the line will look like: "set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_10". Please remember that Swingset requires JDK version 5 or higher. A JRE installation will not work.
  5. Save the file

Running Swingset

  1. Navigate to the ESAPI_Swingset
  2. Execute Tomcat_6.0.18_start.bat. This can be done through the command line or by double clicking the file.
  3. If you followed the instructions in #windows_setup Windows Setup, Tomcat should now be running
  4. Open a web browser and navigate to [1]
  5. You should see the ESAPI Swingset start page

Project Sponsors

The OWASP ESAPI project is sponsored by Aspect_logo.gif

This article is a stub. You can help OWASP by expanding it or discussing it on its Talk page.