Re: Strict Method Invocation

2015-10-06 Thread Volker Krebs
Am 05.10.2015 um 16:43 schrieb Volker Krebs: > Am 03.10.2015 um 09:35 schrieb Lukasz Lenart: >> Hi, >> >> I have updated docs about the latest SMI addition: >> >> https://cwiki.apache.org/confluence/display/WW/Security#Security-StrictMethodInvocation >> http

Re: Strict Method Invocation

2015-10-05 Thread Volker Krebs
Am 03.10.2015 um 09:35 schrieb Lukasz Lenart: > Hi, > > I have updated docs about the latest SMI addition: > > https://cwiki.apache.org/confluence/display/WW/Security#Security-StrictMethodInvocation > https://cwiki.apache.org/confluence/display/WW/Action+Configuration#ActionConfiguration-DynamicMet

Re: [ANN] Struts 2.3.15.2 GA release available - security fix

2013-10-11 Thread Volker Krebs
Am 11.10.2013 13:22, schrieb Lukasz Lenart: 2013/10/11 Volker Krebs : Thank you, good news. If you want you can give me the current state and I can run it on our test system. We're implicitly testing quite a lot of struts2 functionality. That would be awesome, but I cannot share any de

Re: [ANN] Struts 2.3.15.2 GA release available - security fix

2013-10-11 Thread Volker Krebs
Thank you, good news. If you want you can give me the current state and I can run it on our test system. We're implicitly testing quite a lot of struts2 functionality. Am 11.10.2013 09:33, schrieb Lukasz Lenart: Patch is under review now, so the release should be out next week. Regards

Re: [ANN] Struts 2.3.15.2 GA release available - security fix

2013-10-11 Thread Volker Krebs
Hello Lukasz, do you have any news according the 15.3 ? We are waiting for it to update our customer projects. Thanks Volker Am 23.09.2013 20:12, schrieb Lukasz Lenart: Hi, Yes, we know already :\ I'm working on a new solution, should be ready next

Re: Url rewriting of .action to .jsp

2013-09-23 Thread Volker Krebs
Am 23.09.2013 20:32, schrieb Lukasz Lenart: 2013/9/23 Paweł Wielgus : Hi all, I'm using DMI to call "input" method extensively, almost in every Edit*Action. I call it with ParamsPrepareParams stack. I fully understand that allowing DMI is a security problem. But maybe some kind of balance could

Re: [ANN] Struts 2.3.15.2 GA release available - security fix

2013-09-23 Thread Volker Krebs
Am 23.09.2013 16:23, schrieb Emi Lu: Good morning, Upgraded from 2.3.15.1 to 15.2, but "s:submit" problem: (1) jsp: --- never call loginProcessLoginAction (2) struts.xml main_menu /WEB-INF/pages/errorinfo/ajax_error_check.jsp (3) ProcessLoginAction.java public St

Re: Url rewriting of .action to .jsp

2013-09-23 Thread Volker Krebs
Am 23.09.2013 11:05, schrieb Christoph Nenning: Just a hint: DMI can be dangerous and we think about removing it. That would force us to do heavy refactorings in all our applications. Removing DMI completely would break a lot of applications. How about white-listing methods ? At the moment

JavaScript errors on exception-handling.html

2013-09-05 Thread Volker Krebs
Hello, the Exception Handling Documentation Page has some JavaScript Errors. I stumbled over this a couple of weeks ago ... and now again. So I thought I'll write it to the list, hoping to reach someone who can fix it. Regar

Re: Wizard (multipage flow) with Struts 2

2012-02-14 Thread Volker Krebs
Struts2 webflow integration only works with Spring Web Flow 1.0.6 Webflow 2.x does not compile. 2 years ago I tried to refactor the plugin, but then other things became more important. But with a bit of afford regards, Volker http://code.google.com/p/struts2webflow/ http

Re: Struts2 ScopeInterceptor scope.type end problem

2011-12-13 Thread Volker Krebs
to many private Fields/Methods. Thanks, Volker On Do, 2011-12-08 at 21:42 -0800, mohan rao wrote: > Once you action execution is done all the valueStack objects will be cleared. > This is might be causing the problem. And can you please elaborate your > requirements. > > -- >

Struts2 ScopeInterceptor scope.type end problem

2011-12-08 Thread Volker Krebs
h the ScopeInterceptor was managing, because for scope.type=end actions everything is cleared. Any best practice for this (common) problem ? Make an extra finish action that copies the scope objects to the request ? Any suggestions ? Thanks V

Re: Recommended technology for pages layout in Struts2

2010-11-26 Thread Volker Karlmeier
I prefer tiles :) Am 26.11.2010 um 08:55 schrieb webmeiker : > Hi, > > Based on your experience, what do you consider the “best” technology for > layout in Struts2? > > Do you recommend me Sitemesh, Tiles2 or what? > > > > (Personally, I think the latest should be the “best”, because it’s de

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

Re: Problem reloading Struts 2 app in Tomcat and Eclipse

2010-02-25 Thread Volker Karlmeier
es in your classpath that provide a SaxParser. Maybe this helps. regards Volker Am 24.02.2010 16:33, schrieb Greg Lindholm: > I decided to finally ask about this problem I've been seeing for > several years. During development I will run my Struts 2 (2.1.8) > apps in Tomcat (5

Re: s:iterator ¿begin -> end?

2009-11-04 Thread Volker Karlmeier
With 2.1.8, you can use ... But it still has a bug: see http://issues.apache.org/struts/browse/WW-3314 Regards Volker Am 04.02.2009 16:04, schrieb Ignacio de Córdoba: Hi there, I've checked struts2 docs and this forum and have found no inside syntax for s:iterator tag to do: Exa

Accessing http header with ognl

2009-09-01 Thread Volker Krebs
Hello, accessing the http header with JSTL is quite easy: ${header} but how can I do it using OGNL ? Nothing is working. The Problem is that request.getHeader() is never pushed onto the value stack. How can I enable it ? thanks Volker

Re: [S2]Accessing value stack with jstl

2009-07-01 Thread Volker Krebs
Volker Krebs schrieb: Volker Krebs schrieb: Hello, we recently update from struts 2.0.14 to struts 2.1.6 In struts 2.0.14 org.apache.struts2.dispatcher.StrutsRequestWrapper was delegating to the Value Stack. This meant that in my JSP Page: was the same as ${foo} With struts 2.1.6 this doesn&#

Re: [S2]Accessing value stack with jstl

2009-07-01 Thread Volker Krebs
Volker Krebs schrieb: Hello, we recently update from struts 2.0.14 to struts 2.1.6 In struts 2.0.14 org.apache.struts2.dispatcher.StrutsRequestWrapper was delegating to the Value Stack. This meant that in my JSP Page: was the same as ${foo} With struts 2.1.6 this doesn't seem to work. Ho

Accessing value stack with jstl

2009-06-30 Thread Volker Krebs
help would be appreciated. Thanks Volker - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: Interceptor issue in Struts 2.1.6

2009-06-16 Thread Volker Karlmeier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, sounds like you mixed up interceptors and action classes. Look at *http://struts.apache.org/2.x/docs/interceptors.html *regards Volker Yanto schrieb: > Hi, > > > I am trying to use the following simple interceptor test the &

Re: Struts Flow in JSP,Servlets Project

2009-06-16 Thread Volker Karlmeier
r code for accessing the DB should be called in 2) (better call some service routines that access the database). for more information: RTFM Regards volker sprani.kmraj schrieb: > Dear All, > > GoodDay...! > Im beginner for Struts programming. > I hv started developing a Struts pro

RE: Struts2 2.0.11 problem with url and parameters

2008-11-19 Thread volker
Hi, what does your parameter look like ? Is it ?parameter=value ?? Try using where name is the name of your setter-method. (In this case setId) Regards Volker Hi all, I have a url with a parameter. This parameter is sent to the action via HTTP Get Method(i.e appended at the

Re: JPA Toplink without Spring

2008-10-02 Thread Volker Karlmeier
; > But thats the problem... im not using spring. So, do you have a > clue? > > On Thu, Oct 2, 2008 at 9:31 AM, Volker Karlmeier > <[EMAIL PROTECTED]> wrote: > http://www.oracle.com/technology/tech/java/oc4j/1013/how_to/how-to-ejb30-jpa-spring/doc/how-

Re: JPA Toplink without Spring

2008-10-02 Thread Volker Karlmeier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 http://www.oracle.com/technology/tech/java/oc4j/1013/how_to/how-to-ejb30-jpa-spring/doc/how-to-ejb30-jpa-spring.html http://www.zdnet.de/using_oracle_toplink_with_the_spring_framework_download-39002355-60263173-1.htm http://almaer.com/blog/toplink-spr

Re: Configure result to go back to page I came from.... [SEC=UNCLASSIFIED]

2008-09-18 Thread Volker Karlmeier
you you a solution for that ? Regards ~ Volker Crombie, Joe schrieb: | Hi Volker, | | I've used result type httpheader and response-status code 204 for a similar problem: | | | | | |

Re: Configure result to go back to page I came from....

2008-09-18 Thread Volker Karlmeier
ch page that was. Is that possible ? ~ Volker Paweł Wielgus schrieb: | Hi Volker, | where it should go when i will open my browser window (blank) and type | Your action url? | | Best greetings, | Paweł Wielgus. | | 2008/9/18 Volker Karlmeier <[EMAIL PROTECTED]>: | Hello Struts-Freaks, | | I

Configure result to go back to page I came from....

2008-09-18 Thread Volker Karlmeier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Struts-Freaks, I have a quite easy question, I think: how can I configure an action in struts.xml, that does nothing than go to the page I came from ? Something like or so ? Thanks in advance. ~ Volker

Re: NoSuchMethodException

2008-09-18 Thread Volker Karlmeier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, fantastic. I've watched this code for ours but not seen that. Thanx a lot :) ~ Volker Dave Newton schrieb: | --- On Thu, 9/18/08, Volker Karlmeier wrote: |> I'm sorry that my answer is coming quit late, but I |> came bac

Re: NoSuchMethodException

2008-09-18 Thread Volker Karlmeier
())); ~return SUCCESS; ~} I sent you only the relevant parts of the code to keep this mail readable. Hope you may find an answer to my problem Regards ~ Volker Lukasz Lenart schrieb: | Could you post some more details? Action code, config, the full stack trace? | | |

NoSuchMethodException

2008-09-18 Thread volker
fault ? Isn't int possible to use Methods in Subclasses ? Regards Volker - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[struts2] url tag not evaluating OGNL in anchor attribute

2008-06-24 Thread Volker Krebs
Hello, I have the following in my JSP Page: It seems that the anchor attribute is not evaluating the OGNL. I guess it's the same problem like this one: https://issues.apache.org/struts/browse/WW-2015 or is there any reason for not evaluating OGNL ? Thanks, V

Re: action mapping parameter issue

2008-05-23 Thread Volker Karlmeier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, it seems quite difficult to give you an answer without seeing your struts.xml Volker fea jabi schrieb: > We are getting the below error in production server for some of the > users not all. Everything works fine on our local machines

Re: Writing valid OGNL

2008-05-23 Thread Volker Karlmeier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, you can write good sources for ognl are http://www.ognl.org/2.6.9/Documentation/html/LanguageGuide/index.html and http://www.opensymphony.com/ognl/pdf/LanguageGuide.pdf Volker Chris Pratt schrieb: > I don't think you can embed a

Re: HTML renders incompletely

2008-05-20 Thread volker
Hello Antonio, I will do it this evening as I cannot publish all the code here at work. I will construct a sample application and attach it to a JIRA-Ticket. Tankx so far... Volker 2008/5/20 <[EMAIL PROTECTED]>: > > >

Re: HTML renders incompletely

2008-05-20 Thread volker
Hi, Ok, here it is: 1) I am using struts2 2.0.11 2) tiles 2.0.5 and 3) the resulting html (important notice: will only have to run in Internet-Explorer 6): Title //

Re: HTML renders incompletely

2008-05-20 Thread volker
Hope you do not need much more. The other parts of that layout (Navigation.j

Re: HTML renders incompletely

2008-05-20 Thread volker
Hello, this is quite difficult as I'd have to publish a lot of code because of using tiles to make it clear. Maybe someone has solved a similar problem before and just can give a hint what was the reason for this effect. Volker 2008/5/20 <[EMAIL PROTECTED]>: > Can any

Re: HTML renders incompletely

2008-05-20 Thread volker
lost or why the page does not render completely ? Thanx in advance Volker - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: [Struts 2] Switching Color in every row

2008-05-16 Thread volker
Hi, then you could have this managed by your action class creating a getter method for your counter. Maybe something like that: Action.class: public void initCounter() { this.counter=0; } public int getCounter() { return counter++; } Your JSP: Might work :) Volker

RE: [Struts 2] Switching Color in every row

2008-05-16 Thread volker
Hi, if you are using an s:iterator, you can do that like this:       ... Hope that helps  Volker Hi, Im looking for a nice and easy way to alter the color of every second textfield. We are yousing a custom theme to render the textfields including a tablerow. Is something

Re: [s2] Getting the current Action name in a JSP?

2008-05-12 Thread Volker Karlmeier
); ~break; ~} ~} ~return action; ~ } Regards ~Volker Allen, Daniel schrieb: | Oh, ok. I was just in the middle of poking around the debug info to see | why that wasn't working. | | Thanks, | ~DVA | | -Original Message- | From: Allen,

Re: How to pre-select a select list?

2008-05-10 Thread Volker Karlmeier
etter vor role (getRole()/setRole()) in your action class, struts will populate (and select the proper entry) for you. Volker hellriserchet schrieb: | Hi everybody, | | I have a form for updating the user information in my application. This form | is loaded when I click on an "update&

Re: 2

2008-05-06 Thread Volker Karlmeier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, i did it like that: in package_??.properties (?? for the locale) dateformat=dd.MM. in my jsp: Maybe it works for you ~ volker Ian Meikle schrieb: | Hi, | | In the doc for it says: "The value sent to the server | is a l

Re: Formatting a number: all I get is the key

2008-05-04 Thread Volker Karlmeier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, any exception occured ? Just for a try: put the package*.properties in the package where you have your action class. Volker Graham Leggett schrieb: | Hi all, | | After following the instructions at http://struts.apache.org/2.0.11.1/docs

Re: Retrieving action names configured in struts.xml

2008-05-02 Thread Volker Karlmeier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I thought about that but I'd have to parse multiple xml-files. Besides this, I'd have to change my code every time the format of struts.xml changes. I'd prefer getting the parsed actions from struts :) Volker Mead Lai schr

Re: once again: validate() not called

2008-04-30 Thread volker
Hello Laurie, thanks for your answer. I don't know if that will help me, but I'll try it out. Does it make sense to insert save in my struts.xml ? Will validate() then be called ? Volker Volker Karlmeier wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash:

once again: validate() not called

2008-04-29 Thread Volker Karlmeier
ed. This should work using execute() as well as any other method configured in struts.xml with the parameter method="". ~ save does not work. Any suggestions ? Thanks in advance ~ Volker -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFIF5lYaEMQ

Retrieving action names configured in struts.xml

2008-04-29 Thread Volker Karlmeier
String value= config.getClassName().substring(config.getClassName().lastIndexOf(".")+1); ~actions.add((String)value); ~} ~return actions; But this is not exactly what i want. What i need is the names of the actions. Any ideas ? thank

Re: [OT] Looking for a util to set parameters on an object

2008-04-23 Thread Volker Karlmeier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, ognl isn't that complicated as it seems. Look at http://www.ognl.org/2.6.9/Documentation/html/LanguageGuide/index.html If you don't like it, try using java.reflection-api ;) Greg Lindholm schrieb: > I have an object and a Map of parameter/va

Re: Validation on methods

2008-04-23 Thread Volker Karlmeier
t I do now), but that not the intention of the interfaces Validatable/ValidationAware. So I hope, anyone can give me a hint as I like to write clean, readable code and do not want to create "workarounds" all the time ;) Anyway, thanks for the effort. Volker * *Márcio Gurgel schrieb:

Validation on methods

2008-04-23 Thread volker
uot; is also executed as expected, but validate is never called. I thought, i could exclude methods from validation, but how do i include one ? this save does not work. thanks in advance Volker ---

ExecAndWait and Validation

2008-04-23 Thread volker
execAndWait gets active). Any suggestions how to solve this problem ? Is there a way to check if execandwait has run before validating ? regards Volker - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: Two problems: Struts2 + https + file load and Struts2 + file load + java.lang.IllegalStateException: getOutputStream()

2008-04-22 Thread Volker Karlmeier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Filippov, i think you'd better use the method public java.io.PrintWriter getWriter() throws IOException; than getOutputStream(). Regards Volker Filippov, Andrey schrieb: > Hello everybody! > > I am trying to load file

Re: Struts 2 & Dynamic Validation results

2008-04-21 Thread Volker Karlmeier
t;, params)); using the methods getText(String key, String[] params) from the class com.opensymphony.xwork2.TextProvider. (see http://struts.apache.org/2.0.6/struts2-core/apidocs/com/opensymphony/xwork2/TextProvider.html) Volker JRD schrieb: > I am try to migrate an app from struts 1

Re: Problem with internationalization in addActionError

2008-04-21 Thread Volker Karlmeier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, fine that its solved. I think this is one of the mistakes you only make once ;) stan77 schrieb: > Hi Volker, > > thanks for your replies, i solved my problem today. It was really a > stupid mistake: > > I had an other pack

Re: Problem with internationalization in addActionError

2008-04-21 Thread volker
using eclipse, try to find out if your java-classes are compiled. (Just delete the .class file and compile). Had that problem yesterday. (Just an idea ;) ) Hi Volker, my Action class implements ServletRequestAware. When I check the locale with request.getParameter("request_locale")

Re: Problem with internationalization in addActionError

2008-04-20 Thread Volker Karlmeier
have not extended RequestAware in your class. Volker stan77 schrieb: > Hello, > > I'm new to struts 2. > I have the following problem with internationalization in my Action classes. > > there are two properties files package.properties and package_en.properties > wi

Multiproject POM

2008-03-10 Thread Volker Karlmeier
endency to struts2-core (for example) has the version 1.0.0, maven searches for struts2-core-1.0.0, which of couse is not found. The polite guys from apache told me not to use as a parent and relegated me to that mailing list. So I hope now for a helpful answer. Thanks in advance Volker

Re: unit testing struts actions

2006-10-26 Thread Volker Krebs
Asthana, Rahul schrieb: We are thinking of designing a unit test plan for our struts based application. We have found in past that Junits for struts action are cumbersome to write and difficult to maintain.Any other suggestions? Winrunner? Try: http://strutstestcase.sourceforge.net/

Multiple struts-config files with wildcards

2006-07-19 Thread Volker Krebs
/WEB-INF/struts*, /WEB-INF/user/struts* Has anyone some hints ? I was thinking about extending org.apache.struts.action.ActionServlet and overwriting parseModuleConfigFile(Digester digester, String path) Thanks Volker ---

AW: Problem with logic:present TAG

2005-08-23 Thread Tiller, Volker
should it work with ... ...true-case ...false-case ? Volker > -Ursprüngliche Nachricht- > Von: Kade Jeevan Kumar [SMTP:[EMAIL PROTECTED] > Gesendet am: Dienstag, 23. August 2005 09:29 > An: user@struts.apache.org > Betreff: Problem with logic:present

AW: LookupDispatchAction-problem getting started

2005-08-22 Thread Tiller, Volker
Thank you, the spaces work. Volker > -Ursprüngliche Nachricht- > Von: Wendy Smoak [SMTP:[EMAIL PROTECTED] > Gesendet am: Montag, 22. August 2005 14:43 > An: Struts Users Mailing List > Betreff: Re: LookupDispatchAction-problem getting started > > From: &qu

LookupDispatchAction-problem getting started

2005-08-22 Thread Tiller, Volker
+++application.properties: button.add=add it all button.delete=delete it all +++struts-config ++ Thanks, Volker. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

LookupDispatchAction, trying Ted Husted Tip #3

2005-08-18 Thread Tiller, Volker
Trying the example in http://husted.com/struts/tips/index.html #3 Use LookupDispatchAction ... I use following Action, Form, JSP, application.properties and struts-config +++Action public final class MyAction extends LookupDispatchAction { private static Log log = LogFactory.getLog(MyActi