You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Henrick Chua <ch...@columbusgroup.com> on 2001/11/22 19:11:39 UTC

comments

hi all!
how can I comment out struts code?
do i do it like any other html comments?

<!-- <bean:write property="abc" name="def" /> -->

thanx

h

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


struts-config not found in Websphere 3.5.2 FixPack3

Posted by jpablo <jp...@spcom.com.ar>.
        I'm configuring the Struts Action servlet on WebSphere 3.5.2
with fix pack 3, but I get an exception on startup (because this
server uses loadonstartup). The servlet cant find the
/WEB-INF/struts-config.xml file,

I have the following file:
  /opt/IBMWebAS/hosts/default_host/myapp/web/WEB-INF/struts-config.xml file,
And the documen root of my web application is:
    /opt/IBMWebAS/hosts/default_host/myapp/web/

    It is ok? Where shold be placed struts-config.xml? IMHO this
config is right.. but not working. Any suggestion or tip will be
really appreciated.


This is a fragment of default_servlet_stdout.log
---cut---
[01.11.30 10:04:39:385 GMT-02:00] e82f28da ServletInstan A SRVE0048I: Loading servlet: "action"
[01.11.30 10:04:39:885 GMT-02:00] e82f28da WebGroup      A SRVE0091I: [Servlet LOG]: "action: init"                                 
[01.11.30 10:04:39:987 GMT-02:00] e82f28da WebGroup      A SRVE0091I: [Servlet LOG]: "action: Loading application resources from res
ource Cuida2Resources"                                                                                                              
[01.11.30 10:04:39:990 GMT-02:00] e82f28da WebGroup      A SRVE0091I: [Servlet LOG]: "action: Initializing configuration from resour
ce path /WEB-INF/struts-config.xml"                                                                                                 
[01.11.30 10:04:40:005 GMT-02:00] e82f28da ServletInstan X Uncaught init() exception thrown by servlet {0}: {1}                     
                                 "action"                                                                                           
                                 javax.servlet.UnavailableException: Missing configuration resource for path /WEB-INF/struts-config.
xml                                                                                                                                 
        at org.apache.struts.action.ActionServlet.initMapping(ActionServlet.java:1316) 
---cut---

--
Juan Pablo Villaverde
Tec. en Infraestructura de Redes
Soluciones Punto Com S.A. 
http://www.spcom.com.ar



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>