I'm running Win2K, using JDK 1.4.1_01 for running IDEA and building my
project (using ant).

In my project.ipr file I see the following:

  <component name="WebManager">
    <OPTION enabled="true" />
  </component>
  <component name="WebRootContainer">
    <root url="file://$PROJECT_DIR$/web" name="SwebCMS Web Application" />
  </component>

This should be correct. My project directory is "C:/mydocs/work/SWEBCMS"
(note that there's no spaces, that seems to have caused others problems?). I
have "C:/mydocs/work/SWEBCMS/web", which contains JSPs, and
"C:/mydocs/work/SWEBCMS/web/WEB-INF" which contains my tld files.

Now the interesting thing is that it appears that if I declare my tld in
web.xml, everything is fine.

In web.xml:
   <taglib>
      <taglib-uri>sitemesh-page</taglib-uri>
      <taglib-location>/WEB-INF/sitemesh-page.tld</taglib-location>
   </taglib>

In a jsp page:
<%@ taglib uri="sitemesh-page" prefix="page" %>
<page:applyDecorator name="nomenus">
...
</page:applyDecorator>


However, if I don't have the tld declared in web.xml, but instead refer to
it directly in a JSP as shown below, the tld doesn't resolve:

<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<bean:message key="category.edit.title" />


Does that help?


"Mike Aizatsky" <[EMAIL PROTECTED]> wrote in message
afq4v6$g0k$[EMAIL PROTECTED]">news:afq4v6$g0k$[EMAIL PROTECTED]...
> Chris,
>
> None of the TLD support test failed during the build process. Can you give
> more details regarding your configuration?
>
> --
> Best regards,
> Mike Aizatsky.
> ------------------------------
> JetBrains, Inc / IntelliJ Software
> http://www.intellij.com
> "Develop with pleasure!"
>
>


_______________________________________________
Eap-bugs mailing list
[EMAIL PROTECTED]
http://lists.jetbrains.com/mailman/listinfo/eap-bugs

Reply via email to