The moose likes JSP and the fly likes JSP Expression Language question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "JSP Expression Language question" Watch "JSP Expression Language question" New topic

JSP Expression Language question

John Sutheran

Joined: Oct 18, 2006
Posts: 3
Hi All

I have a question. I am using JSTL1.0 and JSP2.0 and my dtd in web.xml is pointing to version 2.3. I am using weblogic8 as the server. My question is I could not use expression in a custom tag. Why? I have the .tld and tag class written.

Something like this:

Thank you
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

Code Freak,
Welcome to JavaRanch!

We're pleased to have you here with us in the JSP forum, but there
are a few rules that need to be followed, and one is that proper names are
required. Please take a look at the
JavaRanch Naming Policy and
adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

You can change it here

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63349

I am using JSTL1.0 and JSP2.0 and my dtd in web.xml is pointing to version 2.3.

There's your problem. Incompatible versions. This is all covered in the JSP FAQ.
[ October 18, 2006: Message edited by: Bear Bibeault ]

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: JSP Expression Language question
It's not a secret anymore!