JSP and Taglib for JSTL
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Peewee_Maileen
Posted On:   Saturday, March 5, 2005 11:16 AM

Hi,

I'm new in JSP and i would like to test JSP web pages which are done for internationalization using fmt:message.

however, these pages include some taglib with an URI from Sun website.

when i test these pages my apache server tells me that it can not work.

I suspect that it's due to my PC is not connected to internet (as the URI points directly on http://java.sun.com/...fmt).

how can i make these web pages work even if i'm not connected to internet ?

thanks a lot,
Maileen

Re: JSP and Taglib for JSTL

Posted By:   Seban_Suita  
Posted On:   Tuesday, April 5, 2005 12:08 AM

You should use the JSP directive

<%@ taglib prefix="fmt" uri="http://java.sun.com/../fmt" %>

and into the web.xml you should specify where found the taglib tld


http://java.sun.com/../fmt
/WEB-INF/fmt.tld


If you are using tomcat 5 be sure that the uri is the correct one.
About | Sitemap | Contact