I'm trying to make a web application that organizes a bunch of
widgets. I want each widget to be programmed using struts and have
it's own struts.xml. Each widget should be packed as a war file.
I was told on an older thread that I could use a different name space
for each widget and also that I
Good Day,
Thanks for the great looking datepicker control.
Is it possible to post the source code for the Java classes because I am
trying to create my own plugin for some the Open Flash Chart component and
would like to do it in a similar way to your YUI plug-in.
Thank you in advance.
Mark P
On 6/19/07, Aleksandar Matijaca <[EMAIL PROTECTED]> wrote:
All resources keys are available etc...
The code looks rightare you sure that the key "invalid.login" is
available?
I'm pretty sure that the results would be as you see if it was not.
Trysomewhere in your jsp.
---
Hi,
Can someone let us know the limitations of using DOJO
library with S2 provided AJAX features.
What exactly these limitations are?
Any references or articles would be advantageous.
Thanks,
Lalitha
Don'
Hi there,
I am having some really stupid issues -- I am using Struts 1.2, and I have
an action
that does the following:
public ActionForward execute(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response) throws Exception {
ActionMessages
You may want to have a look at using a bit better profiler that can
tell you what is instantiating the freemarker classes.
I've noticed Code Gear (ex Borland) have released a free version of
JBuilder with OptimizeIt built in:
Have a look at http://www.codegear.com/eclipse_supercharged/index
I may be quite wrong, but I would suggest first learning and becoming
somewhat familiar with AJAX independent of Struts before you try to
mix the two...
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Either of those two should solve my problem.
Thanks!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Bruyn, Bill-p6141c wrote:
Yeah, that's about what I'd come up with too (unless I'm
misunderstanding you, this sounds like my option 1.)
That'll work I guess, but I was hoping not to have to muck up all my
method names (e.g., getWhatwouldordinarilybeacamelcasename(),
getWHATWOULDORDINARILYBEACAME
Yeah, that's about what I'd come up with too (unless I'm
misunderstanding you, this sounds like my option 1.)
That'll work I guess, but I was hoping not to have to muck up all my
method names (e.g., getWhatwouldordinarilybeacamelcasename(),
getWHATWOULDORDINARILYBEACAMELCASENAME()) if there's anot
It sounds to me like your Action class might be configured as a singleton.
If that's the case the action class' constructor would only be called once
on startup. Make sure you have singleton="false" in your Spring config for
the action class. The default value for singleton is true.
stanlick
Bruyn, Bill-p6141c wrote:
Or maybe I could replace the ParametersInterceptor with one that used
reflection to figure out which property to set, ignoring case. Do
either of those options seem right to anyone else? Something like
//for each request parameter
//for each getter method on
Apologies in advance if this somehow gets posted twice - I sent the
first message from another account, which is not subscribed to the list.
I don't suppose it should go through, but it hasn't bounced either...
Anyway, I have a requirement that reads, "parameter names shall not be
case sensitive,
The j4 jars worked, but we hit a slowness problem. I backported about a
dozen jars to 1.4 to get our app working on Oracle AS 10.1.2 with JDK 1.4.
Our app ran very responsively on my PC (3GHz dual core pentium with XP) with
Tomcat 5.5 & JDK 5, but ran like a wet weekend on our development Solaris
I've just added a few links to the Wiki that show how to deal with some
common issues when using Struts.
Unit Testing
http://arsenalist.com/2007/06/18/unit-testing-struts-2-actions-spring-junit/
Validation
http://arsenalist.com/2007/05/10/struts-2-validation-using-annotations/
Zero Configuratio
Hello !
You were talking about the DisplayTag library. It looks great for what I
presently need : to export my JSPs as Office files. But still three
questions remain :
- only being able to export my Excel data on a table-per-table basis looks
maybe a bit poor to me : the pages I want to export a
Are you specifying the entire class name in the action mapping
definition instead of using the spring bean id?
[EMAIL PROTECTED] wrote:
It appears as though I am not getting a new Action instance created
for each
request! I have placed a logging statement in the constructor of my
Action
clas
It appears as though I am not getting a new Action instance created for each
request! I have placed a logging statement in the constructor of my Action
class and it is not emitting output. The Bean inside the Action *is*
emitting log statements from its constructor so I must have the Spring bean
It appears as though I am not getting a new Action instance created for each
req
--
Scott
[EMAIL PROTECTED]
2007/6/19, Jeff Amiel <[EMAIL PROTECTED]>:
Ya know...I cannot believe that people categorize the datepicker
'issue' as a 'big issue'.
when I loose several hours trying to make a, as you say, "small 'nice
to have' component", work, in a GA struts version, I call it a "big"
issue (and it's not ad
Let me know how it goes. I've worked with it a little, but had to drop
the integration due to time constraints.
/Ian
Rikard wrote:
Thanks Ian for the quick response. Now i can continue explore the
spring-webflow plugin!
:)
Ian Roughley wrote:
The source is available from the project sit
Thanks Ian for the quick response. Now i can continue explore the
spring-webflow plugin!
:)
Ian Roughley wrote:
>
> The source is available from the project site on google code. I haven't
> seen this error before, but I imagine it is a XML config issue.
>
> /Ian
>
> Rikard wrote:
>
>>Hi im
Without knowing much more about your application I dont know if we are
going to be of much more help. Especially since most people here already
have struts 2 apps running and dont have this issue. I have a couple of
resources that might help you though while you dig through this issue.
You can
By the way, remember there is a javascript validation (validate="true" on
form), and an "ajax" validation (DWR on 2.0, and interceptor+dojo on 2.1),
if that is not confusing enough, you can used them together :)
regards
musachy
On 6/19/07, Dave Newton <[EMAIL PROTECTED]> wrote:
Never mind :/
Never mind :/
During editing the form's ajax theme got deleted and I
didn't notice. Actually leads to another problem
regarding a form with validation errors that updates a
different div on success, though, but that's a new
topic :)
d.
--- Dave Newton <[EMAIL PROTECTED]> wrote:
> Hi,
>
> If I'
On 6/19/07, Guillaume Carré <[EMAIL PROTECTED]> wrote:
IMHO (with the broken datepicker tag that is being reworked for 2.1)
this is THE big "issue" with Struts 2.0.x. At least this is mine.
Ya know...I cannot believe that people categorize the datepicker
'issue' as a 'big issue'.
I mean...it'
Hi,
If I'm using the Ajax theme and an where are the messages being
built into the JavaScript coming from, can I change
them, and to what extent (i.e., action-alias level
properties etc.)?
Thanks,
Dave
___
Hack Alert:
public String exportCSV() throws Exception {
// Search based upon the entered criteria
// TODO: pass the previously found List in, instead of
performing the locate again
// Use the Criteria, create a list of transactionBeans, and
return it
UserBean
This one has been talked about quite a few times here. But I haven't
seen any good solution, so I would like to raise it again.
IMHO (with the broken datepicker tag that is being reworked for 2.1)
this is THE big "issue" with Struts 2.0.x. At least this is mine.
When you have:
Action A -> jsp ->
Balazs,
Balazs Michnay wrote:
> recently I found
> out that my memory consumption of my
> application is nothing compared to the memory consumption of my database
> server (MySQL).
>
> I'm theoretically using connection pool to save resources of my
> database server, but each time I make a query,
What is the best way to learn AJAX and struts 2 development? Is there any
good article ? I have just started learning AJAX.
Leena
--- Musachy Barroso <[EMAIL PROTECTED]> wrote:
> Or you can write your own result, and generate the
> CSV file there (reusable, clean, bla bla)
I did that, to a very small degree (not to the extent
of JSONResult; I'm lazy) but haven't gotten around to
cleaning it up yet--it's pretty hacky.
Someon
Or you can write your own result, and generate the CSV file there (reusable,
clean, bla bla)
regards
musachy
On 6/19/07, Dave Newton <[EMAIL PROTECTED]> wrote:
--- Skip Hollowell <[EMAIL PROTECTED]> wrote:
> Quite honesty, I couldn't make the connection, in my
> head, on how the result paramet
I'd like to announce the alpha release of the YUI plugin.
Home Page & Doc:
http://cwiki.apache.org/confluence/display/S2PLUGINS/YUI+Plugin
Downloads: http://code.google.com/p/struts2yuiplugin/downloads/list
Comments/Complaints/Request/etc :) :
http://code.google.com/p/struts2yuiplugin/issues/list
The source is available from the project site on google code. I haven't
seen this error before, but I imagine it is a XML config issue.
/Ian
Rikard wrote:
Hi im trying out the spring-weblow example. But i get this exception:
09:43:42,494 ERROR [[/spaceport].listenerStart] Exception sending
http://struts.apache.org/2.x/docs/exception-configuration.html
is the S2 way of handling exceptions if you need more
than a simple JSP page; it may not be the best answer
for non-application specific exceptions--YMMV.
Whether or not you need to wrap the exception in the
action class depends entir
--- Skip Hollowell <[EMAIL PROTECTED]> wrote:
> Quite honesty, I couldn't make the connection, in my
> head, on how the result parameters in my .xml file
> corresponded to the action and method I am working
in.
I think the stream result is specifically to stream
the contents of an existing file,
What is the name of the class of the exception
You can define an error page in the web.xml if you know the class then
this may help
http://edocs.bea.com/wls/docs61/webapp/web_xml.html#1017571http://edocs.
bea.com/wls/docs61/webapp/web_xml.html#1017571
This is not bea specific / struts spec
I'm working on a web app that got a weird tendency to throw a specific
exception - at any action.
What's the best way to redirect to a specific JSP on that error? With
an interceptor? Or stick in a try/catch in all my execute()'s?
--
Hi Dave:
Quite honesty, I couldn't make the connection, in my head, on how the
result parameters in my .xml file corresponded to the action and method
I am working in.
1. I don't believe I have to use the execute method, correct? In my
case, I have an exportCSV() method in my action, and c
Thanks a lot for the information Jason. The pros and cons list will be
very helpful. Jeff's and your response backup my suggestion of going
with struts2 instead of struts1. Thanks again!
Priya
-Original Message-
From: Jason Wyatt [mailto:[EMAIL PROTECTED]
Sent: Monday, June 18, 2007 10:5
Maby i should write that im trying out the struts-webflow plugin..
Manfred Wolff wrote:
>
>
> Wrong mailinglist? This is struts even not spring.
>
> Rikard schrieb:
>> Hi im trying out the spring-weblow example. But i get this exception:
>>
>>
>> 09:43:42,494 ERROR [[/spaceport].listenerStar
--- Skip Hollowell <[EMAIL PROTECTED]> wrote:
> The simple days of just dropping my values onto the
> response stream seem to be very much over.
Yay!
> I attempted to play with the Stream Result but
> crashed and burned in a big way.
How so?
d.
--- hezjing <[EMAIL PROTECTED]> wrote:
> What is the difference between a Model object and
> DAO?
DAOs get models. (Hmm, I think I need a DAO t-shirt
now--maybe it'll help.)
> Do we still require Person class say, if we create a
> PersonDao?
Yes. The Person class is the "thing" being represented
The simple days of just dropping my values onto the response stream seem
to be very much over.
// Back in the Day... (Struts 1)
response.setContentType("application/text");
response.setHeader("Content-disposition", "filename=\"Testing.csv\"");
out.println("Column1,Column2,Column3,Co
Hi!
What is the difference between a Model object and DAO?
In "Struts 2 + Spring 2 + JPA + AJAX" tutorial, we have an annotated
quickstart.model.Person class.
Do we still require Person class say, if we create a PersonDao?
I'm trying to figure out how to implement "Struts 2 + Spring 2 + DAO +
I forgot to include the link to the image. Here it is:
http://www.inf.u-szeged.hu/~michnay/db/db_connections.jpg
- Original Message
From: Balazs Michnay <[EMAIL PROTECTED]>
To: Struts Users Mailing List
Sent: Tuesday, June 19, 2007 2:16:06 PM
Subject: Re: [OT] Serious memory leak
Thank
Thanks for your reply on the memory leak issue
Well, recently I found out that my memory consumption of my application is
nothing compared to the memory consumption of my database server (MySQL).
I'm theoretically using connection pool to save resources of my database
server, but each time I make
Good Day,
Found how textfield and the like are doing it. These tags make use of the
@s.url FreeMarker command to create a link to the action or url for the
property given in the page.
A question though, what are the #rt> tags in between the #if
statements in the FreeMarker templates? Did not s
Hi guys,
How can I use the s: param with s:textfield?
I need to format a Timestamp property of my Action using the mask
"dd/MM/".
MyAction
public BlablaAction extens ActionSupport{
private Employee employee;
getters and setters
}
public class Employee{
private Timestamp finalDate
Good Day,
Is it possible for you to share the solution?
Regards,
Mark P Ashworth
http://www.connext.co.za
torben wrote:
>
>
> torben wrote:
>> Hi,
>>
>> I am making an application, where I have jsp page with a Chart
>> generated by the JFreeChart API. I would like to the
>> org.a
Il giorno 19/giu/07, alle ore 12:07, Antonio Petrelli ha scritto:
2007/6/19, Ing. Andrea Vettori <[EMAIL PROTECTED]>:
Moreover I'm not using freemaker in my project! It's struts that's
using it.
My page are all jsps !!
This is pretty strange... Is FreeMarker servlet declared in your
web
Hi Cuong.
Thank you. Your reply solved the prolem.
climbingrose wrote:
From your JSP code:
There are two things worth noting:
1)Because you're not using includeParams='none', any parameters from your
current page will be appended to the url generated by s:url tag.
Yes.. current page ha
2007/6/19, Ing. Andrea Vettori <[EMAIL PROTECTED]>:
Moreover I'm not using freemaker in my project! It's struts that's
using it.
My page are all jsps !!
This is pretty strange... Is FreeMarker servlet declared in your web.xml?
Antonio
Dave Newton wrote:
--- Roberto Nunnari <[EMAIL PROTECTED]> wrote:
I tried to use the same code, and your code in a jsp
page without tiles, but the result is exactly the
same.
What version of S2 are you using? What container?
Struts 2.0.6
Tomcat 5.5.17
JRE: jdk1.5.0_11
d.
_
Moreover I'm not using freemaker in my project! It's struts that's
using it.
My page are all jsps !!
Il giorno 19/giu/07, alle ore 11:41, Ing. Andrea Vettori ha scritto:
yes but their list and forum seems almost dead...
I hope someone in the struts team can help me found what's the
problem
yes but their list and forum seems almost dead...
I hope someone in the struts team can help me found what's the
problem...
Il giorno 19/giu/07, alle ore 11:39, Antonio Petrelli ha scritto:
2007/6/19, Ing. Andrea Vettori <[EMAIL PROTECTED]>:
Anyone knows who's calling freemarker.ext.bean
2007/6/19, Ing. Andrea Vettori <[EMAIL PROTECTED]>:
Anyone knows who's calling freemarker.ext.beans methods ?
Did you try asking the FreeMarker team?
Antonio
Anyone ?
Anyone knows who's calling freemarker.ext.beans methods ?
Il giorno 17/giu/07, alle ore 19:08, Ing. Andrea Vettori ha scritto:
Hi,
I've a struts 2.0.8 app that runs on Linux and JBoss 4.0.5. I'ts an
e-commerce site.
I have the following problem.
The app seems to generate lot of g
--- [EMAIL PROTECTED] wrote:
> The jsp is loaded correctly and works fine so far.
> After I submitted the form (the jsp doesn't crash
> while submitting), I can see in the debug log, that
> the changed data is transfered - but I can't see it
> in the session test.
>
> Now the question:
> How can
--- Jason Wyatt <[EMAIL PROTECTED]> wrote:
> - we got bitten by the dependency on JDK 1.5. Our S2
> web app worked fine on Tomcat 5.5, but our client's
> production application server (Oracle AS 10.1.2)
> didn't support JDK 1.5 by default, and I've spent
the
> last 2 weeks coming up with a satisf
--- tom tom <[EMAIL PROTECTED]> wrote:
> In S1.x as we got reset method is ActionForm we used
> to reset the corresponding property in the
> ActionForm, hence it correctly reflects what user
did
> when submitting.
>
> In the absense of the Action Forms, What is the best
> practice to sort this out
David Durham, Jr. schrieb:
On 6/18/07, Jeff Amiel <[EMAIL PROTECTED]> wrote:
On 6/18/07, Skip Hollowell <[EMAIL PROTECTED]> wrote:
> I see that in the new 2.0.8 (Thanks Ted, Don and team) that the Jasper
> plugin is included. Does that mean that Jasper is the endorsed
> recommended way to expor
A result of type redirect and address any URL:
http://localhost:8080/myproject/myapplication
value1
value2
Properties from your action can be passed as parameters in the URL using
the ${propertyName} notation:
http://localhost:8080/myproject/myapplication
${property1}
${property2}
Wrong mailinglist? This is struts even not spring.
Rikard schrieb:
> Hi im trying out the spring-weblow example. But i get this exception:
>
>
> 09:43:42,494 ERROR [[/spaceport].listenerStart] Exception sending context
> initialized event to listener instance of
> class org.springframework.web.co
Hi im trying out the spring-weblow example. But i get this exception:
09:43:42,494 ERROR [[/spaceport].listenerStart] Exception sending context
initialized event to listener instance of
class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.parsing.BeanDefi
Is there any way to automatically trim data from textfields etc?
I don't believe so, but in S2 you could write a converter or an
interceptor to do it for you. In both cases you'll have to come up with
a convention that determines when trimming is applied.
http://struts.apache.org/2.x/docs/t
Hi,
try the following :
javac *.java
to compile all at once.
Also try javac --help to solve your classpath problems.
Try google to solve the lack of responses to absolutely non struts
related questions on this list.
-Original Message-
From: bindhu [mailto:[EMAIL PROTECTED]
Sent: Tuesday
hi,
you dont have struts jar in your classpath, try to add all the struts jar's
in your classpath and compile.
Note: this is not a good way to build applications, try to use a IDE or a
Ant script to build your application and minimize the adding of jars to your
classpath.
Thanks,
Nuwan
On 6/
69 matches
Mail list logo