You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@click.apache.org by sa...@apache.org on 2010/07/23 14:20:45 UTC

svn commit: r967067 - /click/trunk/click/documentation/xdocs/src/docbook/click/chapter-pages.xml

Author: sabob
Date: Fri Jul 23 12:20:45 2010
New Revision: 967067

URL: http://svn.apache.org/viewvc?rev=967067&view=rev
Log:
improved jsp doco

Modified:
    click/trunk/click/documentation/xdocs/src/docbook/click/chapter-pages.xml

Modified: click/trunk/click/documentation/xdocs/src/docbook/click/chapter-pages.xml
URL: http://svn.apache.org/viewvc/click/trunk/click/documentation/xdocs/src/docbook/click/chapter-pages.xml?rev=967067&r1=967066&r2=967067&view=diff
==============================================================================
--- click/trunk/click/documentation/xdocs/src/docbook/click/chapter-pages.xml (original)
+++ click/trunk/click/documentation/xdocs/src/docbook/click/chapter-pages.xml Fri Jul 23 12:20:45 2010
@@ -58,9 +58,12 @@
 
   <literallayout>&lt;page path="<varname>search.jsp</varname>" classname="<token>com.mycorp.page.Search</token>"/&gt;</literallayout>
 
-  <para>At runtime Click automatically converts the page path from
-  <varname>.jsp</varname> to <varname>.htm</varname> and back, so there is no
-  need to map the <varname>.jsp</varname> extension in <filename>web.xml</filename>.
+  <para>Please note, Click does not handle JSP requests directly, instead it forwards
+  JSP requests to the servlet container. Do not map the ClickServlet to handle
+  <filename>*.jsp</filename> requests in <filename>web.xml</filename>. Instead
+  <varname>.jsp</varname> templates are accessed with a <varname>.htm</varname>
+  extension. At runtime Click will convert the page path from
+  <varname>.jsp</varname> to <varname>.htm</varname> and back.
   </para>
 
   <sect1 id="classes" remap="h2">