Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » JSP Editor bug? unknown tag
JSP Editor bug? unknown tag [message #122170] Tue, 19 July 2005 01:57 Go to next message
Eclipse UserFriend
In my <JavaProject>/WEB-INF/web.xml :
<taglib>
<taglib-uri>/taglib/struts-bean.tld</taglib-uri>
<taglib-location>/WEB-INF/tld/struts-bean.tld</taglib-location >
</taglib>

In my <JavaProject>/test.jsp :
<%@ taglib uri="/taglib/struts-bean.tld" prefix="bean"%>

Which run on Tomcat4.1 without error.

but in JSP Editor of test.jsp, there are alot of "Unknown tag (bean:...)"
warnings.

Is it JSP Editor bug or do I need to configure anything else? because I
saw alot of such articles in this newsgroup also without any reponse.
Thanks.
Re: JSP Editor bug? unknown tag [message #122273 is a reply to message #122170] Tue, 19 July 2005 08:51 Go to previous messageGo to next message
Eclipse UserFriend
I have the same error too!!!!
Re: JSP Editor bug? unknown tag [message #123029 is a reply to message #122273] Tue, 19 July 2005 13:06 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: zkoppany.gmx.de

Me too.

"aalmajano" <aalmajano@kernpharma.com> schrieb im Newsbeitrag
news:32264de5d68ee5f9ffcb3c171b6ab14f$1@www.eclipse.org...
>I have the same error too!!!!
>
>
Re: JSP Editor bug? unknown tag [message #123042 is a reply to message #123029] Tue, 19 July 2005 13:12 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: davidxkung.yahoo.com

I have the same problem. And there doesn't seem to be a way to remove the
annoying warning flags either.
Re: JSP Editor bug? unknown tag [message #123100 is a reply to message #122170] Tue, 19 July 2005 13:41 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: amywu.us.DELETETHISPART.ibm.com

Have you tried putting pointing to the tld file directly instead?
<%@ taglib uri="/WEB-INF/tld/struts-bean.tld" prefix="bean"%>

Why aren't you using a web project instead?

"yapning" <yapning@yahoo.com> wrote in message
news:81a0e5d0de56e32fc71ef22e6f5770cb$1@www.eclipse.org...
> In my <JavaProject>/WEB-INF/web.xml :
> <taglib>
> <taglib-uri>/taglib/struts-bean.tld</taglib-uri>
> <taglib-location>/WEB-INF/tld/struts-bean.tld</taglib-location >
> </taglib>
>
> In my <JavaProject>/test.jsp :
> <%@ taglib uri="/taglib/struts-bean.tld" prefix="bean"%>
>
> Which run on Tomcat4.1 without error.
>
> but in JSP Editor of test.jsp, there are alot of "Unknown tag (bean:...)"
> warnings.
>
> Is it JSP Editor bug or do I need to configure anything else? because I
> saw alot of such articles in this newsgroup also without any reponse.
> Thanks.
>
Re: JSP Editor bug? unknown tag [message #123175 is a reply to message #123100] Tue, 19 July 2005 15:39 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: zkoppany.gmx.de

I have never understood "web projects" and don't want to copy neither
external tld nor jar files into my project.

Zsolt

"amy" <amywu@us.DELETETHISPART.ibm.com> schrieb im Newsbeitrag
news:dbje0b$adk$1@news.eclipse.org...
> Have you tried putting pointing to the tld file directly instead?
> <%@ taglib uri="/WEB-INF/tld/struts-bean.tld" prefix="bean"%>
>
> Why aren't you using a web project instead?
>
> "yapning" <yapning@yahoo.com> wrote in message
> news:81a0e5d0de56e32fc71ef22e6f5770cb$1@www.eclipse.org...
>> In my <JavaProject>/WEB-INF/web.xml :
>> <taglib>
>> <taglib-uri>/taglib/struts-bean.tld</taglib-uri>
>> <taglib-location>/WEB-INF/tld/struts-bean.tld</taglib-location >
>> </taglib>
>>
>> In my <JavaProject>/test.jsp :
>> <%@ taglib uri="/taglib/struts-bean.tld" prefix="bean"%>
>>
>> Which run on Tomcat4.1 without error.
>>
>> but in JSP Editor of test.jsp, there are alot of "Unknown tag (bean:...)"
>> warnings.
>>
>> Is it JSP Editor bug or do I need to configure anything else? because I
>> saw alot of such articles in this newsgroup also without any reponse.
>> Thanks.
>>
>
>
Re: JSP Editor bug? unknown tag [message #123367 is a reply to message #123100] Wed, 20 July 2005 04:42 Go to previous messageGo to next message
Eclipse UserFriend
Thanks for the info. Looks like I am still stuck in the old Java Project
for quite some time. But now, I finally manage to get my hand on the
Dynamic Web Project.

Previously, I was unable to explore further after fail to create a Dynamic
Web Project, because I had no idea that I need change the Module Version
to 2.3 in order to select Apache Tomcat v4.1, so I kept wondering how come
there was no Target Server for me to choose from even I already created
one using the New... button. Is there any document/simple step to create a
Dynamic Web Project that I can refer to?

After alot of testing, I found that the taglib custom tags only works when
I create the Dynamic Web Project under the eclipse workspace. If I create
the project in other path outside the workspace, the "unknown tag" came
again.

Is it correct that there are no warning(yellow) indicator for the JSP file
icon on the Project Explorer Tree and there are no warning/error(red)
indicator for the JSP Editor File Tab icon? Also, there are currently no
way to view the classes package in Hierarchical/Flat layout in the Project
Explorer Tree?
Re: JSP Editor bug? unknown tag [message #124065 is a reply to message #123367] Thu, 21 July 2005 10:59 Go to previous message
Eclipse UserFriend
Originally posted by: amywu.us.DELETETHISPART.ibm.com

You can find some tutorials on creating web applications in WTP here:
http://eclipse.org/webtools/community/community.html

Source validation errors/warnings (quick, on the fly validation as you type)
only show up in the editor, not in the project explorer tree, editor file
tab, problems view.
Validation errors/warnings (when you run the validate action or save a file
with validate-on-save on) show up in the project explorer tree and problems
view but not on the editor file tab.
The validation errors/warnings not showing up on the editor file tab is a
bug, and it'd be great if you could open a bug on it so that you can be
aware of when it is fixed
https://bugs.eclipse.org/bugs/
Product: Web Tools
Component: wst.sse



"yapning" <yapning@yahoo.com> wrote in message
news:07e8e6b1f86796893a8a8e47be36c4cb$1@www.eclipse.org...
> Thanks for the info. Looks like I am still stuck in the old Java Project
> for quite some time. But now, I finally manage to get my hand on the
> Dynamic Web Project.
>
> Previously, I was unable to explore further after fail to create a Dynamic
> Web Project, because I had no idea that I need change the Module Version
> to 2.3 in order to select Apache Tomcat v4.1, so I kept wondering how come
> there was no Target Server for me to choose from even I already created
> one using the New... button. Is there any document/simple step to create a
> Dynamic Web Project that I can refer to?
>
> After alot of testing, I found that the taglib custom tags only works when
> I create the Dynamic Web Project under the eclipse workspace. If I create
> the project in other path outside the workspace, the "unknown tag" came
> again.
>
> Is it correct that there are no warning(yellow) indicator for the JSP file
> icon on the Project Explorer Tree and there are no warning/error(red)
> indicator for the JSP Editor File Tab icon? Also, there are currently no
> way to view the classes package in Hierarchical/Flat layout in the Project
> Explorer Tree?
>
>
Previous Topic:Problem with XML Editor associated with file other than *.xml
Next Topic:bugs in TextHoverManager
Goto Forum:
  


Current Time: Wed Jul 23 10:05:05 EDT 2025

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

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

Back to the top