Re: jsp:useBean (probably a stupid question)

2004-03-31 Thread Roy Benjamin
Thanks this helped a lot. I'd already grimbled over several books on these subjects. Re: fmt tags... It must have been my error... but I must have been trying to do the format in one step. After posting my earlier message I tried again... having just looked over all I was trying to do this som

Re: jsp:useBean (probably a stupid question)

2004-03-31 Thread Kris Schneider
If you want to use a scoped variable created by JSTL as a scripting variable in a JSP expression, try this: Notice the use of the "type" attribute instead of the "class" attribute. However, you still can't use twice with the same id and if you update the scoped var it *won't* be reflected in t

jsp:useBean (probably a stupid question)

2004-03-31 Thread Roy Benjamin
I have a function to format a date; takes and returns a String. There are two possible places where this may be used, one for on-line display, the other when downloading the data. construct. This works for the on-line option: but only if I use a different bean for the off-line option..