DevPortal

How do I work with JSPs on Pramati Server?


Table of Contents


How do I work with JSPs on Pramati Server?

You can deploy JSPs that are packaged in a .war or .ear file, or deploy the JSP directly on the Server without packaging.

How do I package and deploy JSPs on Server?

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.

How do I deploy JSPs on Server?

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

What is Hot Deployment?

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