File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Do we have to configure web.xml for using jstl tags

 
Hasif Subair
Greenhorn
Posts: 24
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am new to JSP, am looking to create a login page using <c:choose> tag.

here is my code.


When i run this jsp, am getting this error.


Do i have to configure something in web.xml.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64185
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hasif Subair wrote:Do i have to configure something in web.xml.

No.

Also, the URI in your code doesn't match the URI in the error message. Have you posted the correct information?

While you do not need to declare anything the web.xml to use JSTL, the web.xml must be declared correctly as using the Servlets 2.4 or 2.5 XML Schema. The 2.3 DTD will not do.

This is all covered in the JSP FAQ.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic