Re: System.out into interceptor

2009-03-16 Thread Nils-Helge Garli Hegvik
throws >>> Exception{ >>> >>> Map session = actionInvocation.getInvocationContext().getSession(); >>> utente user = (utente)session.get("autenticato"); >>> if (user != null) >>>   request.setAttribute("ciao","condizione"

Re: System.out into interceptor

2009-03-16 Thread Dave Newton
#x27;t work -- View this message in context: http://www.nabble.com/System.out-into-interceptor-tp22535922p22541213.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-uns

Re: System.out into interceptor

2009-03-16 Thread PEGASUS84
etInvocationContext().getSession(); >> utente user = (utente)session.get("autenticato"); >> if (user != null) >>   request.setAttribute("ciao","condizione"); >> return Action.ERROR; >&

Re: System.out into interceptor

2009-03-16 Thread Chris Pratt
Even simplester solution ${param.caio} (*Chris*) On Mon, Mar 16, 2009 at 11:05 AM, Lukasz Lenart < lukasz.len...@googlemail.com> wrote: > On Mon, Mar 16, 2009 at 5:31 PM, PEGASUS84 wrote: > > <%out.print(request.getParameter("ciao"))%> > > Simplest solution > <%= request.getParameter("ciao") %

Re: System.out into interceptor

2009-03-16 Thread Lukasz Lenart
On Mon, Mar 16, 2009 at 5:31 PM, PEGASUS84 wrote: > <%out.print(request.getParameter("ciao"))%> Simplest solution <%= request.getParameter("ciao") %> Regards -- Lukasz http://www.lenart.org.pl/ - To unsubscribe, e-mail: user-

Re: System.out into interceptor

2009-03-16 Thread Nils-Helge Garli Hegvik
n.getInvocationContext().getSession(); > utente user = (utente)session.get("autenticato"); > if (user != null) >   request.setAttribute("ciao","condizione"); > return Action.ERROR; > > > } > > } > > and into jsp page: > > <%out.pr

Re: System.out into interceptor

2009-03-16 Thread PEGASUS84
Action.ERROR; } } and into jsp page: <%out.print(request.getParameter("ciao"))%> but it doesn't work -- View this message in context: http://www.nabble.com/System.out-into-interceptor-tp22535922p22541213.html Sent f

Re: System.out into interceptor

2009-03-16 Thread Nils-Helge Garli Hegvik
e!!! > how can I show in a jsp page the text which is into an interceptor > > > [snipp] > > public String intercept(. > > System.out.print("text") > > [/snipp] > > In result page the text doesn't appear > > > > > > > >

System.out into interceptor

2009-03-16 Thread PEGASUS84
excuse me!!! how can I show in a jsp page the text which is into an interceptor [snipp] public String intercept(. System.out.print("text") [/snipp] In result page the text doesn't appear -- View this message in context: http://www.nabble.com/System.out-i