You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Alexander Banthien <al...@questech.de> on 2002/07/02 10:18:09 UTC
servlet mapping (Turbine+JSP)
Hello,
when reading in the struts documentation I came accross one thing I
wasn't aware of till now, and wanted to ask wether it is possible in
Turbine aswell.
http://jakarta.apache.org/struts/doc-1.0.2/userGuide/building_controller.html#dd_config_mapping
The question is, wether we can make the URL
http://my.server.com/page.jsp
be processed by the turbine controller servlet by giving a mapping
<servlet-mapping>
<servlet-name>turbine</servlet-name>
<url-pattern>*.jsp</url-pattern>
</servlet-mapping>
Question:
can the Turbine servlet handle the missing path-info-key "template" and
treat the first path-info after servername as the template name? If yes,
what needs to be done to configure this?
This solution would have great advantages over the classic approach
(/context/servlet/turbine/template/page.jsp) for page designers who like
to use straight <img>-tags in their Dreamweavers and see the results.
Thanks in advance,
Alex
--
Mit freundlichen Grüßen
Alexander Banthien
_______________________________________
Questech GmbH
Schwarzwaldstr. 19
79199 Kirchzarten
Fon: +49 (0)7661 90 35-15
Fax: +49 (0)7661 90 35-20
www.questech.de
_______________________________________
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>