It has mentioned anything abt changes to be made in web.xml. If i don't make any changes in web.xml still get the same error. Surprisingly there's no mention of changes of changes in wex.xml for using jstl in HF Servlets and JSP. Is it needed or not?
It looks like you need to remove whatever you add to web.xml to declare the tld since that is not necessary. (see HFS page 475 for explanation)
Secondly, look at your html code, you mistyped closing tag to be <c:forEach> instead of </c:forEach>
--Jessica
Thanks jessica for replying. I have corrected the <c:forEach> tag. Deleted the entry from web.xml and tried using your example but still getting this error
I think there is some other problem. None of the build in JSP 2.0 examples under jsp-examples directory are running. But JSP 1.2 examples are running fine. please tell me what could be the problem.
Originally posted by Nitish Bahadur: Curiosity, what version of Tomcat are you running?
Only Tomcat 5 has inbuild jstl examples under jsp-examples. Had it been an earlier version there wouldn't have been inbuild jstl examples. I tried making my own jsp pages using jstl but there is the same error as there is while executing inbuild jstl examples.
I have uninstalled and reinstalled tomcat a number of times. Even tried using the beta version jakarta-tomcat-5.0.29 but no use. Same error everywhere. Did it on another machine also but same problem there. I wonder why no one else faced this problem.
the problem was jbuilder8. There must be some old binaries which were conflicitng with new JSP2,0 binaries. I uninstalled Jbuilder is its working fine now thanks everyone
Hi..Even I am facing the same problem...JSP 2.0 examples are not working on my system but JSP1.2 examples are.Moreover,if I use formbean in struts it gives me the same error..Can anyone help..ITS URGENT...
I'm using IntelliJ IDEA and had the same problems. I was switching project settings a lot and at one time it stopped working. I then created new project space from scratch and it worked normally again.
If you are getting the wrong method signature exception on TagAttributeInfo it means you have got down-level javax.servet code. You might consider a "nuke and pave" reinstall (just get the latest from the Sun site). But if you're like me, you have some other environment (for me it was JBoss).
I was able to find that the TagAttributeInfo class resides in jsp-api.jar (that comes with the JBoss install) as well as j2ee.jar, that comes with Sun's j2ee.
The solution was to jar-up only the javax.servlet classes from j2ee.jar, and put that subset jar in the JBOSS_HOME environment variable. Works like a charm now. Google drs.usenet and TagAttributeInfo for details.
--Dale-- [ November 26, 2004: Message edited by: Dale Seng ]
Post by:autobot
money grubbing section goes here:
a bit of art, as a gift, that will fit in a stocking