tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject taglibs problem within war file
Date Tue, 12 Apr 2005 06:06:50 GMT
Hi There,
i have a strange problem.  I have created a jsp page which uses tag  libs, 
and this works fine.  However, when i place the web app in a war  file, the tag 
libs dont seem to work.
ie example jsp page code:
<%@ taglib prefix="c" uri="_ 
( "  %>
<jsp:useBean id="nc" class="hall.Check" scope="page"  />
<jsp:setProperty name="nc" property="phone"  value="${param['phone']}" />
Within a war file the bean receives the value of '${param['phone']}' and  not 
the number itself, ie 01213822222.  Outside of the war file placed in  the 
root directory the bean gets the value of the number.  Both sets of  code are 
exactly the same and the web.xml file is as follows:
why the difference, and what do i have to do to get things to work within a  
war file?
<?xml version="1.0" encoding="ISO-8859-1"?>
<web-app xmlns="_ 
( "
( "
_ (   
( "
<!-- The Usual Welcome File List  -->

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message