Thanks for solution. I followed [2] and it works perfectly. Now any suggestions/patterns for
implementations of "acceptableParameterName(String)" method, apart from the obvious checking of
parameter startWith, endsWith etc.?
On 3/19/13 5:41 PM, Lukasz Lenart wrote:
2013/3/19 Dhananjay Makwana :
2013/3/19 Dhananjay Makwana :
> I do have an excludePattern but that is for my css, js files. Here's my
> struts.xml file. I am using version 2.3.8.
I have double checked and your problem is related to acceptParamNames
property of ParametersInterceptor which was defined very restrictive
[1] to sec
I do have an excludePattern but that is for my css, js files. Here's my struts.xml file. I am using
version 2.3.8.
/accountList.tiles
accounts
On 3/19/13 4:22 PM, Lukasz L
2013/3/19 Dhananjay Makwana :
> 2013-03-19 14:33:25,683 [http-8080-2] WARN
> com.opensymphony.xwork2.interceptor.ParametersInterceptor - Parameter
> [#session.accounts['aaa'].properties[0].value] didn't match acceptedPattern
> pattern!
This is odd, as I have already checked and
#session.accounts['
Hi Everyone,
I am new to Struts2. I am creating a basic page where user can see login credentials for few
accounts (any type like Email, FB etc.) and if one of them is not present then add them. Each
account has a list of properties with a name and a string value (keeping it simple).
Now in m
returns cashed results from the previous AJAX call.
Thanks,
Lana.
From: adam pinder
To:
Date: 04/11/2012 01:46 PM
Subject:RE: struts2 problem when file download dialog is closed
is the user "cancelling" still sending a request to the server and hence
you are
nce then leave it.
> To: user@struts.apache.org
> Subject: Re: struts2 problem when file download dialog is closed
> From: svetlana.roslyak...@bnymellon.com
> Date: Wed, 11 Apr 2012 09:51:39 -0400
>
> Venkata,
>
> I use Struts2 2.2.1.1 version.
> I've changed th
call, it does not go to
the server, but instead uses the cashed response.
Thanks,
Lana.
From: vEnkaTa mohAna rAo SriperumbUdUru
To: Struts Users Mailing List
Date: 04/10/2012 09:19 PM
Subject:Re: struts2 problem when file download dialog is closed
You are using older
You are using older version Struts2.x and change filter to
StrutsPrepareAndExecute Filter.
On Wed, Apr 11, 2012 at 1:59 AM, wrote:
> Hi,
>
> I've created a struts2 application that creates text file and displays the
> file download dialog for the user to open or save it.
> It works fine if the
when the dialog closes, are you still calling the action ?
Best,
Muneer Malik
On Apr 10, 2012, at 3:29 PM, svetlana.roslyak...@bnymellon.com wrote:
> Hi,
>
> I've created a struts2 application that creates text file and displays the
> file download dialog for the user to open or save it.
>
Hi,
I've created a struts2 application that creates text file and displays the
file download dialog for the user to open or save it.
It works fine if the user opens or saves it, but if the user closes the
file download dialog the program logs the following error:
Servlet failed with Exception
j
Hi,
I figured out what was going wrong.
My "web.xml" looked like this:
--
http://java.sun.com/dtd/web-app_2_3.dtd"; >
--
I had to enable EL(Expression Language) by cha
I would search for tags in your webapp's web.xml and
tomcat's web.xml, and get rid of them.
2012/1/5 Łukasz Lenart :
> 2012/1/5 Dave Newton :
>> I might be wrong anyway, misread the post on my phone; not sure a var can
>> be read through plain JSP EL like that-don't recall.
>
> As I remember it s
2012/1/5 Dave Newton :
> I might be wrong anyway, misread the post on my phone; not sure a var can
> be read through plain JSP EL like that-don't recall.
As I remember it should work. Both notations should be supported ${} and %{}
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
War
Not really related to what I said, but like I said, I misread anyway.
Dave
On Jan 5, 2012 9:10 AM, "Mahesh" wrote:
> Hi,
>
> The version of software being used for running the tutorial is below.
>
> Tomcat 6.0.33
> Java "1.6.0_26"
> Struts 2.3.1.1
> on Linux
>
> --
> Mahesh
>
> On 5 January 201
Hi,
The version of software being used for running the tutorial is below.
Tomcat 6.0.33
Java "1.6.0_26"
Struts 2.3.1.1
on Linux
--
Mahesh
On 5 January 2012 16:33, Mahesh wrote:
> Hi,
>
> This is about the topic URL tags in struts2 tutorial available in the
> below link.
>
> http://struts.apach
I might be wrong anyway, misread the post on my phone; not sure a var can
be read through plain JSP EL like that-don't recall.
Sorry for the confusion.
Dave
On Jan 5, 2012 8:28 AM, "Dave Newton" wrote:
> Looks like your container isn't evaluating JSP EL. Make sure your web.xml
> is your servle
This issue is only because of JSP EL eval, so isn't really serious... If we
don't actually require 2.5 in the code, raising the version seems a little
arbitrary.
On Jan 5, 2012 8:33 AM, "Łukasz Lenart"
wrote:
> 2012/1/5 Dave Newton :
> > Looks like your container isn't evaluating JSP EL. Make su
2012/1/5 Dave Newton :
> Looks like your container isn't evaluating JSP EL. Make sure your web.xml
> is your servlet spec 2.5+.
All the time we're specifying as a minimal requirement Servlet API
2.4, shouldn't we change that to 2.5 though ?
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.o
The Url is stored in the Struts2 ValueStack. To access this, you should use
the Struts2 Property Tag.
Johannes
-
web: http://www.jgeppert.com
twitter: http://twitter.com/jogep
--
View this message in context:
http://struts.1045723.n5.nabble.com/Url-tag-usage-in-struts2-problem-and
Looks like your container isn't evaluating JSP EL. Make sure your web.xml
is your servlet spec 2.5+.
Dave
On Jan 5, 2012 6:04 AM, "Mahesh" wrote:
> Hi,
>
> This is about the topic URL tags in struts2 tutorial available in the
> below link.
>
> http://struts.apache.org/2.x/docs/using-struts-2-ta
Hi,
This is about the topic URL tags in struts2 tutorial available in the
below link.
http://struts.apache.org/2.x/docs/using-struts-2-tags.html
Problem is this:
Bruce Phillips
Hello Bruce Phillips
--
Hello world,
I'm working with Struts 2 using Tiles and FTL instead of JSP on the view
side.
When I try to put a tag on my page to see all the paramaters
available on this FTL page I have an error :
Java backtrace for programmers:
--
freemarker.core.InvalidReferenceException: on line 45
hi
I created a struts2spring project(in maven structure) and i'm going to
write a result type that use from it in my actions and deployed in tomcat
but i have
this problem:
java.lang.
IllegalStateException: Must have the StrutsPrepareFilter
execute before this one
org.apache.struts2.dispatc
Hi Michael,
Did you fix your problem ?
If yes, what was wrong ?
-Message d'origine-
De : Michael Obster [mailto:mich...@obster.org]
Envoyé : vendredi 2 octobre 2009 17:42
À : Struts Users Mailing List
Objet : Re: [Struts2] Problem using Struts2 with EJB3 over ServiceLocator
(Jbos
Hi Wes,
I'm accessing the bean over a service locator. I have attached the class
source at the end.
Regards,
Michael
Wes Wannemacher schrieb:
How are you getting a copy of your EJB in your action?
vwg.yyy.cancard.ui.action.Usermanagement.Usermanagement.list(Userman
agement.java:41)
That li
How are you getting a copy of your EJB in your action?
vwg.yyy.cancard.ui.action.Usermanagement.Usermanagement.list(Userman
agement.java:41)
That line in the stacktrace indicates that you are in the action when
you get the error, but the stacktrace dives down into a proxied object
after that. You
Hi everybody,
After I have written some mails to JBoss security forum, I found out
that the Servlet has a problem. As I can see that has to do with the
usage of Struts 2 because another application with Struts 1 works.
The problem I don't know where I can continue to resolve the problem an
w
-Original Message-
From: Tommy Pham [mailto:tommy...@yahoo.com]
Sent: Tuesday, August 18, 2009 6:05 PM
To: Struts Users Mailing List
Subject: Re: [struts2] problem
- Original Message
> From: Paweł Wielgus
> To: Struts Users Mailing List
> Sent: Tuesday, August 18,
On Thursday 20 August 2009 10:15:17 pm Tommy Pham wrote:
>
> THANK YOU Wes!!! :) Slightly off topic: if I have nested lists such as
>
>
>
>
> How would I get list2value.name? would it be %{#list2value.name} ? Doing
> all of this in scriptlets is easier for me but code looks messy :)
>
Yeah, %{#
- Original Message
> From: Wes Wannemacher
> To: Struts Users Mailing List
> Sent: Thursday, August 20, 2009 6:05:00 PM
> Subject: Re: [struts2] problem
>
> I can never remember which things can be accessed through EL, but my
> guess is that you can't get &qu
- Original Message
> From: Martin Gainty
> To: Struts Users Mailing List
> Sent: Thursday, August 20, 2009 5:45:48 PM
> Subject: RE: [struts2] problem
>
>
>
> why not checkboxlist?
>
>
> http://struts.apache.org/2.1.2/docs/
I can never remember which things can be accessed through EL, but my
guess is that you can't get "language" because the top of the struts
value stack is not the same thing as a request scoped variable.
Instead of the el notation try using the s:property tag like this -
notice the hash mark in
fron
2009 16:58:52 -0700
> From: tommy...@yahoo.com
> Subject: Re: [struts2] problem
> To: user@struts.apache.org
>
> Hi,
>
> Looks like I'm still having problems with the . I have a
> LinkedHashMap list which I want to iterate and show the contents. This i
Hi,
Looks like I'm still having problems with the . I have a
LinkedHashMap list which I want to iterate and show the contents. This is the
code for it:
ID
ISO
Code 2
ISO
Code 3
Name
Native Nam
It will be the default, but if a specific tag needs a different theme, you
can set it as one of the tag's attributes.
e.g.
-Original Message-
From: Tommy Pham [mailto:tommy...@yahoo.com]
Sent: Tuesday, August 18, 2009 6:05 PM
To: Struts Users Mailing List
Subject: Re: [st
- Original Message
> From: Paweł Wielgus
> To: Struts Users Mailing List
> Sent: Tuesday, August 18, 2009 1:18:13 PM
> Subject: Re: [struts2] problem
>
> Hi Tommy,
> add theme="simple" inside checkbox to remove extra td and tr.
>
>
> Best gre
Hi Tommy,
add theme="simple" inside checkbox to remove extra td and tr.
Best greetings,
Paweł Wielgus.
2009/8/18 Tommy Pham :
> Hi,
>
> I'm new to struts 2 (2.1.6) and having some problems implementing the
> . After following the bootstrap tutorial, I decided to work on
> my project. Based
Hi,
I'm new to struts 2 (2.1.6) and having some problems implementing the
. After following the bootstrap tutorial, I decided to work on
my project. Based on the tags reference for checkbox
http://struts.apache.org/2.1.6/docs/checkbox.html, or
in the jsp page should yield the same html outp
Hi,
we are using UTF-8 in out jsp-sites. We have put our texts into the
package.properties which is encoded in ISO-8859-1, because properties
files should be encoded in the ISO charset as referred in the java api
("The load(InputStream) / store(OutputStream, String) methods work
the same way as
I have a very weird problem and I hope somebody can tell me where to
look for a solution.
Using the code below everything works as expected. On form submission
an ajax call is made to the alert() method which simply forwards to
alert.jsp which alerts the filled in text and a dom reference o
: Raghuveer Rawat [mailto:[EMAIL PROTECTED]
Sent: Saturday, December 15, 2007 4:01 AM
To: Struts Users Mailing List
Subject: [Struts2] problem with tag
Hi,
I have a getting problem in using s:select tag. Need some help if anyone
used s:select before.
This dropdown is populated dynamically. When form is
Thanks Dave, This issue has been resolved using Preparable/prepare()
On Dec 15, 2007 8:18 PM, Dave Newton <[EMAIL PROTECTED]> wrote:
> You don't say how you initially populate the select box. In any case,
> unless
> you're populating it via Preparable/prepare() or some other automatic way
> or
>
You don't say how you initially populate the select box. In any case, unless
you're populating it via Preparable/prepare() or some other automatic way or
if it's not in application or session scope it won't get automatically
re-populated when you re-visit the page.
d.
--- Raghuveer Rawat <[EMAIL
Hi,
I have a getting problem in using s:select tag. Need some help if anyone
used s:select before.
This dropdown is populated dynamically. When form is loaded initially
dropdown is getting populated perfectly. No issue here.
But when we submit the form and some of the validations fail then page is
For what it's worth, overloaded setters are not supported by the
JavaBeans specification, so if you do that you no longer have a valid
JavaBean. The behaviour of code which depends on JavaBeans-style
introspection (such as Struts) is JVM version dependent in such cases,
which is a good reason t
Solved the problem:
In my case the problem was a type conversion :-) I have a bean class, which
is filled by hidden fields. I have some overloaded setters with a type and a
string which converts into the type. So I assume struts doesn't look at the
signature of the setter and just uses the first i
There is *some* reason it's expecting an input result: it could be your
configuration, a type conversion error, something... if nothing else I'd
crank up logging full-blast and see what's there.
HTHBIPD (Hope This Helps But It Probably Doesn't)
d.
--- Marc Eckart <[EMAIL PROTECTED]> wrote:
> Hi,
Hi,
I have a problem when I call a action with dojo by publishing a topic.
Struts wants a input result and I don't know why. I haven't changed anything
in this region of the application and it worked for a long time. I don't
have any validation methods neither have I added a validation intercepter
If you need to prevent the request you would need it. Topics have
changed quite a bit between releases, if you are using 2.0.9, then the
topic takes 3 parameters, and it is published before the request,
after the request and when there is an error.
http://struts.apache.org/2.x/docs/ajax-tags.html
2007/8/30, Musachy Barroso <[EMAIL PROTECTED]>:
>
> Well, it is on search.js line 206 ;)
>
> musachy
>
Ah, sometimes I'm blind. Firebug hide this info and I didn't take a closer
look at my pastet content :-)
On line 206 is this:
// prevent refreshSelectedCustomer AJAX requests, if IpNbr is e
Well, it is on search.js line 206 ;)
musachy
On 8/30/07, Marc Eckart <[EMAIL PROTECTED]> wrote:
> 2007/8/30, Musachy Barroso <[EMAIL PROTECTED]>:
> >
> > Any idea what "event" is referring to?
> >
> > musachy
> >
> >
> No not really. How can I find out, which event is used? The dojo.js is not
> r
2007/8/30, Musachy Barroso <[EMAIL PROTECTED]>:
>
> Any idea what "event" is referring to?
>
> musachy
>
>
No not really. How can I find out, which event is used? The dojo.js is not
really human readable...
Any idea what "event" is referring to?
musachy
On 8/30/07, Marc Eckart <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have a struts div-Tag with:
>
> This refreshes a jsp when the refreshSelectedCustomer topic is published. If
> this happens the sessionContext Action is called (As far as I understand it)
Hi,
I have a struts div-Tag with:
This refreshes a jsp when the refreshSelectedCustomer topic is published. If
this happens the sessionContext Action is called (As far as I understand it)
In the selectedCustomer.jsp I have a href where I call a javascript which
publishes the topic as well as a c
Sorry, I forgot to post that I found the mistake, a few days after my first
post and my holidays... I made an error in the action, just one letter wrong
("accueil" and "acceuil") and this was redirected to the "default" action...
whatever, thanks for your answer
Sebastien
On 12/1/06, Don Brown
That is strange. Perhaps a Firefox thing? What happens when you try
other browsers?
Don
On 9/28/06, Labey Sébastien <[EMAIL PROTECTED]> wrote:
Hi,
I have a strange problem : I have 2 links in my page to change the locale. The "english"
and the "french" link are not build the same way (for t
Hi,
I have a strange problem : I have 2 links in my page to change the locale. The
"english" and the "french" link are not build the same way (for tests...) but
the 2 solutions give the url that I want in the end.
<%/* anglais */%>
en
58 matches
Mail list logo