You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Veerabhadra Rao R <Ve...@igate.com> on 2004/08/16 14:05:44 UTC

RE: OC4J and struts issue

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:simar.singh@oracle.com] 
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.java
:568)
at 
org.apache.struts.taglib.html.BaseHandlerTag.prepareStyles(BaseHandlerTa
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(ServletRequestDispatch
er.java:696)
at com.evermind[Oracle9iAS (9.0.2.1.0) Containers for 
J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletReques
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(PooledExecuto
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 mailadmin@igate.com and delete this EMAIL including any attachments.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: OC4J and struts issue

Posted by simarjit singh <si...@oracle.com>.
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:simar.singh@oracle.com] 
>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.java
>:568)
>at 
>org.apache.struts.taglib.html.BaseHandlerTag.prepareStyles(BaseHandlerTa
>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(ServletRequestDispatch
>er.java:696)
>at com.evermind[Oracle9iAS (9.0.2.1.0) Containers for 
>J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletReques
>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(PooledExecuto
>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 mailadmin@igate.com and delete this EMAIL including any attachments.
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>For additional commands, e-mail: user-help@struts.apache.org
>
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org