This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
I wanted to examples on JSTL. but I am getting some problem.
I have placed .tld files under WEB-INF/tld folder and jstl.jar and standard.jar in lib folder in my project folder. I am using weblogic server. I am using example server and using placed the war file in autodeploy folder and jstl.jar and standard.jar files inside samples\domains\wl_server\lib.
When i am tryign to access the example1.jspx, it is throwing the error Illegal token for taglib directive.
I'm not really sure about weblogic, but in most modern containers you don't need to explicitly put taglib declarations in web.xml. Anyway try to put jstl.jar and standard.jar inside the WEB-INF/lib folder of your WAR file and then deploy it...
Ankit is correct. Remove all those declarations from the web.xml - they're just in the way. You are also using an older URI for the JSTL, be usre to use the up-todate URI. See the JSP FAQ for more information.
I removed all the entries in the web.xml and placed the jar files only in project lib folder and removed these jars from server common lib. In the other way also, I removed the jars from project lib and placed them in server common lib, still it is throwing the below error.