Re: Validate URL or email with internationalized domain name (IDN)

2021-02-25 Thread Guenter Paul
I found a solution and mad an example app. You can show it here: https://www.fentool.de/dwr/ The source and description are here: https://gitlab.com/gpaulab-public/struts-dwr-validate-example I hope it's useful Best wishes Guenter --

Re: Validate URL or email with internationalized domain name (IDN)

2021-02-01 Thread Guenter Paul
In a second step Iried to use the DWR-method. The app example is simple. But using the class DWRValidator break: Dispatcher du = Dispatcher.getInstance(); The Dispatcher is NULL and I can't find the problem. Perhaps somebody has a solution? ---

Re: Validate URL or email with internationalized domain name (IDN)

2021-01-28 Thread Guenter Paul
I think the class "org.apache.struts2.validators.DWRValidator" will not works so I try another way. I found a solution, maybe we can use it? I found a good example using dwr here: https://www.jitendrazaa.com/blog/java/jsp/step-by-step-dwr-application-simple-ajax-in-java/ What is to do: - for usi

Re: Validate URL or email with internationalized domain name (IDN)

2021-01-25 Thread Guenter Paul
DWR valdiation looks fine. Is there any small example? If not, I will try it by myself and try to use it. After I would try to use URL- and EMail-Validation. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For add

Re: Validate URL or email with internationalized domain name (IDN)

2021-01-17 Thread Guenter Paul
I'm not sure. Perhaps a solution with Ajax is possible? - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: Validate URL or email with internationalized domain name (IDN)

2021-01-15 Thread Guenter Paul
OK, client validation is a problem, that's true. I don't use it, but yes, it's usefull. I found punycode for that: https://github.com/bestiejs/punycode.js It's MIT-licence, I'm not sure we can use it for standard. I'm not really good in javascript, but I can it to write my own decoder. The bet

Validate URL or email with internationalized domain name (IDN)

2021-01-14 Thread Günter Paul
In Germany we can use domaine-names like "münchen.de". The struts validators URLValidator and EmailIdnValidator can't handle such name with umlaut. The domaine is valide but not for the validator. Is it possible to change this behavior? I overwrite the classes and it works for me. But I think it

Re: Opting action method back into validation

2020-12-08 Thread Paul Zepernick
annotation on the method that overrides the exclusion in the config. Paul Zepernick Sent from my iPhone > On Dec 8, 2020, at 2:13 AM, Lukasz Lenart wrote: > > NOTICE: This email originated from outside of the organization. Do not click > links or open attachments unless you recognize th

Opting action method back into validation

2020-12-07 Thread Paul Zepernick
, but I do have some edge cases where it would be helpful to have the validate() / validateShow() available for a particular action. Paul R Zepernick | Sr Programmer Analyst HealthSmart paul.zepern...@healthsmart.com | www.HealthSmart.com<http://www.healthsmart.com/> [HS email footer

RE: NPE when running unit test with struts rest plugin

2020-11-09 Thread Paul Zepernick
Thank you very much, this has resolved the issue! I have created a ticket in Jira. https://issues.apache.org/jira/browse/WW-5095 Paul R Zepernick | Sr Programmer Analyst HealthSmart paul.zepern...@healthsmart.com | www.HealthSmart.com -Original Message- From: Lukasz Lenart Sent

RE: NPE when running unit test with struts rest plugin

2020-11-04 Thread Paul Zepernick
Lukasz, I have posted an example project that reproduces the error in the junit test https://github.com/zepernick/struts25-rest-junit Paul R Zepernick | Sr Programmer Analyst HealthSmart paul.zepern...@healthsmart.com | www.HealthSmart.com -Original Message- From: Paul Zepernick

RE: NPE when running unit test with struts rest plugin

2020-11-03 Thread Paul Zepernick
Sure, I will prepare an example on Github and let you know when it is available Paul R Zepernick | Sr Programmer Analyst HealthSmart Office: 517 582 6525 paul.zepern...@healthsmart.com | www.HealthSmart.com -Original Message- From: Lukasz Lenart Sent: Tuesday, November 3, 2020 2:37 PM

RE: NPE when running unit test with struts rest plugin

2020-11-03 Thread Paul Zepernick
Yes, I am using the struts2-junit plugin and extending StrutsSpringJUnit4TestCase from the plugin. Paul R Zepernick | Sr Programmer Analyst HealthSmart Office: 517 582 6525 paul.zepern...@healthsmart.com | www.HealthSmart.com -Original Message- From: Lukasz Lenart Sent: Tuesday

NPE when running unit test with struts rest plugin

2020-11-02 Thread Paul Zepernick
T"); ActionProxy proxy = getActionProxy("/security/login"); Assert.assertNotNull(proxy); LoginAction action = (LoginAction)proxy.getAction(); Assert.assertNotNull(action); String result = proxy.execute(); Assert.assertTrue("expected some field errors"

Re: Help with syntax struts 2

2019-03-09 Thread Paul Zepernick
Assuming the intention is to exclude all those report ids, they should be && and not || Paul Sent from my iPhone > On Mar 8, 2019, at 7:34 PM, Dave Newton wrote: > > NOTICE: This email originated from outside of the organization. Do not click > links or open attachments

RE: Struts2 Checkboxlist

2019-02-04 Thread Paul Zepernick
fault interceptor stack. Paul -Original Message- From: Prasanth Pasala Sent: Monday, February 4, 2019 5:21 PM To: user@struts.apache.org Subject: Re: Struts2 Checkboxlist NOTICE: This email originated from outside of the organization. Do not click links or open attachments unless you recogniz

RE: Java 11 support

2019-01-18 Thread Paul Zepernick
I can confirm that this was the same error I was seeing when trying Java 11 using Struts 2.5.18. It is happening in the convention pluggin on the startup of the server when it scans for actions to configure Struts. It is not a compile issue, but happening at runtime. Paul -Original

RE: Struts 2.5.x support above Java 8

2018-11-19 Thread Paul Zepernick
Hi Yasser, This is great news! I look forward to the release and testing it. Thank you to you and the team for all your efforts! Paul -Original Message- From: Yasser Zamani On Behalf Of Yasser Zamani Sent: Monday, November 19, 2018 7:25 AM To: Struts Users Mailing List Subject: Re

RE: Struts 2.5.x support above Java 8

2018-11-12 Thread Paul Zepernick
sender and know the content is safe. sob., 10 lis 2018 o 01:39 Paul Zepernick napisał(a): > > Has anyone got Struts 2.5 to work for Java 11 or anything above Java 8? I > have a project that I was trying to migrate to Java 11 using 2.5.18. I have > it compiling, but then ran i

Struts 2.5.x support above Java 8

2018-11-09 Thread Paul Zepernick
, or already have oracle support? Paul Zepernick Disclaimer: This communication and any files transmitted with it may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that

RE: Is HttpParameters Supposed to be Immutable

2018-08-22 Thread Paul Zepernick
Thanks for the feedback. I will open up a bug and submit a PR 😊 Paul -Original Message- From: Lukasz Lenart Sent: Wednesday, August 22, 2018 12:54 AM To: Struts Users Mailing List Subject: Re: Is HttpParameters Supposed to be Immutable wt., 21 sie 2018 o 18:32 Paul Zepernick

Is HttpParameters Supposed to be Immutable

2018-08-21 Thread Paul Zepernick
expected that this return a modified copy? Just wondering the intentions of the class, and if this should be logged as a bug? Paul Disclaimer: This communication and any files transmitted with it may contain information that is privileged, confidential and/or exempt from disclosure unde

RE: Sr Dev Struts 2 Job Irving TX Area

2018-04-09 Thread Paul Zepernick
We prefer onsite, but will consider remote as well. Please submit your resume if interested. Thanks Paul -Original Message- From: Dave Newton [mailto:davelnew...@gmail.com] Sent: Monday, April 09, 2018 11:59 AM To: Struts Users Mailing List Subject: Re: Sr Dev Struts 2 Job Irving TX

Sr Dev Struts 2 Job Irving TX Area

2018-04-09 Thread Paul Zepernick
S&source=CC4 Paul R. Zepernick Sr. Programmer Analyst HealthSmart Benefit Solutions paul.zepern...@healthsmart.com<mailto:paul.zepern...@healthsmart.com> Disclaimer: This communication and any files transmitted with it may contain information that is privileged, confidential and/or

RE: Conversion Error Interceptor prevent errors for empty values

2018-02-15 Thread Paul Zepernick
Yasser, Thanks for pointing me to the right class. After debugging, I found the problem was in my template and it was including the option body in the value when trying to set it to empty. There is no issue with the Interceptor and it is working as documented. Thanks for your help. Paul R

RE: Conversion Error Interceptor prevent errors for empty values

2018-02-14 Thread Paul Zepernick
Trying the attachment again as a txt Paul R. Zepernick Sr. Programmer Analyst HealthSmart Benefit Solutions -Original Message- From: Paul Zepernick [mailto:paul.zepern...@healthsmart.com] Sent: Wednesday, February 14, 2018 8:44 AM To: user@struts.apache.org Subject: RE: Conversion Error

RE: Conversion Error Interceptor prevent errors for empty values

2018-02-14 Thread Paul Zepernick
shouldAddError() always returning true. I have attempted to override the default interceptor by adding this in my package and overriding the shouldAddError(), but it continues to call the default Struts ConversionErrorInterceptor. Paul R. Zepernick Sr. Programmer Analyst HealthSmart Benefit

Conversion Error Interceptor prevent errors for empty values

2018-02-13 Thread Paul Zepernick
null, "", or {""} (a size 1 String array with only an empty String). See ConversionErrorInterceptor for more information, as well as the Type Conversion documentation" Paul R. Zepernick Sr. Programmer Analyst HealthSmart Benefit Solutions Disclaimer: This communication

RE: Struts2.x ActionError And ActionMessage

2017-11-16 Thread Paul Zepernick
error in context and display error message in jsp page. From: Paul Zepernick [paul.zepern...@healthsmart.com] Sent: Thursday, November 16, 2017 9:28 AM To: 'Struts Users Mailing List' Subject: RE: Struts2.x ActionError And ActionMessage Actio

RE: Struts2.x ActionError And ActionMessage

2017-11-16 Thread Paul Zepernick
ActionError and ActionMessage are not classes you can utilize stand alone. Calling addActionError() is actually building a List in the action and same with addActionMessage(). Are you trying to validate a Struts action or something entirely different, since you say the validation is not done i

Re: Issue with Struts2 s:select tag with Object inside a Model Object

2017-04-02 Thread Paul Zepernick
p down(536). Thanks On Sat, Apr 1, 2017 at 10:31 PM, Paul Zepernick < paul.zepern...@healthsmart.com> wrote: > What happens when you use a s:property to evaluate > diagnosisDTO.primaryDiagnosis? If you do not get a value, then check to > make sure the path is right or that something

Re: Issue with Struts2 s:select tag with Object inside a Model Object

2017-04-01 Thread Paul Zepernick
What happens when you use a s:property to evaluate diagnosisDTO.primaryDiagnosis? If you do not get a value, then check to make sure the path is right or that something is not wrong in your action that is populating it. Also verify that the key property in your list is the same type as the va

RE: Struts2 Rest Mapper Taking Over Non Rest Json Result

2016-09-20 Thread Paul Zepernick
thing wrong in the configuration that is still causing rest > to be involved in the request to those actions? > > Paul R. Zepernick > Sr. Programmer Analyst > > > > > > > Disclaimer: This communication and any files transmitted with it may contain > infor

Struts2 Rest Mapper Taking Over Non Rest Json Result

2016-09-20 Thread Paul Zepernick
olved in the request to those actions? Paul R. Zepernick Sr. Programmer Analyst Disclaimer: This communication and any files transmitted with it may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended reci

Re: Security guideline

2016-06-21 Thread Paul Benedict
Very good. Cheers, Paul On Sat, Jun 18, 2016 at 1:25 AM, Lukasz Lenart wrote: > Hello > > Please take a look on this, we are constantly updating it based on > reported vulnerabilities. > http://struts.apache.org/docs/security.html > > > Regards > -- >

Re: how to use ejb 3.1/3.2 in struts2?

2016-03-08 Thread Paul Benedict
t out. Cheers, Paul On Tue, Mar 8, 2016 at 9:44 AM, Mike Guo wrote: > Hello, everyone. > > I suppose this is very old question to struts user list. > > how to use EJB 3.1/3.2 in struts2? > > I did some research on google. but I totally no idea what’s the exactly > solutio

Re: Data Transfer Between Android and MySQL

2016-03-02 Thread Paul Romero
Hi Paul: One more important detail: The Android app. is not a browser. Best Regards, Paul R. On 03/02/2016 11:40 AM, Paul Benedict wrote: Android is a remote client, and a web service is the common solution to transfer data back to the host. You are free to use whatever technology you want

Re: Data Transfer Between Android and MySQL

2016-03-02 Thread Paul Benedict
, etc. The second are products like Axis, Struts 2, JAX-WS, JAX-RS, etc. As David said, there are no "best" answers in general; it's based on the best fit of your requirements. Cheers, Paul On Wed, Mar 2, 2016 at 1:29 PM, Paul Romero wrote: > Dear Stuts Community: > > My

Data Transfer Between Android and MySQL

2016-03-02 Thread Paul Romero
y deployed modules or software that have this functionality ? If not, what would be the easiest way to achieve this functionality ? Best Regards, Paul Romero -- Paul Romero --- RCOM Communications Software EMAIL: pa...@rcom-software.com PHONE: (510)482-2769

Re: Remove Me

2015-10-13 Thread Paul Benedict
Fernando, removing is a self-service. Please see this: https://struts.apache.org/mail.html Cheers, Paul On Tue, Oct 13, 2015 at 10:15 AM, Fernando FLORES CORCOBA < fef.flo...@gmail.com> wrote: > Remove me from this list. > Thank you. > -- > > ---

Re: Struts1 & Struts2 implementation

2015-02-23 Thread Paul Benedict
Do you have different extensions? For example, *.do goes to S1 and *.action goes to S2. Cheers, Paul On Mon, Feb 23, 2015 at 10:48 AM, Lilylove toshop < lilylove2s...@yahoo.com.invalid> wrote: > Dear All, > I want to use Strut1 & Struts2 in my coexist application. I have b

Re: Can't find utils.js

2014-11-13 Thread Paul Benedict
Okay. This means the two (no action extension and plugin script resources) are mutually incompatible at this time. I look forward to 2.5 to fixing this. Cheers, Paul On Thu, Nov 13, 2014 at 2:04 AM, Lukasz Lenart wrote: > 2014-11-13 7:44 GMT+01:00 Paul Benedict : > > Yes... but

Re: Can't find utils.js

2014-11-12 Thread Paul Benedict
Yes... but now it's "," Cheers, Paul On Thu, Nov 13, 2014 at 12:40 AM, Lukasz Lenart wrote: > 2014-11-12 21:45 GMT+01:00 Paul Benedict : > > Using outputs a link to utils.js: > > > > > > > > But the file can't be found. FYI, I ha

Re: Can't find utils.js

2014-11-12 Thread Paul Benedict
FYI, I created an issue to track this: https://issues.apache.org/jira/browse/WW-4418 Cheers, Paul On Wed, Nov 12, 2014 at 3:27 PM, Paul Benedict wrote: > Okay, I solved it. I found a "solution" in the wee bottom of this page: > > http://stackoverflow.com/questions/1260

Re: Can't find utils.js

2014-11-12 Thread Paul Benedict
xtension a comma. However, this doesn't satisfy me as it's clearly a hack :-) but at least it works. Cheers, Paul On Wed, Nov 12, 2014 at 2:45 PM, Paul Benedict wrote: > Using outputs a link to utils.js: > > > > But the file can't be found. FYI, I have no act

Can't find utils.js

2014-11-12 Thread Paul Benedict
Using outputs a link to utils.js: But the file can't be found. FYI, I have no action extension and the filter processes /* Any idea why the file can't be found? Cheers, Paul

Re: Anyway to map properties to different request names?

2014-11-05 Thread Paul Benedict
e bytes sent too the better And in reverse, if one is working on re-implementing an existing servlet/service, you have to give poor names to your Java model to match existing form names. Cheers, Paul On Wed, Nov 5, 2014 at 2:47 PM, JOSE L MARTINEZ-AVIAL wrote: > You only need

Anyway to map properties to different request names?

2014-11-05 Thread Paul Benedict
? Hopeful example: @RequestParam("person") public final void setPersonId(String personId) { ... } Cheers, Paul

Re: Struts 1 Thread safe action classes

2014-11-04 Thread Paul Benedict
Instantiating a new action class per request is not a bad idea. It's not standard but not bad. Struts 2 does this, I think Spring MVC does this, and a host of other web frameworks. Cheers, Paul On Tue, Nov 4, 2014 at 3:20 PM, Eric Reed wrote: > As Paul said, you must avoid instance v

Re: Struts 1 Thread safe action classes

2014-11-04 Thread Paul Benedict
To be thread safe, your services should never store user data in instance variables. That's all there is to it. Keep everything local. Cheers, Paul On Tue, Nov 4, 2014 at 3:14 PM, Sekar, Sowmya wrote: > How do I accomplish that? > > -Original Message- > Fr

Re: Struts 1 Thread safe action classes

2014-11-04 Thread Paul Benedict
Your service classes should be thread-safe to begin with. You don't need multiple instances of a business service. Cheers, Paul On Tue, Nov 4, 2014 at 3:08 PM, Sekar, Sowmya wrote: > Hi, > > To invoke service classes from each method in the action classes, are > there any

Re: Is the email regex validator in Struts validation incorrect?

2014-08-25 Thread Paul Benedict
Za-z0-9_\-] pattern. Cheers, Paul On Mon, Aug 25, 2014 at 11:22 AM, Dave Newton wrote: > http://tools.ietf.org/html/rfc2822 > > IIRC http://tools.ietf.org/html/rfc2047 discusses non-0-127 chars in > headers, I'm not sure if that extends to addresses. > > The bottom line

Re: Is the email regex validator in Struts validation incorrect?

2014-08-25 Thread Paul Benedict
I looked up the RFC. The document lists itself as a "proposed standard" [1] so it's not really available yet for general use (but correct me if wrong). I propose that an enhancement should be made in JIRA to handle this. [1] http://tools.ietf.org/html/rfc6531 Cheers, Paul

Re: Fix security vulnerability

2014-07-09 Thread Paul Benedict
Yes, we have releases planned: https://issues.apache.org/jira/browse/STR/?selectedTab=com.atlassian.jira.jira-projects-plugin:roadmap-panel Cheers, Paul On Wed, Jul 9, 2014 at 4:08 PM, Dave Newton wrote: > I'm not sure. > > In the meantime: > > > http://h30499.www

Re: Struts1->Struts2 JSP tags

2014-07-02 Thread Paul Benedict
Use JSTL or the struts "if" tag Cheers, Paul On Wed, Jul 2, 2014 at 3:42 PM, Christopher Gokey wrote: > So I'm making progress in porting Struts1->Struts2, I've got a couple uses > of Struts tags that I'd like to convert over as well: > logic:iterate &g

Re: Struts1 RequestProcessor

2014-07-01 Thread Paul Benedict
It sounds like what you want is to create a new result type. Cheers, Paul On Tue, Jul 1, 2014 at 4:08 PM, Christopher Gokey wrote: > We've got some pretty old code that I'm trying to port over to Struts2 and > if someone could point me in the right direction in how I can rewr

Re: dynamic interceptor insertion

2014-06-26 Thread Paul Benedict
I have asked for that feature myself :-) No, that's not possible today. But if you have the time, you can code the solution and share it with everyone! Cheers, Paul On Thu, Jun 26, 2014 at 9:51 AM, Gildas de Cadoudal < gildas.de.cadou...@gmail.com> wrote: > Hi all, >

Re: Issues in Struts2 unit testing

2014-06-13 Thread Paul Benedict
I think you need to minimize your test case and start from something simpler to diagnose the problem. First try using the default stack alone. Let us know how that turns out. Cheers, Paul On Fri, Jun 13, 2014 at 8:25 AM, Krishnaraj A < akrajmscjavaquest...@gmail.com> wrote: >

Re: Issues in Struts2 unit testing

2014-06-13 Thread Paul Benedict
Go set a breakpoint in Struts where the ISE is being thrown and see what condition is being tested. If possible, take some time to determine when that condition is being set before your invocation. Cheers, Paul On Fri, Jun 13, 2014 at 8:25 AM, Krishnaraj A < akrajmscjavaquest...@gmail.

Re: Issues in Struts2 unit testing

2014-06-12 Thread Paul Benedict
Put a breakpoint in your execute() and see if it's being called. The error message might be telling the truth: the action has already been executed. Cheers, Paul On Thu, Jun 12, 2014 at 10:15 AM, Dave Newton wrote: > Without knowing what's in your interceptor stack it's

Re: Struts2 iterator twice for select tag

2014-06-03 Thread Paul Benedict
Maybe you found a bug. Hopefully Struts cleans up its iterator when the tag finishes. Maybe you can look into the source code to find out for us. Cheers, Paul On Tue, Jun 3, 2014 at 12:17 PM, Matt Williams < mattwms1998...@yahoo.com.invalid> wrote: > > I am using struts 2.1.8. I

Re: Required Info on Upgrading Struts 1.2.x to Struts 2.3.x

2014-06-03 Thread Paul Benedict
Struts 1 uses a DTD which doesn't allow custom elements in the configuration... or does it? I have never seen this before. Cheers, Paul On Tue, Jun 3, 2014 at 4:57 AM, Lukasz Lenart wrote: > I have no idea if it is possible or not, but you can use like this > > ${['

Re: Struts 1 Logging

2014-05-30 Thread Paul Benedict
ts Logging" and see what you find. It's a battle but I think you'll be able to solve it. Cheers, Paul On Fri, May 30, 2014 at 8:36 AM, Usha Ladkani wrote: > yes.. below is how property file looks like. > > log4j.rootLogger=DEBUG, R > log4j.logger.org.a

Re: Struts 1 Logging

2014-05-30 Thread Paul Benedict
Usha, I don't understand your response. So you have a log file and it's logging? Cheers, Paul On Fri, May 30, 2014 at 7:58 AM, Usha Ladkani wrote: > property file is in classpath , As the log file is being created with > trace. > > We are not using tomcat. we are u

Re: Struts 1 Logging

2014-05-29 Thread Paul Benedict
Okay, but Struts 1 uses Apache Commons Logging. That means you'll need to configure that or use Apache Log4j 1.x configuration which is also supported. Cheers, Paul On Thu, May 29, 2014 at 10:38 PM, Usha Ladkani wrote: > Hello Paul. > > We are using java.util.logging

Re: Struts 1 Logging

2014-05-29 Thread Paul Benedict
Usha, what logging framework are you using? Cheers, Paul On Thu, May 29, 2014 at 10:28 PM, Usha Ladkani wrote: > Hello , > > We are using Struts 1 , Can someone tell me how can I enable Struts logs in > debug mode, Basically I am looking for statements as below - > &g

Struts Dojo Plugin is broken (2.3.16.3)

2014-05-28 Thread Andrew Paul
Hi! If anyone else have issues with latest Struts Dojo, here's something for you; The error in question can be seen when the javascript error console yells: "TypeError: "$Rev$".match(...) is null" This happens because the current available Struts built from Git and not Subversion. When checking

Re: utf-8 characters and xslt result type

2014-05-24 Thread Paul Benedict
Your XSL (stylesheet) has the ability to set the output content encoding. Are you using that? And does that work? Cheers, Paul On Sat, May 24, 2014 at 2:05 PM, Lukasz Lenart wrote: > Can you register a bug in JIRA? Then we can extend XSLTResult to set > content-encoding with re

Re: No parameters set in action when file upload exceeds max size

2014-05-16 Thread Paul Benedict
https://issues.apache.org/jira/browse/WW-3025 Cheers, Paul On Fri, May 9, 2014 at 10:43 AM, Greg Lindholm wrote: > When I try to upload a file that exceeds the configured 2M max then no > parameters get set on my action. > > I can't present the user with a pretty error

Struts2 Tiles deprecation warning

2014-04-16 Thread Paul Benedict
findings say this is a problem with the Struts 2 plugin being out-of-date. Is this true? Or is this only a configuration issue which I can fix (and how?)? -- Cheers, Paul

Re: No action instance for path /welcomeAction could be created

2014-04-09 Thread Paul Benedict
> > > The information contained in this e-mail, and any attachment, is > confidential and is intended solely for the use of the intended recipient. > Access, copying or re-use of the e-mail or any attachment, or any > information contained therein, by any other person is not authorized. If > you are not the intended recipient please return the e-mail to the sender > and delete it from your computer. Although we attempt to sweep e-mail and > attachments for viruses, we do not guarantee that either are virus-free and > accept no liability for any damage sustained as a result of viruses. > > > > Please refer to http://disclaimer.bnymellon.com/eu.htm for certain > disclosures relating to European legal entities. > > > > - > > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > > For additional commands, e-mail: user-h...@struts.apache.org > > > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Cheers, Paul

Re: Request parameters need corresponding getters/setters in action?

2014-03-27 Thread Paul Benedict
and no exception or warning is shown in the > log anymore. I have dev mode set to true and debug level set to very high > level showing everything. > > Anybody can comment on this two issues? Any quick fix/solution would be > highly appreciated. > > Thanks in advance. > Best Regards. > > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Cheers, Paul

Re: Dispatcher attempts to write on the response after it has been commited

2014-03-18 Thread Paul Benedict
Yeah. It should be -- but let's also log the response code we couldn't set. Maybe debug()? On Tue, Mar 18, 2014 at 9:28 AM, Lukasz Lenart wrote: > 2014-03-18 15:21 GMT+01:00 Paul Benedict : > > Lukasz, the ServletResponse interface does contain an isCommitted() > method.

Re: Dispatcher attempts to write on the response after it has been commited

2014-03-18 Thread Paul Benedict
- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Cheers, Paul

Re: Why do I get this XHTML validation errors? (second attempt)

2014-03-07 Thread Paul Benedict
form-end-tag. > >>>> None of the attempt validates. > >>>> So If you guys got any idea how to solve this mystery plast let me > know. > >>>> > >>> > >>> You could try what I suggested until the hidden tags have xhtml > templates > >>> that emit correct HTML. > >>> > >>> Dave > >>> > > - > > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > > For additional commands, e-mail: user-h...@struts.apache.org > > > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Cheers, Paul

Re: Re: Why do I get this XHTML validation errors? (second attempt)

2014-03-06 Thread Paul Benedict
; > id="productcommentssave_PRODUCTCOMMENTSACTION_FORM_TOKEN_NAME"/> > > > The element named above was found in a context where it is not allowed. > > > This could mean that you have incorrectly nested elements -- such as a > > > "style" element in the "body" section instead of inside "head" -- or > two > > > elements that overlap (which is not allowed). > > > One common cause for this error is the use of XHTML syntax in HTML > > > documents. Due to HTML's rules of implicitly closed elements, this > error > > > can create cascading effects. For instance, using XHTML's > "self-closing" > > > tags for "meta" and "link" in the "head" section of a HTML document may > > > cause the parser to infer the end of the "head" section and the > beginning > > > of the "body" section (where "link" and "meta" are not allowed; hence > the > > > reported error). > > > > > > Error Line 61, Column 93: document type does not allow element "input" > > here > > > ...t type="hidden" name="productid" value="3" > > > id="productcommentssave_productid"/> > > > (same as at line 60) > > > > > > Do you guys see anything that I could do to correct this? I would love > to > > > have a app with correct xhtml. > > > > > > Best regards > > > Fredrik > > > > > > -- > e: davelnew...@gmail.com > m: 908-380-8699 > s: davelnewton_skype > t: @dave_newton <https://twitter.com/dave_newton> > b: Bucky Bits <http://buckybits.blogspot.com/> > g: davelnewton <https://github.com/davelnewton> > so: Dave Newton <http://stackoverflow.com/users/438992/dave-newton> > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Cheers, Paul

Re: Why do I get this XHTML validation errors? (second attempt)

2014-03-06 Thread Paul Benedict
uot; > > here > > ...1394108222515" > > id="productcommentssave_PRODUCTCOMMENTSACTION_FORM_TOKEN_NAME"/> > > The element named above was found in a context where it is not allowed. > > This could mean that you have incorrectly nested elements -- such as a > > "style" element in the "body" section instead of inside "head" -- or two > > elements that overlap (which is not allowed). > > One common cause for this error is the use of XHTML syntax in HTML > > documents. Due to HTML's rules of implicitly closed elements, this error > > can create cascading effects. For instance, using XHTML's "self-closing" > > tags for "meta" and "link" in the "head" section of a HTML document may > > cause the parser to infer the end of the "head" section and the beginning > > of the "body" section (where "link" and "meta" are not allowed; hence the > > reported error). > > > > Error Line 61, Column 93: document type does not allow element "input" > here > > ...t type="hidden" name="productid" value="3" > > id="productcommentssave_productid"/> > > (same as at line 60) > > > > Do you guys see anything that I could do to correct this? I would love to > > have a app with correct xhtml. > > > > Best regards > > Fredrik > -- Cheers, Paul

Re: MESSAGE TO ADMINIISTRATOR: Unscribing from this mailing list

2014-01-07 Thread Paul Benedict
rked. The link sent by the server returns a postmaster error when > clicked. > Could some administrator from this list unsubscribe me please? > > > > Thanks a bunch! > > > > Michel > > -- Cheers, Paul

[OT] Setting up mail server on Linux?

2014-01-07 Thread Paul Benedict
Anyone experienced with installing/configuring mail servers on Linux? I have chosen Postfix as my tool but I'll take any working solution. I don't need to receive any emails, only send emails from my domain from a Struts application. -- Cheers, Paul

Re: Tiles with Annotations

2014-01-02 Thread Paul Benedict
> > > > org.apache.struts2.tiles.StrutsTilesAnnotationsListener > > > > org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG > /WEB-INF/classes/tiles.xml param-value> > > > > > > regards, > Christoph > > This Email was scanned by Sophos Anti Virus > -- Cheers, Paul

Re: Token Session Interceptor and back button

2013-12-06 Thread Paul Benedict
Proxies On Fri, Dec 6, 2013 at 5:03 AM, Miguel Almeida wrote: > Paul, I was thinking about this example...what did you have in mind as a > way to achieve that, tough, i.e., that a browser "back" refreshes the > page? > > I can only see some javascript method/hack for th

Re: Token Session Interceptor and back button

2013-12-05 Thread Paul Benedict
5723.n5.nabble.com/Token-Session-Interceptor-and-back-button-tp5714861.html > Sent from the Struts - User mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Cheers, Paul

Re: Concealing primary key in web application with struts 2 from security perspective?

2013-11-30 Thread Paul Benedict
issue. My intention of question is just to ask > > does struts 2 provide any kind of implementation off the shelf (some kind > > of interceptor or any other approach)to address this. Thanks in advance > > > > > > On Sat, Nov 30, 2013 at 12:16 PM, Paul Benedict >

Re: Concealing primary key in web application with struts 2 from security perspective?

2013-11-29 Thread Paul Benedict
question is there something of similar kind available in struts 2 where > you can annotate the any field with primary key and it does the step 2 for > you or any other implementation to abstract primary key. Any ideas? > -- Cheers, Paul

Re: can we avoid extension "action"?

2013-11-12 Thread Paul Benedict
> *http://yaragalla.blogspot.in/ <http://yaragalla.blogspot.in/>* > > > On Wed, Nov 13, 2013 at 1:03 AM, Paul Benedict > wrote: > > > In addition, make sure your web.xml is sending the new paths/extensions > to > > the Struts 2 filter. > > > > > &g

Re: struts1 with Ajax using struts tags

2013-11-12 Thread Paul Benedict
When you do AJAX in S1, you are always responding directly to the browser. You need to write your data to the ServletOutputStream and return null. You do not need to use any ActionForward. Paul On Mon, Nov 11, 2013 at 9:35 PM, Narayana wrote: > I have a problem/doubt and describing here.I

Re: can we avoid extension "action"?

2013-11-12 Thread Paul Benedict
blogspot.in/>* > > > > > > > > > > > > > > > > > > > > > -- > > > > e: davelnew...@gmail.com > > > > m: 908-380-8699 > > > > s: davelnewton_skype > > > > t: @dave_newton <https://twitter.com/dave_newton> > > > > b: Bucky Bits <http://buckybits.blogspot.com/> > > > > g: davelnewton <https://github.com/davelnewton> > > > > so: Dave Newton <http://stackoverflow.com/users/438992/dave-newton> > > > > > > > > > > > > > > > -- > > e: davelnew...@gmail.com > > m: 908-380-8699 > > s: davelnewton_skype > > t: @dave_newton <https://twitter.com/dave_newton> > > b: Bucky Bits <http://buckybits.blogspot.com/> > > g: davelnewton <https://github.com/davelnewton> > > so: Dave Newton <http://stackoverflow.com/users/438992/dave-newton> > > > -- Cheers, Paul

Re: [ANNOUNCEMENT] Struts2-JSR303-Validation-Plugin available

2013-10-25 Thread Paul Benedict
User mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Cheers, Paul

Re: "Cancel" button is not redirecting

2013-10-15 Thread Paul Benedict
">Delete > > > > > - employeeForm (reached from add and edit employee links): > > > label="%{getText('label.**firstName')}" size="40"/> > label="%{getText('label.**lastName')}" size="40"/> > label="%{getText('label.age')}**" size="20"/> > value="%{employee.department.**departmentId}" list="departments" > listKey="departmentId" listValue="name"/> > /> > > name="redirectAction:index"/> > > > > > > > > > > > --**--**- > To unsubscribe, e-mail: > user-unsubscribe@struts.**apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Cheers, Paul

Re: S2: Using HTTPS, when I redirect, I get HTTP

2013-10-01 Thread Paul Benedict
.company.org. When you're changing protocols, you have to include the FQN. Does your app know the public domain? 2) Is there a Struts enhancement hiding in this question? Maybe we should include a "protocol" and "hostname" as redirect parameters? Lukasz, thoughts? Paul O

Re: Prevent Ajax Multi-Request in Struts 2

2013-09-26 Thread Paul Benedict
t; > > I found this issue at > > > http://stackoverflow.com/questions/13353577/howto-do-csrf-protection-in-struts2-application-for-ajax-requestsbutI > wonder if there is any better way for that? (I think this is a very > > common issue which must have been managed in struts) > > > > > > ~Regards, > > ~~Alireza Fattahi > > > -- Cheers, Paul

Re: Value not persisting in domain object

2013-09-01 Thread Paul Benedict
; Hi All, > > Can anyone please help ? > > Thanks.. > > > On Fri, Aug 30, 2013 at 10:23 PM, Srineel Mazumdar >wrote: > > > Yes.. the same collection. > > > > > > On Wed, Aug 28, 2013 at 6:55 PM, Paul Benedict >wrote: > > > >> Are you r

Re: Value not persisting in domain object

2013-08-28 Thread Paul Benedict
clicks Next. In the CheckOut page those items would be > shown. But in my case it shows empty list. Upon debugging, I find that list > is updated finally, but an empty list is fetched in Check Out page. > > Can somebody help me by giving some pointers ? > > Thanks., > Srineel > -- Cheers, Paul

Re: Struts1 to Struts2 Migration Support Query

2013-08-15 Thread Paul Benedict
gt; review, use, disclosure, dissemination, forwarding, printing or copying of > this email, and/or any action taken in reliance on the contents of this > e-mail is strictly prohibited and may be unlawful. > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Cheers, Paul

Re: Annotation Support for bypassing prepare

2013-08-07 Thread Paul Benedict
quot;}). > > -- > Thanks & Regards > Srikanth > Software Developer > > eGovernments Foundations > www.egovernments.org > Mob : 9980078913 > > > > On Thu, Aug 8, 2013 at 9:42 AM, Paul Benedict > wrote: > >

Re: Annotation Support for bypassing prepare

2013-08-07 Thread Paul Benedict
Not an array of prepares, but an array of strings for which "execute" methods the Preaparable callback should be excluded. On Aug 7, 2013 11:09 PM, "Sreekanth S. Nair" < sreekanth.n...@egovernments.org> wrote: > With all gratitude, I strongly disagree with that idea . That bring more > clumsiness

Re: Annotation Support for bypassing prepare

2013-08-07 Thread Paul Benedict
; > > > Too many methods :( needs its own prepare then. >>> > > > > > >>> > > > > > -- >>> > > > > > Thanks & Regards >>> > > > > > Srikanth >>> > > > > > Software Developer >>> > > > > > ---

Re: Apple sec breach.. Struts?

2013-07-31 Thread Paul Benedict
he obvious implication is that you, who consume volunteer work for free, must take the product "as is" and do your part of making sure your application is secure. PS: If you find a security vulnerability in Struts, please privately report it to secur...@apache.org so it can be fixed. Cheers, Paul

Re: Annotation Support for bypassing prepare

2013-07-26 Thread Paul Benedict
n in to prepare. Where that ajax validation doesn't > required to call prepare. > > -- > Thanks & Regards > Srikanth > Software Developer > > eGovernments Foundations > www.egovernments.org > Mob : 9980078913 > ---

Re: Annotation Support for bypassing prepare

2013-07-26 Thread Paul Benedict
Why would you want to bypass it? On Jul 26, 2013 3:47 AM, "Sreekanth S. Nair" < sreekanth.n...@egovernments.org> wrote: > Is there any annotation available to bypass prepare method while invoking > certain methods, just like @skipvalidation > -- > Thanks & Regards > Srikanth >

  1   2   3   4   5   6   7   8   9   10   >