Where does Tomcat remember types of EL variables?

If I use an EL variable image like

${index.selected}

Tomcat 5 generates code like:

image = (de.jwi.jgallery.Image)
pageContext.findAttribute("image");


When I renamed the class name of image, Tomcat would
still generate code to access the old name. I deleted
the work directory and restarted Tomcat, no change.
Where does Tomcat remember the class name?
In the end, I gave in and undid the class name change.

Anyway, why is the cast necessary?

imho there could be

Object image = pageContext.findAttribute("image");


Object selected =
image.getClass().getMethod("getSelected",null).invoke(image,null);


Thanks,
J�rgen

__________________________________
Do you Yahoo!?
Yahoo! Search - Find what you�re looking for faster
http://search.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to