In a jsp deployed on a Compaq Alpha workstation i have a strange behaviour
of the bean:message tag, because it renders always according to the system
locale, but inside the jsp request.getLocale() corretctly detects the
browser settings.Is this a bug of the javax.servlet package or what?The same
Yeah, I had a look at both stxx and StrutsCX.
However, both of these were designed for Struts1.0, have no support for
DynaForms, Validator and Tiles, all of which are being used in our app.
STXX: It modifies the 1.0 ActionServlet, and is tightly coupled to Struts
1.0.
StrutsCX: IMHO, much better
Hi Alex,
Yes you can delete /defaultroot after copying WEB-INF/ directory (contain config
files) in your
new document root.
BTW: I'll release a new version this WE
-emmanuel
--- alexj [EMAIL PROTECTED] a écrit : Hi Emmanuel,
I just one more question about your *fix* for the defaultroot.
-
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now
Thanks Manu :)
--
Alexandre Jaquet
-
-BEGIN GEEK CODE BLOCK-
Version: 3.12
GCM d+ s: a-- C U*+ P L--- E--- W+++ N+++ o K w+
O M-- V-- PS+++ PE+++ Y+++ PGP--- 5-- X R* tv b DI--- D
G++ e* h++ r% y*
--END GEEK CODE BLOCK--
- Original Message -
Think you ment *subscribe* didn't you!!
- Original Message -
From: Adel [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, January 23, 2003 7:13 PM
Subject: subscrive
-
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now
The reset() method in the DynaActionForm class is called at
the same time
than the ActionForm's one is, with a little difference. The
former cannot be
empty, as it initializes the passed parameters to their
original value(which
could be the one passed by the configuration file or the
Hi,
I have a table in which i have one column with multiple checkboxes.
I have one hyperlink below that table, using javascript if i click on the
link all checkboxes should get select.
I have one hyperlink below that table, using javascript if i click on the
link all checkboxes should get
In your jsp.
-Ursprüngliche Nachricht-
Von: Uday [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 24. Januar 2003 11:11
An: [EMAIL PROTECTED]
Betreff: selecting all the checkboxes
Hi,
I have a table in which i have one column with multiple checkboxes.
I have one hyperlink below that
2003. janur 24. 10:54 dtummal ROSSEL Olivier ezt rtad:
I said that SOMETIMES it is very annoying.
You have the request and the mapping in the request, so you can decide on each
reset() written by you that you want it happen or not.
I had only one form for which I didn't need the reset
Hi, Im using the RowSetDynaClass to produce a java.util.List of values from
a database which are displayed in
the JSP as follows:-
html:select property=myFormField size=1
html:options collection=Names property=first_name
labelProperty=first_name /
/html:select
Hi all,
I have the following environment correctly set up:
Struts 1.1b2 on Tomcat 4.0.2 with jdk 1.4
and I'm usign tiles to manage the layout of the pages.
Now I have this problem: if I call
(HttpServletRequest)pageContext.getRequest()).getRequestURI()
it returns the path to the jsp page
Forwards are be subject to filtering, too. That is to say, when you
forward,
your request might go through some filters.
If you're talking about Servlet filters (i.e. javax.filter.Filter), this
is not true in a Servlet 2.3 container. In Servlet 2.4, you'll have the
option to say you
I said that SOMETIMES it is very annoying.
You have the request and the mapping in the request, so you
can decide on each
reset() written by you that you want it happen or not.
I had only one form for which I didn't need the reset
sometimes. So I did the
following:
public void
Hi,
I am using DB2 7.2 for win,struts 1.1 beta2 ver.
I can use connection pool in select statements,and I have no problem.On the
other hand when I tried insert statements I got no exceptions, but no data
is inserted.
But when I only change the connection from :
dataSource =
2003. janur 24. 11:18 dtummal ROSSEL Olivier ezt rtad:
The problem is not to customize the formBean to your needs.
The problem is that you cannot control the reset-populate-validate
cycle.
Well, I am wrong, you can customize the validate step!!!
In fact, my solution is to add a
Hi,
Yes in my jsp, but i use html:multibox control using structs.
I know how to do with pure javascript.
But when use html:multibox, the name for all the checkboxes is same and i
am not able to get it dynamically.
Can you tell me how to check all the checkboxes by clicking a link.
Regards,
Strut1.1
Commons.BeanUtils1.6
My form bean (ORIG) :
private String year
public String getYear()
public void setYear(String year)
My business logic bean (DEST):
private Integer year// Wrapper to manage null value
public Integer getYear()
public void setYear(Integer year)
When I use
I try to submit a HTML FORM to an external site. I would like an Action
to create the FORM Fields and send this form to the external site. I
don't want de jsp-page send the form since I need to store the data from
that form in a database before sending the data to the external site.
Is it
onClick of the link call the javascript function which checks all your
checkboxes.
- Original Message -
From: Uday [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Friday, January 24, 2003 4:16 PM
Subject: RE: selecting all the checkboxes
Hi,
Yes in my jsp,
snip
The problem is that you cannot control the reset-populate-validate
cycle.
/snip
You can if you override the RequestProcessor :-)
Ive actually had to do something similar in regards to form
population and
form instantiation , in which I defined my own ActionMapping
class to
This is really a Struts USER question.
Like Christopher, I tend to have a minimum number of ActionForms with
properties and then subclass that to add validations. This avoids having
to replicate the same property over several classes. The validation
portion specifies which property goes with
I am trying to change an existing form to use the
DynaValidatorForm and am having a problem. This is a search form
with a select input tag and a text field tag. The select tag can
equal lastname or ssn.
What I want to do is the following :
if lastname then just required
if ssn then
Hi all,
I'm using a DispatchAction.
I'm using the attached ExceptionHandler. In my handler I'm not able to catch the
exception. I also attached my struts-config.xml global-exceptions element.
Also the stack trace I get is attached...
Any ideas?
Kind regards
Uday wrote:
Hi,
I have one action class which extends org.apache.struts.action.Action.
I have one more action class and its ActionForm class.
From the first action class i want to invoke method of second ActionForm
class.
How do i get the reference of second ActionForm class from the first
Hi,
Thanks you for your advice. Yes, as you said it was design problem, after
sometime we realized that it is design problem and we changed the design.
Now we achieved the functionality what we wanted to achieve.
Have a nice day
Regards,
Uday
-Original Message-
From: Wayne Fuller
We have used Struts to build an Internet Banking application and have shaved
a lot off the budget IBM Global Services charged for developing a previous
web application.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 23 January, 2003 22:41
To: [EMAIL PROTECTED]
Hi,
I'm using Struts 1.1b and want to use logic:equal to compare values
and I'm totally stuck when I try to use no constant for the value
attribute...
My code this:
I have a formbean named ListExperimentForm with a getter method
getTopics() to return a collection of Objects each containing a
So you're unemployed and need some guidance? Turn up the volume and go to:
http://www.oddtodd.com
Cheers!
Mark
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Hi,
I was not able to search the archive...
I need to know if Struts supports the following - and if the support is
out-of-the-box or if any customization or convention is to be used:
1) Double-Click Protection: when a user clicks twice on the same
button, the associated action is not executed
You typed % =myint % instead of %= myint % !
I used this a lot of time :
logic:equal name=topicsList
property=topicid
value=%= MyClass.CONSTANT_VALUE %
foo
/logic:equal
Nico.
Hi,
I'm using Struts 1.1b and want to use logic:equal to compare values
and I'm
So...need to boost the ol' website stats?
http://www.clickmonkeys.com/
Mark
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Haute cuisine for Joe?
http://www.petsorfood.com/index.shtml
Mark
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Think this'll work:
html:select property=myFormField size=1
logic:iterate id=name name=Names
bean:define id=firstName name=name property=first_name/
html:option value=%= firstName %
bean:write name=firstName/bean:write name=name property=last_name/
/html:option
We welcome the dyxlesic, too
-Original Message-
From: Simon Kelly [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 24, 2003 4:36 AM
To: Struts Users Mailing List
Subject: [Friday]Re: subscrive
Think you ment *subscribe* didn't you!!
- Original Message -
From: Adel [EMAIL
2003. január 24. 14:16 dátummal Olivier Gourment ezt írtad:
Hi,
I was not able to search the archive...
1) Double-Click Protection: when a user clicks twice on the same
button, the associated action is not executed twice...
2) Double-Update Problem: when a user hits the Back button of his
Thanks for saving my last hairs... that put me on track.
But actually I got a compiler error this time:
cannot resolve symbol symbol : method setValue (int) location: class
org.apache.struts.taglib.logic.EqualTag _jspx_th_logic_equal_3.setValue(
myint ); ^ 1 error
Obviously there is no
Try the ff, you just have to modify the button to be a link
// Used to check all checkboxes in a form
function checkAll(field) {
for (i = 0; i field.length; i++) {
field[i].checked = true;
}
}
// Used to un-check all checkboxes in a form
function unCheckAll(field) {
for (i = 0; i
Put the text for your heading in application resources and modify your tile
accordingly.
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]]
Sent: Friday, 24 January 2003 6:30 AM
To: 'Struts Users Mailing List'
Subject: [TILES] Help with trademark symbol
I have a tile
o...
I do wish you'd stop talking about JSF. It sounds so cool that I feel like a
kid on Christmas eve who cant wait for Santa to come down the chimney and
fill the stocking with presents...
;-)
Where could one get a copy of the source for the JSTL expression language
evaluator stuff? Is
Its not the tag itself (tags are server side and just output html to the
response stream in the end) that has anything to do with this, but rather
the browser.
AFAIK - browsers will submit in the order they are on the page(*see note
below). I dont know if this is in the html spec or not (I
The reason for having a reset() method is to reset checkboxes and other such
widgets that the broswer doesnt bother to submit when they are empty.
As you know a checkbox in html will only have its value submitted by the
browser if it is ticked. If it isnt ticked, nothing is submitted (not a
null,
Hehe. Get em to clone you Max - that will solve your developer shortage!
Say ... if you employed a bunch of clones would they each get their own
employee number - or would they all come under the same employee number and
thus get one paycheck between all of them?
Ill bet they would all have the
Subscrive me!
- Original Message -
From: Adel [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, January 23, 2003 7:13 PM
Subject: subscrive
-
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now
--
To unsubscribe,
My friend Fred officially supports Struts.
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
JSTL-EL source code is under Jakarta Taglibs.
See class org.apache.taglibs.standard.lang.support.ExpressionEvaluator.
-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 23, 2003 1:10 AM
To: Struts Users Mailing List
Subject: [OT] JSF JSTL EL
Not 100% sure why the gurus dont like it.
Perhaps for the same reason they dont like the idea of configuring whether
or not to populate the form - because it will encourage action chaining -
which if not done very carefully can lead to a whole lot of difficulties.
In my case I found that having
snip
The problem is that you cannot control the reset-populate-validate
cycle.
/snip
You can if you override the RequestProcessor :-)
Ive actually had to do something similar in regards to form population and
form instantiation , in which I defined my own ActionMapping class to define
properties
The US military is well noted for the way it struts... ;-
-Original Message-
From: Durham David Cntr 805CSS/SCBE [mailto:[EMAIL PROTECTED]]
Sent: Friday, 24 January 2003 03:47
To: Struts Users Mailing List
Subject: RE: [OT]Good News
Certain elements with the USAF, mine is the only one I
please ignore
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Hehe yeh.
Gimme a Holden anyday ;-)
Monaro v8 drool/
-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED]]
Sent: Friday, 24 January 2003 02:05
To: [EMAIL PROTECTED]
Subject: [OT] Re: Struts officially supported at Ford
Now if they could just make 1 decent car...
David
Are you trying to chain your actions?
-Original Message-
From: Loren Hall [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 23 January 2003 21:40
To: Struts Users Mailing List
Subject: RE: Why is the reset method called when I submit the form?
I had similar behavior that I found odd with
Well, I know that I'm gonna sleep better tonight knowing that. Having spent my entire
corporate authorised budget on Struts, I needed this endorsement. :-)
-Original Message-
From: Jerome Jacobsen [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 24, 2003 8:07 AM
To: Struts Users Mailing
Where should the default values for forms go? In the jsp, form bean or some
other config file?
Thanks
Jeremy Weber
[EMAIL PROTECTED]
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
-Original Message-
From: Daniel Joshua [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 23, 2003 11:39 PM
To: 'Struts Users Mailing List'
Subject: [OT] test - please ignore
please ignore
But that would be rude, and you certainly don't want us being rude do you?
--
To unsubscribe,
Fred's still in jail.
-Original Message-
From: Jerome Jacobsen [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 24, 2003 9:07 AM
My friend Fred officially supports Struts.
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
I don't so much support it, as get crushed under the weight! :-)
- Original Message -
From: Jerome Jacobsen [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, January 24, 2003 3:07 PM
Subject: RE: [OT] Re: Struts officially supported by Fred
My friend Fred
Mark, you're thinking of Fred, but we're talking about Fred. A case of mistaken
identities.
-Original Message-
From: Mark Galbreath [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 24, 2003 8:23 AM
To: 'Struts Users Mailing List'
Subject: RE: [OT] Re: Struts officially supported by Fred
Instantaitates a new form bean, request.setAttribute, load page.
If it is DynaActionForm, set default in your struts config file.
Regards,
PQ
This Guy Thinks He Knows Everything
This Guy Thinks He Knows What He Is Doing
-Original Message-
From: Weber, Jeremy [mailto:[EMAIL
Form bean:
private String whatever = DEFAULT_VALUE;
Mark
-Original Message-
From: Weber, Jeremy [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 24, 2003 9:16 AM
To: 'Struts Users Mailing List' (E-mail)
Subject: Default Form Values
Where should the default values for forms go? In
Doh! I knew I shouldn't have drank all that cough syrup this morning
-Original Message-
From: Chappell, Simon P [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 24, 2003 9:27 AM
Mark, you're thinking of Fred, but we're talking about Fred. A case of
mistaken identities.
Ya, I hate it when I'm ignored.it's just not good 'netiquette'.
--
James Mitchell
Software Engineer/Struts Evangelist
http://www.open-tools.org/
The man who does not read good books has no advantage over the man who
cannot read them.
- Mark Twain (1835-1910)
-Original
A... there it goes comrade...
2 Days of postings all at once!
Guess whatever server was dead is up again.
Pity theres only 1 hour of Friday left to add my 2 cents to all these OT
postings ;-)
-Original Message-
From: Daniel Joshua [mailto:[EMAIL PROTECTED]]
Sent: Friday, 24 January
As*hole
-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 24, 2003 9:52 AM
Pity theres only 1 hour of Friday left ;-)
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
I don't see why not. The Form object/DynaValidatorForm will capture the
data, the Action object can do the update to your database and then you can
set up a global-mapping to go to the ne page with hidden values in the
request. Then it is up to the other page to get values out of your request.
Dnia 2003-01-24 15:16, Uz.ytkownik Weber, Jeremy napisa?:
Where should the default values for forms go? In the jsp, form bean or some
other config file?
I keep them in the ActionForm classes. They are set when the reset()
method is called.
regards,
plastic
--
To unsubscribe, e-mail:
You gonna be working till the wee hours of Saturday as well huh?
hehe. What is it now? 10am where you are? So lets see...
...you've got another 13 hours to go to get to my position at which time Ill
be enjoying a nice long sleep in. :-)
Hang on - the wife wants to go looking at hdb showflats in
What happens when you have a checkbox whose default value is checked?
-Original Message-
From: Micha? Postupalski [mailto:[EMAIL PROTECTED]]
Sent: Friday, 24 January 2003 23:08
To: Struts Users Mailing List
Subject: Re: Default Form Values
Dnia 2003-01-24 15:16, Uz.ytkownik Weber,
Anybody know the algorithm for randomly calculating the day of the week,
given a particular date? E.g., July 4, 2006 = Wednesday. I need to do this
in JavaScript and for some reason (too much wine last night?) I can't get
brain engaged.
Mark
--
To unsubscribe, e-mail: mailto:[EMAIL
dunno. but i have an 8 year old cousin who does that crap all the time in
his head. never know when he is lying. so the code would be helpful to
figure that stuff out.
-Original Message-
From: Mark Galbreath [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 24, 2003 10:16 AM
To: struts
var bob = new Date(...
var dayOfWeek = bob.getDay(); //what day is it here
var utcDayOfWeek = bob.getUTCDay(); //what day it is in merry old England
right now
returns 0 for Sunday , etc...
-Original Message-
From: Mark Galbreath [mailto:[EMAIL PROTECTED]]
Sent: Friday, 24 January 2003
On 1/24/2003 4:15 PM, Andrew Hill wrote:
What happens when you have a checkbox whose default value is checked?
I dont know, beacause I didnt use checkbox so far. But I dont have to
set all my default values.
plastic
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional
And if you want an underlying algorithm you could check out the source to
Rhino - which probably just uses the java classes - so you could go check
their source, but Im thinking you just want a quick solution
...what with it being Friday morning and a long tedious day ahead before you
can
Get the current day. Figure out what day of the week it is.
i.e. Today is Jan 24, Fri. Then get the number of days between then and now.
Then mod it by 7 to get the number of days to shift. This should all be able
to work in JavaScript.
But I think it might be easier to get a JavaScript Date
From: Mark Galbreath [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 24, 2003 10:16 AM
To: struts
Subject: [OT] Programming Challenge
Anybody know the algorithm for randomly calculating the day
of the week, given a particular date? E.g., July 4, 2006 =
Wednesday. I need to do this
I am trying to use mapped values in bean:write but not having any success.
* I have a bean named theBean in the session and it defines a method
public Item getItem() { ... }
* Item defines a method that returns a Map
public java.util.Map get Properties() { ... }
* The map contains key value pairs
2003. január 24. 16:16 dátummal Mark Galbreath ezt írtad:
Anybody know the algorithm for randomly calculating the day of the week,
given a particular date? E.g., July 4, 2006 = Wednesday. I need to do
this in JavaScript and for some reason (too much wine last night?) I can't
get brain
Man, do I feel like a dumbass! RTFM the API, Mark!!!
Thanks, Brian!
-Original Message-
From: Brian Lee [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 24, 2003 10:24 AM
example:
var myDate = new Date(July 4, 2006);
var iDayOfWeek = myDate.getDay();
--
To unsubscribe, e-mail:
umm
snip
var dayOfWeek = c.getDay();
/snip
Nope.
Posting it here got him the answer quicker - and without the 50 tons of
nonsense around the one line of interest :-)
...search engines can never compete with struts users who are easily
distracted by [OT] challenges...
-Original
Thanx,
But I was just trying to outsmart myself and I was pretty successfull in
it to.
Since people need to choose what paymentmethode they prefer (it was
about sending a form to a payment system) I still need an extra page
where the can choose and I put the hidden fields in a form.
So I run
Yeah, I was using http://javascript.internet.com/calendars/ but got tired of
reading source. I deserve this.
-Original Message-
From: James Turner [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 24, 2003 10:24 AM
Search engines: Know them, use them.
--
To unsubscribe, e-mail:
Joe, how many people do you have on your development team for this project and how
long has it taken to develop it?
Thanks,
Greg
-Original Message-
From: Joe Barefoot [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 23, 2003 5:53 PM
To: Struts Users Mailing List
Subject: RE:
BTW: http://www.javaworld.com/javaworld/javatips/jw-javatip44.html
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
sweet!
if you just want the code:
http://www.javaworld.com/javaworld/javatips/javatip44/Holidays.java
- Original Message -
From: Mark Galbreath [EMAIL PROTECTED]
To: struts [EMAIL PROTECTED]
Sent: Friday, January 24, 2003 10:48 AM
Subject: [OT] RE: Programming Challenge
BTW:
Tib,
I am not using Struts yet, so I am not familiar with the Struts
specific classes and tags, and I would like to be able to recommend it
to my customer.
Could you elaborate a little or point me to useful links? In
particular, would you have an idea of how much development this
involves?
Mechanically, tokens work by setting a, well, token in the response to the user, then
checking that token value in the action after they hit submit. If the token is
different or doesn't exist then the user is forwarded to a place defined by the Struts
developer, usually some sort of error page.
Hello everybody:
I'm having a problem with the logic:messagesPresent tag: is not working
for me.
In my Action i have the folloging code:
ActionMessages messages = new ActionMessages();
messages.add(ActionErrors.GLOBAL_MESSAGE,
new
If we have repeated values in a form say address which we have repeated 4
times (poor example really)
Anyway on the business object layer we will be storing these addresses as 4
instances of the address object.
The beanutils offers a copy properties method that copies simple ActionForms
to
you have to have
logic:messagesPresent message=true
to differentiate between ActionMessages and ActionErrors.
-Original Message-
From: carlos list [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 24, 2003 11:28 AM
To: [EMAIL PROTECTED]
Subject: messagesPresent not working.
Hello
I'm sorry about the las messages i sent it incomplete.
I i said i have in the Action the code:
ActionMessages messages = new ActionMessages();
messages.add(ActionErrors.GLOBAL_MESSAGE,
new
ActionMessage(ConstantManager.STRUTS_MESSAGE_GENERIC,mymessage));
I disagree on the sorting feature -- I'd vote to keep it, as we use it heavily
Dave
--
Dave Hodson
MessageCast, inc.
Email: [EMAIL PROTECTED]
http://www.messagecast.net
-Original Message-
From: Jerome Jacobsen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 23, 2003 8:07 AM
2003-01-24, p keltezssel Olivier Gourment ezt rta:
I am not using Struts yet, so I am not familiar with the Struts
specific classes and tags, and I would like to be able to recommend it
to my customer.
You can create a token with saveToken(request); use this in yor
form-populating action.
According to the book Struts in Action where Ted is
a co-author, and which uses the scaffold package, it
is to be incorporated into Jakarta Commons package.
If you visit here
http://jakarta.apache.org/commons/index.html
You will see that it is included in the Sandbox but
not in the released
thanks for your incredibly fast response. It worked!!!
From: Pani, Gourav [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Subject: RE: messagesPresent not working.
Date: Fri, 24 Jan 2003 11:31:21 -0500
you have to
Ken,
Bit more from Mr Husted's comments on the forum
related to his book.
Re: Scaffold (December 4, 2002)
from Ted
Right now, I'm getting ready to try and disburse some
of the Scaffold packages
to other Commons components. For example, the SQL
stuff could be merged with
Commons SQL. After
Not sure that the algorithm 'randomly' calculates the date but here you
go
http://www.dennisglass.com/javascript02.html
-Original Message-
From: Mark Galbreath [mailto:[EMAIL PROTECTED]]
Sent: 24 January 2003 15:16
To: struts
Subject: [OT] Programming Challenge
Anybody know
I know I'm missing something, because the struts-validator example provided
with 1.1b3 works fine. I've compared all of my own code with the example,
and I don't see what's wrong.
In my own webapp, I set a single field as required and submit the form with
nothing in the field, it doesn't
Does your form subclass ValidatorForm? Does javascript validation work?
David
From: Wendy Smoak [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Subject: Validator won't validate single required field
Date: Fri, 24
I am using Struts 1.0.2 with Tomcat 4.1.12 running on IIS 4.0 web server.
I have a header.jsp and footer.jsp pages which gets a header and footer,
from another machine using a URLConnection, that I want to show on all of my
pages in my application. In my application jsp pages, I am using the
I wrote:
I know I'm missing something, because the struts-validator example
provided
with 1.1b3 works fine.
I think I found what's wrong... ChooseProfileForm was an ActionForm, not a
ValidatorForm.
I fixed that... now I have *too* *much* validation! The very first time the
form is displayed,
1 - 100 of 184 matches
Mail list logo