JSP Pre-translation

The default configuration for the OC4J Server is set to translate and compile each JSP the first time it is requested and every time the page changes. Oracle provides a utility for pre-translating JSPs for deployment. The ojspc utility can be used to pre-translate JSPs and eliminate the translation and compile time normally encountered during the initial request. This utility can also be used when deploying binary files only. If you elect to pre-translate your pages, you must configure the OC4J server accordingly .

Every J2EE application must have a web.xml file located in the application s WEB-INF directory. The web.xml file is used by the OC4J server to communicate configuration information for an application. This configuration file allows you to define servlets, servlet parameters, tag libraries, and other application-specific items. There are a number of JSP configuration parameters that are available for modifying the environment that JSPs run in.



Oracle Application Server 10g Web Development
Oracle Application Server 10g Web Development (Oracle Press)
ISBN: 0072255110
EAN: 2147483647
Year: 2004
Pages: 192

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net