Hello,
Not sure if there is... and not sure if there is a quartz plugin for
struts
What you can do is to write a struts plugin where you initialize quartz
scheduler,, and then put it in ServletContext from where you can access it
From every Action class
Hth
marco
-Original
Sure, I prefer to use JSTL rather than Struts taglib, but jsp:useBean
should be replaced too by JSTL or Struts tags.
bean:define id=map3 name=actionForm property=map /
c:set target=${map3} property=id value=123 /
c:set target=${map3} property=name value=ahmed /
using this way is best case for
Jonathan Revusky wrote:
Struts has also fallen further and further behind technically in its
space. (This has what has led to the Webwork merger so that the
Struts umbrella could offer something reasonably up-to-date.)
[Note: This is not a reply to Jonathan personally]
I keep seeing posts
Is it possiable atleast to make by password field with color change when
ever
there is error message for
html:errors property=password/
Example:
background color red for password field.
html:password property=password size=15 maxlength=20
redisplay=false styleClass=inputBox/
Hello,
I have the following problem.
I have an struts form with an Collection getter and want to let set
struts the input values of an submit.
public class UserForm extends ActionForm {
// returns a collection of user beans
Collection getUsers(){
...
}
}
public class User {
Integer
Hello homas,
To avoid this problem, I use String type in my getter/setter in my Struts
form for any type (Integer, Date,...).
So, you could do that :
public class User {
String age;
public String getAge(){
return age;
}
public void setAge(String age){
this.age=age;
}
}
In case you missed to see this in the docs... See the Struts doc:
Building View Components and See in Struts Validator.
Note: If your required form property is one of the Java object
representations of primitive types (ie. java.lang.Integer), you must set
the ActionServlet's *convertNull*
Hi,
The struts-config.xml file contains following sections:-
1. Form bean definition section
2. Global forward definition section
3. Action mapping definition section
4. Controller configuration section
5. Application Resources definition section
What if we change the order of these
On 3/27/06, Gaurav Jain [EMAIL PROTECTED] wrote:
Hi,
The struts-config.xml file contains following sections:-
1. Form bean definition section
2. Global forward definition section
3. Action mapping definition section
4. Controller configuration section
5. Application Resources
I am experiencing Parse Error in my Tomcat for changed order of
struts-config.xml. But my application is working fine.
Its strange.
Regards,
Gaurav
-Original Message-
From: Dion Gillard [mailto:[EMAIL PROTECTED]
Sent: Monday, March 27, 2006 6:14 PM
To: Struts Users Mailing List
Dion Gillard ha scritto:
On 3/27/06, Gaurav Jain [EMAIL PROTECTED] wrote:
Hi,
The struts-config.xml file contains following sections:-
1. Form bean definition section
2. Global forward definition section
3. Action mapping definition section
4. Controller configuration section
5.
Do the struts actions work?
On 3/27/06, Gaurav Jain [EMAIL PROTECTED] wrote:
I am experiencing Parse Error in my Tomcat for changed order of
struts-config.xml. But my application is working fine.
Its strange.
Regards,
Gaurav
-Original Message-
From: Dion Gillard [mailto:[EMAIL
Hello Vijay,
an add convertNull with true to the web.xml solves the problem.
Thank you,
Tom
vijay venkataraman schrieb:
In case you missed to see this in the docs... See the Struts doc:
Building View Components and See in Struts Validator.
Note: If your required form property is one of the
Yes. Each and every action is working, but I am experiencing this error in
Tomcat console.
ERROR [main] org.apache.commons.digester.Digester error- Parse Error at line
43 column 17: The
content of element type struts-config must match
(display-name?,description?,data-sources?,f
Gaurav Jain ha scritto:
Yes. Each and every action is working, but I am experiencing this error in
Tomcat console.
...
I think it's question of pure luck, i.e. maybe the actions have been
constructed before finding the error in the XML. But what are you trying
to accomplish writing a
At 6:31 PM +0530 3/27/06, Gaurav Jain wrote:
Yes. Each and every action is working, but I am experiencing this error in
Tomcat console.
This is because your XML is no longer valid according to the DTD.
This is not a fatal error in Struts, but why would you choose to
change the order of
Hi all,
I have form bean prepopulated in the SetUp class before return to the view..
Employee form is set before returning to the view.
empForm.setName(Alice);
How can i check whether the form bean property name exist in the view
section?
Appreciate any help.
First of all Thank you Laurie, you are the only one anwering my questions :):
Here are my struts-config.xml entries for the actions and formbean ( I
neglected the path and anything).
form-beans
form-bean name=testingForm type=TestingForm /
/form-beans
global-forwards
forward
Hello,
Can someone point me to some real world websites/applications that have
successfully implemented JSF framework? I tried googling but no luck..Any
help is appreciated.
Thank you
Gnan Shabada
This email message is
Ask on the myfaces list they're more clued up about this sort of
thing.. I've seen anouncements when new sites built using myfaces have
gone live.
Mark
On 3/27/06, Shabada, Gnaneshwer [EMAIL PROTECTED] wrote:
Hello,
Can someone point me to some real world websites/applications that have
http://wiki.apache.org/myfaces/Companies_Using_MyFaces
Might me handy..
On 3/27/06, Mark Lowe [EMAIL PROTECTED] wrote:
Ask on the myfaces list they're more clued up about this sort of
thing.. I've seen anouncements when new sites built using myfaces have
gone live.
Mark
On 3/27/06,
Hi!
When I startup Tomcat it says:
INFO: Missing application web.xml, using defaults only
StandardEngine[Catalina].StandardHost[localhost].StandardContext[/adss.licen
sing.core]
My web.xml is in WEB-INF folder.
What am I doing wrong??
Tanx!
Marisol.
On 3/27/06, Marisol Opreni [EMAIL PROTECTED] wrote:
Hi!
When I startup Tomcat it says:
INFO: Missing application web.xml, using defaults only
StandardEngine[Catalina].StandardHost[localhost].StandardContext[/adss.licen
sing.core]
My web.xml is in WEB-INF folder.
What am I doing wrong??
] jdk15.present=true
[delete] Deleting directory
C:\AAROOT\areas\jakarta\shale-framework-20060327\
dist
clean:
execute.14.libraries:
[echo] Executing clean on module core-library
clean:
[delete] Deleting directory
C:\AAROOT\areas\jakarta\shale-framework-20060327\
core
Hi,
I have a design issue based around form submission, protecting against
resubmission etc.
I have seen a couple of design guidelines that seem to conflict.
1) Use the session as little as possible (memory issues etc)
2) Use forwards where possible as requests can be passed along, with
On 3/27/06, Hiller, Dean [EMAIL PROTECTED] wrote:
I was following the instructions here
http://struts.apache.org/struts-shale/building.html
http://struts.apache.org/struts-shale/building.html
...
\AAROOT\areas\jakarta\shale-framework-20060327\test-framework\${htmlunit.home}\lib
: build.xml
clean-release:
[echo] jdk15.present=true
[delete] Deleting directory
C:\AAROOT\areas\jakarta\shale-framework-20060327\
dist
clean:
execute.14.libraries:
[echo] Executing clean on module core-library
clean:
[delete] Deleting directory
C:\AAROOT
Buildfile: build.xml
clean-release:
[echo] jdk15.present=true
[delete] Deleting directory
C:\AAROOT\areas\jakarta\shale-framework-20060327\
dist
clean:
execute.14.libraries:
[echo] Executing clean on module core-library
clean:
[delete] Deleting directory
C:\AAROOT\areas
You can use tokens within the Action classes to help prevent multiple
submits. Take a look at the Action Servlet Java Doc for the following
methods:
isTokenValid( request )
resetToken( request )
saveToken( request )
We are using tokens in our app right now. We do something like the
following:
On 3/27/06, Chris Cheshire [EMAIL PROTECTED] wrote:
Hi,
I have a design issue based around form submission, protecting against
resubmission etc.
I have seen a couple of design guidelines that seem to conflict.
1) Use the session as little as possible (memory issues etc)
2) Use forwards
Try running the build from the test-framwork folder.
C:\AAROOT\areas\jakarta\shale-framework-20060327\test-framework\ant clean dist test
Gary
-- Original message -- From: "Hiller, Dean" [EMAIL PROTECTED]
I commented it out and get compile errors. W
On 3/27/06, Hiller, Dean [EMAIL PROTECTED] wrote:
I commented it out and get compile errors. Weird thing is it says it is
missing FacesContext(from javax.faces) and VariableResolver(from
org.apache.shale.faces). I have attached my build.properties which I
believe are all correct.
I don't
Hi
I don't see the problem - Why do you want to use the ant build, when the
Maven build functions ok.
Hermod
-Opprinnelig melding-
Fra: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sendt: 27. mars 2006 20:38
Til: Struts Users Mailing List
Emne: Re: Building SHALE??? The instructions don't
On 3/27/06, Hermod Opstvedt [EMAIL PROTECTED] wrote:
Hi
I don't see the problem - Why do you want to use the ant build, when the
Maven build functions ok.
Hermod
You may or may not get something that matches the official builds, which are
done with Ant.
Craig
-Opprinnelig
Cool, you rock! I saw references to this mysterious maven repository but
could not find it as the docs I was looking at did not have references to
it.
Thanks,
dean
-Original Message-
From: Hermod Opstvedt [mailto:[EMAIL PROTECTED]
Sent: Monday, March 27, 2006 11:57 AM
To: 'Struts Users
Emmanouil Batsis wrote:
Jonathan Revusky wrote:
Struts has also fallen further and further behind technically in its
space. (This has what has led to the Webwork merger so that the
Struts umbrella could offer something reasonably up-to-date.)
[Note: This is not a reply to Jonathan
Several people had asked me to post my slides for the two presentations I
did at The Server Side Java Symposium last week. Pointers can be found at
the bottom ol my Apache home page:
http://people.apache.org/~craigmcc/
Craig
What is the best way to use result beans with Struts (i.e. beans that are
not associated with a form). In particular, I have a plugin class that's
called by the Struts action servlet upon startup and this class calculates
the current date. This date needs to be stored in a bean having session
Now, it's obviously a valid question that Struts developers should
answer.
It _is_ an invalid question, that's why everyone is ignoring you.
And now, I'd like to respond to you with your own words, from your
own not-so-kind off list response to me (of course, censored because
this is a
On 3/27/06, James Mitchell [EMAIL PROTECTED] wrote:
Now, it's obviously a valid question that Struts developers should
answer.
It _is_ an invalid question, that's why everyone is ignoring you.
And now, I'd like to respond to you with your own words, from your
own not-so-kind off list
Hi there,
Iam here with a request.I need to validate a html:checkbox (in JSP) using
Struts Validator Framework.I want to make sure that the user checks the
Check Box.if it is not checked validation should fail.Can some one suggest
me which validator i need to use?? I tried *required*
Validator
On 3/27/06, Michael Jouravlev [EMAIL PROTECTED] wrote:
First, why replying in public list? Then, who said what exactly?
(would be interesting to know, since you offloaded this pile into a
public list).
Personally, I'm not interested, and I'm dev/nulling the whole thread.
But, then I don't
*rotflmao*
That's beautiful!
I kinda wish _I_ would have gotten that response, though :(
James Mitchell wrote:
[ Jonathon's well-reasoned response ;]
You just brightened my day _considerably_!
Thanks :D
Dave
-
To
On Mon, 27 Mar 2006, Dave Newton wrote:
Asad Habib wrote:
What is the best way to use result beans with Struts (i.e. beans that
are not associated with a form). In particular, I have a plugin class
that's called by the Struts action servlet upon startup and this class
calculates the current
Srinivas Jadcharla wrote:
Iam here with a request.I need to validate a html:checkbox (in JSP) using
Struts Validator Framework.I want to make sure that the user checks the
Check Box.if it is not checked validation should fail.Can some one suggest
me which validator i need to use?? I tried
Asad Habib wrote:
Well, your right since the date will be shared by all sessions.
However, if I go this route I will need a method to update the date
every time it changes.
You need that anyway, as a user might be on the site over the midnight hour.
The bean can just return the current date
On Mon, 27 Mar 2006, Dave Newton wrote:
Asad Habib wrote:
Well, your right since the date will be shared by all sessions.
However, if I go this route I will need a method to update the date
every time it changes.
You need that anyway, as a user might be on the site over the midnight hour.
Thanks for your reply.Here is the code iam using in validator.xml
field property=agree
depends=required
arg0 key=Check Box resource=false/
/field
Where is the agree is the boolean property in my action form.
On 3/27/06, Dave Newton [EMAIL PROTECTED] wrote:
Srinivas Jadcharla wrote:
On 3/27/06, Dave Newton [EMAIL PROTECTED] wrote:
James Mitchell wrote:
[ Jonathon's well-reasoned response ;]
So the whole thing was Jonathan's monologue? In this case I admire his
breadth of writing styles.
I am still wondering how the whole merger will work out with
FreeMarker being default
Michael Jouravlev wrote:
On 3/27/06, James Mitchell [EMAIL PROTECTED] wrote:
Now, it's obviously a valid question that Struts developers should
answer.
It _is_ an invalid question, that's why everyone is ignoring you.
And now, I'd like to respond to you with your own words, from your
own
Jonathan Revusky wrote:
I think it was a very bad idea on his part.
Of course _you_ do, you foul-mouthed little boy!
_I_ think it was great :D
I'm _still_ all a-giggle!
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Maybe it's time we heard from the WW2 guys?
Does Jonathan represent the viewpoint of the WW2 developers that
are coming on board? Seriously I'd rather use Spring, Wicket or Rife than use
something made by people like this guy.
On 3/27/06, Jonathan Revusky [EMAIL PROTECTED] wrote:
Michael
On 3/27/06, Vinny [EMAIL PROTECTED] wrote:
Maybe it's time we heard from the WW2 guys?
Several of them have already spoken up ... on the dev list, where it
belongs, where stuff gets decided.
Craig
Wow... as far as a George Carlin sketch goes, that's grand!
...arrogant little a**-licking toady bastards...
Hehe, I gotta remember that one. I think toady makes it special :)
Frank
James Mitchell wrote:
Now, it's obviously a valid question that Struts developers should
answer.
It _is_ an
On 3/27/06, Hiller, Dean [EMAIL PROTECTED] wrote:
Cool, you rock! I saw references to this mysterious maven repository but
could not find it as the docs I was looking at did not have references to
it.
Just be aware that Shale and Maven 1 don't get along very well. The
Maven build is
Vinny wrote:
Maybe it's time we heard from the WW2 guys?
Does Jonathan represent the viewpoint of the WW2 developers that
are coming on board?
Actually, I'm not a WW2 developer. However, FreeMarker is used pretty
centrally in WW2 and FreeMarker currently is largely my fault.
Seriously I'd
Hi, Peter in my post I also xposed the same issue in my app, what I
managed to do was
1. put an attribute into the base.layout tile.
2. I used the tiles:useAttribute tag to define that attribute in
request scope.
3. Then in the other jsp you can use the struts tags for whatever you
like, in
Jonathan Revusky wrote:
Vinny wrote:
Seriously I'd rather use Spring, Wicket or Rife than use something
made by people like this guy.
Yeah, it's terrible. Just so you guys can make better informed
technical decisions, I'll disclose ...snip... terrible table manners
...snip... horrendous
So...are any of the others as bad as this butt-monkey?
Larry
On 3/27/06, Craig McClanahan [EMAIL PROTECTED] wrote:
On 3/27/06, Vinny [EMAIL PROTECTED] wrote:
Maybe it's time we heard from the WW2 guys?
Several of them have already spoken up ... on the dev list, where it
belongs, where
On 3/27/06, Larry Meadors [EMAIL PROTECTED] wrote:
So...are any of the others as bad as this butt-monkey?
You mean the WW2 guys? All the ones I've met are first class citizens.
By the way, Jonathan is *not* a WW2 committer -- he's involved in
Freemarker.
Larry
Craig
Larry Meadors wrote:
So...are any of the others as bad as this butt-monkey?
Larry, Craig brought up the issue of whether certain content was
off-topic for the list, but what about something like your comment here,
which simply has no content and there is no attempt for it to have any
I just wanted to apologize to everyone for my arrogant behavior recently.
I do understand that Struts isn't so bad. Times have been tough for me
lately and I think I acted out on this list because of it. None of the girls
ever spoke to me in high school and the jocks would always beat me up
Moose,
Open source software, like every other human endeavor, is political. It
has politics.
I have engaged here in some forthright political speech about
open-source software development issues. I did not even initiate the
discussion. It was already going on.
You seem to have a very
In case people don't realize this immediately, I didn't write this.
jonathan revusky wrote:
I just wanted to apologize to everyone for my arrogant behavior recently.
I do understand that Struts isn't so bad. Times have been tough for me
lately and I think I acted out on this list because of
Larry Meadors wrote:
Hi, Larry. How is the weather in Tampa Bay, today?
I don't know exactly where your talents lie, but you're not very good at
identity spoofing.
Don't do this any more. This has got to be abuse of the apache.org
systems (and all the ones in between) writing posts and
Sorry Jonathan this is happening to you. It's really inappropriate
what was done. If somebody doesn't like you or your opinions, this
isn't a way to treat another person regardless, if this is really a spoof.
But you did come down hard on some people and I think, while it is
no excuse to the
(picture a mood of mild sadness, at such respected gurus needing to take
to each other with little textual swords, and at my failed attempt at
thinning it down to an ending via a lame Court Jester role ... yet i
will hopefully jest on, tragically awaiting the inevitable end of the
king's patience,
Okay,
I am not a regular reader of the struts mail that roles across my
inbox. But, this juicy tidbit caught my attention. Jonathan, I'd just
like to say that you took a bold step accusing someone of spoofing
you. I'd also like to point out that you failed miserably. Larry is a
good friend of
Haha, thanks for the insults and vote of no confidence, but you are
barking up the wrong tree...I mean, shoot, the words butt-monkey are
*nowhere* in that original email.
BTW, I do not live in Florida, and as a point of honor try to avoid
having battles of wits with unarmed opponents.
Larry
On
Lighten up. I wrote it. It was supposed to be joke to bring levity to an
incredibly annoying situation. If I wrote actually trying to be you and
truly impersonate you, that would be a different matter. If I wanted to
really spoof being you I wouldn't have made it such an obvious joke. I would
have
Way to go Rick, you butt-monkey - Jonathan jumped all over ME!
Larry
PS:
To add insult to injury, you forgot the a there - It was supposed
to be *a* joke...so make that Way to go Rick, you illiterate
butt-monkey.
On 3/27/06, Rick Reumann [EMAIL PROTECTED] wrote:
Lighten up. I wrote it. It
On 3/27/06, Larry Meadors [EMAIL PROTECTED] wrote:
Way to go Rick, you butt-monkey - Jonathan jumped all over ME!
It must be that nice Montana tan that you have.
--
Rick
... and as I said in the other thread ... you *lucky bast%rds!*, we
floor level developers can't get away with such behavoiur. you must
have *such* income security! do you sell Amway on the side or something?
Larry Meadors wrote:
Way to go Rick, you butt-monkey - Jonathan jumped all over ME!
Larry Meadors wrote:
Haha, thanks for the insults and vote of no confidence, but you are
barking up the wrong tree...I mean, shoot, the words butt-monkey are
*nowhere* in that original email.
Okay, I retract that. The google search Larry Measors struts the first
hit is www.tampajug.org
Well, true, who can blame him, I mean...I am kinda dead sexy with the
March in Montana pallor.
Larry
On 3/27/06, Rick Reumann [EMAIL PROTECTED] wrote:
On 3/27/06, Larry Meadors [EMAIL PROTECTED] wrote:
Way to go Rick, you butt-monkey - Jonathan jumped all over ME!
It must be that nice
Actually that's pretty funny. That shows how weak our Tampa JUG is:) Larry
speaks one time at it, and he becomes famous.
On 3/27/06, Jonathan Revusky [EMAIL PROTECTED] wrote:
Larry Meadors wrote:
Haha, thanks for the insults and vote of no confidence, but you are
barking up the wrong
On 3/27/06, Jonathan Revusky [EMAIL PROTECTED] wrote:
Larry Meadors wrote:
So I though it just had to be you especially given the idiotic butt-monkey
post.
It was an honest mistake. Your behavior has been deplorable, of course,
but you didn't do this. :-)
Idiotic?! That was *FUNNY*...
Ouch.
On 3/27/06, Rick Reumann [EMAIL PROTECTED] wrote:
Actually that's pretty funny. That shows how weak our Tampa JUG is:) Larry
speaks one time at it, and he becomes famous.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Brandon Goodin wrote:
Okay,
I am not a regular reader of the struts mail that roles across my
inbox. But, this juicy tidbit caught my attention. Jonathan, I'd just
like to say that you took a bold step accusing someone of spoofing
you.
I made an honest mistake. I really was sure it was him.
On 3/27/06, Jonathan Revusky [EMAIL PROTECTED] wrote:
Brandon Goodin wrote:
I'd also like to point out that you failed miserably. Larry is a
good friend of mine and he would have no problem debating with you.
You may actually believe this, but probably nobody else here does.
Hahaha, thanks
Jonathan Revusky wrote:
Well, there is the minor detail that the spoof really wasn't very
funny. Did you think it was funny?
BANG thump ...
that was the sound of the Court Jester shooting himself ...
Dead Moose
-
To
On 3/27/06, Jonathan Revusky [EMAIL PROTECTED] wrote:
Brandon Goodin wrote:
Okay,
I am not a regular reader of the struts mail that roles across my
inbox. But, this juicy tidbit caught my attention. Jonathan, I'd just
like to say that you took a bold step accusing someone of spoofing
Rick Reumann wrote:
Lighten up. I wrote it. It was supposed to be joke to bring levity to an
incredibly annoying situation. If I wrote actually trying to be you and
truly impersonate you, that would be a different matter. If I wanted to
really spoof being you I wouldn't have made it such an
Brandon Goodin wrote:
On 3/27/06, Jonathan Revusky [EMAIL PROTECTED] wrote:
Brandon Goodin wrote:
Okay,
I am not a regular reader of the struts mail that roles across my
inbox. But, this juicy tidbit caught my attention. Jonathan, I'd just
like to say that you took a bold step accusing
Hey Jonathan, relax a bit. Come chill out with us tomorrow in
#FunkyCodeMonkey on irc.darkmyst.org You can complain about struts in real
time and talk up MagicMarker or whatever:) Anyone else is welcome to join as
well. It's a good time and makes the day a bit more bearable when your
stressed at
Newton, you remind me of a 13 year old girl. Why don't you offer something
worthwhile once in your life. Have you ever said anything worth reading?
Please take your giggling and your curtesying elsewhere. And, leave the
little boys alone.
On 3/27/06, Dave Newton [EMAIL PROTECTED] wrote:
Don't complain about the content of the list again, Mitchell. You don't
have the fortitude to respond to questiona about the failure of Struts even
though you are an active committer and you complain about this thread, and
yet, like most of the complainers about the thread, you take it down this
So Craig now has committer rights on who is a first class citizen? Quite
frankly, I thought Craig would at least defend the people he put in place
and the people who tore down the house with some excuses other than we had
to make bad code because we are genius's. But, rather than do that, he
This is on topic? What about the substantive question, Craig, that you
quizzically said was WILDLY off topic. Do you even care to appear
consistent?
On 3/27/06, Craig McClanahan [EMAIL PROTECTED] wrote:
On 3/27/06, Larry Meadors [EMAIL PROTECTED] wrote:
So...are any of the others as bad
Hi,
Thanks Joe, Antonio and everyone else out there for a prompt response.
I had read that, struts-config.xml won't work if we change the order of
sections in it. So, I was just triaging with struts-config.xml in my free
time and found my application working with modified struts-config.xml, which
Ciao,
would someone be so kind to support me with the following problem:
A date field should just be validated
if another checkbox isn't used:
the name of the other Form property that should also be used for the test
(as the condition is selectionForShift[0].checked (true or false)
I'm not
Larry Meadors, Rick Reumann, recently departed Jester Moose. Thank you.
Jonathon Revusky, Dakota Jack, James Mitchell, and anyone else who has really
got their knickers in a knot over these threads. C'mon. I'm tired of reading
this stuff. My problem is I don't know how to dev/null a thread, I
92 matches
Mail list logo