Re: Way to forcefully reload struts.xml [struts2]

2010-02-25 Thread Lukasz Lenart
2010/2/26 Bhaarat Sharma : > I'd appreciate if someone can tell me how to forcefully reload struts.xml. >  (Besites the struts.reload property being true in struts.xml) You should get rid of it, as for production environment it isn't desired behaviour, the same with devMode Regards -- Łukasz ht

Re: Struts2 and PlugIn interface

2010-02-25 Thread Maciej Radochonski
Further on the subject. For my persistence layer I use iBatis. With Struts1 I had been using plugin to load the connection object on start-up. Any suggestion on how can I achieve similar effect with Struts2? Thank you, Maciej Radochonski On Fri, Feb 19, 2010 at 3:01 PM, Maciej Radochonski wrote:

Way to forcefully reload struts.xml [struts2]

2010-02-25 Thread Bhaarat Sharma
We are seeing a situation where certain namespaces/actions are getting error "There is no action mapped for namespace ... and action ..." on the server. However, on our local we do not get this error. Which leads us to believe that struts.xml might be getting lost. Is there a way to forcefully r

Struts with JSF and Tiles error

2010-02-25 Thread Sekar, Sowmya
Hi, I have an existing Struts 1 application with Tiles and JSP. I would like to use JSF 2 components instead of the JSP tags and leave the business logic and actions as is. These are the steps I followed : 1. Copied jsf-impl , jsf-api.jar and struts-faces-1.3.8.jar in my web-inf/lib folde

Re: Problem reloading Struts 2 app in Tomcat and Eclipse

2010-02-25 Thread Greg Lindholm
>1) the correct JDK (think 5.5.28 runs with 1.5, doesn't it ?) Running with JDK 1.6.0_16 > 2) the correct xerces - libraries in your classpath I've got xercesImpl.jar (2.9.1) in my WEB-INF/lib folder and as far as I know that is the only SAXParser. > 3) not any other libraries in your classpath t

Re: Nabble and mailing list archives

2010-02-25 Thread Dale Newfield
Greg Lindholm wrote: This mailing list on Nabble seems to be gone, at least I can't find it. http://old.nabble.com/Struts-f203.html -Dale - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e

Re: Problem reloading Struts 2 app in Tomcat and Eclipse

2010-02-25 Thread Volker Karlmeier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi again, regarding your reloading problem I have another idea. Look here, if you have the next problem :) http://tomcat.apache.org/tomcat-5.5-doc/config/context.html regards Volker Am 24.02.2010 16:33, schrieb Greg Lindholm: > I decided to fin

Re: Problem reloading Struts 2 app in Tomcat and Eclipse

2010-02-25 Thread Volker Karlmeier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, that seems to me as if you have a problem with your sax-parser. You should have a look if you have 1) the correct JDK (think 5.5.28 runs with 1.5, doesn't it ?) 2) the correct xerces - libraries in your classpath 3) not any other libraries in your

Struts with JSF and Tiles error

2010-02-25 Thread Sekar, Sowmya
Hi, I have an existing Struts 1 application with Tiles and JSP. I would like to use JSF 2 components instead of the JSP tags and leave the business logic and actions as is. These are the steps I followed : 1. Copied jsf-impl , jsf-api.jar and struts-faces-1.3.8.jar in my web-inf/lib fold

Re: Validation of indexed properties

2010-02-25 Thread Cielpa
Hey, I have a similar problem with DynaValidatorActionForm. It says that invalid property when i have a ArrayList in the in the > I've got a problem relating to the validation of indexed properties in > Struts 1.1 > I get the following error message when I try to access an ArrayList of > stude

struts 2 token interceptor problem

2010-02-25 Thread repuken2
Hi, i'm having trouble with token interceptor, i'm using struts 2.1.8.1 with eclipse and glassfish V3. ***we're using struts 1 plugin*** , we're migrating an old project wich used struts 1 and so far everything is working ok, fileupload interceptor, forms, etc. but toke-interceptor stuff. When

Nabble and mailing list archives

2010-02-25 Thread Greg Lindholm
This mailing list on Nabble seems to be gone, at least I can't find it. Nabble switched over to a new system and old system is now at old.nabble.com but doesn't seem to be getting updates anymore. Anyone working to get this mailing list archived on the "New and Improved" nabble or is there a bette

Re: s:if inside s:url

2010-02-25 Thread Dale Newfield
CRANFORD, CHRIS wrote: That still renders "&department=" on the request when the department field is null which is not what I want. I understand the desire to have "pretty" urls, but technically the presence or absence of "&department=" in the url is not distinguishable by the action created

RE: s:if inside s:url

2010-02-25 Thread CRANFORD, CHRIS
Although, I didn't consider this solution, which seems sort of broken but appears to at least work and provide the desired effect: If the department value is null, the request parameter is named "d" rather than "department". It is only "department" when the parameter is not null. I still d

Re: s:if inside s:url

2010-02-25 Thread Dale Newfield
CRANFORD, CHRIS wrote: -Dale - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: Cannt connect Struts + Tiles with mysql

2010-02-25 Thread Antonio Petrelli
2010/2/25 abhishek jain : > Feb 25, 2010 8:46:32 PM org.apache.struts.action.ActionServlet init > SEVERE: Unable to initialize Struts ActionServlet due to an unexpected > exception or error thrown, so marking the servlet as unavailable.  Most > likely, this is due to an incorrect or missing library

Re: Cannt connect Struts + Tiles with mysql

2010-02-25 Thread abhishek jain
On Thu, Feb 25, 2010 at 6:40 PM, Antonio Petrelli < antonio.petre...@gmail.com> wrote: > 2010/2/25 abhishek jain : > > I get the error message: Can't get definitions factory from context. > > I know due to the datasource it cannot find the tiles defs file, but why? > > Because the application fail

Re: Single Sign On And Spring Security

2010-02-25 Thread Frans Thamura
i believe the cool reference only roller 5 which it is not released yet F On Thu, Feb 25, 2010 at 10:11 PM, Lance Hill wrote: > Hello, > > > > I am hoping someone can provide me with some links or examples of how to > combine Struts 2 with Spring security. The end goal is to use Spring > securit

Single Sign On And Spring Security

2010-02-25 Thread Lance Hill
Hello, I am hoping someone can provide me with some links or examples of how to combine Struts 2 with Spring security. The end goal is to use Spring security to access a CAS server (http://www.jasig.org/cas) in order to provide single sign on ability between a Struts2 application and a Wordpres

Re: Cannt connect Struts + Tiles with mysql

2010-02-25 Thread Antonio Petrelli
2010/2/25 abhishek jain : > I get the error message: Can't get definitions factory from context. > I know due to the datasource it cannot find the tiles defs file, but why? Because the application failed starting, probably. Check the log related to the start of your application. Antonio

Cannt connect Struts + Tiles with mysql

2010-02-25 Thread abhishek jain
Hi friends, Just learned struts 1.2 and tiles, want to connect to mysql. pl. find below the configuration i am using: struts-config.xml I get the error message: Can't get definitions factory from context. I know due to the datasource it cannot find the tiles defs