JSP Editor bug? unknown tag [message #122170] |
Tue, 19 July 2005 01:57  |
Eclipse User |
|
|
|
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 #124065 is a reply to message #123367] |
Thu, 21 July 2005 10:59  |
Eclipse User |
|
|
|
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?
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.31583 seconds