struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Graham <grahamdavid1...@yahoo.com>
Subject Re: cvs commit: jakarta-struts/src/share/org/apache/struts/action ActionServlet.java
Date Tue, 15 Jul 2003 03:40:20 GMT
--- Rob Leland <rleland@apache.org> wrote:
> I wanted to pull this over to the 1_1_BRANCH but can't find what 
> property file
> 'configWebXml' is defined in. Shouldn't it be in the 
> LocalString.properties file
> or ActionResource.properties file ?

Weird, it looks like it should be in ActionResource.properties but it's
not.  I also couldn't find the plugIn.init key anywhere.  Maybe now would
be a good time to go through these messages and make sure they're all used
and all defined.

David

> 
> 
> dgraham@apache.org wrote:
> 
> >dgraham     2003/07/02 21:44:13
> >
> >  Modified:    src/share/org/apache/struts/action ActionServlet.java
> >  Log:
> >  Throw more descriptive exception if web.xml isn't found.  PR# 21203.
> >  
> >  Revision  Changes    Path
> >  1.158     +9 -4     
> jakarta-struts/src/share/org/apache/struts/action/ActionServlet.java
> >  
> >  Index: ActionServlet.java
> >  ===================================================================
> >  RCS file:
>
/home/cvs/jakarta-struts/src/share/org/apache/struts/action/ActionServlet.java,v
> >  retrieving revision 1.157
> >  retrieving revision 1.158
> >  diff -u -r1.157 -r1.158
> >  --- ActionServlet.java	3 Jul 2003 03:43:37 -0000	1.157
> >  +++ ActionServlet.java	3 Jul 2003 04:44:13 -0000	1.158
> >  @@ -1082,6 +1082,11 @@
> >   
> >           InputStream input =
> >              
> getServletContext().getResourceAsStream("/WEB-INF/web.xml");
> >  +            
> >  +        if (input == null) {
> >  +            log.error(internal.getMessage("configWebXml"));
> >  +            throw new
> ServletException(internal.getMessage("configWebXml"));
> >  +        }
> >   
> >           try {
> >               digester.parse(input);
> >  
> >  
> >  
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: struts-dev-help@jakarta.apache.org
> >
> >
> >
> >  
> >
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-dev-help@jakarta.apache.org
> 


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

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


Mime
View raw message