|
Code /
AppServersh5. Application Servers and JSP/JSTL
JSTL 1.1 requires a container which supports Servlet 2.4 and JSP2.0. JSTL 1.0 which will run on a servlet 2.3/ JSP1.2 container You use the following identifiers for the new JSTL 1.1 libraries:
If using jstl 1.1, use the following in web.xml <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
version="2.4">
Sun One Configuration (obj.conf)Redirect so that url shows up as you want it <Client urlhost="www.thebouncehouse.com"> NameTrans fn="redirect" from="/" url="http://www.bounceeverywhere.com/" </Client> Global Redirect NameTrans fn="redirect" from="/YourStory" url="/yourstory" Code snippet to set a welcome page for a vanity URL <Client urlhost="*discoveringradiance.com"> NameTrans fn="ntrans-j2ee" name="j2ee" NameTrans fn="home-page" path="$docroot/radiance.jsp" </Client> |