RE: Is Using Spring With Struts 2 A Good Idea?

2009-11-25 Thread Sarr, Nathan
Hi Bruce, We have been working with Struts 2 and Spring here for a couple of years (we went production a few months ago) and I have found it to work together quite well for us - we use it for Dependency injection as well as to tie in with Hibernate, Quartz. We use some sub projects includin

Upgrade to Struts 2.2.1 - XWork 2.2.1 vs Xwork 2.2.0

2010-11-13 Thread Sarr, Nathan
Hello, I was wondering if someone could help me out with the Struts 2.2.1 dependency list. It looks like struts 2.2.1 depends on XWork 2.1.6. However the release notes for Strtus 2.2.1 recommend using XWork 2.2.0. I couldn't find XWork 2.2.0 but could find XWork 2.2.1. Is it recomm

RE: Upgrade to Struts 2.2.1 - XWork 2.2.1 vs Xwork 2.2.0

2010-11-13 Thread Sarr, Nathan
me that struts2-core-2.2.1 depends on xwork-core-2.2.1. On Sat, Nov 13, 2010 at 8:36 PM, Sarr, Nathan wrote: > Hello, > >I was wondering if someone could help me out with the Struts 2.2.1 > dependency list. It looks like struts 2.2.1 depends on XWork 2.1.6. > However the re

XSS Vulnerability in Struts 2 before 2.2.3

2011-05-11 Thread Sarr, Nathan
Hello, I noticed the solution mentions turning off DMI support in struts.xml. Would the same result be achieved by setting it in the struts.properties file: # don't allow dynamic method invocation struts.enable.DynamicMethodInvocation = false Thanks, -Nate

RE: XSS Vulnerability in Struts 2 before 2.2.3

2011-05-11 Thread Sarr, Nathan
before, but I bet it works (Please Let us know if it doesn't). On 11 May 2011 16:47, Sarr, Nathan wrote: > Hello, > > > >   I noticed the solution mentions turning off DMI support in > struts.xml.  Would the same result be achieved by setting it in the > struts.proper

RE: can't download excel file correctly

2011-10-19 Thread Sarr, Nathan
Is there any chance this is an .xlsx (office 2007) and not an xls document? .xlsx documents are really zip files. If this is the case then your content type would be different as well. I believe the .xlsx is: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet Hope this helps.

RE: Need help writing an interceptor to force a user to change their password

2009-06-29 Thread Sarr, Nathan
Hi Russ, You may want to try creating a global result in your struts.xml: /pages/user/login/force_change_password.jsp Then in your interceptor return the result name "change-password" That is how we accomplished something similar to your pblem. Hope this helps. -Nate _

Interceptor Stack Help

2007-06-24 Thread Sarr, Nathan
Hello, I have been having a little trouble with the interceptor stack but I have quite a bit of info, so I'm hoping someone can help me out. Here it goes: I created my own interceptor stack with the following: [code] <---

Interceptor + putting information on the request

2007-03-07 Thread Sarr, Nathan
Hello, I am using struts 2.0.6. I wrote an interceptor to use with Acegi security to place the UserDetails object on the request so I could access it on my JSP page. However when I tried to access the object on the page, it was not found. I then instead placed it on the session using

RE: Interceptor + putting information on the request

2007-03-07 Thread Sarr, Nathan
Hi Matt, Thanks very much, that fixed it. -Nate - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Howto Construct Editable Tree

2007-03-19 Thread Sarr, Nathan
Hi Pete, You might want to try http://www.jenkov.com/prizetags/introduction.tmpl They have a tree tag that I have found very useful. Best, -Nate -Original Message- From: Peter Neu [mailto:[EMAIL PROTECTED] Sent: Monday, March 19, 2007 9:43 AM To: user@struts.apache.org Subject: Howto

RE: Howto Construct Editable Tree

2007-03-19 Thread Sarr, Nathan
ECTED] Sent: Monday, March 19, 2007 10:18 AM To: 'Struts Users Mailing List' Subject: AW: Howto Construct Editable Tree Hi, Looks good - can you edit the nodes? Cheers, Pete > -Ursprüngliche Nachricht- > Von: Sarr, Nathan [mailto:[EMAIL PROTECTED] > Gesendet: Montag,

Struts 2 - Action writing to response output stream

2007-03-30 Thread Sarr, Nathan
Hello, We are using some actions to write directly to the stream for some ajax based functionality. To do this I wrote a NoOp result type that does nothing. [code] public class NoOp extends StrutsResultSupport { public NoOp() { super(); } protect

RE: Struts 2 - Action writing to response output stream

2007-03-30 Thread Sarr, Nathan
write to the outputstream, and return null from execute, and you won't need a NoOp result. I also wrote my own NoOp result when i started using S2 ;). Maybe this should be on the FAQs. musachy On 3/30/07, Sarr, Nathan <[EMAIL PROTECTED]> wrote: > > > > Hello, > > > &

RE: [OT] What slows you down?

2008-06-20 Thread Sarr, Nathan
Let me start with I think struts 2 is great - like some of the others the size of the technology stack and UI seem to give me the most trouble as well. Some things I've had to deal with in struts 2 are: 1. The tags - I decided to not use the struts tags as I prefer to use JSTL and JSP

RE: [OT] What slows you down?

2008-06-20 Thread Sarr, Nathan
Original Message- > From: Sarr, Nathan [mailto:[EMAIL PROTECTED] > Sent: Friday, June 20, 2008 10:29 AM > To: Struts Users Mailing List > Subject: RE: [OT] What slows you down? > > 2. Validation - since I'm using Yahoo User Interface Libraries > (YUI) and my actions ar