Interesting...how do you want Struts to read your configuration files then? Struts currently automatically looks for and loads struts-default.xml, struts-plugin.xml, and struts.xml files in the classloader. You can customize that by changing the '"struts.configuration.files' property in struts.properties to a different comma-delimited list of file names.
Still, I'm not sure how you would want to solve this problem. Are only some struts.xml files unable to be loaded, in which case, you'd want Struts to swallow access errors on startup? Don On 10/17/06, Juan Espinosa <[EMAIL PROTECTED]> wrote:
I have a similar problem, i dont know who is trying to load struts.xml and why in my case is trying to load it from program files....please help.... Im using struts in a shared web hosting, because of this i am not allowed to read from program files... Struts Problem Report Struts has detected an unhandled exception: Messages: access denied (java.io.FilePermission C:\Program%20Files\SWsoft\Plesk\Additional\Tomcat\work\PSA\catalogodepropied ades.com\Nilo\WEB-INF\classes\struts.xml read) Caught exception while loading file struts.xml -----Mensaje original----- De: Jim Reynolds [mailto:[EMAIL PROTECTED] Enviado el: Martes, 17 de Octubre de 2006 12:31 p.m. Para: user@struts.apache.org Asunto: Struts 2.0 question tags, config Hello, I have downloaded and trying to learn the 2.0 framework. First off, I am trying to figure out how the struts.xml gets configured, I do not see this in the web.xml anymore. Also, I am having trouble finding documenttion on the struts-tags that are now avaiable. Are these just the WebWork tags, or they repackaged for struts 2.0. Thanks, eg: I cannot find what the s:head with attribute of theme does. <%@ taglib prefix="s" uri="/struts-tags" %> <html> <head> <title>Showcase</title> <s:head theme="simple"/> </head> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.408 / Virus Database: 268.13.4/477 - Release Date: 16/10/2006 --------------------------------------------------------------------- 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]