tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chen, Gin" <>
Subject setProperty
Date Tue, 26 Nov 2002 20:01:10 GMT
Hi all,
	I was wondering if there was a way using JSTL to set a property on a
For example:
	I have a page that shows the country.
If the country is null then I want to use USA as the default.
My code looks like:

	<c:if test="${empty}">
		... i want to set it to USA but ...
		... i dont know what to use here ...
		... c:set only sets a scoped var but cant use the bean (if
i'm reading Shawn's book right)...

	is this possible using jstl or struts? i looked at the struts doc
but dont see anything there either.

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message