Folks,
I am using the JSP 2.0 expression language in development, and I saw in the features list for MyEclipse 4.0.3 that it supported JSP 2.0 expression language. What specifically is provided in 4.0.3 or how does it support it?
A problem that I have encountered with using expression language is that I may use one name when setting an object into a scoped attribute (request, session, etc.) in my servlet and I may mistype or use a different name in the expression language in a JSP page. No errors occur when displaying the page in a servlet engine. The data just isn’t displayed. Can MyEclipse validate the expression language variable names and determine if they correct?
Refactoring support for this would be nice. It would be very helpful if there was a refactoring function that renamed scoped attributes and fixed the expression language references.
I also have a question about more traditional JSP editing and MyEclipse. When I rename a method in a Java class via a refactoring menu option, why doesn’t Eclipse/MyEclipse find the references to the method in the JSP files and rename them? Refactoring in Eclipse works well in the Java classes, but its a royal pain when I then have to perform global text searches to find the methods in the JSP pages.
I mainly want to find out what kind of expression language support is provided in MyEclipse 4.0.3. I am hoping it will ease my pain. 🙂
Thanks,
Keith