: Matt Raible [mailto:[EMAIL PROTECTED]
Sent: Monday, March 21, 2005 12:24 PM
To: Struts Users Mailing List
Subject: Re: Using constants in JSP pages
I wrote a tag library to expose contants to a JSP page. Granted, it's
not as portable as HashMap in the app context, but it seems to
nal Message-
From: Haroon Rafique [mailto:[EMAIL PROTECTED]
Sent: 21 March 2005 15:20
To: Struts Users Mailing List
Subject: RE: Using constants in JSP pages
On Today at 2:24pm, MC=>Marsh-Bourdon, Christopher
MC> This is my way of doing this, and it may be a tad crap. In the
page
MC> t
lt;%= ... %> is undeclared or there is
a typo there. That at least gives David the answer (albeit a bit of hash)
David was after.
Cheers
Christopher Marsh-Bourdon
www.marsh-bourdon.com
-Original Message-
From: Haroon Rafique [mailto:[EMAIL PROTECTED]
Sent: 21 March 2005 15:20
To: Strut
.marsh-bourdon.com
-Original Message-
From: Haroon Rafique [mailto:[EMAIL PROTECTED]
Sent: 21 March 2005 15:20
To: Struts Users Mailing List
Subject: RE: Using constants in JSP pages
On Today at 2:24pm, MC=>Marsh-Bourdon, Christopher
This is my way of doing this, and it may be a tad crap. In
t
the compiler to spot mistakes. But with the above JSTL, you could, at
least, see it in a visible manner on the JSP page that an undefined
constant was used.
Hope this was helpful.
Cheers,
MC> -Original Message-
MC> From: David Kennedy [mailto:[EMAIL PROTECTED]
MC> Sent: 21 Ma
ts.KEY_FOR_SOMETHING %>
This should then be checked by your ide for typos etc.
Cheers
Christopher Marsh-Bourdon
www.marsh-bourdon.com
-Original Message-
From: David Kennedy [mailto:[EMAIL PROTECTED]
Sent: 21 March 2005 14:18
To: Struts Users Mailing List
Subject: Using constants
Most of our pages have a header/navbar which performs some highlighting
of the current page's category etc. This means all pages must define
beans to say things like, "My category is FOO, my sub-category is BAR"
I would like to get the compiler to spot typos:
(1) To make sure FOO matches one of
7 matches
Mail list logo