> So I'd like to set one cookie, the format of which is open to suggestion, > read it in a Struts Action, do whatever with the value, and then use some > JSTL tags to decide whether or not to display a given section. > > Having never done anything of the sort before, either 00100010111100 or > YYYNNNYYNYNY came to mind. (And an evil coworker suggested turning the > first into a decimal number before setting the cookie.)
How about creating yourself a Javabean with a bunch of well-named boolean properties? In your Struts Action, read the flag data from the database, create and populate the bean, and put the bean in session scope to be accessed using the JSTL EL syntax. Brian -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
