Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jstl-dev] JSTL first timer.

Hi,

What Servlet Container are you using?

Regards,

Paul Nicolucci

On Wed, Aug 7, 2024 at 7:02 PM Amn Ojee Uw via jstl-dev <jstl-dev@xxxxxxxxxxx> wrote:
Hello there, first time poster here. I hope I am in the right list.
I am trying to learn JSTL, when reading this tutorial I get the below line that creates an error in my already existing JSP page.
<%@ taglib uri = "http://java.sun.com/jsp/jstl/core" prefix = "c" %>

--------------- example ----------------------
  <%@ taglib uri = "http://java.sun.com/jsp/jstl/core" prefix = "c"
%> // Creates an error

<html>
 <head>

<title> <c:out> Tag Example</title>
 </head>

<body>
 <c:out value = "${'<tag> , &'}"/>

</body>
</html>
---------------- End ------------------

The error reads:

HTTP Status 500 – Internal Server Error
Type Exception Report
Message: 
java.lang.NoClassDefFoundError: javax/servlet/jsp/tagext/TagLibraryValidator
Description: 
The server encountered an unexpected condition that prevented it from fulfilling the request.

Using Netbeans 22, in my Debian machine I have added the 'JSTL 1.2.7 - jstl-impl' and the 'JSTL 1.2.7 - jstl-api' jar files in the 'Library' subdirectory, but to no avail.

What am I doing wrong?

_______________________________________________
jstl-dev mailing list
jstl-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jstl-dev

Back to the top