• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

help! Where shall i put tld files in jboss

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i have included the codes in my jsp file:

<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>

but when i run it on the server,some errors occured:

org.apache.jasper.JasperException: Unable to compile class for JSP

Generated servlet error:
C:\jboss\jboss-4.0.1sp1\server\default\work\jboss.web\localhost\vms\org\apache\jsp\batch\batch_jsp.java:146: _jspx_meth_html_hidden_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.batch.batch_jsp cannot be applied to (org.apache.struts.taglib.html.FormTag,javax.servlet.jsp.PageContext)
if (_jspx_meth_html_hidden_0(_jspx_th_html_form_0, _jspx_page_context))
^
...................

who knows the reason
Thank you!!!
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

I've the same problem on Tomcat 5.0. And I've look everywhere in my configuration, everything seems to be right...

I've you found a solution ?

thanks.
 
Sheriff
Posts: 4313
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm moving this to the JBoss forum, as it doesn't appear to be Portal-specific.

Also... I found this: JBWEB-30, not sure how helpful it is...
 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
is this a war or an ear file ?
is it exploded, are you using eclipse ? xdoclet ?

it sounds like another descriptor file screw up with the context path
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, everyone!
I use to put the TLD files in <CONTEXT_PATH>/WEB-INF/tlds folder and then place this path in <taglib> tag declaration, like this:

<%@ taglib uri="/WEB-INF/tlds/struts-bean.tld" prefix="bean" %>

In your example, looks like you have put those files in <CONTEXT_PATH>/WEB-INF folder.

Have you check if those files are really there?

Good luck, and good coding...
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"onion ai"

Welcome to JavaRanch!

Please could you change your display name so it matches our Naming Policy. You can change it here. Thanks!
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic