NGS NGS - 5 months ago 67
Java Question

my web.xml does not know taglib tag

I want to use html tags in my jsp, so I have to add the tag lib in web.xml
when I add these lines to web.xml:


it does not know taglib tag


<taglib> tags must be inside the <jsp-config> tag.

But using Struts2, you absolutely don't need struts-html taglib, it is from Struts 1, which is older, and completely different.

Just take a tour of Struts2 features, and you will discover you don't have to use html-tags anymore, luckily.