[Struts2] SessionToken Interceptor used with json Result and Javascript Calls

2012-11-07 Thread Jan Fröhlich
Hi... I try to secure one of my web applications with tokens. Everything works fine with basic jsp pages. But in one case, I call an action from javascript via jquery.ajax and return a json result. To do that, I added two properties to the json result object (documenTable) with token and tokenN

ModelDriven with List

2011-01-27 Thread Jan Fröhlich
Hi After we found a lean solution with ModelDriven in our application to build CRUD functions with simple Objects, I have now a problem with extending it, to be usable with lists. What I want to do is, make the getModel() method in my ModelDriven Action having a return type like List or ma

AW: [s2] Strange behaviour of s2 application behind reverse proxy

2010-06-16 Thread Jan Fröhlich
server is correctly configured to return the font-end proxy values when you call: -request.getServerName() -request.getServerPort() Gabriel 2010/6/16 Jan Fröhlich : > Hi all, > > > > after (nearly) finishing a struts2 project with struts 2.1.8.1 we have an odd > issue testi

[s2] Strange behaviour of s2 application behind reverse proxy

2010-06-16 Thread Jan Fröhlich
Hi all, after (nearly) finishing a struts2 project with struts 2.1.8.1 we have an odd issue testing the application behind an apache reverse proxy server. In web.xml is "index.jsp" as welcome page defined. Index.jsp contains just a <% response.sendRedirect("home.action") %> (please don't

AW: AW: [S2.1.2] sx:div targets AKA sx:a targets

2009-07-08 Thread Jan Fröhlich
sachy 2009/7/8 Jan Fröhlich : > Hallo Martin, > > if I see that right, you speak german too - so lets make it a little easier - > if not - just ignore the rest of the message! ;) > > Das Ganze ist ein bisschen komplizierter als das Ändern des Mime Types. > > Um das ganze mal

AW: AW: [S2.1.2] sx:div targets AKA sx:a targets

2009-07-08 Thread Jan Fröhlich
mail.com] > Gesendet: Dienstag, 7. Juli 2009 20:14 > An: Struts Users Mailing List > Betreff: Re: [S2.1.2] sx:div targets AKA sx:a targets > > targets can be set like anything else, with an ognl expression, like > > > then you need a getTargets() method in your action.

AW: [S2.1.2] sx:div targets AKA sx:a targets

2009-07-08 Thread Jan Fröhlich
gards Jan -Ursprüngliche Nachricht- Von: Musachy Barroso [mailto:musa...@gmail.com] Gesendet: Dienstag, 7. Juli 2009 20:14 An: Struts Users Mailing List Betreff: Re: [S2.1.2] sx:div targets AKA sx:a targets targets can be set like anything else, with an ognl expression, like : > Wrong

[S2.1.2] sx:div targets AKA sx:a targets

2009-07-07 Thread Jan Fröhlich
Wrong subject! ;) Von: Jan Fröhlich [mailto:jan.froehl...@infomotion.de] Gesendet: Di 07.07.2009 16:55 An: Struts Users Mailing List Betreff: [S2.1.2] sx:div targets Hi all, I've seen this topic beeing discussed several times already, but I didn'

[S2.1.2] sx:div targets

2009-07-07 Thread Jan Fröhlich
Hi all, I've seen this topic beeing discussed several times already, but I didn't find a solution that works for me. What I already got: I invoke an action with a sx:a (targets="dialogContainer"). The action opens a document and has two possible return values: "prompt" and "download". "prompt"

AW: NPE initializing 2.1.6 showcase in Tomcat 6.0.18

2009-01-22 Thread Jan Fröhlich
Hi.. is that already verified, that the NPE occurs cause of the spaces in the path names? And if - are there any other work arounds than installing tomcat in a different path, cause I have to use a preinstalled tomcat in a path with blank spaces. Regards, Jan -Ursprüngliche Nachricht-

AW: How can I "parameterize" include files?

2008-12-18 Thread Jan Fröhlich
Hi James, is it possible for you to use the tag?? I think that is exactly what you are searching for. As an example: downtime http://www.mylink.org To make this work, you have to create a folder "/template/foo" and place the menuEntry.jsp in it. This file coul