Re: [S1.3.8] Mapping problem

2011-03-23 Thread Okan Özeren
Hi, You should use as this when action forwarding: // Passed arg0 parameter is an object which is created from ActionMapping return arg0.findForward("success"); Okan. On Tue, Mar 22, 2011 at 9:07 PM, Dave Newton wrote: > What *is* loginPage? A JSP? A Tile? > > Dave > > On Tue, Mar 22, 2011 at

Re: [S1.3.8] Mapping problem

2011-03-23 Thread Dave Newton
On Wed, Mar 23, 2011 at 5:52 AM, Okan Özeren wrote: > You should use as this when action forwarding: > > // Passed arg0 parameter is an object which is created from ActionMapping > return arg0.findForward("success"); Not sure how that's related; if the original poster *hadn't* been doing like that

Data/Access Security in Struts2

2011-03-23 Thread CRANFORD, CHRIS
I realize this may not be directly related to Struts 2 but often times I have found that many of us take different approaches to solve a common problem and wanted to ping others as to your experience and implementations regarding data security, particularly row-level in a Struts 2 application that

struts2 + itext5 + pdf generation

2011-03-23 Thread Emi Lu
Good morning list, A question about struts2 + PDF. Struts2 + itext5.x. In action class: == HttpServletResponse res = ServletActionContext.getResponse(); res.setContentType("application/pdf"); Document document = new Document(); PdfWriter.getInstance(docum

Re: struts2 + itext5 + pdf generation

2011-03-23 Thread Emi Lu
A question about struts2 + PDF. Struts2 + itext5.x. In action class: == HttpServletResponse res = ServletActionContext.getResponse(); res.setContentType("application/pdf"); Document document = new Document(); PdfWriter.getInstance(document, res.getOutputSt

Re: struts2 + itext5 + pdf generation

2011-03-23 Thread Paweł Wielgus
Hi Emi, maybe this will help a little: http://struts.apache.org/2.2.1/docs/stream-result.html Best greetings, Paweł Wielgus. 2011/3/23 Emi Lu : >> >> A question about struts2 + PDF. Struts2 + itext5.x. >> >> In action class: >> == >> HttpServletResponse re

Re: Data/Access Security in Struts2

2011-03-23 Thread Burton Rhodes
IMHO, if Spring can solve all the security requirements you need, I would stick with one technology for security. Adding another layer of security with another technology (e.g. Hibernate) *may* complicate code maintainability. I have not delved into Hibernate security, but "keep it simple stupid"