Only happens with struts2, iam not working with struts 1, the applications that i made with struts 1 run over an intranet
the problems happens on shared webhosting...where i have no access to program files directory... -----Mensaje original----- De: David Friedman [mailto:[EMAIL PROTECTED] Enviado el: Martes, 17 de Octubre de 2006 02:30 p.m. Para: Struts Users Mailing List Asunto: RE: Struts 2.0 question tags, config Can you even upload a Struts1 example application that works or is this related to Struts2 only? Regards, David -----Original Message----- From: Juan Espinosa [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 17, 2006 1:17 PM To: 'Struts Users Mailing List' Subject: RE: Struts 2.0 question tags, config I dont know how to solve this problem. This problem ocurrs with any application i upload to the webserver. I upload the blank application and the problem persist. Also is dificult to me to solve this problem because i have a shared server, with a shared tomcat and vm. Answer for David 1) Though some things strike me as odd: FuturePoint's main site runs Linux but your error indicated a PC path. Futurpoint have windows and linux hosting, mine hosting is windows. (Ensim is for jdk 1.4 and tomcat 4.1, Plesk is for jdk 1.5 and tomcat 5.5) In the Plesk panel i have an option to load a war file, the war file that i uploaded is the blank application from the struts web site. I test this war in a local tomcat and the application works fine. Suggetions are welcome.... thanks in advance for your help -----Mensaje original----- De: Don Brown [mailto:[EMAIL PROTECTED] Enviado el: Martes, 17 de Octubre de 2006 12:54 p.m. Para: Struts Users Mailing List Asunto: Re: Struts 2.0 question tags, config 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\catalogodep > ropied 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] -- 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] -- 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]