Summary: | sql:dateParam does not accept Date as a parameter | ||
---|---|---|---|
Product: | Taglibs | Reporter: | Prasad Subramanian <prasad.subramanian> |
Component: | Standard Taglib | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 1.0 | ||
Target Milestone: | --- | ||
Hardware: | Other | ||
OS: | other | ||
Attachments: | Listing of the servlet that is generated by the JSP that threw this error |
Description
Prasad Subramanian
2002-07-30 01:54:29 UTC
Created attachment 2521 [details]
Listing of the servlet that is generated by the JSP that threw this error
You are apparently using the JSR-152 RI prototype with the "EL" version of the JSTL 1.0 classes. This is not possible; the error is that the 'value' parameter for the date tag has type String because it expects a String expression, so when the EL code in Jasper2 itself looks at the attribute, it sees a type of Date, not String. If you use a regular version of Tomcat 4.0.4, or if you use the "RT" version of the JSTL tags with the container you're using, the problem should go away. OK, So that means we canot use JSTL tags with the new Tomcat container until the EL packaging is resolved. Since I have jsp20el.jar also in there along with the standard.jar in the WEB-INF/lib of the webapp. Comments ? 1) It's not just jsp20el.jar; it's also the built-in container support for using calling the EL from the page-implementation class. 2) You can use JSTL, but you must use the "RI" libraries, not the "EL" ones. (Make that __"RT"__ instead of "EL") |