So I've been trying to use the JSTL tags in order to create a few simple pages. One of these accesses the current Time Zones (using java.util.TimeZone.getAvailableIDs() ) and then proceeds to print them out in a form w/ a radio button. I have a few problem most of which stems from a poor understanding of the binding between Java objects and the expression language variables. My question is, is there a binding at all? TimeZone is a static class, so I can't create an instance of it as a bean. I can't use <c:set ... /> to set the property either, since it seems that the EL variables are not true java variables.
<thoughtful rant> I'm obviously not getting something. It seems like the EL is about hiding the best part of Java, which is the language itself. I've seen a couple of posts about using PHP instead of JSP. If this is any indication of the direction, I'm not sure why a person wouldn't. If it 's going to look like PHP anyway, what's the point? Perhaps we should stop making pages that HTML designers can easily update and hire some more programers who have a clue. </thoughtful rant>
Any examples welcome. Thanks . . .
=========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant archives, FAQs and Forums on JSPs can be found at:
http://java.sun.com/products/jsp http://archives.java.sun.com/jsp-interest.html http://forums.java.sun.com http://www.jspinsider.com