• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Hasif Subair
Greenhorn
Posts: 24
  • 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
Posts: 66156
146
IntelliJ IDE Java jQuery Mac Mac OS X
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!