• Post Reply Bookmark Topic Watch Topic
  • New Topic

IllegalStateException

 
bhadule bhadule
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello,
i m using JSTL........and i m getting this error.......can any body help me..........i have copied latest standard.jar and jstl.jar

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
Zhtml>
<head>
<title>Count to 10 Example (using JSTL)</title>
</head>

Zbody>
<c:forEach var="i" begin="1" end="10" step="1">
<cut value="${i}" />

<br />
</c:forEach>
</body>
</html>




I ,am getting error here only


<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

Validation error messages from TagLibraryValidator for c
null: java.lang.IllegalStateException: can't declare any more prefixes in this context



i m using tomcat 5.0 and jdk 1.4.2



Regards
Hrushi
 
Daniel Rhoades
Ranch Hand
Posts: 186
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Was this just a typo?



Also, how are you including the JSTL libraries - in your WAR file or have you stuck them in ${TOMCAT_HOME}/common/lib ?
 
Umesh Wale
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes that is only typo .... I included jar files also properly but the same problem is coming to me also even .tlds ara also in right place
 
Daniel Rhoades
Ranch Hand
Posts: 186
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Might be an XML parsing issue, which patch version of tomcat are you using?

Try using 5.0.28
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!