In jsp page if you are including the tag lib files like this
<%@ taglib uri="/tags/struts-bean" prefix="bean" %>
<%@ taglib uri="/tags/struts-html" prefix="html" %>
<%@ taglib uri="/tags/struts-logic" prefix="logic" %>
your taglib code in web.xml file should be like this
<!-- Struts Tag Library Descriptors -->
<taglib>
<taglib-uri>/tags/struts-bean</taglib-uri>
<taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/tags/struts-html</taglib-uri>
<taglib-location>/WEB-INF/struts-html.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/tags/struts-logic</taglib-uri>
<taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/tags/struts-nested</taglib-uri>
<taglib-location>/WEB-INF/struts-nested.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/tags/struts-tiles</taglib-uri>
<taglib-location>/WEB-INF/struts-tiles.tld</taglib-location>
</taglib>
</web-app>
<!-- Struts Tag Library Descriptors -->
Thanks
Veera
-----Original Message-----
From: simarjit singh [mailto:[EMAIL PROTECTED]
Sent: Monday, August 16, 2004 5:51 PM
To: Struts Users Mailing List
Subject: Re: OC4J and struts issue
Thanks for quick reply,
here is my web.xml entry. it is generated by jdeveloper.it is not
manual.
I am able to run it in windows environment but when i move it to
solaris, it is failing.:-(
<taglib>
<taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
<taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
<taglib-location>/WEB-INF/struts-html.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>
<taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
</taglib>
Thanks,simar
Veerabhadra Rao R wrote:
Hi,
Can you verify the tag lib directives in web.xml. you will get such
type of error messages only when there is mismatching in tag lib
directives.
<!-- Struts Tag Library Descriptors -->
<taglib>
<taglib-uri>/tags/struts-bean</taglib-uri>
<taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/tags/struts-html</taglib-uri>
<taglib-location>/WEB-INF/struts-html.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/tags/struts-logic</taglib-uri>
<taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/tags/struts-nested</taglib-uri>
<taglib-location>/WEB-INF/struts-nested.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/tags/struts-tiles</taglib-uri>
<taglib-location>/WEB-INF/struts-tiles.tld</taglib-location>
</taglib>
<!-- Struts Tag Library Descriptors -->
Thanks
Veera
-----Original Message-----
From: simarjit singh [mailto:[EMAIL PROTECTED]
Sent: Monday, August 16, 2004 5:37 PM
To: Struts Users Mailing List
Subject: OC4J and struts issue
Hi,
I am getting th following error mesage in OC4J for 9i.
javax.servlet.jsp.JspException: Cannot find message resources under key
org.apache.struts.action.MESSAGE
at org.apache.struts.util.RequestUtils.message(RequestUtils.java:793)
at org.apache.struts.util.RequestUtils.message(RequestUtils.java:755)
at
org.apache.struts.taglib.html.BaseHandlerTag.message(BaseHandlerTag.jav
a
:568)
at
org.apache.struts.taglib.html.BaseHandlerTag.prepareStyles(BaseHandlerT
a
g.java:623)
at org.apache.struts.taglib.html.LinkTag.doStartTag(LinkTag.java:355)
at _adhoc._selection._jspService(_selection.java:64)
[SRC:/adhoc/selection.jsp:10]
at com.orionserver[Oracle9iAS (9.0.2.1.0) Containers for
J2EE].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at
oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:508
)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:255)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:407)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:330)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
at com.evermind[Oracle9iAS (9.0.2.1.0) Containers for
J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatc
h
er.java:696)
at com.evermind[Oracle9iAS (9.0.2.1.0) Containers for
J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletReque
s
tDispatcher.java:281)
at com.evermind[Oracle9iAS (9.0.2.1.0) Containers for
J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.
j
ava:766)
at com.evermind[Oracle9iAS (9.0.2.1.0) Containers for
J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind[Oracle9iAS (9.0.2.1.0) Containers for
J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:107)
at
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecut
o
r.java:802)
at java.lang.Thread.run(Thread.java:479)
Can any body help.
Thanks in advance,
Simar
Information transmitted by this EMAIL is proprietary to iGATE Group of
Companies and is intended for use only by the individual or entity to
whom it is addressed and may contain information that is privileged,
confidential, or exempt from disclosure under applicable law. If you are
not the intended recipient of this EMAIL immediately notify the sender
at iGATE or [EMAIL PROTECTED] and delete this EMAIL including any
attachments.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Information transmitted by this EMAIL is proprietary to iGATE Group of Companies and
is intended for use only by the individual or entity to whom it is addressed and may
contain information that is privileged, confidential, or exempt from disclosure under
applicable law. If you are not the intended recipient of this EMAIL immediately notify
the sender at iGATE or [EMAIL PROTECTED] and delete this EMAIL including any
attachments.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]