-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Joe,
thats a good solution but only works partially for me.
The new Language is set correctly, but as no request is submitted, my
textfields and textarea-fields are not updated
so that I cannot see the content for the language I have chosen.
Do
Don't now if this is current because I'm using an old struts2 release
but this has helped a lot reducing my cpu & memory usage :
freemarker.template.Configuration fmc =
(freemarker
.template
.Configuration
)ServletActionContext
.getServletContext
().getAttribute(FreemarkerManage
Are you, by any chance, trying to display a big list all at once?
Al.
sajanv007 wrote:
sOME MORE TRACES
CPU SAMPLES BEGIN (total = 8868) Sat Sep 6 12:29:17 2008
rank self accum count trace method
1 20.44% 20.44%1813 303423 ognl.SimpleNode.evaluateGetValueBody
2 12.55% 33.00%
Can anyone guide me to solve this problem?
Thanks
RajibJana wrote:
>
> Hi All,
>
> I am building a application using struts 2.1.2.
>
> In my application, I want to have tree and by clicking a tree node, an
> action will excute and attached JSP with the action will have a
> tabbedpanel. ( ju
Has anyone overcome issues discussed regarding doubleselect in this article
http://struts2-java.blogspot.com/2008/09/doubleselect-with-full-functionality.html
_
Connect to the next generation of MSN Messenger
http://imagine-ms
I though the examples at
http://struts.apache.org/2.0.11.2/docs/ajax-and-javascript-recipes.html
would be helpful and didn't want to use all of struts 2.1 until the final
release. I'm pretty sure I read somewhere that it was being done...
> Why are you trying to do this?
> L.
Could you provide more details of what are you trying to accomplish?
2008/9/18 Alejandro77 <[EMAIL PROTECTED]>:
>
> Good morning.
>
> I want to make the following order:
>
> " />
>
> With this order pretend that the value of attribute value of the first tag
> is dynamic but gives an error.
> Does
try disabling the empty fields in the form's onsubmit event.
2008/9/18 Laurie Harper <[EMAIL PROTECTED]>:
> Pierre Thibaudeau wrote:
>>
>> Is there a way to avoid null-valued (or empty-valued) parameters to be
>> explicitely mentioned in the URL generated by a form submitted through the
>> GET met
Hi Volker,
I've used result type httpheader and response-status code 204 for a similar
problem:
204
200
HTH,
Joe
Joe Crombie
p. 02 6272 5906
e. [EMAIL PROTECT
Good morning.
I want to make the following order:
" />
With this order pretend that the value of attribute value of the first tag
is dynamic but gives an error.
Does anyone know how I get that?
--
View this message in context:
http://www.nabble.com/%3Cs%3Aproperty%3E-tags-nested-tp19563094p
--- On Thu, 9/18/08, Paweł Wielgus wrote:
> [...] is not
> working - title is not evaluated.
The form element doesn't render a title. It's an attribute of the form element
because it inherits an underlying class covering the HTML tags, but doesn't use
it itself.
There are a number of possible
Hi all,
i would like to add internationalized title element to my form,
but is not working - title is not evaluated.
Does anyone have some kind of an elegant solution for it?
Or maybe i'm mising something here?
Best greetings,
Paweł Wielgus.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
I think I have to explain my problem more clearly:
I have a page that show some text-fields. These Text-Fields can be
filled in different languages.
To choose the according language, you can click on a button (e.g.
english/french etc.) and a m
Hi Volker,
where it should go when i will open my browser window (blank) and type
Your action url?
Best greetings,
Paweł Wielgus.
2008/9/18 Volker Karlmeier <[EMAIL PROTECTED]>:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hello Struts-Freaks,
>
> I have a quite easy question, I think:
>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello Struts-Freaks,
I have a quite easy question, I think:
how can I configure an action in struts.xml, that does nothing than go
to the page I came from ?
Something like or so ?
Thanks in advance.
~ Volker
- --
- --
sOME MORE TRACES
CPU SAMPLES BEGIN (total = 8868) Sat Sep 6 12:29:17 2008
rank self accum count trace method
1 20.44% 20.44%1813 303423 ognl.SimpleNode.evaluateGetValueBody
2 12.55% 33.00%1113 300397 java.net.PlainSocketImpl.socketAccept
3 8.37% 41.36% 742 300856 java
These are HProf results
CPU SAMPLES BEGIN (total = 3267) Sat Sep 6 12:27:45 2008
rank self accum count trace method
1 15.70% 15.70% 513 300397 java.net.PlainSocketImpl.socketAccept
2 10.47% 26.17% 342 300856 java.net.SocketInputStream.socketRead0
3 5.23% 31.40% 171 302
Do the ideas listed at
http://java.sun.com/developer/technicalArticles/Programming/HPROF.html
shed any light on it?
sajanv007 wrote:
I am using the latest Freemarker version 2.3.13 and Spring 2.5 OGNL 2.7.2
with Javaassist .
Al Sutton wrote:
Replace your freemarker lib with 2.3.13 or later
bob fuller wrote:
I am trying to Localize a dynamic message and would like some advice as to how
I should go about it. My main goal is to keep the message itself as 'intact' as
possible in my package.properties, doing this will (hopefully) speed up
translation by an interpreter. Goals after t
Pierre Thibaudeau wrote:
Is there a way to avoid null-valued (or empty-valued) parameters to be
explicitely mentioned in the URL generated by a form submitted through the
GET method?
For instance, here's a form:
If the user types "FOO" in the first textfield and nothing in the
daveck wrote:
Any idea how to get the struts2-dojo-plugin-2.1.2 with struts 2.0.11? I've
tried to put the before the in the
struts-dojo-tags.tld with no luck. I'm running resin 3.0. I feel like an
idiot. Thanks for any help you can give.
ERROR:
jar:file:/usr/lib/resin/webapps/hol/WEB-INF/l
I am using the latest Freemarker version 2.3.13 and Spring 2.5 OGNL 2.7.2
with Javaassist .
Al Sutton wrote:
>
> Replace your freemarker lib with 2.3.13 or later. Prior releases had a
> concurrency performance issue.
>
> Al.
>
> sajanv007 wrote:
>> It is a solaris box and has 16 GB memory an
--- On Thu, 9/18/08, sajanv007 wrote:
> I am using Weblogic 9.2 MP1 and Sun one web server 6.5
> The images,js and css is served thru the webserver and the
> application server renders the forms , we are using simple
> theme nothing more than that
I'd definitely try Al's advice as a first attemp
ail: [EMAIL PROTECTED]
>>> > For additional commands, e-mail: [EMAIL PROTECTED]
>>> >
>>> >
>>> >
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Performance-and-High-CPU-utilization-tp19559123
>
showPassword="true"
solved the problem
dynamicd wrote:
>
> i have an edit form which gets populated when the user clicks on edit.
> My user wants me to have the password field in there populated with the
> pwd that shows *
> however the value attribute for the s:password does not seem to be
--- On Thu, 9/18/08, sajanv007 wrote:
> It is a solaris box and has 16 GB memory and 4 CPU it is
> high end server class machine . Some how I suspect it is
> the OGNL or Freemarker rendering issue.
Perhaps, but if so, I'll stick with my old dev box with a P4 and 2G running
WebSphere, because I d
Replace your freemarker lib with 2.3.13 or later. Prior releases had a
concurrency performance issue.
Al.
sajanv007 wrote:
It is a solaris box and has 16 GB memory and 4 CPU it is high end server
class machine . Some how I suspect it is the OGNL or Freemarker rendering
issue .
Jim Kiley wrot
> For additional commands, e-mail: [EMAIL PROTECTED]
>> >
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Performance-and-High-CPU-utilization-tp19559123
>> p19560223.html Sent from the Struts - User mailing list archive at
&
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
fantastic. I've watched this code for ours but not seen that.
Thanx a lot :)
~ Volker
Dave Newton schrieb:
| --- On Thu, 9/18/08, Volker Karlmeier wrote:
|> I'm sorry that my answer is coming quit late, but I
|> came back from work soon. Her
Hi Bob,
i would do it like that:
welcomeMessage=Welcome to {0} - Additional information about {1} is available.
then in jsp
and in action
public String getWelcomeMessage() {
return getText("welcomeMessage", varFromDatabase1, varFromDatabase2);
}
I asume that name and second parameter are cons
It is a solaris box and has 16 GB memory and 4 CPU it is high end server
class machine . Some how I suspect it is the OGNL or Freemarker rendering
issue .
Jim Kiley wrote:
>
> What kind of server are you using here, how much memory, what CPU -- when
> we
> are getting to CPU utilization, all of
What kind of server are you using here, how much memory, what CPU -- when we
are getting to CPU utilization, all of these issues are relevant.
On Thu, Sep 18, 2008 at 3:43 PM, sajanv007 <[EMAIL PROTECTED]> wrote:
>
> I have tried all the tuning parameters mentioned in the link somehow CPU
> utili
--- On Thu, 9/18/08, sajanv007 wrote:
> I have tried all the tuning parameters mentioned in the link
> somehow CPU utilization is always 80% ,I observed that it
> takes tags are rendered from free marker cache but still the
> cpu 80-90% .
On what plaform and JVM? How many tags are on your page?
--- On Thu, 9/18/08, Volker Karlmeier wrote:
> I'm sorry that my answer is coming quit late, but I
> came back from work soon. Here's my code :
>
> _*struts.xml:*_
> ~[...]
> ~ class="net.magiccode.houseman.action.RentalObjectAction"
> method="{1}">
> ~ name="para
I have tried all the tuning parameters mentioned in the link somehow CPU
utilization is always 80% ,I observed that it takes tags are rendered from
free marker cache but still the cpu 80-90% .
Regards
Sajan
Nils-Helge Garli wrote:
>
> Maybe this can help:
> http://struts.apache.org/2.0.11.2/d
Maybe this can help:
http://struts.apache.org/2.0.11.2/docs/performance-tuning.html
Nils-H
On Thu, Sep 18, 2008 at 9:11 PM, sajanv007 <[EMAIL PROTECTED]> wrote:
>
> There is huge performance issue and CPU hogging with Struts2 tag , this was
> observed while rendering JSP. These are some performan
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello Lukas,
I'm sorry that my answer is coming quit late, but I came back from work
soon.
Here's my code :
_*struts.xml:*_
http://struts.apache.org/dtds/struts-2.0.dtd";>
~
~
~
~
~value="globalMessages, navigation.propert
I am trying to Localize a dynamic message and would like some advice as to how
I should go about it. My main goal is to keep the message itself as 'intact' as
possible in my package.properties, doing this will (hopefully) speed up
translation by an interpreter. Goals after that are to use the
There is huge performance issue and CPU hogging with Struts2 tag , this was
observed while rendering JSP. These are some performance results obtained
Strut 2 Tag - With all performance tuning applied as per Struts 2
documentation - Freemarker caching etc...
Load Runner Tool
40 users
900 hits per
i have an edit form which gets populated when the user clicks on edit.
My user wants me to have the password field in there populated with the pwd
that shows *
however the value attribute for the s:password does not seem to be taking
the password value
the text field works
THis works
This does
Yes. I should have mentioned that I used a marker interface.
Dave Newton <[EMAIL PROTECTED]>
09/18/2008 02:30 PM
Please respond to
"Struts Users Mailing List"
To
Struts Users Mailing List
cc
Subject
Re: Struts 2: How can we save the parameters if we do redirect and not
redirect-action
--- On Thu, 9/18/08, srinivasch wrote:
> OK, I changed my view, i would go ahead and extend
> ServletRedirectResult and try to include the request
> parameters just like how ServletActionRedirectResult
> and URL component try to do. That way it would
> be consistent. Your solution is also good t
OK, I changed my view, i would go ahead and extend ServletRedirectResult
and try to include the request parameters just like how
ServletActionRedirectResult and URL component try to do. That way it would
be consistent. Your solution is also good though, but I dont like to have
extra code in my
--- On Thu, 9/18/08, roointan wrote:
> virtually everything is different in 2.1.
I'm running two almost completely unchanged applications in production that
went from 2.0.9 to 2.1, so I guess there are more similarities than you'd
suspect. Apparently less buggy, too.
> if you ask me, I say 2.0x
I'm sorry, I should have been more specific with my original question.
I need to secure struts *.action URIs. Nothing else, be it by port,
directory mapping, or context name. Right now. You see, my app
supports
adding users and changing their roles via web UI (hence the DB). It
also supports
Is there a concise list anywhere that explains which tags HTML encode
output by default?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I wonder why it is version 2.1
virtually everything is different in 2.1.
if you ask me, I say 2.0x is so buggy, or better said, it's beta!
they should have either not released 2.0x and kept it beta for enough time,
or should have changed the new one to 3 :)
Ganesh123 wrote:
>
> Hi,
>
>
In an interceptor that my action implemented.
session.setAttribute("PARMS", request.getParameterMap());
> Where did you set the session with the parameterMap in the
> servletRedirectResult.java or ?
This e-mail and any files transmitted with it are confidential and intended
solely for th
The culprit wasn't the validation interceptor, but the workflow
interceptor. Its only job is to stop the chain (and call input on
everything) when validation errors occur. I removed it entirely and
everything is working as we need it to. This worked for us because,
regardless of errors, we need
Where did you set the session with the parameterMap in the
servletRedirectResult.java or ?
daveck wrote:
>
> I ended up solving a similiar problem using an Interceptor and saving the
> parameter Map to the session.
>
> session.setAttribute("input_params", request.getParameterMap();
>
> Then in
I ended up solving a similiar problem using an Interceptor and saving the
parameter Map to the session.
session.setAttribute("input_params", request.getParameterMap();
Then in my action I implemented SessionAware and utililized BeanUtils from
Jakarta Commons to re-populate the properties in my a
Hi,
My issue goes like this, I have a summary page which comes for a search
result, and the user clicks to see summary of any record from the result. So
all the search parameters are existing in the URL. And when we further hit
edit link of the summary record, and again when the user hits canc
Hello, sorry for my bad english.
I am working on an application that uses a framework, and this framework
uses itself struts.
There is something I can't understand:
In a request, 2 actions are caled the one after the other (nothing other
action between the two actions).
In the first action, the
The styleId attribute did the trick. To quote the great homer simpson: "doh!"
When it was not there, firefox responded exactly like it should. The
method is getElementById not getElementByName. getElementByName works
just fine under IE however since under IE it uses the name attribute.
Thanks
Is there a way to avoid null-valued (or empty-valued) parameters to be
explicitely mentioned in the URL generated by a form submitted through the
GET method?
For instance, here's a form:
If the user types "FOO" in the first textfield and nothing in the second,
the submitted URL
Hi,
I have implemented SessionWare method in my action class. I am able to get
the session variables in the action. But am not able to get in velocity;
I have set user object to session like this.
*session.put("USERS",users);*
when i print *session.get("USERS")*, i am able to get the values.
I
hi jeff-
id is a standard html attribute
http://www.w3schools.com/TAGS/ref_standardattributes.asp
what behaviour would you expect when the id is null
?
Martin
__
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relate
2008/9/18 Jeffrey Born <[EMAIL PROTECTED]>:
> I could override the html:select tag to output an Id attribute, but
> there has to be a more elegant solution to this? Or it was solved
> some other way?
Use the "styleId" attribute of
Ciao
Antonio
--
I'm trying to use a JavaScript function getElementById to access the
selectedIndex property of an HTML select tag that is generated via a
struts html:select tag. The JavaScript function is failing because
the Id attribute is missing. IE works with the name attribute which
is generated.
I'm using
Hi,
I am using 4 forms in one jsp, the reason being few select UI components &
search are common to other use cases.
The problem I'm facing is with resetting the fields on successful completion
of any transaction.
One option is calling reset() method on all the forms in java script
functi
Any idea how to get the struts2-dojo-plugin-2.1.2 with struts 2.0.11? I've
tried to put the before the in the
struts-dojo-tags.tld with no luck. I'm running resin 3.0. I feel like an
idiot. Thanks for any help you can give.
ERROR:
jar:file:/usr/lib/resin/webapps/hol/WEB-INF/lib/struts2-dojo
>> The war project contains all web resources, jsps, etc.
>> The core project contains all of our struts actions,
>> service layer and data access layer.
> IMO that's broken--the S2 actions should be part of the web
> project because... that's what S2 is--the web layer. That
> solves your proble
On Thu, Sep 18, 2008 at 4:29 AM, Jeromy Evans
<[EMAIL PROTECTED]> wrote:
> The starter archetype for 2.0.11.2 is ... awaiting formal release to the
> maven repository.
It's done...
http://repo1.maven.org/maven2/org/apache/struts/struts2-archetype-starter/2.0.11.2/
(And the staging repo has be
--- On Thu, 9/18/08, Peter Butler wrote:
> The war project contains all web resources, jsps, etc.
> The core project contains all of our struts actions,
> service layer and data access layer.
IMO that's broken--the S2 actions should be part of the web project because...
that's what S2 is--the w
We are doing web development using Struts 2, building using Maven. Our
system is made up of two projects: a war project and a core project. The
war project contains all web resources, jsps, etc. The core project
contains all of our struts actions, service layer and data access layer.
We split o
I believe that at some point in your quest you are going to learn that
Struts2 tags delegate to a component (which you'll have to extend/use).
So a few questions (if overriding the label setter doesn't work).
- Are you using the "key" attribute on the tag (it's used to generate
the label).
-
Thanks Jeromy.
It works.
On Thu, Sep 18, 2008 at 2:29 PM, Jeromy Evans
<[EMAIL PROTECTED]> wrote:
> Yanis Kekatos wrote:
>>
>> HI all,
>> I am trying to run the Struts Maven Archetype following the
>> instructions of the page
>> http://struts.apache.org/2.1.2/docs/ready-set-go.html but I get the
>
--- On Wed, 9/17/08, ravindra wrote:
> This is the thing which is making my action work as I
> wanted. The below meta tag.
>
>content="5;url=<@s.url includeParams="none"/>"/>
>
> If I remove this line it's not working. It's executing the action at
> the Backend but not forwarding to the
I included an example of this in our Struts 2 in Action book using JSP.
On Wed, Sep 17, 2008 at 12:28 AM, ravindra <[EMAIL PROTECTED]> wrote:
>
> Thanks for the replay.
>
> I got this working if I use a freemaker template as my result.
>
> The content of the file is below.
>
>
> "/>
>
>
>
Yanis Kekatos wrote:
HI all,
I am trying to run the Struts Maven Archetype following the
instructions of the page
http://struts.apache.org/2.1.2/docs/ready-set-go.html but I get the
following error. Any help on this?
The starter archetype for 2.0.11.2 is here:
http://people.apache.org/buil
But try only
mvn archetype:generate
with one of previous option
Regards
--
Lukasz
http://www.lenart.org.pl/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Thanks Lukasz,
I've tried each of the options you refer but the error remains.
On Thu, Sep 18, 2008 at 1:58 PM, Lukasz Lenart
<[EMAIL PROTECTED]> wrote:
> All the SNAPSHOT archetypes were removed from Maven repo, you can try
> add one of this option below
>
> -DarchetypeRepository=http://people.ap
Hi All,
I am building a application using struts 2.1.2.
In my application, I want to have tree and by clicking a tree node, an
action will excute and attached JSP with the action will have a tabbedpanel.
( just like a standard java GUI).
I have searched the showcase examples and found out the d
All the SNAPSHOT archetypes were removed from Maven repo, you can try
add one of this option below
-DarchetypeRepository=http://people.apache.org/repo/m2-snapshot-repository
-DarchetypeCatalog=http://www.lenart.org.pl/maven
Regards
--
Lukasz
http://www.lenart.org.pl/
-
Could you post some more details? Action code, config, the full stack trace?
Regards
--
Lukasz
http://www.lenart.org.pl/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
HI all,
I am trying to run the Struts Maven Archetype following the
instructions of the page
http://struts.apache.org/2.1.2/docs/ready-set-go.html but I get the
following error. Any help on this?
C:\dev\projects>mvn archetype:create -DgroupId=tutorial
-DartifactId=tutorial -DarchetypeGroupId=org.a
Hi,
i have a requirement of extending the struts 2 control tags like text
field, check box, select. i want to add a new attribute to the component,
which will allows to identify certain properties like visibility,
editability, label text from the database and render the component.
to imple
Hi,
I have an Action class called RentalObjectAction that is inherited by a class
named I18nBaseAction. This I18nBaseAction contains a method called
switchLanguage (public).
When I try to call switchLanguage, which sets a value and returns SUCCESS,
I get a NoSuchMethodException.
What is my faul
78 matches
Mail list logo