![]() |
|
You can deploy JSPs that are packaged in a .war or .ear file, or deploy the JSP directly on the Server without packaging.
You can package a JSP in a .war or .ear file and deploy it on an application server. After deployment, the application contents are extracted to the document root of the server. This application can then be accessed from this location.
Pramati Web Container provides a simple mechanism for running JSPs without having to first package them. The Web container provides an access area from where JSPs can be directly served. To do this, save the JSP file in the document root of the Server. The default location is <install_dir>/server/nodes/<node_name>/archives/public_html/.
Example: If abc.jsp is placed in public_html/games/ directory, it can be directly accessed using the following URL: http://localhost:8181/games/abc.jsp.
All class files used by the JSP are stored at: <install_dir>/server/nodes/<node_name>/archives/public_html/classes
JSPs can be modified and accessed without stopping the application. To do this, deploy the application on Server. Send a request for the JSP. Modify it, and send the request again. The changes will be reflected.
| © Pramati Technologies 2007 | Runs on Pramati Server | Feedback | Legal |