click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r967067 - /click/trunk/click/documentation/xdocs/src/docbook/click/chapter-pages.xml
Date Fri, 23 Jul 2010 12:20:45 GMT
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">



Mime
View raw message