Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » bean:define on JSP page says "can not be resolved"
bean:define on JSP page says "can not be resolved" [message #84771] Thu, 17 March 2005 23:58 Go to next message
Shawn Garner is currently offline Shawn GarnerFriend
Messages: 1
Registered: July 2009
Junior Member
I have an existing project with jsp pages. I just upgraded my eclipse to
the version bundled with web tools

When there is a
<bean:define id="car_name" type="String"><bean:message
key="some.key.value"/></bean:define>

then later I go to use the id in jsp and it eclipse marks it as an error
saying "car_name can not be resolved"

<%

String aCarName = car_name;

%>

How do I fix this so it doesn't show as an error? The page works fine and I
just think it is an IDE configuration issue.
Re: bean:define on JSP page says "can not be resolved" [message #84879 is a reply to message #84771] Fri, 18 March 2005 14:50 Go to previous message
Eclipse UserFriend
Originally posted by: pavery.us.ibm.com

I believe <bean:define> is a struts custom tag, correct?

This is currently a limitation in the WTP JSP editor.
At the moment there's no support for variables defined by
custom tags in the editor.

It would be helpful if you could open a bug against the jst.jsp
component (with the details you've posted here) to help us prioritize a fix.

Thanks!

-phil

Shawn Garner wrote:
> I have an existing project with jsp pages. I just upgraded my eclipse to
> the version bundled with web tools
>
> When there is a
> <bean:define id="car_name" type="String"><bean:message
> key="some.key.value"/></bean:define>
>
> then later I go to use the id in jsp and it eclipse marks it as an error
> saying "car_name can not be resolved"
>
> <%
>
> String aCarName = car_name;
>
> %>
>
> How do I fix this so it doesn't show as an error? The page works fine and I
> just think it is an IDE configuration issue.
>
>
Previous Topic:Web services error
Next Topic:IWAB0489E Error when deploying Web service to Axis runtime
Goto Forum:
  


Current Time: Wed Jan 15 06:53:13 GMT 2025

Powered by FUDForum. Page generated in 0.02668 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top