Author: ebourg Date: Wed Apr 4 22:47:11 2018 New Revision: 1828388 URL: http://svn.apache.org/viewvc?rev=1828388&view=rev Log: Capitalized the JSP acronym in the documentation
Modified: tomcat/trunk/webapps/docs/config/systemprops.xml tomcat/trunk/webapps/docs/jasper-howto.xml tomcat/trunk/webapps/docs/jndi-datasource-examples-howto.xml Modified: tomcat/trunk/webapps/docs/config/systemprops.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/config/systemprops.xml?rev=1828388&r1=1828387&r2=1828388&view=diff ============================================================================== --- tomcat/trunk/webapps/docs/config/systemprops.xml (original) +++ tomcat/trunk/webapps/docs/config/systemprops.xml Wed Apr 4 22:47:11 2018 @@ -218,7 +218,7 @@ </property> <property name="org.apache.jasper.Constants. JSP_PACKAGE_NAME"> - <p>The default package name for compiled jsp pages.</p> + <p>The default package name for compiled JSPs.</p> <p>If not specified, the default value of <code>org.apache.jsp</code> will be used.</p> </property> Modified: tomcat/trunk/webapps/docs/jasper-howto.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/jasper-howto.xml?rev=1828388&r1=1828387&r2=1828388&view=diff ============================================================================== --- tomcat/trunk/webapps/docs/jasper-howto.xml (original) +++ tomcat/trunk/webapps/docs/jasper-howto.xml Wed Apr 4 22:47:11 2018 @@ -367,25 +367,25 @@ At the jasper task you can use the optio automatic merge the <code>${webapp.path}/WEB-INF/generated_web.xml</code> with the current web application deployment descriptor at <code>${webapp.path}/WEB-INF/web.xml</code>. When you want to use Java 6 -features inside your jsp's, add the following javac compiler task attributes: +features inside your JSP's, add the following javac compiler task attributes: <code>source="1.6" target="1.6"</code>. For live applications you can also disable debug info with <code>debug="off"</code>. </p> <p> -When you don't want to stop the jsp generation at first jsp syntax error, use +When you don't want to stop the JSP generation at first JSP syntax error, use <code>failOnError="false"</code>and with -<code>showSuccess="true"</code> all successful <i>jsp to java</i> +<code>showSuccess="true"</code> all successful <i>JSP to Java</i> generation are printed out. Sometimes it is very helpful, when you cleanup the generate java source files at <code>${webapp.path}/WEB-INF/src</code> -and the compile jsp servlet classes at +and the compile JSP servlet classes at <code>${webapp.path}/WEB-INF/classes/org/apache/jsp</code>. </p> <p><strong>Hints:</strong></p> <ul> <li> When you switch to another Tomcat release, then regenerate and recompile -your jsp's with the new Tomcat version.</li> +your JSP's with the new Tomcat version.</li> <li>Use java system property at server runtime to disable PageContext pooling <code>org.apache.jasper.runtime.JspFactoryImpl.USE_POOL=false</code>. and limit the buffering with Modified: tomcat/trunk/webapps/docs/jndi-datasource-examples-howto.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/jndi-datasource-examples-howto.xml?rev=1828388&r1=1828387&r2=1828388&view=diff ============================================================================== --- tomcat/trunk/webapps/docs/jndi-datasource-examples-howto.xml (original) +++ tomcat/trunk/webapps/docs/jndi-datasource-examples-howto.xml Wed Apr 4 22:47:11 2018 @@ -517,7 +517,7 @@ Ensure that you have the <code>ocijdbc8. using <code>System.loadLibrary("ocijdbc8");</code> </p> <p> -You should next create a simple test servlet or jsp that has these +You should next create a simple test servlet or JSP that has these <strong>critical lines</strong>: </p> <source><![CDATA[DriverManager.registerDriver(new @@ -526,7 +526,7 @@ conn = DriverManager.getConnection("jdbc:oracle:oci8:@database","username","password");]]></source> <p> where database is of the form <code>host:port:SID</code> Now if you try to access the URL of your -test servlet/jsp and what you get is a +test servlet/JSP and what you get is a <code>ServletException</code> with a root cause of <code>java.lang.UnsatisfiedLinkError:get_env_handle</code>. </p> <p> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org