Struts validator nested vector validation

2009-01-27 Thread Eugene Ezekiel
Hi All, I was reading the Struts validator API and i tried all kinds of forums and googling for days to no avail. How do I use the validator for nested vector validation. Here's my attempt but it doesn't seem to work. property="strDelvDate" depends="beforeSysDate" > Basically I'm trying t

RE: how to redirect error page to struts action

2009-01-27 Thread Seshagiri V
Hi , I am sending the sample example then get solution. Please try follows a snippet of code in the struts.xml file: /p/w/add_pop.jsp xyz.action /namespace

Re: how to redirect error page to struts action

2009-01-27 Thread ManiKanta G
> > to which filter mapping? FilterDispatcher's mapping? > And could give sample snippet of web.xml using .action for http 404 error? > Well I got it... yes, for FilterDispatcher's mapping only the dispatcher config should be there. Reason: If no types are specified, the default option is RE

Re: Spring Security method security with struts2 make all request params in action NULL

2009-01-27 Thread dubrovsky
dusty wrote: > > What is your filter order in web.xml. Can you show your web.xml config? > Yes, of course. I think my web.xml is all right. Here it is: Infm Client contextConfigLocation /WEB-INF/applicationContext-beans.xml /WEB-INF/applicationContext-security.xml sp

Re: Template tags in Struts 2

2009-01-27 Thread Dave Newton
Shawn Bush wrote: I seem to be always coming at this the wrong way no matter what section of the documentation I look at, so I'll start by saying straight out: I'm trying to discover how to implement template pages in Struts 2. For example, I want to be able to use a template page that defines

Re: how to redirect error page to struts action

2009-01-27 Thread ManiKanta G
> If you're using Struts 2, have you tried adding > > ERROR > > to the filter mapping? > to which filter mapping? FilterDispatcher's mapping? And could give sample snippet of web.xml using .action for http 404 error? ManiKanta

Template tags in Struts 2

2009-01-27 Thread Shawn Bush
I seem to be always coming at this the wrong way no matter what section of the documentation I look at, so I'll start by saying straight out: I'm trying to discover how to implement template pages in Struts 2. For example, I want to be able to use a template page that defines the standard layou

Re: My code working fine on Firefox.But it is not working on IE-7.

2009-01-27 Thread dusty
Dude. I read somewhere that IE sucks at handling URL encoding that uses "+". You may need to google that or experiment with %20 instead. %20 is space right? Seshagiri V wrote: > > FIY…….. > > > > > > > > In Firefox, selecting text(as # only If click on "Delete" link >

Re: Spring Security method security with struts2 make all request params in action NULL

2009-01-27 Thread dusty
What is your filter order in web.xml. Can you show your web.xml config? dubrovsky wrote: > > I posted reply for this problem in Spring community forum. Who is > interested in, please follow the link - > http://forum.springsource.org/showthread.php?t=66381 > http://forum.springsource.org/show

Re: How to convert struts's url to javascript of jQuery.(such as onClick etc events)

2009-01-27 Thread dusty
Are those nested s:url tags? impressive. $(document).ready(function(){ $("#reallyLongLink").click(function(){ //and to integrate with Struts2 alert(''); }); }); newton.dave wrote: > > Seshagiri V wrote: >> Sorry, >> Required :- >> Some example of c

Re: S2: Custom StrutsTypeConverter

2009-01-27 Thread dusty
Well, I have been using the underlying DefaultTypeConverter for a while across various versions without any problems. The StrutsTypeConverter is really just a convienence class to abstract you from the XWork converter, but there is no reason why you can't just use the XWork converter. Here are 2

Re: Is Spring worth it?

2009-01-27 Thread Frank W. Zammetti
I think one of the benefits of Spring is that, theoretically at least, it allows for a somewhat more vendor-neutral approach to development. For example... where I work, we're a Websphere shop. For better or worse, period, that's it, end of story. As a result I've seen many developers doing

Re: Converting HTML content to PDF

2009-01-27 Thread Wes Wannemacher
On Tuesday 27 January 2009 23:21:32 ManiKanta G wrote: > > i am trying to load page from url and write in to the pdf. > > can please reviw my code and send the solution. > > if u want any more information send me mail. > > This is a bit interesting situation... I m eager to listen... feel free to >

Re: Converting HTML content to PDF

2009-01-27 Thread ManiKanta G
> > i am trying to load page from url and write in to the pdf. > can please reviw my code and send the solution. > if u want any more information send me mail. > This is a bit interesting situation... I m eager to listen... feel free to share that will us too... though it is off topic I dont mind.

Re: Is Spring worth it?

2009-01-27 Thread dusty
You should look at Spring annotations. So awesome. And Spring Security!?! forget about it. If you don't drink the Injection/TDD koolaid then wiring up services with Spring may seem lame. I don't think the issue is how well Spring handles JDBC. We could talk about Hibernate, but I am assum

Re: Exception while upgrading from S 2.0.11 to 2.1.6

2009-01-27 Thread Dave Newton
dusty wrote: You are likely using a full interceptor stack that includes the FileUpload interceptor. You should be able to exclude that interceptor from your stack to remove that dependency. I don't think so; S2 will fail on startup if the default (or configured) file upload bean can't be ins

Re: JasperReports Plugin:How to specify JDBC connection?

2009-01-27 Thread Dave Newton
Mel Rosenberg wrote: I have been working on using Jasper with Struts2 2.0.11. Looking at the documentation it seems that the dataSource param is looking for a list. The question is what is in the list. Is it a list of connection parameters to the database, ie.. url, login name, password... or

RE: JasperReports Plugin:How to specify JDBC connection?

2009-01-27 Thread dusty
List = ResultSet from Oracle. If you can project your resultset into Objects then you can address properties in the jasper report by fieldName. To be perfectly honest it has been a while since I have worked with raw JDBC objects, so I cannot remember what object you create to execute SQL to retu

Re: Exception while upgrading from S 2.0.11 to 2.1.6

2009-01-27 Thread dusty
You are likely using a full interceptor stack that includes the FileUpload interceptor. You should be able to exclude that interceptor from your stack to remove that dependency. ManiKanta G-2 wrote: > >> >> http://struts.apache.org/2.x/docs/file-upload.html >> >> > Well I m not using any file

Re: Best global parameter aproach for struts2

2009-01-27 Thread dusty
That is too bad. Injecting a Resource in Spring is a snap and you can do cool things like load from the classpath when testing but then load from the file system during runtime. You can store your parameters in a properties file and then load that file into a Properties object. Bummer your int

Re: Exception while upgrading from S 2.0.11 to 2.1.6

2009-01-27 Thread ManiKanta G
> > http://struts.apache.org/2.x/docs/file-upload.html > > Well I m not using any file upload... it is simple HelloWorld application. ManiKanta

Re: Best global parameter aproach for struts2

2009-01-27 Thread Ignacio de Córdoba
Thanks for your reply, I have lots of code developed for struts1+tiles+EJB3 (Jboss). I am migrating struts-tiles to struts2 + tiles2. I have too much EJB3 code and I don't have a clear picture of where I can fit Spring there. I have so much time to invest just to move to struts2... and absolutely

Re: Best global parameter aproach for struts2

2009-01-27 Thread Wes Wannemacher
On Tuesday 27 January 2009 21:20:17 Ignacio de Córdoba wrote: > Hi there, > after starting some serious migration from struts to struts2 I am wondering > is there is any "best practices" for global application parameters. > I used to store this parameters in web.xml, but as struts2 finds important

Best global parameter aproach for struts2

2009-01-27 Thread Ignacio de Córdoba
Hi there, after starting some serious migration from struts to struts2 I am wondering is there is any "best practices" for global application parameters. I used to store this parameters in web.xml, but as struts2 finds important not to be tied to the "http" thing (I read it very often in docs... a

RE: JasperReports Plugin:How to specify JDBC connection?

2009-01-27 Thread Mel Rosenberg
I have been working on using Jasper with Struts2 2.0.11. Looking at the documentation it seems that the dataSource param is looking for a list. The question is what is in the list. Is it a list of connection parameters to the database, ie.. url, login name, password... or is it a list of result

Re : struts2: resource bundle messages

2009-01-27 Thread François Rouxel
if you are in a struts tag. title="%{getText('key')}" else you can use title="" - Message d'origine De : Tom Pop À : Struts Users Mailing List Envoyé le : Mardi, 27 Janvier 2009, 17h26mn 25

Re: struts2: resource bundle messages

2009-01-27 Thread Dave Newton
Tom Pop wrote: I can get localised messages in JSP like this: How to do the same and assign the text to variable like this: <% String text = getText("key"); %> So - how to get message from resource bundle in JSP java code? I can then put it for example to ALT attribute of image tag. ">

Re : struts2: resource bundle messages

2009-01-27 Thread François Rouxel
alt="%{getText('key')}" - Message d'origine De : Tom Pop À : Struts Users Mailing List Envoyé le : Mardi, 27 Janvier 2009, 17h26mn 25s Objet : struts2: resource bundle messages Hello, I can

Re: Is Spring worth it?

2009-01-27 Thread Ralf Fischer
In my opinion this depends on the preferences of the developer and how he likes to organize his code. I never used Spring much. In the past I could never get used to the XML configurations. I simply don't like it. I especially don't like it in EJB2. Up to now I never had time to check out t

struts2: resource bundle messages

2009-01-27 Thread Tom Pop
Hello, I can get localised messages in JSP like this: How to do the same and assign the text to variable like this: <% String text = getText("key"); %> So - how to get message from resource bundle in JSP java code? I can then put it for example to ALT attribute of image tag. Thanks. Tom

How to disable alt part from tooltip

2009-01-27 Thread Emi Lu
Good morning, I have a question about tooltip. Source code: When using Firefox or Konqueror open my page, I always see: alt="Enter the same username as you login Windows" May I know is there a way to disable "alt" part please? Thanks a lot! Ly -

Re: how to redirect error page to struts action

2009-01-27 Thread Dave Newton
Tom Pop wrote: Wow, it works! Thank you a lot - what does this setting mean? http://www.onjava.com/pub/a/onjava/2004/02/11/jspcookbook.html http://docs.sun.com/app/docs/doc/819-3669/6n5sg7b0b Dave - To unsubscribe, e-mail: u

Re: how to redirect error page to struts action

2009-01-27 Thread Tom Pop
Wow, it works! Thank you a lot - what does this setting mean? Tom > Původní zpráva > Od: Nils-Helge Garli Hegvik > Předmět: Re: how to redirect error page to struts action > Datum: 27.1.2009 22:18:52 > > If you're using Struts 2,

Re: how to redirect error page to struts action

2009-01-27 Thread Nils-Helge Garli Hegvik
If you're using Struts 2, have you tried adding ERROR to the filter mapping? Nils-H On Tue, Jan 27, 2009 at 10:14 PM, Tom Pop wrote: > Hello, > > I want to redirect 404 error page to struts action: > > This action works: > http://localhost/resolver.action > > This web.xml configuration doesn't

how to redirect error page to struts action

2009-01-27 Thread Tom Pop
Hello, I want to redirect 404 error page to struts action: This action works: http://localhost/resolver.action This web.xml configuration doesn't work: 404 /resolver.action Redirect to JSP page works: 404 /error.jsp However, it works in struts1, doesn't in s

Re: [S2] s:action in value stack?

2009-01-27 Thread Wolfgang Knauf
Hi Musachy, Musachy Barroso wrote: I think top doesn't need "#"(yeah I know I said "#top" ;) ). Either "top.id" or just "id" should get you the id. I uploaded a new sample to, with your change ("top" instead of "#top"). http://www.informatik.fh-wiesbaden.de/~knauf/private/struts2/Struts2Acti

Struts2 + Guice JNDI names as a parameter

2009-01-27 Thread Ignacio de Córdoba
Hi there, I am trying to use Guice to take care of the injection of Local Stateless Session Beans (I use Jboss 4). My problem is that all solutions I've found using guice involve hard coding the application ear name. (JBoss sets JNDI of EJBs depending on the ear file name). I've read Struts2 Guice

RE: Convention Plugin problem

2009-01-27 Thread Pennel,Paul T
Love the hack idea, well for a hack anyway. Unfortunately it didn't work, at least not by itself. However we did find an even bigger 2 part hack that does work. Apparently weblogic's classloader uses jar:file:/ for everything in the classpath and zip: for everything in WEB-INF/lib. Based on this w

Re: Is Spring worth it?

2009-01-27 Thread Guojun Zhu
Hi. I worked with a struts 1.2.x project and start to learn and use Spring in my project and I really like it. Here are a few examples, * Spring is quite module and non-intrusive. I put a listener in the web.xml and got the webAppliationContext in struts action and I can use it immediately. N

[S2] possible bug in 2.1.6 w/ action chaining

2009-01-27 Thread Becky . L . O'Sullivan
Hi group, We're trying to upgrade from 2.1.2 to 2.1.6 and ran into an issue. We use action chaining because it suits a particular requirement we had for this application. However, after upgrading, we're seeing that the value stack isn't holding on to values set by actions further up in the chain.

Re: global mappings with Convention plugin

2009-01-27 Thread Dave Newton
Musachy Barroso wrote: Unfortunately that is not part of Conventions yet. That might be a cool thing to add to the package-info.java stuff. Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional com

[OT] Re: Is Spring worth it?

2009-01-27 Thread Dave Newton
johnrock wrote: from what I have studied so far it just looks like Spring > introduces twice as much complexity to solve the standard types of problems. Can you provide an example of this? I haven't run into much that Spring makes *more* complicated. This perception may also be affected by w

Re: global mappings with Convention plugin

2009-01-27 Thread Musachy Barroso
Unfortunately that is not part of Conventions yet. musachy On Tue, Jan 27, 2009 at 2:47 PM, Gabriel Belingueres wrote: > Hi, > > I'm starting to use the new 2.1.6 convention plugin, trying to > mentally map the struts.xml file to annotations. > > I could not find in the docs how to define the gl

global mappings with Convention plugin

2009-01-27 Thread Gabriel Belingueres
Hi, I'm starting to use the new 2.1.6 convention plugin, trying to mentally map the struts.xml file to annotations. I could not find in the docs how to define the global-results and global-exception-mappings. I usually define an abstract package in struts.xml where I define the global-results an

Is Spring worth it?

2009-01-27 Thread johnrock
I have been reading 'Spring Recipes' and learning all about Spring 2.5 for the first time. I have read all about Spring JDBC, transactions, AOP and eliminating cross-cutting concerns...my problem is this: I still don't get it. I am waiting to see some problem that Spring is solving for me by maki

Re: uploading with FormFile problem

2009-01-27 Thread Nils-Helge Garli Hegvik
Could you filter on the extension of the file name instead? Nils-H On Tue, Jan 27, 2009 at 6:28 PM, Tatiyana Tarabara wrote: > Hi, > I am facing some problems while uploading a file using Struts' FormFile > object. I want to allow user to upload only .pdf files. For that I am > comparing the Con

Re: Convention Plugin problem

2009-01-27 Thread Musachy Barroso
Hack ahead. If you add a "META-INF" dir to your classes dir, maybe weblogic will (be dumb enough and) package it with the .class files inside the magic jar. musachy On Tue, Jan 27, 2009 at 1:26 PM, Pennel,Paul T wrote: > We've looked around and haven't found away to stop it from interfering, > d

RE: Convention Plugin problem

2009-01-27 Thread Pennel,Paul T
We've looked around and haven't found away to stop it from interfering, doesn't mean there isn't a way, we just don't know of any. If you are not the intended recipient of this message (including attachments), or if you have received this message in error, immediately notify us and delete i

Re: Convention Plugin problem

2009-01-27 Thread Musachy Barroso
Is there any way to tell weblogic not to mess with your class files and just leave them where they are inside the war? Why do app servers need to do everything so complicated? musachy On Tue, Jan 27, 2009 at 1:11 PM, Pennel,Paul T wrote: > It appears we have learned a little more. Convention ca

S2: Custom StrutsTypeConverter

2009-01-27 Thread Ryan Peterson
Hi guys, I'm working on converting from jsp strings to custom objects, and custom objects to string in the jsp. I'm using StrutsTypeConverter, and the convertFromString method works great. I'm able to debug/log and the output is as expected. Unfortunately the convertToString method is never call

RE: Convention Plugin problem

2009-01-27 Thread Pennel,Paul T
It appears we have learned a little more. Convention calls the xworks file com.opensymphony.xwork2.util.finder.UrlSet which does a ClassLoader.getResource("META-INF") in the getURLs method. However when weblogic creates the _wl_cls_gen.jar it does not add a META-INF directory so that jar file is pa

uploading with FormFile problem

2009-01-27 Thread Tatiyana Tarabara
Hi, I am facing some problems while uploading a file using Struts' FormFile object. I want to allow user to upload only .pdf files. For that I am comparing the ContentType of the file being uploaded using FormFile's getContentType() method. The problem is , when users uploading their pdf files

RE: Convention Plugin problem

2009-01-27 Thread Pennel,Paul T
You are correct, I'm not sure what weblogic is doing with that appmergegen directory. If you are not the intended recipient of this message (including attachments), or if you have received this message in error, immediately notify us and delete it and any attachments. If you no longer wish

[OT] Re: Tags Help

2009-01-27 Thread Dave Newton
Mike Baranski wrote: How exactly would you do it? There are 0-40 (possibly set) user field values, and I only want to show the ones that have values, and not the ones that don't. That would depend partially on what the labels contain, if they really need to be I18N, and so on. Dave --

RE: Tags Help

2009-01-27 Thread Mike Baranski
How exactly would you do it? There are 0-40 (possibly set) user field values, and I only want to show the ones that have values, and not the ones that don't. Thanks, Mike. - Mike Baranski O: 919 788 9200 F: 919 510 0037 M: 919 395 0620

Re: Tags Help

2009-01-27 Thread Dave Newton
Mike Baranski wrote: The package.properties file defines: User1 = Label for user1 User2 = Label for user2 ... User40 = Label for user40 Now, how do I call getText for Userx where x is the slot number? I can't figure out how to generate that concatenated string of "User" + and then call

Re: How to convert struts's url to javascript of jQuery.(such as onClick etc events)

2009-01-27 Thread Dave Newton
Seshagiri V wrote: Sorry, Required :- Some example of code in jQuery with events likes as onClick...struts2.0 That's a lot of periods. It's still not clear what you want. In your first message you included a bunch of code and asked for a conversion to jQue

RE: Handling JSP exceptions in Struts2

2009-01-27 Thread Andy
> Hellow,> I am using struts2.0 in my project.I am getting all error messages > after> submitting the form.> But i am not getting the error messages in > proper order as the fields order> in form.> please let me know how to solve > this one.please tell me if any of you know.> > Regards> Nageswa

Re: Convention Plugin problem

2009-01-27 Thread Musachy Barroso
That is different from the path in the exception: servers/AdminServer/tmp//appmergegen_1233073185944_frm-console/war/WEB-INF/classes/com/edwardjones/framework/console/actions/webfarm/EditWebFarmAction.class musachy On Tue, Jan 27, 2009 at 11:36 AM, Pennel,Paul T wrote: > It is in weblogic under

RE: Convention Plugin problem

2009-01-27 Thread Pennel,Paul T
It is in weblogic under my domain at servers\AdminServer\tmp\_WL_user\frm-console\jt5t7o\war\WEB-INF\lib. The _wl_cls_gen.jar does not exist when I build the .war file, it is only created by weblogic upon deployment. If you are not the intended recipient of this message (including attachments)

Re: Convention Plugin problem

2009-01-27 Thread Musachy Barroso
where is _wl_cls_gen.jar located? musachy On Tue, Jan 27, 2009 at 11:31 AM, Musachy Barroso wrote: > The scanner(convention) found it, but now the class loader(weblogic's > probably) is unable to load it. I don't know anything about weblogic, > but I would guess that your jar is somehow in the c

Re: Convention Plugin problem

2009-01-27 Thread Musachy Barroso
The scanner(convention) found it, but now the class loader(weblogic's probably) is unable to load it. I don't know anything about weblogic, but I would guess that your jar is somehow in the classpath, so it should be able to load it. musachy On Tue, Jan 27, 2009 at 11:25 AM, Pennel,Paul T wrote:

RE: Convention Plugin problem

2009-01-27 Thread Pennel,Paul T
I tried the patter suggested, among other and again no luck. I undeployed my .war and redeployed it and get the following stack trace java.lang.Exception: Could not load servers/AdminServer/tmp//appmergegen_1233073185944_frm-console/war/WEB-I NF/classes/com/e dwardjones/framework/console/actions/

Re: Convention Plugin problem

2009-01-27 Thread Musachy Barroso
set the include Jar pattern to ".*/_wl_cls_gen.jar(!/)?" or something similar, that matches the URL of the magic jar. musachy On Tue, Jan 27, 2009 at 9:56 AM, Pennel,Paul T wrote: > OK, I think I see the problem, not sure of the solution though. > > On startup I see > > [WARN]~2009-01-27-14.52.

RE: Convention Plugin problem

2009-01-27 Thread Pennel,Paul T
OK, I think I see the problem, not sure of the solution though. On startup I see [WARN]~2009-01-27-14.52.08.754UTC~EDJ~The includeJars pattern [.*wl*cls*gen*] did not matc h any jars in the classpath Weblogic generates _wl_cls_gen.jar when it deploys my .war file and it contains all of my .class

Tags Help

2009-01-27 Thread Mike Baranski
I'm using Struts 2, and have the following iterator: The package.properties file defines: User1 = Label for user1 User2 = Label for user2 ... User40 = Label for user40 Now, how do I call getText for Userx where x is the slot number? I can't figure out how to generate that concatenated str

Re: Convention Plugin problem

2009-01-27 Thread Musachy Barroso
Enable tracing/debug for the convention plugin and it will log every step of the way (quite verbose). musachy On Tue, Jan 27, 2009 at 8:37 AM, Pennel,Paul T wrote: > I changed my class annotation to @Namespace("/webfarm") as suggested. It > did not help. As part of this test I deleted my .war fr

RE: Convention Plugin problem

2009-01-27 Thread Pennel,Paul T
I changed my class annotation to @Namespace("/webfarm") as suggested. It did not help. As part of this test I deleted my .war from weblogic and ran a clean target before creating my new war and redeploying it to weblogic. Yes it appears I forgot to mention, I verified that struts2-convention-plugi

Using the Action-Tag with action "x" on the result-page of action "x"

2009-01-27 Thread Alexander Baetz
Hi, on the result-page of one of my actions (action "x") i'm using the action-tag to invoce an action and show its result. Now i wanted to call action "x" like this, just with different parameters (for a different result-page) on its own result page. I tried it like this: ignoreContextParams

Radio button

2009-01-27 Thread elyes sallem
Hello, i display a liste of row that i get back from a database among the attribute, there one that i wanna display in a radio button if it is checked , i wanna save one value "PERM", else, i.e unchecked, an other value "revers" -- other attributes   in this case , if i check it one time,

RE: How to convert struts's url to javascript of jQuery.(such as onClick etc events)

2009-01-27 Thread Seshagiri V
Sorry, Required :- Some example of code in jQuery with events likes as onClick...struts2.0 Thank you, Seshagiri V seshagi...@kensium.com. US Main: 877 KENSIUM (536.7486) US Fax: 312.242.3029 Kensium 200 S Wacker Dr, Suite 3100 Chicago, IL 60606 Confid

Re: How to convert struts's url to javascript of jQuery.(such as onClick etc events)

2009-01-27 Thread Nils-Helge Garli Hegvik
It's not exactly clear what you're asking If you want to use the url in a javascript, then just assign the generated output to a javascript variable: function myFunc() { var jsVariable = ''; // Do something with jsVariable functionThatUsesJsVariable(jsVariable); } If that's not what you

How to convert struts's url to javascript of jQuery.(such as onClick etc events)

2009-01-27 Thread Seshagiri V
Hi All, Imported jQuery of js file. It is working fine. But how to work onClick event with parameters in sturts2.0. Please send me sample code. Here is a snippet of my code in the jsp:

Re: Exception while upgrading from S 2.0.11 to 2.1.6

2009-01-27 Thread Nuwan Chandrasoma
http://struts.apache.org/2.x/docs/file-upload.html ManiKanta G wrote: Hi, Today I've upgraded my application from 2.0.11 to 2.1.6, and I've added only the 5 basic libraries (commons-logging-1.0.4.jar, freemarker-2.3.13.jar, ognl-2.6.11.jar, struts2-core-2.1.6.jar, xwork-2.1.2.jar) required for

Exception while upgrading from S 2.0.11 to 2.1.6

2009-01-27 Thread ManiKanta G
Hi, Today I've upgraded my application from 2.0.11 to 2.1.6, and I've added only the 5 basic libraries (commons-logging-1.0.4.jar, freemarker-2.3.13.jar, ognl-2.6.11.jar, struts2-core-2.1.6.jar, xwork-2.1.2.jar) required for S2.1.6 to be up and run. I encountered the below exception... (i've give

inputPattern for Struts 1.2.7 ?

2009-01-27 Thread Albert Kam
Hello, Struts : 1.2.7 Tomcat : 5.5.25 Java : 1.5.0_12 Is there anyway to do the magic as in forwardPattern and pagePattern(configs for the controller in struts-config.xml) for attribute "input" in action tag, perhaps like inputPattern ? I found several search results while googling, but it's for

Testing action validation in Struts 2.1.6

2009-01-27 Thread Joink
We have been unit testing our actions using a ActionValidatorManager. But in 2.1.6 the ActionValidatorManagerFactory has been removed. According to the docs this is still the way to test the action validation, but I guess they are just outdated: http://struts.apache.org/2.1.6/docs/how-do-i-unit-t

Re: Problem in mailing

2009-01-27 Thread Ralf Fischer
On Tue, Jan 27, 2009 at 5:44 AM, dusty wrote: > > Next week on "When Dave Snaps", he threatens to ban anyone from the list if > he finds the answer in the first five links returned from googling 3 or more > words in their post. > > "...do the needful" -- priceless. ... still laughing! :-) punee

Re: Spring Security method security with struts2 make all request params in action NULL

2009-01-27 Thread dubrovsky
I posted reply for this problem in Spring community forum. Who is interested in, please follow the link - http://forum.springsource.org/showthread.php?t=66381 http://forum.springsource.org/showthread.php?t=66381 -- View this message in context: http://www.nabble.com/Spring-Security-method-sec