thanks Lukasz
i tried it but i got one servelet exception
Jul 9, 2009 12:02:11 PM org.apache.catalina.core.ApplicationContext log
INFO: action: Looking for ActionForm bean under attribute
'HelloWorldFromBean'
Jul 9, 2009 12:02:11 PM org.apache.catalina.core.ApplicationContext log
INFO: action:
2009/7/9 jayadevan :
>
> path="/helloWorld"
> type="examples.firstStruct.helloWorld.HelloWorldAction"
> name= ""
Add name = "HelloWorldFromBean"
Regards
--
Lukasz
http://www.lenart.org.pl/
http://dailylog.lenart.org.pl
2009/7/7 Cristian Peraferrer :
>
> ${enterprise.enterpriseId}
> This username is already taken.
>
Do you have a getter called getEnteriprise() on an action?
Regards
--
Lukasz
http://www.lenart.org.pl/
http://dailylog.lenart.org.pl/
Mary Pickford - "Adding sound to movies would
hi all
I am using struts 1.1 for my accadamic project . My exceute() method in
action class did n't called . but the instance of action class created
struts - config.xml
http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd";>
For stuff like data dictionary lists, or other random stuff I don't need to
reload I will initialize on startup and store in the servletContext. I will
use EhCache for handling cache of model objects when I have a lot of reads
and want to improve performance when there are lots of "things".
I
Let the record the response was non-responsive. Struts is trying to call
index() on your action. Since you likely don't have index() in your action
it seems likely that the REST plugin is in your path and is trying to
auto-map a URL to the index() method of a registered Controller.
So lets t
JSF programming requires a ponytail, so when in Rome.In order to really
get inside the head of The Fail, you use a random XML document generator and
generate 10,000 files and then try to wrestle that into a functioning web
app.
mgainty wrote:
>
>
>> From: w...@wantii.com
>> To: user@strut
> From: w...@wantii.com
> To: user@struts.apache.org
> Subject: Re: Commercial framework based on struts2.
> Date: Wed, 8 Jul 2009 21:37:24 -0400
>
> On Wednesday 08 July 2009 00:00:49 dusty wrote:
> > I know a guy who knows a guy that ported Icefaces to Struts2 + stuff you
> > probably need and
i couldnt locate the 1.3.8 distro..i was assumining EOLed?
also there was no maxFileSize available in 2.1.6 tree?
could you confirm that maxFileSize was dropped or deprecated?
in the meanwhile struts2 users try specifying MaximumSize as a interceptor=ref
param e.g.
1
On Wednesday 08 July 2009 00:00:49 dusty wrote:
> I know a guy who knows a guy that ported Icefaces to Struts2 + stuff you
> probably need and don't know it. He even has a ponytail. He wants
> eleventy thousand dollars.
>
> sharath wrote:
> > Dear All,
> >
> >I'm looking for chimerical fram
Struts 1.3 does control when the file upload size hits a limit. The
element has a @maxFileSize attribute:
http://applegrew.blogspot.com/2008/10/struts-1-config-file-reference.html
Paul
2009/7/8 Martin Gainty :
>
> FileUploadInterceptor has a setMaximumSize(Long size) method
>
> http://struts.ap
you are taking this course to learn about J2EE apps?
did you even read the email i sent you on setting up min and max params
1
10
better to get the fundamentals straight before you hire americans to work at
min wage
Martin Gaint
People,
If someone want help me about my university project, here is my e-mail:
robsonsil...@gmail.com . I can send to you the entire projcect.
This project is about control of stock and MRP. I´m using Struts2, Hibernate
and MYSQL. It is separate on three layers with MVC.
Robson Rodrigues wr
Dale Newfield wrote:
> Greg Lindholm wrote:
> > Not sure why you think I don't understand referer.
>
> I already quoted the bits that illustrate this perceived misunderstanding,
> but since you apparently want me to be more specific:
>
Actually I just wanted to move off the whole referer topic
FileUploadInterceptor has a setMaximumSize(Long size) method
http://struts.apache.org/2.1.2/struts2-core/apidocs/org/apache/struts2/interceptor/FileUploadInterceptor.html
hth
Martin
__
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confiden
Can it be changed?
Frank Russo
Developer ▪ Financial Services Division
SAS® … THE POWER TO KNOW®
Greg Lindholm wrote:
> Not sure why you think I don't understand referer.
I already quoted the bits that illustrate this perceived
misunderstanding, but since you apparently want me to be more specific:
Greg Lindholm wrote:
The referer header will contain the URL of the last request
It won
2009/7/8 Oscar Alvarez
> Hi...
>
> Try to get the Ian Roughley's "Starting Struts2 online" ebook for free, and
> study "PRODUCTIVITY TIPS" -> "Re-Using Action Configurations"... and see if
> there are some other tips for you.
>
And of course "PRODUCTIVITY TIPS" -> "Use Pattern Matching Wildcard
Hi...
Try to get the Ian Roughley's "Starting Struts2 online" ebook for free, and
study "PRODUCTIVITY TIPS" -> "Re-Using Action Configurations"... and see if
there are some other tips for you.
HTH
2009/7/8 Greg Lindholm
> > Greg Lindholm wrote:
> >
> >> The referer header will contain the URL
2009/7/8 jo_atman :
> I have an existing project which makes heavy use of tiles definitions for
> pages. now there's a requirement to change the pages shown based on the
> user.
> Any ideas on how to do this would be greatly appreciated. I would of course
> prefer not to create a static tiles defin
> Greg Lindholm wrote:
>
>> The referer header will contain the URL of the last request, which will be
>> the action URL not the jsp page that rendered the result. So this wouldn't
>> help the OP if I understood his problem.
>>
>
> I think you misunderstand what the referer field contains. It'll b
Folks,
I have an existing project which makes heavy use of tiles definitions for
pages. now there's a requirement to change the pages shown based on the
user.
Any ideas on how to do this would be greatly appreciated. I would of course
prefer not to create a static tiles definition for each page t
what I mean is since in the action I already define the result, which has the
jsp name, if struts2 provide a way that I can get this info, then I can set it
to ${input} easily.
E.g if there is something like .getResult("page1") and it give me the value
"/WEB-INF/pages/page1.jsp" then this s
Greg Lindholm wrote:
The referer header will contain the URL of the last request, which will be
the action URL not the jsp page that rendered the result. So this wouldn't
help the OP if I understood his problem.
I think you misunderstand what the referer field contains. It'll be the
url that
Hi...
It depends on what the objects mean on your system... exist
ApplicationAware, SessionAware and RequestAware interfaces...
You decide what to use in your design.
HTH
2009/7/8 Mitch Claborn
> What is the preferred method of caching arbitrary Java objects locally
> in a Struts application?
The referer header will contain the URL of the last request, which will be
the action URL not the jsp page that rendered the result. So this wouldn't
help the OP if I understood his problem.
On Wed, Jul 8, 2009 at 11:50 AM, Dale Newfield wrote:
> Greg Lindholm wrote:
>
>> There is nothing in a r
Greg Lindholm wrote:
There is nothing in a request that will tell you which page you came from
unless you put it there (as with the hidden parameter).
While this is mostly true, it's not 100% true. HTTP has a "referer"
(yes, misspelled in the spec) field so most of the time you can know
from
What is the preferred method of caching arbitrary Java objects locally
in a Struts application? I've been making my actions implement
ApplicationAware and storing objects in that Map. (I think this comes
from the ServletContext?) Is that the best way or is there something else?
Mitch
Hi musachy,
oops - I thought I sent the mail just to Martin. :D
However with that mail I just wanted to explained to him, what my problem is -
cause I thought he might have misunderstood what I mean.
What I think is, that there is no way to achieve what I want to do.
Guess that's what you are t
There is nothing in a request that will tell you which page you came from
unless you put it there (as with the hidden parameter).
If you don't like that then use the multiple actions so the action name
tells you where the request came from (and where to go back).
On Wed, Jul 8, 2009 at 11:05 AM
Someone can solve my problem? the validator always say the validation failed
:(
Robson Rodrigues wrote:
>
> Hello People,
>
>
>
> i´m using the struts 2 in a project and i´m with a problem on the
> validation. When i try validate a form, the struts say the validation
> failed, even when the
The other examples are doing well.
So.
On Wed, Jul 8, 2009 at 10:48 PM, Musachy Barroso wrote:
> do you have the REST plguin in your lib dir?
>
> musachy
>
> On Tue, Jul 7, 2009 at 11:26 PM, Leegorous wrote:
>> Hi,
>>
>> I'm new here.
>> I follow the http://struts.apache.org/2.x/docs/convention-pl
Hi,
Thanks for the reply, I try not to hardcode any file name in the jsp, prefer to
put it in the struts config file, but don't know how to get the value out of it.
Regards
Louis
From: Greg Lindholm
To: Struts Users Mailing List
Sent: Wednesday, July 8, 20
Trust me, it is not a language problem.
musachy
2009/7/8 Jan Fröhlich :
> Hallo Martin,
>
> if I see that right, you speak german too - so lets make it a little easier -
> if not - just ignore the rest of the message! ;)
>
> Das Ganze ist ein bisschen komplizierter als das Ändern des Mime Types.
do you have the REST plguin in your lib dir?
musachy
On Tue, Jul 7, 2009 at 11:26 PM, Leegorous wrote:
> Hi,
>
> I'm new here.
> I follow the http://struts.apache.org/2.x/docs/convention-plugin.html
> Some examples are not working in my case.
> like the simplest one, no action exist, always throw
Cheers Martin
At the moment I'm not using any plugin for JQuery (although I noticed there are
struts plugins for JSON etc). I'm just using the included javascript/css files.
I'm an Ajax noob, but would love to use it more. Could you tell me what extra
functionality the plugin version would give
Hallo Martin,
if I see that right, you speak german too - so lets make it a little easier -
if not - just ignore the rest of the message! ;)
Das Ganze ist ein bisschen komplizierter als das Ändern des Mime Types.
Um das ganze mal ein bisschen detailierter zu umreißen - ist mir im englischen
zu
good to hear..I have a build environment for that plugin in case you need it
Cheers,
Martin
GMT+5 (this week)
__
Note de déni et de confidentialité
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le
destinataire prévu, nous t
One way would be to pass a hidden parameter that tells you which page you
came from.
In page1.jsp form you could add:
You would need to add a setter and getter in you action for page variable.
Then your result could be:
/WEB-INF/pages/${page}.jsp
Another way would to have different actions
Thanks Dusty, and Martin
I'm happily using JQuery now - and it looks great!
Cheers
Richard
-Original Message-
From: dusty [mailto:dustin_pea...@yahoo.com]
Sent: 08 July 2009 05:06
To: user@struts.apache.org
Subject: Re: Ajax Basics
So I think straight JQuery is pretty easy, althoug
The easiest (I'm not saying best) way to ensure thread safety is to keep
your data in method local variables, rather than in fields on the
interceptor. Local variables are threadsafe.
jk
On Wed, Jul 8, 2009 at 9:08 AM, ravi_eze wrote:
>
> hi,
>
> http://struts.apache.org/2.x/docs/writing-interce
hi,
http://struts.apache.org/2.x/docs/writing-interceptors.html says that
interceptors are not thread safe, i wanted a deeper understanding on this.
Case:
1. Suppose i have 2 action tags each having an interceptor (I) referenced in
it
2. 2 action tags with interceptors referenced *twice in each*
early here in EDT so I'll make the suggestion for the Action class changing the
ContentType
FileUploadAction.setContentType("application/octet-stream");
mit freundlichen Grüßen
Martin
__
Verzicht und Vertraulichkeitanmerkung
Diese Nachricht ist ver
Are you not mixing Struts 1 and Struts 2 concepts?
Chris
-Original Message-
From: Martin Gainty
To: Struts Users Mailing List
Sent: Tue, Jul 7, 2009 2:26 pm
Subject: RE: Commercial framework based on struts2.
majority of struts tags support ajax out of the box
would
correct
you want to determine why your action is moving causing all of your relative
paths to 404
btw: using absolute paths always works
Martin
__
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Diese Nachricht ist vertraul
Martin & Musachy, thank you for your replies.
@Martin, sorry that I couldn't make it that clear - "dialogContainer" is a div
that is embedded in my page.
@Musachy
I did some more research, and I guess I can't solve it in any way.
If my action returns "prompt" (tiles) it works like a charm and up
Hello,
I'm new to struts2, and learning the validation in struts 2 at the moment.
I'm not able to get the validation work in the way I want in the webflow (or
wizard kind of page) design. Everytime when validation failed, it always return
to INPUT page, I wondering is there a way I can tell str
47 matches
Mail list logo