This week's book giveaway is in the
We're giving away four copies of
Arduino in Action
and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Arduino in Action
this week in the
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
help! Where shall i put tld files in jboss
Joined: Jan 09, 2006
Jan 16, 2006 00:19:00
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
) in org.apache.jsp.batch.batch_jsp cannot be applied to (org.apache.struts.taglib.html.FormTag,
if (_jspx_meth_html_hidden_0(_jspx_th_html_form_0, _jspx_page_context))
who knows the reason
I love xiaoxiao
Joined: Sep 07, 2004
Feb 06, 2006 02:58:00
I've the same problem on
5.0. And I've look everywhere in my configuration, everything seems to be right...
I've you found a solution ?
Joined: Oct 17, 2001
Feb 06, 2006 06:33:00
I'm moving this to the
forum, as it doesn't appear to be Portal-specific.
Also... I found this:
, not sure how helpful it is...
Joined: Oct 26, 2005
Feb 06, 2006 21:00:00
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
Joined: May 23, 2002
Feb 07, 2006 04:00:00
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...
Alexandre Siqueira - Java Programmer - SCJP<br />Claro S/A<br />Sao Paulo - Brazil
Joined: Apr 14, 2004
Feb 07, 2006 07:00:00
Welcome to JavaRanch!
Please could you change your display name so it matches our
. You can change it
I agree. Here's the link:
- it saves me about five hours per week
subject: help! Where shall i put tld files in jboss
adding taglib to web.xml
Problem with a simple struts application
Invalid TLD resource path
duplicate tag lib
Internationalization of Struts program
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013