RE: Issue with struts tags

2017-04-13 Thread Paweł Wielgus
Just a wild guess, try to delete tomcat/work directory. If you use tomcat of course. 13.04.2017 17:49 "Sharmila Thota" napisał(a): > Please some one help with this issue. > > -Original Message- > From: sharmila thota [mailto:t.sharm...@gmail.com] > Sent:

Re: [ANN] [SECURITY] Struts Extras secure Multipart plugins GA

2017-03-20 Thread Paweł Wielgus
This is fantastic news! And also shows how serious and thoughtful your work is. -- Pozdrawiam, Paweł Wielgus. tel: +48 604 603 546 2017-03-20 14:38 GMT+01:00 Lukasz Lenart <lukaszlen...@apache.org>: > The Apache Struts group is pleased to announce that the Apache Struts > 2 Se

Re: OGNL expressions in headers and parameters

2017-03-13 Thread Paweł Wielgus
Hi Thomás, aren't you testing old voulnerable version? If so, try the new one. -- Pozdrawiam, Paweł Wielgus. tel: +48 604 603 546 2017-03-13 10:54 GMT+01:00 Tamás Barta <bartata...@gmail.com>: > Lukasz, I don't write it to blame you. I very appreciate your work. > > I just wri

Re: Struts 2.3.28 and Tiles issue

2017-03-11 Thread Paweł Wielgus
: http://stackoverflow.com/a/40407427/6801998 -- Pozdrawiam, Paweł Wielgus. tel: +48 604 603 546 2016-04-22 9:33 GMT+02:00 Christoph Nenning <christoph.nenn...@lex-com.net>: >> From: Paweł Wielgus <poulw...@gmail.com> >> To: Struts Users Mailing List <user@struts.apache.o

Re: Modernize the user interface

2016-08-17 Thread Paweł Wielgus
Hi, i'm not using Struts to generate front end at all, i'm using AngularJS + whatever client/ui designer will choose (bootstrap, foundation, material design light) as a separate front end app. -- Pozdrawiam, Paweł Wielgus. tel: +48 604 603 546 2016-08-17 9:27 GMT+02:00 Christoph Nenning

Re: Struts 2.3.28 and Tiles issue

2016-04-21 Thread Paweł Wielgus
tommorow and i will give update on this. -- Pozdrawiam, Paweł Wielgus. tel: +48 604 603 546 2016-04-21 8:33 GMT+02:00 Lukasz Lenart <lukaszlen...@apache.org>: > Did you change DTD in tiles.xml? It should be 2.1 as far I can recall. > > > Regards > -- > Łukasz

Struts 2.3.28 and Tiles issue

2016-04-20 Thread Paweł Wielgus
pache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:99) -- Best greetings, Paweł Wielgus. tel: +48 604 603 546 - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: Struts 2 support of Java 8

2014-12-14 Thread Paweł Wielgus
Hi Łukasz, registered as: https://issues.apache.org/jira/browse/WW-4431 if anything more is needed just let me know and i will add all necessary information. -- Pozdrawiam, Paweł Wielgus. tel: +48 604 603 546 2014-12-13 9:14 GMT+01:00 Lukasz Lenart lukaszlen...@apache.org: Please, can you

Re: Struts 2 support of Java 8

2014-12-14 Thread Paweł Wielgus
codebase. -- Pozdrawiam, Paweł Wielgus. tel: +48 604 603 546 2014-12-14 19:41 GMT+01:00 Lukasz Lenart lukaszlen...@apache.org: 2014-12-14 19:14 GMT+01:00 Paweł Wielgus poulw...@gmail.com: Hi Łukasz, registered as: https://issues.apache.org/jira/browse/WW-4431 if anything more is needed just let

Re: Struts 2 support of Java 8

2014-12-11 Thread Paweł Wielgus
much :-( -- Pozdrawiam, Paweł Wielgus. tel: +48 604 603 546 2014-12-11 20:29 GMT+01:00 Ken McWilliams ken.mcwilli...@gmail.com: @Paweł, I must admit I had a similar problem, but it was not one with struts2. When deploying with Glassfish you have to use the latest version 4.1 or lambda expressions

Re: Struts 2 support of Java 8

2014-12-10 Thread Paweł Wielgus
Maybe there is something like i have, some module is trying to locate classes that have lambdas in it and fails to do so. In my case i can't have lambdas in Action classes but everywhere else is ok. -- Pozdrawiam, Paweł Wielgus. tel: +48 604 603 546 2014-12-11 3:07 GMT+01:00 Greg Lindholm

Documentaion page

2014-10-24 Thread Paweł Wielgus
would help others. I can create such text and changes for this section but i don't know what to do next. -- Pozdrawiam, Paweł Wielgus. tel: +48 604 603 546 - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org

setting post method automathicaly in s:form with s:file

2014-07-29 Thread Paweł Wielgus
such solution? Best greetings, Paweł Wielgus. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Struts2 configuration (struts.xml) and Convention Plugin not compatible with Java 8?

2014-06-18 Thread Paweł Wielgus
to have lambdas in action methods. Struts version is 2.3.16.3 Java version is 1.8.0_05 Best greetings, Paweł Wielgus. [1] - for action defined in struts.xml SEVERE: Unable to read class [com.ppp.elsevier.struts.action.JournalCoverAction] java.lang.ArrayIndexOutOfBoundsException: 51966

Re: Struts2 configuration (struts.xml) and Convention Plugin not compatible with Java 8?

2014-06-18 Thread Paweł Wielgus
would be abble to load such action classes but would not be fully compatible with JDK8. But maybe this is all or nothing case? Best greetings, Paweł Wielgus. 2014-06-18 10:08 GMT+02:00 Lukasz Lenart lukaszlen...@apache.org: S2 isn't JDK8 compatible, it will be case for S2.5 2014-06-18 10:04 GMT

Re: Struts2 configuration (struts.xml) and Convention Plugin not compatible with Java 8?

2014-06-18 Thread Paweł Wielgus
would be happy if S2.3.x would be abble to load such action classes but would not be fully compatible with JDK8. But maybe this is all or nothing case? Best greetings, Paweł Wielgus. 2014-06-18 10:08 GMT+02:00 Lukasz Lenart lukaszlen...@apache.org: S2 isn't JDK8 compatible, it will be case

Re: [OT] Setting up mail server on Linux?

2014-01-07 Thread Paweł Wielgus
. Best greetings, Paweł Wielgus. 2014/1/7 Dave Evans dsevan...@gmail.com: This should help: http://www.postfix.org/STANDARD_CONFIGURATION_README.html#null_client On Tue, Jan 7, 2014 at 2:45 PM, Paul Benedict pbened...@apache.org wrote: Anyone experienced with installing/configuring mail

Re: Url rewriting of .action to .jsp

2013-09-23 Thread Paweł Wielgus
maybe letting call only input (or similar) method by default would not cause to much of a security problem? I'm not saying that i will drop S2 if DMI will be disabled, but sure it will make me rewrite all my edit actions. Best greetings, Paweł Wielgus. 2013/9/23 Volker Krebs volker.kr

Re: Url rewriting of .action to .jsp

2013-09-23 Thread Paweł Wielgus
Hi Lukasz, i see no problem for me in solution described by You. Off course i'm no security expert here. Best greetings, Paweł Wielgus. 2013/9/23 Lukasz Lenart lukaszlen...@apache.org: 2013/9/23 Paweł Wielgus poulw...@gmail.com: Hi all, I'm using DMI to call input method extensively, almost

Re: Url rewriting of .action to .jsp

2013-09-23 Thread Paweł Wielgus
of framework. Best greetings, Paweł Wielgus. 2013/9/24 Paweł Wielgus poulw...@gmail.com: Hi Lukasz, i see no problem for me in solution described by You. Off course i'm no security expert here. Best greetings, Paweł Wielgus. 2013/9/23 Lukasz Lenart lukaszlen...@apache.org: 2013/9/23 Paweł

Re: Action mapping - match on anything

2012-03-23 Thread Paweł Wielgus
Hi Eric, maybe this will help: default-action-ref name=cover/default-action-ref Best regards, Paweł Wielgus. 2012/3/23 Eric Lentz ericle...@outfastsource.com: Anyone know of a way, in Struts 2, to assign an action that matches on anything in the URL, including slashes? This would

Re: Struts File Upload Issue

2011-05-26 Thread Paweł Wielgus
Hi, maybe validation is not permitting action to be called in this situations? Best gretings, Paweł Wielgus. 2011/5/26 vijayaraja...@cognizant.com: Hi, I have a query regarding file upload functionality in Struts. I am having a screen from where I can upload multiple files. When files

Re: javascript array to Struts 2 action

2011-05-10 Thread Paweł Wielgus
Hi, try with String[] field in your action, or create a custom field setter that will take String[] as a parameter. I also assume that on your page You are submiting it as an array? Best greetings, Paweł Wielgus. 2011/5/10 srsankar sriram.it...@gmail.com: i am having a array of strings

Re: streaming plain text, json, xml back to the user, IllegalStateException

2011-04-27 Thread Paweł Wielgus
() {...} in your action there is no need to specify it in params section in @Result annotation. Best greetings, Paweł Wielgus. 2011/4/27 Jake Vang vangj...@googlemail.com: Pawel, you know of anything like this but for the convention plugin? I don't use XML anymore. In fact, I've gotten away a lot

Re: streaming plain text, json, xml back to the user, IllegalStateException

2011-04-26 Thread Paweł Wielgus
Hi Jake, maybe this aproach would help You: http://struts.apache.org/2.2.1.1/docs/stream-result.html Best greetings, Paweł Wielgus. 2011/4/24 Jake Vang vangj...@googlemail.com: Dave, is there anyway to set it up so that the session can be created and not destroyed when i return null? i am

Re: Result template relative path

2011-04-14 Thread Paweł Wielgus
Hi Ilya, maybe this will help: constant name=struts.convention.result.path value=/WEB-INF/pages// Best greetings, Paweł Wielgus. 2011/4/11 Ilya Kazakevich ilya.kazakev...@jetbrains.com: Hello, I store all my jspx templates in /WEB-INF/templates/package/ I am tired of copy/paste like

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 em...@encs.concordia.ca: A question about struts2 + PDF. Struts2 + itext5.x. In action class

Re: Validate filed if filled

2011-03-14 Thread Paweł Wielgus
Hi Mohamed, i would do it in actions validate method, not in xml. But that's just my oppinion. Best greetings, Paweł Wielgus. 2011/3/14 Mohamed SIDI mhm.s...@gmail.com: Hi all, In my Web User Interface, I have a field witch is not a mandatory filed, for this filed I want to define

Re: File Upload Issue

2011-02-25 Thread Paweł Wielgus
file? Also, looking at the log it looks like your application has nothing to do with it. Best greetings, Paweł Wielgus. 2011/2/25 vikram.g.by...@accenture.com: All,                I am getting the following error while uploading a file.  Am using Struts 1.3.8 and Weblogic server 9.2 MP3

Re: runtime reloading of struts config files

2011-02-24 Thread Paweł Wielgus
Hi Paul, maybe this will help: http://struts.apache.org/2.2.1.1/docs/reloading-configuration.html Best greetings, Paweł Wielgus. 2011/2/24 Paul Russell paul.russ...@javelingroup.com: Hi List, I was curious if there was a way to reload the struts config files at runtime without taking down

Re: requests die with a stack overflow

2011-02-21 Thread Paweł Wielgus
for future investigation (simple sysouts will do). As for Ajax there is no problem with it in Struts1. Best greetings, Paweł Wielgus. 2011/2/17 Denis Laroche dlaroc...@gmail.com: I know, but what baffles me is why it starts behaving this way out of nowhere. The application can run fine

Re: Interceptor or preparable/ModelDriven or ActionChain ?

2011-02-14 Thread Paweł Wielgus
Hi Barry, maybe custom converter will suits your needs? http://struts.apache.org/2.2.1.1/docs/type-conversion.html Best greetings, Paweł Wielgus. 2011/2/14 Barry L. Kline blkl...@attglobal.net: I have an application used to track response times.  Essentially, an event occurs and a database

Re: [S1] Disabled Input Box

2011-01-25 Thread Paweł Wielgus
Hi all, or read-only. Best greetings, Paweł Wielgus. 2011/1/21 Romman, Greg greg_rom...@adp.com: On Fri, Jan 21, 2011 at 3:53 PM, Anjib Mulepati wrote: So what can be the options for me? Can you make it hidden instead of disabling it? Regards, Greg

Re: Struts mapping failing when using struts2-convention-plugin

2011-01-24 Thread Paweł Wielgus
Hi Scott, i use them side by side, normal action by conention and freaks in xml. Best greetings, Paweł Wielgus. 2011/1/23 stanlick stanl...@gmail.com: Do you guys know if using the convention plugin is mutually exclusive of having an action mapping xml file?  IOW, is the convention plugin

Re: ModelDriven - Best Practices

2011-01-24 Thread Paweł Wielgus
Hi Chris, are You using paramPrepareParams stack? It should work with it like You expect it to. Best greetings, Paweł Wielgus. 2011/1/24 CRANFORD, CHRIS chris.cranf...@setech.com: I recently implemented an action using the ModelDriven interface.  Since my Domain Object doesn't contain

Re: How do a create an Object of standalone java class in my JSP page.

2010-12-23 Thread Paweł Wielgus
Hi Armit, put this logic into getStreamNames() method located in your Action that leads to your jsp. Best greetings, Paweł Wielgus. 2010/12/23 Amit Oberoi aobe...@techmahindra.com: Greeting All, I am new to Struts and developing my first web application. I have stuck into a decisive loop

Re: Parameter manipulation

2010-12-21 Thread Paweł Wielgus
it is loading this object in execute method. Best greetings, Paweł Wielgus. 2010/12/18 Marcus Bond mar...@marcusbond.me.uk: David, didn't your original post say that this is an action that loads an object to display it rather than to modify it? In which case I'm not sure why you even need to use

Re: File Download with multiple files. Design question

2010-11-21 Thread Paweł Wielgus
create some kind of sophisticated MySpecialBufferedStream that will do exactly what You want. In short this stream would need to have access to single files but creates zip stream on-the-fly. Google creating zip stream on the fly - there are some nice results. Best greetings, Paweł Wielgus

Re: File Download with multiple files. Design question

2010-11-20 Thread Paweł Wielgus
Hi All, read about streamResult (I assume You use struts2), and also there is no need for next action in chain, user can simply check as many files as he wants and click download what will call downloadAction that will simply return zip file for download, after downoading user is still at the same

Re: Clear up concept of validation() call

2010-11-18 Thread Paweł Wielgus
Hi Anjib, have You set validate=true in struts-config.xml for this action like below? action path=/path/to/action type=com.UploadAction name=myTestForm input=tile.definition validate=true Best greetings, Paweł Wielgus. 2010/11/18 Anjib Mulepati anji...@hotmail.com: Hi everyone I got

Re: Another stupid question re: Interceptors

2010-11-17 Thread Paweł Wielgus
Hi all, then You have to state it: (pseudo code!) @Result(name='input', value='identify-success.jsp') in VerifyAction. But when it comes to action and result configuration best thing to do is: http://poulwiel.blogspot.com/2009/09/config-browser-plugin-in-struts2.html Best greetings, Paweł

Re: Struts2 - implementing SSL

2010-11-10 Thread Paweł Wielgus
Hi Miguel, do You have or know of any real life benchmarks that shows that tomcat ssl is slower than apache mod_ssl? Best greetings, Paweł Wielgus. 2010/11/9 Miguel miguel...@gmail.com: Hello, I haven't used that plugin, but I recomend you to use the SSL provided by tomcat or your web

Re: Back button after log out should not show secure content.

2010-11-09 Thread Paweł Wielgus
Hi all, You can read some old tests about this problem here: http://poulwiel.blogspot.com/2009/01/browser-back-button-and-caching-problem.html maybe they will help You. Best greetings, Paweł Wielgus. 2010/11/9 Maurizio Cucchiara maurizio.cucchi...@gmail.com: Probably I'm wrong, but don't you

Re: Best Practices for handling of XSS attacks

2010-10-05 Thread Paweł Wielgus
Hi Pars, because it should return an array. In HTTP reguest parameter with the same name can be entered many times, and that's why it's represented as an array. Best greetings, Paweł Wielgus. 2010/10/5 Pars Man parsmani...@yahoo.de: I am currently not using any ajax stuff and i belive using

Re: URLRewrite, maybe?

2010-09-20 Thread Paweł Wielgus
: http://struts.apache.org/2.2.1/docs/wildcard-mappings.html Best greetings, Paweł Wielgus. 2010/9/17 Matt Meola matt.me...@gmail.com: I have used URLRewrite with struts2, and it works quite well. On Fri, 2010-09-17 at 12:24 -0400, Greg Akins wrote: I'm having a bit of a mental block

Re: How to download a file without creating it on a server

2010-09-16 Thread Paweł Wielgus
Hi all, try this for example: public InputStream getInputStream() throws ParseException, UnsupportedEncodingException { StringBuffer sb = new StringBuffer(blablabla) return new ByteArrayInputStream(sb.toString().getBytes(windows-1250)); } Best greetings, Paweł

Re: How to download a file without creating it on a server

2010-09-16 Thread Paweł Wielgus
to be manipulated (concatenated, changed, etc.) the temporary file is needed if You don't want to put all data into memory. Of course You can create Your own stream that will put only small chunks of data into memory, but that's not trivial to do. Hope that helps, Paweł Wielgus. 2010/9/16 lunch...@yahoo.co.jp

Re: Struts 2, Session Management and WorkFlow.

2010-09-16 Thread Paweł Wielgus
for example). If the wizzard is completed then he can't enter wizzard url's. As for how do You keep session data seperate for the two tabs? Well the best solution i know is You don't, when You use any http framework, but it's just my personal opinion. Best greetings, Paweł Wielgus. 2010/9/16

Re: Struts 2, Session Management and WorkFlow.

2010-09-16 Thread Paweł Wielgus
in them simultaneously. Imagine a list of objects with edit links, user opens these edit links in new tabs, and wants to edit and save one by one - why would You dissallow it? In the end HTTP is stateless. Best greetings, Paweł Wielgus

Re: Struts 2, Session Management and WorkFlow.

2010-09-16 Thread Paweł Wielgus
framework, there is also a thread (month or years ago) on this group where people where talking about adding such functionality to struts2. Best greetings, Paweł Wielgus. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org

Re: Struts 2, Session Management and WorkFlow.

2010-09-16 Thread Paweł Wielgus
to perform an update of edited object. Best greetings, Paweł Wielgus. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: Managing code between Action Class and JSP.

2010-09-10 Thread Paweł Wielgus
Hi all, the question is if You want to show thousands of records on one page to the user, if yes, thent You need to put them into request or into form, if no then in action put as much as You need into request or form. Best greetings, Paweł Wielgus. 2010/9/10 Anjib Mulepati anji

Re: form question

2010-09-08 Thread Paweł Wielgus
Hi Daniel, yes You can, link that will enter the page is: /myaction!input so input method will be called and saving data is: /myaction that way validation errors will only show up when standard /myaction is called. Best greetings, Paweł Wielgus. 2010/9/8 Daniel Rindt dri...@visetics.com: Hello

Re: Avoid Phishing in Struts Applications plugin

2010-09-07 Thread Paweł Wielgus
will do man in the middle no defense can be applied at all. Best greetings, Paweł Wielgus. 2010/9/6 Oscar oscar.kalde...@gmail.com: Ok, i got it. Thanks so much for the info. 2010/9/6 Dale Newfield d...@newfield.org Examples of why SiteKey really isn't sufficient: http://antivirus.about.com/b

Re: Problem with struts.serve.static.browserCache

2010-09-07 Thread Paweł Wielgus
Hi Oscar, You can find some info about this subject here: http://poulwiel.blogspot.com/2009/01/browser-back-button-and-caching-problem.html Best greetings, Paweł Wielgus. 2010/9/7 Oscar oscar.kalde...@gmail.com: Hi to all, i have a little requirement in my application. Clients need that, after

Re: Problem with struts.serve.static.browserCache

2010-09-07 Thread Paweł Wielgus
browsers, please let us know about it. Best greetings, Paweł Wielgus. 2010/9/7 Oscar oscar.kalde...@gmail.com: Thanks Pawel, i tried those things (except add metatags to my jsps) but it doesn't work for me, maybe i'm doing something wrong and that's why don't work. Anyway, i want to download

Re: redirect with parameter in struts

2010-08-24 Thread Paweł Wielgus
Hi, one possible way is: return new ActionForward(/orderWrapper.do?actionTarget=VIEW_CUSTOMER, true); inside a execute action method. Best greetings, Paweł Wielgus. 2010/8/24 Struts User smtesting...@gmail.com: Hi, Is it possible in struts1 to include a parameter in the action redirection

Re: ActionServlet fails to intialize

2010-08-24 Thread Paweł Wielgus
Hi Fernando, what i would do is to check all tomcat logs, maybe there You can find more info about the real problem source. Best greetings, Paweł Wielgus. 2010/8/24 Fernando fernando.isr...@kognoz.com: Hi All, I have been using Struts for a few years successfully but here I am founding

Re: URL authentication

2010-08-23 Thread Paweł Wielgus
. If there is a simpler way of acheving this some please advice, i've just implemented such a scenario for my customer and it would be very nice to make it simpler. Best greetings, Paweł Wielgus. 2010/8/10 Guy Thomas guy.tho...@vlaamsbrabant.be: I was thinking of using declarative security (in web.xml

Re: Display GregorianCalendar Objects

2010-07-27 Thread Paweł Wielgus
Hi all, i do it like that: in my POJO GregorianCalendar field, on my jsp text field + jquery calendar. If You want to create date in some kind of predefined format You can use Conventer for GregorianCalendar for your app. Best greetings, Paweł Wielgus. 2010/7/27 Reeshi Agrawal rushiagra

Re: ParentPackage annotation not applying to subpackages

2010-07-16 Thread Paweł Wielgus
Hi, all i can advice is to use default parent package. I described it here: http://poulwiel.blogspot.com/2009/01/intercepting-all-actions-inside-my-app.html Best greetings, Paweł Wielgus. 2010/7/14 JP Cafaro jcafar...@gmail.com: I'm using struts 2 with convention plugin.  The convention plugin

Re: Created a struts2 application but getting odd results

2010-07-14 Thread Paweł Wielgus
Hi John, i would say that there is some kind of cache problem, it looks like You are asking for a url and get an answear, then You ask again about exactly same url and get exactly same answear. Maybe some Websphere configuration issue? Best greetings, Paweł Wielgus. 2010/7/12 John L. Longo

Re: Help Struts2 + interceptor

2010-07-14 Thread Paweł Wielgus
Hi all, You can try this way: http://poulwiel.blogspot.com/2009/01/intercepting-all-actions-inside-my-app.html Best greetings, Paweł Wielgus. 2010/7/13 Fabio Alves de Araujo Ebner - DnaSolution fabio.eb...@dnasolution.com.br: The problem is: When he pass through interceptor and go to action

Re: Pre-selected s:checkbox problem.

2010-07-14 Thread Paweł Wielgus
Hi Sharath, do You have getSelected_rows() method in action? s:checkbox need to know what values are present somehow, and it asks the action for the field value that it generates. Best greetings, Paweł Wielgus. 2010/7/13 sharath karnati karna...@yahoo.com: I don't think I can use

Re: Session error while loading an object

2010-07-14 Thread Paweł Wielgus
Hi all, You get this error every time when tomcat tries to save someone's session and object of class com.cart.Customer is in it. Like Robert said, add Serializable to com.cart.Customer and the problem will go away. Best greetings, Paweł Wielgus. 2010/7/13 abhishek jain abhishek.netj

Re: Convention plugin question

2010-07-11 Thread Paweł Wielgus
Hi, if i get You right search for disabling direct jsp access on this group. Best greetings, Paweł Wielgus. 2010/7/11 JP Cafaro jcafar...@gmail.com: I'm using struts2 with the convention plugin.  I'm really new to all of it and haven't really used Struts 2 WITHOUT the plugin before.  Seeing

Re: Emailing the contents of a Struts2 view?

2010-07-08 Thread Paweł Wielgus
, Paweł Wielgus. 2010/7/8 ch...@chrismiles.org: Yeah. Thank you both for your responses. I think I will need to justify the benefits of the extra cost for a fancy HTML invoice compared to a plain text version. Thanks again folks. I will investigate :) Chris Yes, tricky indeed, but currently

Re: Iterate the list of Formbean into jsp file

2010-07-07 Thread Paweł Wielgus
Hi, it's possible, use logic:iterate, also You can read about optionsCollection tag, then there is no need for iterating. Best greetings, Paweł Wielgus. 2010/7/7 rspsaran rsp.sa...@gmail.com: is it possible to creat arraylist with values in formbean and iterate that into jsp file using

Re: Mapping a dynamic html form with ActionForm

2010-07-03 Thread Paweł Wielgus
Hi, no, i was thinking about plain text field with only answer text as its value. But if You want to make xml from some things on your page than You probably need to use javascript. Best greetings, Paweł Wielgus. 2010/7/2 Jawahar Nayak j...@chambal.com: is this response text the xml what I

Re: Mapping a dynamic html form with ActionForm

2010-07-02 Thread Paweł Wielgus
select it as a response or if not use a response text from form. Best greetings, Paweł Wielgus. 2010/7/1 Jawahar Nayak j...@chambal.com: One Solution what I am thinking... I don't know is it possible or not - Creating a simple html form - On submitting, I will make a xml of user response i.e

Re: Error Message on the page source

2010-06-30 Thread Paweł Wielgus
Hi, did your app start without any problems? It looks like there is something wrong on startup. Best greetings, Paweł Wielgus. 2010/6/28 Nadipally, Srikar srikar.nadipa...@hp.com: Hi, I am a struts 2 beginner, I have written a basic login struts application and when I inspect the page

Re: Passing Value through Radio Buttons in struts

2010-06-30 Thread Paweł Wielgus
Hi, You can check if this parameter is present in request inside your action, by implementing RequestAware, but that just should work. Best greetings, Paweł Wielgus. 2010/6/29 akshay.ramani akshay.ram...@yahoo.com: Hi, I have a bit of a problem and would appreciate some help! I am creating

Re: How to render HTML in Form Tag Label?

2010-06-26 Thread Paweł Wielgus
Hi David, try: s:checkbox name=... value=... I agree to a href=...terms of service/ a /s:checkbox I don't remeber if it will work in struts2 but if not You can always use theme=simple and no label at all in s:checkbox and add text after checkbox in any form You like. Best greetings, Paweł

Re: Page composition strategy

2010-06-26 Thread Paweł Wielgus
to sitemesh. Actual situation for me is i know tiles and i stick to it. Best greetings, Paweł Wielgus. 2010/6/24 Dale Newfield d...@newfield.org: On 6/24/10 5:33 PM, Brian Thompson wrote: Out of curiosity, has anyone on the list actually used both Tiles and Sitemesh?  I'd really like to read

Re: struts 1.x webservice question

2010-06-17 Thread Paweł Wielgus
when i was first configuring it, now it's probably obsolete. Best greetings, Paweł Wielgus. 2010/6/16 john lee sh_thorn_b...@yahoo.com: how can i implement webservice inside the struts 1.x application? if i need to implement webservice server, which library need to download or use? if i

Re: Factoring out URL and link generation

2010-06-16 Thread Paweł Wielgus
and cons of such a process. As for compatibility, most likely some things will stop working or will work differently. Best greetings, Paweł Wielgus. 2010/6/16 Amol Ghotankar ghotankaru...@gmail.com: Dear user list, How difficult and risky it is to shift my project from struts 2.0.x to 2.1.8.x

Re: Convention plugin and struts.xml

2010-06-13 Thread Paweł Wielgus
Hi David, if You want to change the interceptor stack read this: http://poulwiel.blogspot.com/2009/01/intercepting-all-actions-inside-my-app.html Best greetings, Paweł Wielgus 2010/6/13 Altenhof, David Aron dalte...@iupui.edu: Hi all,     I've been trying to find the answer to what I

Re: same bean multiple fields

2010-06-08 Thread Paweł Wielgus
Hi Upasana, if You are using struts1 You may look here: http://struts.apache.org/1.x/struts-taglib/indexedprops.html Best greetings, Paweł Wielgus. 2010/6/8 Upasana Sharma sharma...@gmail.com: I have a form which needs to submit multiple values(user name , last used etc) of the same type

Re: Struts2 empty action extension help request

2010-06-03 Thread Paweł Wielgus
directory, don't forget to not to use realative address for your image file - do it like this img src=/images/logo.gif / Still, if You want to use one action in struts, it's pointles to use struts - but that's just my point of view. Best greetings, Paweł Wielgus 2010/6/3 Phil Davis texasp...@gmail.com

Re: Encrypting parameters

2010-06-03 Thread Paweł Wielgus
will use such a practise You will find that You don't need to care about hiding parameters, because it is not important at all. Best greetings, Paweł Wielgus. 2010/6/3 Stephane Cosmeur cosm...@gmail.com: Thank you for your answers. they are useful but not quite appropriate with my problem. I dont

Re: Struts 2.1.6, Convention Plugin

2010-06-03 Thread Paweł Wielgus
Hi Roger, use default-action-ref name=UnderConstruction and in UnderConstruction action You will catch all such requests. More info here: http://struts.apache.org/2.1.8.1/docs/action-configuration.html Best greetings, Paweł Wielgus. 2010/6/3 RogerV roger.var...@googlemail.com: How do/can I

Re: Encrypting parameters

2010-06-03 Thread Paweł Wielgus
not the mistake that only beginners does, everybody does it. And the way to minimize it, can be code reviews or pair programming. Best greetings, Paweł Wielgus. 2010/6/3 Stephane Cosmeur cosm...@gmail.com: Ok thank you, i understood. I understood as well all my conception is totally unsecured

Re: Struts2 empty action extension help request

2010-06-01 Thread Paweł Wielgus
. If You want to have access to action name in action which is kind of pointless normally because You are in this action, then add RequestAware or get ActionInvocation object where this info is accessible. Best greetings, Paweł Wielgus. 2010/5/31 Phil Davis texasp...@gmail.com: Correction, when

Re: Struts Form generation problem

2010-05-30 Thread Paweł Wielgus
Hi Chris, i don't know about any param or switch to turn 3 columns mode, but You can write your own template for it and make as many columns as You like and put inside cell or row anything You like. Best greetings, Paweł Wielgus. 2010/5/29 Chris Miles ch...@chrismiles.org: Hi folks. I am

Re: action chain tag

2010-05-29 Thread Paweł Wielgus
Hi All, it might be caused by failing validation. Best greetings, Paweł Wielgus. 2010/5/27 Rupali Gupta r.gup...@mpstechnologies.com: When an http://struts.apache.org/2.0.11.1/docs/action.htmlaction class method completes, it returns a String. The value of the String is used to select

Re: ognl: calling action method inside iterator tag

2010-05-25 Thread Paweł Wielgus
Hi, yes it is possible, struts will look for such a method up the way on stack, so simply s:property value=getMyMethod / should work. Best greetings, Paweł Wielgus. 2010/5/22 Grant Lewis ukchuckt...@gmail.com: Wondering if it's possible (struts 2.1.8.1)? From my testing it doesn't appear

Re: XML file reloading in JSP (Caching issue)

2010-05-25 Thread Paweł Wielgus
Hi, You can try things described here: http://poulwiel.blogspot.com/2009/01/browser-back-button-and-caching-problem.html i don't know if that's still acurate but maybe it will help. Best greetings, Paweł Wielgus. 2010/5/24 XML User patelsame...@yahoo.com: I just did. No luck. :-( Thanks

Re: ClassNotFoundException

2010-05-25 Thread Paweł Wielgus
Hi Yusuf, and your classes should be in webapp/WEB-INF/classes/ Best greetings, Paweł Wielgus. 2010/5/19 Tasneem Yusuf tasneem_...@yahoo.co.in: Hello all,             I am using version struts1.3 , tomcat 6 and jdk 1.5.I am using the eclipse IDE to develop my web app.The problem I 'm facing

Re: Linking page

2010-05-24 Thread Paweł Wielgus
Hi All, i prefer it with !input added to action name, it will call input method on action which is kind of what You really want, that way submitting form will simply call execute method. But generally it's just the question of taste. Best greetings, Paweł Wielgus. 2010/5/21 Stephen Turner stur

Re: Interceptor stack

2010-05-19 Thread Paweł Wielgus
Hi, try to follow this example: http://poulwiel.blogspot.com/2009/09/config-browser-plugin-in-struts2.html Best greetings, Paweł Wielgus. 2010/5/18 RogerV roger.var...@googlemail.com: Ok - I'm having a bad start to the day and this is driving me nuts. I'm using the Convention plugin

Re: More action in one view

2010-05-17 Thread Paweł Wielgus
#session.loggedDipendiente.firstName.nome will work too, you have to try it. Best greetings, Paweł Wielgus. 2010/5/14 Fabio Perfetti perfabi...@gmail.com: Hi all, i am a newbie of struts. Before to start i want to say sorry for my bad english. I looked for any forum/blogs in my language (italian) :( I am developing

Re: Base Path for Page Resources Incorrect

2010-05-16 Thread Paweł Wielgus
Hi Dane, are You calling resources with absolute path? img src=/absolute/path/to/image.jpg / or relative? img src=relative/path/to/image.jpg / If relative then it is working like You described, if absolute then post your code. Best greetings, Paweł Wielgus 2010/5/14 Dane da...@mate1inc.com

Re: how to set default focus field in s:form ?

2010-05-10 Thread Paweł Wielgus
Hi Lu, does this help http://struts.apache.org/2.1.8.1/docs/form.html ? Search for focusElement in this text. Best greetings, Paweł Wielgus. 2010/5/10 Emi Lu em...@encs.concordia.ca: Good afternoon, Struts1, I use html:form focus=field_name to focus a default field. For *struts2.1.8.1

Re: Generic search pop up

2010-05-06 Thread Paweł Wielgus
Hi Stephane, personally i would do it with div managed by jquery, this div can be result of search action displayed by one or many jsp's. So it would like this: user clicks somewhere on the page to search, div shows up with empty result and search text field, user writes some text in search text

Re: Login redirection

2010-04-29 Thread Paweł Wielgus
is authenticated by this central security application and a secure way of sending users to this central app - in other words You should not reinvent the weel. Best greetings, Paweł Wielgus. 2010/4/27 Mark Hansen m...@proxisoft.com: I am working on a Struts 1.x application that has a number of login

Re: Login redirection

2010-04-29 Thread Paweł Wielgus
. I hope that's more clear. Best greetings, Paweł Wielgus. 2010/4/29 Mark Hansen m...@proxisoft.com: Thanks Pawel. What I don't understand is how, after my user is authenticated by the central security application (say that happens on page C), I can get him back to my struts application

Re: packaging Struts 2 application and third party jars

2010-04-19 Thread Paweł Wielgus
Hi all, also there is a problem when You are migrating some of your apps from one tomcat to another, You have to assure that these libraries are there too, which can be not so easy if You don't own new tomcat. Best greetings, Paweł Wielgus. 2010/4/18 Cimballi cimballi.cimba...@gmail.com: Hi

Re: Populate: Implement preparable or richer getter approach

2010-03-30 Thread Paweł Wielgus
Hi Alex, if i would take your code and try to change something, i would lose some time to find where this damn select options come from, of course getter would be the last place to check. That's the only real con that i can think of. Best greetings, Paweł Wielgus. 2010/3/30 Alex Rodriguez Lopez

Re: [Struts 2.1.8.1] Internationalization: how to remain in the current page ?

2010-03-21 Thread Paweł Wielgus
Hi, i don't remeber that for sure, but try s:url without action and namespace, i think it might be what You are looking for. Best greetings, Pawel Wielgus. 2010/3/19, Ulf Liedén ulf.lie...@gmail.com: Hi Celinio, personally, I would build a method that gives back the URL of the page you are

Re: page redirecting problem

2010-03-13 Thread Paweł Wielgus
Hi Tesla, validation problem? BookAdd.jsp is defined as input for bookAdd action. Best greetings, Pawel Wielgus. 2010/3/13, tesla fatihdu...@hotmail.com: Hi I have a basic struts project i can't redirect my jsp page to another.But i did the similar example before that it was working but

  1   2   3   4   >