Try using the struts-el tag library
It's an extension of the struts taglib that allows you to use JSTL EL
So you example becomes...
html-el:text style=${styleVar} .../
-Original Message-
From: Rahul Mohan [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 08, 2004 2:48 AM
To: struts
if you don't need a GUI, you can install cygwin and use the cvs client from
that.
-Original Message-
From: Ramadoss Chinnakuzhandai [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 03, 2004 3:17 PM
To: [EMAIL PROTECTED]
Subject: [OT]CVS client
Importance: High
Hi,
can anybody
property=items
indexId=idx
html-el:hidden property=itemId value=${item.id}
indexed=true/
html-el:text property=quantity
value=${context_tray.itemQuantityMap[item]} size=2 indexed=true/
br
/logic-el:iterate
%--/c:forEach--%
thx
Andy Kriger | Software Mechanic | Greater Than One
into struts code to really be
certain(input
surely has some significance is what i'm thinking..) So just for the heck of
it though, what happens if you do say /web/forms/orderForm.jsp instead?
Andy Kriger wrote:
OrderForm.do = /web/forms/orderForm.jsp That shouldn't make a
difference. I
-
From: Andy Kriger [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 27, 2004 2:46 PM
To: Struts Users Mailing List
Subject: form validation question
I am having a curious problem with form validation. I submit a form, see in
the logs that the form fails to validate, however, the webapp does
]
Validation failed, returning to '/OrderForm.do'
Andy Kriger | Software Mechanic | Greater Than One, Inc.
28 West 27th Street | 7th Floor | New York, NY 10001
P: 212.252.7197 | F: 212.252.7364 | E: [EMAIL PROTECTED]
][RequestProcessor]
Validation failed, returning to '/OrderForm.do'
Andy Kriger | Software Mechanic | Greater Than One, Inc.
28 West 27th Street | 7th Floor | New York, NY 10001
P: 212.252.7197 | F: 212.252.7364 | E: [EMAIL PROTECTED
forward name=success path=/OrderThanks.do/ /action
Regards,
Geeta
Andy Kriger wrote:
I am having a curious problem with form validation. I submit a form,
see in the logs that the form fails to validate, however, the webapp
does not return to the input page (I get a blank page
get a message window indicating the field is required.
Brian Barnett
-Original Message-
From: Andy Kriger [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 27, 2004 1:16 PM
To: 'Struts Users Mailing List'
Subject: RE: form validation question
I see an empty page - no HTML, no nothing
The ServletContext.getServlet() method has been deprecated. Is it possible
to get a Servlet (or the ServletConfig, which is what I'm really after) in a
Struts Action?
thx
andy
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Looks like it should work, you might need to escape the slashes.
It's easy enough to test either by using grep on the command line (which is
not the best test since there are differences btw Unix regexp and Java
regexp) or by writing a test class that uses the ORO library (Validator
doesn't use
://java.sun.com/jstl/fmt; %
%@ taglib prefix=sql uri=http://java.sun.com/jstl/sql; %
%@ taglib prefix=x uri=http://java.sun.com/jstl/xml; %
Quoting Andy Kriger [EMAIL PROTECTED]:
I downloaded the JSTL from Sun. In the tld directory there are 2 TLDs for
each taglib.
Example: c.tld and c-rt.tld
Do
Resin definitely does work with RC2 and 1.1 so there's probably a
configuration issue either in Resin or in Struts that is causing your error.
-Original Message-
From: Barry Volpe [mailto:[EMAIL PROTECTED]
Sent: Friday, August 08, 2003 17:33
To: Struts Users Mailing List
Subject: [OT]
I downloaded the JSTL from Sun. In the tld directory there are 2 TLDs for
each taglib.
Example: c.tld and c-rt.tld
Do I need to copy both of these to my WEB-INF dir?
Do I need to reference both of these in the JSP [EMAIL PROTECTED] directive?
thx
andy
I would like to call a JSP (using jsp:include) passing it some parameters,
have that included JSP do its dynamic stuff, and then get the response as a
String or byte[] so that I can do some further manipulation with the
resulting HTML.
Is there any way to get a String or byte[] from a
localy. Unplug your machine
and look what happens. But the short answer is 'no' it does not. It goes
thru your TLD and finds that URL.
-Original Message-
From: Andy Kriger [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 06, 2003 3:29 PM
To: Struts Users Mailing List
Subject: RE: [OT
Can someone with a bit of in-depth Struts experience comment on the risks of
upgrading a project from Struts 1.0 to Struts 1.1? Should my project work
without any modifications? Are there any issues I need to be aware of
(changes in behavior and the like)?
thx
andy
I have a validation rule that looks like this...
field property=phoneExt
depends=mask
arg0 key=phone/
arg1 key=phone.ext/
var
var-namemask/var-name
var-value^\s*\d*\s*$/var-value
/var
/field
However, it considers the
log4j also includes logfactor5 - a GUI log viewer that you activate in the
log4j.properties
-Original Message-
From: Gord Tomlin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 12, 2003 9:49
To: Struts Users Mailing List
Subject: Re: [Q] Log Viewing tool for Windows environment?
Log4j
java.awt.Component is also in your classpath
maybe c:out is trying to cast your object as that instead of
x.y.z.Component?
-Original Message-
From: John Thorhauer [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 27, 2003 15:18
To: Struts Users Mailing List
Subject: is Component a
.
Unless there is a component besides java.awt.Component that I
don't know of.
-Tim
-Original Message-
From: Andy Kriger [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 27, 2003 3:33 PM
To: Struts Users Mailing List
Subject: RE: is Component a reserved word?
java.awt.Component
Check out this article
http://www.javaworld.com/javaworld/jw-05-2002/jw-0524-sql.html
A nice to way to keep the ResultSet in yr db classes and allow your other
classes to remain ignorant of db access.
-Original Message-
From: Kirby Vandivort [mailto:[EMAIL PROTECTED]
Sent: Wednesday,
Second that recommendation. If you use a resource file, changes to text
strings require a text file mod and a webapp reload. No compilation
necessary. That's a big plus.
-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 03, 2003 10:30
To: [EMAIL
applies to CSS and JS files which I have in their own dirs. I saw
several questions about this in the archives but no answers.
Anyone?
thx
andy kriger
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
Is it possible to have the validator ignore whitespace? Especially in
Struts. It'd be nice to not have to pad my regexps with \s* in order to
account for this.
thx
andy
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
those dependent libraries,
the problem may be there and not in Struts or your code.
-a
-Original Message-
From: Andy Kriger [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 24, 2003 10:26
To: Struts Users Mailing List
Subject: how do i use a mapped value in bean:write?
I am trying to use
I'll take a stab @ yr questions:
1) What's the typical ramp-up time for an average developer? How long until
they become fully productive vs. 'just capable'? What's the most effective
way to bring someone up-to-speed?
I started with Struts as a skilled Java dev with JSP/servlet experience and
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
Are you using the sslext package?
-Original Message-
From: McRobb, John [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 22, 2003 8:16
To: '[EMAIL PROTECTED]'
Subject: SSL
We are using struts 1.1 and tiles.
How do we specify if a tiled page should be served using ssl or not?
i.e like
I'm using logic:messagesPresent to test for messages when displaying
errors (standard stuff described in the docs).
logic:messagesPresent
p class=errorThere are form errors/p
ul
html:messages id=msg
li class=errorbean:write name=msg//li
Ignore this message. I found the problem and I'm ashamed (missing logic
taglib declaration).
-a
-Original Message-
From: Andy Kriger [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 16, 2003 10:44
To: Struts Users Mailing List
Subject: problem with messagesPresent?
I'm using
You could also use HttpSessionAttributeListener for a 3rd party to note when
objects are put into/removed from session
-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 15, 2003 12:19
To: [EMAIL PROTECTED]
Subject: Re: Active users in a struts web
here:
http://java.sun.com/j2ee/sdk_1.3/techdocs/api/
Prefix off topic posts with [OT] in the future.
Dave
From: Andy Kriger [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: responding to session timeouts
Date: Wed
I have 2 message-resources defined in my webapp (one has a key defined the
other does not). In one action, I am getting messages from the non-default
message-resource (the one with a key defined). In that action I also create
an errors object and add errors to it...
getResource(request, key)
application; the one with
the key defined.
If you don't want to use the bundle attribute in your call to
html:errors... I suggest you move those keys to the default message
resource file in your app.
-Original Message-
From: Andy Kriger [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 10
in your app.
-Original Message-
From: Andy Kriger [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 10, 2003 3:34 PM
To: Struts Users Mailing List
Subject: ActionErrors question
I have 2 message-resources defined in my webapp (one has a key defined the
other does not). In one action, I am
This isn't a Struts-specific question, but i'm figuring someone here might
know the answer...
Is there a way to know when a session times-out and respond to that? (like
an event being fired or and having a servlet acting as a listener) There's
some cleanup that I need to do in the case that a
The Jakarta project's Torque is another good option. It can generate an XML
representation of your db and then from that generated Java objects that
represent your dB. If you have FKs setup, it'll even handle object
associations (for example, one object containing another object).
-Original
?
The last time I tried it (it's been quite some time) it wasn't exactly
easy to use. I also seem to recall hearing there wasn't a great deal of
activity on the project - all heresey, so I can't say for certain. Any
idea how valid that is? OJB is under very active development.
Andy Kriger wrote
I'm wondering how these are used. They're not mentioned in the O'Reilly book
or in the docs. After calling generateToken, do I need to wrap my action's
execute code in an isTokenValid block to check for an existing token?
For example...
execute(...) {
generateToken(request);
i'd love to do that however whenever i text search i get an error 'Text
search not available for this list'. i reported this on the mailing list a
few days ago but got no response.
so, can someone answer my question here?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL
I would like to set the HTML name attribute of an input element (e.g.
image). The name attribute in Struts html-tag land refers to the form bean
backing the HTML form. Is there a different attribute that handles the HTML
name attribute?
thx
andy
--
To unsubscribe, e-mail: mailto:[EMAIL
-- In action B call isTokenValid
if you want to continue Token validation call saveToken then
route to JSP C.
JSP C then routes to Action C -- call isTokenValid then call saveToken
route to JSP D
If you want to stop validation at anytime call resetToken.
HTH
b-
--- On Fri 12/13, Andy Kriger
I put data storage beans that need to be displayed into the request or
session and use bean:write and logic:iterate on the JSP. I don't see the
sense in creating extra objects targeted to display; just keeping the
get/set methods generic (return a Date, not a formatted Date String) should
be
I'm using SSLExt to rewrite HTTP/HTTPS links. Sometimes the link from HTTPS
to HTTP is being rewritten http://serverhref;sessionID as opposed to
http://server/webapp/href;sessionID (not the missing webapp and
slash). Not sure what's going on. The links work fine on HTTP-HTTP pages.
The actions in
Why doesn't text searching work any more for the mailing list archives at
http://nagoya.apache.org/eyebrowse/SearchList?[EMAIL PROTECTED]
pache.org
You get a message
'Text search not available for this list'
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
I want to have a checkbox checked when a given request attribute is true.
The attribute value is not a bean, it is a Boolean object (which makes sense
for an on/off control). Is there any way to do this?
thx
andy
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands,
Since this is a Struts ML, I mean with Struts tags. The form itself is a
DynaActionForm and whether the checkbox is turned on or not depends on the
Action that preceeds the form display. Looking at the src, it appears that
html:checkbox only work with beans (a shortcoming of the tag, imho). To get
I noticed that the nightly docs are labelled 1.1-b3-dev (maybe this is
nothing new and I'm just unobservant). Is there a b3 milestone build coming
soon? Is there a changes file that docs functional changes btw milestones?
(as opposed to the diffs btw nightly builds)
thx
andy
--
To unsubscribe,
I have a JSP. I have some scriplet code that defines an object and then I
want to iterate over that object, but I keep getting an error that the
object is not defined in the page scope. Looking at the docs I don't
understand what I'm doing wrong.
---
%
pageContext.setAttribute(myObj, myObj,
: Andy Kriger [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 03, 2002 3:24 PM
To: Struts Users Mailing List
Subject: logic:iterate question
I have a JSP. I have some scriplet code that defines an
object and then I want to iterate over that object, but I
keep getting an error
I have an app with multiple forms. Some fields appear on multiple forms
(e.g. email). Instead of copy-pasting the field validataion definition, is
there a way to define a field element once and refer to it multiple time in
the validation.xml file?
thx
andy
--
To unsubscribe, e-mail:
According to a response from O'Reilly customer service 'in the next few
days'
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]]
Sent: Sunday, November 24, 2002 22:20
To: 'Struts Users Mailing List'
Subject: RE: [ANNOUNCE] O'Reilly Struts Book Now Available
Chuck wrote:
I
Available
The book is now available on Safari. I worked with them to get it up
yesterday. Here's a link to Safari - http://safari.oreilly.com
Chuck
From: Andy Kriger [EMAIL PROTECTED]
Date: 2002/11/26 Tue AM 10:48:34 EST
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: RE: [ANNOUNCE
Out of curiosity, how well does Eclipse run on old hardware. I have a
Pentium laptop w/96M RAM - NB is my usual IDE but that's right out, even
JEdit is a bit painful to work it.
thx
-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 21, 2002 13:31
Evangelist
http://www.open-tools.org
If you were plowing a field, which would you rather use? Two strong oxen or
1024 chickens?
- Seymour Cray (1925-1996), father of supercomputing
-Original Message-
From: Andy Kriger [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 21, 2002 1:42
I want to have a checkbox use the HTML checked attribute. I want to do this
without referring to a bean or a property or a value, separate from the
Struts architecture (except that I still want to have Struts fill in my form
values). Is it possible?
I have tried many things. In the form object, I
Is there any way to set an iteration increment on the iterate tag? For
example, iterate through the array returning every 2nd item.
If not, can anyone tell me how I might do this without resorting to
scriplets (or only using them minimally)? Here's the code I'm trying to use.
The first TD is the
/logic:iterate
/tr
/logic:iterate
Quentin
-Original Message-
From: Andy Kriger [mailto:[EMAIL PROTECTED]]
Sent: 19 November 2002 16:44
To: Struts Users Mailing List
Subject: iterate tag - can you set an increment?
Is there any way to set an iteration increment
/logic:iterate
Quentin
-Original Message-
From: Andy Kriger [mailto:[EMAIL PROTECTED]]
Sent: 19 November 2002 16:44
To: Struts Users Mailing List
Subject: iterate tag - can you set an increment?
Is there any way to set an iteration increment on the iterate tag? For
example, iterate through
: RE: iterate tag - can you set an increment?
Certainly. It's available as a scripting variable within the loop (and as a
page-scoped attribute).
-Original Message-
From: Andy Kriger [mailto:[EMAIL PROTECTED]]
Is it possible to access the idx variable in a scriplet
during iteration
an expr attribute to those tags, to make it convenient to
specify an arbitrary EL expression. Using this, you could do something
like:
logic-el:match expr=${idx mod 2} value=0
-Original Message-
From: Andy Kriger [mailto:[EMAIL PROTECTED]]
And last but not least, is it possible to do
In Struts 1.0.2, is it possible to do
bean:write name=myBean property=property(key)/
where myBean has methods
public String getProperty(String key)
public void setProperty(String key, Object value)
and there is a map backing the (get|set)Property?
thx
andy
--
To unsubscribe, e-mail:
( Action.MESSAGES_KEY );
The MESSAGES_KEY is static so you don't need the action.
-Original Message-
From: Andy Kriger [mailto:akriger;greaterthanone.com]
Sent: Friday, November 15, 2002 2:24 PM
To: 'Struts Users Mailing List'
Subject: giving biz classes access to MessageResources?
I have
to answer my own question - yes, using
PropertyResourceBundle.getBundle(appResFile) and i'm guessing if i look
further MessageResources has a static utility method that does this
-Original Message-
From: Andy Kriger [mailto:akriger;greaterthanone.com]
Sent: Friday, November 15, 2002 14:57
because
then you're tied to struts. Never import javax.servlet.* or
org.apache.struts.* in business logic classes.
David
From: Andy Kriger [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: RE: giving biz classes
I am trying to set properties of an object using DynaActionForm.
In my struts-config.xml I have in the form-bean
form-property name='creditCard' type='my.package.CreditCard' /
In my JSP I try
html:text property='creditCard.type' /
The CreditCard class has a no-arg ctor and get/set methods for
versatile enough yet for complex
applications/valdation...In the end we choose to retain mostly traditional
forms.
drew
-Original Message-
From: Andy Kriger [mailto:akriger;greaterthanone.com]
Sent: Thursday, November 14, 2002 10:25 AM
To: Struts Users Mailing List
Subject: help needed
). Then I guess it
could be expanded to user-objects using a Validatable interface (similar to
the Comparable interface used by Arrays.sort).
-Original Message-
From: Drew Zimber [mailto:drew.zimber;shaws.com]
Sent: Thursday, November 14, 2002 11:00
To: 'Andy Kriger'; 'Struts Users Mailing
toying with the direct DynaActionForm.set() in the
action class. As far as i explored, that was the only way to get around
this. And if you are using the XML validation in conjuction, it gets even
messier my friend.
dz
-Original Message-
From: Andy Kriger [mailto:akriger
Mailing List
Subject: RE: indexed properties and form help needed
At end.
-Original Message-
From: Andy Kriger [mailto:akriger;greaterthanone.com]
I have a DynaActionForm collecting credit card info. A user
can enter up to
3 credit cards on the form. I want to collect this info
/html:option items)? Do you use a backing static bean and
html:options to point to that bean? Any ideas would be appreciated.
thanks
andy kriger
--
To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
I have a form that repeats a credit card validation portion multiple times.
What is the best way to only have to write html:select/html:options once? Is
there a way to give the first use an id and then refer to that by reference?
thx
andy kriger
--
To unsubscribe, e-mail: mailto:struts-user
I have the current setup
JSP (behind an Action) - Action - JSP (behind an Action)
The Action in the middle does several things, none particularly large (let's
say 10 lines of code each). It would probably be cleaner design to separate
the tasks into separate actions. However, I am curious about
believe.
-JT
-Original Message-
From: Andy Kriger [mailto:akriger;greaterthanone.com]
Sent: Friday, October 25, 2002 7:15 AM
To: Struts Users Mailing List
Subject: Question - DynaActionForm and indexed property
I am trying to setup a DynaActionForm to use indexed and named properties
I have the current setup
JSP (behind an Action) - Action - JSP (behind an Action)
The Action in the middle does several things, none particularly large (let's
say 10 lines of code each). It would probably be cleaner design to separate
the tasks into separate actions. However, I am curious about
I am trying to setup a DynaActionForm to use indexed and named properties.
But I'm getting an error and, not knowing BeanUtils very well, I'm wondering
if someone can guide me in what I need to do to make this work.
In my form...
html:text property='creditCard[0].type' /
html:text
I am writing a custom rule and I need to know how I can get a handle to a
different Field object? (not the one passed into the method in the first
place)
thx
a
--
To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail:
What JUnit extension or JUnit-like tools do folks use to test their JSPs? I
am aware of StrutsTestCase but in this instance I need to test form
validation on an action that uses an ActionForward directly (no associated
Action class). So direct JSP testing makes more sense.
-a
--
To
; // or false if the validation fails
}
HTH,
Jerry
-Original Message-
From: Andy Kriger [mailto:akriger;greaterthanone.com]
Sent: Tuesday, October 22, 2002 11:33 AM
To: Struts Users Mailing List
Subject: how do i get a Field object in Validator?
I am writing a custom rule and I need
ValidatorForm.
Does this help?
Dave Derry
- Original Message -
From: Andy Kriger [EMAIL PROTECTED]
That much I understand - but is it possible to get a reference to the
Field
objec that represents that 2nd property? For example, if you wanted to get
message arguments from the other
then. Are you wanting to
manipulate the error message that is being returned? In other words, if one
of the 'other' variables fails, then return a message for that failure ?
Jerry
-Original Message-
From: Andy Kriger [mailto:akriger;greaterthanone.com]
Sent: Tuesday, October 22, 2002 1:45 PM
: Monday, October 21, 2002 13:01
To: 'Struts Users Mailing List'
Subject: RE: ChoiceFormat for message formatting?
-Original Message-
From: Andy Kriger [mailto:akriger;greaterthanone.com]
Sent: Monday, October 21, 2002 9:21 AM
Can ChoiceFormat be used to format messages in the app
1) Is it possible to override the validator error message when a field fails
validation? For example, I have a required field that is missing. I display
the default error message at the top of the page. I would also like to
change the color of the form field label red. Can I do something like
Can ChoiceFormat be used to format messages in the app properties file?
For example, the validator error.maxlength is
{0} can not be greater than {1} characters.
This will produce 'field can not be greater than 1 characters'
I am trying to use the ChoiceFormat to work so this can be
Is there a robust open-source shopping cart implementation using Struts? Or
failing that, using JSP/Java?
-a
--
To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org
The DTD specifies for attributes named 'forward' and 'include' for action.
These have the same documentation. Is there any difference?
-a
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
I am setting up the following: a JSP containing a form; the submit action of
the JSP calls a Struts Action class. Since I don't really need an action
simply to forward to the JSP, I thought I'd use the action include or foward
attribute which seems to accomplish this. But I can't make it work.
Are there any libraries of common beans like Birthday, Address, etc.? This
seems like something that would come up a lot (I know I'm encountering it a
bit across projects) and could be reused widely.
thx
a
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
Does this mean that you will have an ActionForm with String fields and a
ModelBean that basically has all the same fields but with the correct types?
And that ModelBean is passed around the struts framework?
If so, how do folks reduce code duplication between the utility ActionForm
and the data
I'm embarking on a project for which I'd like to use an ORM to abstract the
dB access. Since there are so many out there (e.g. I'm considering Castor,
Torque, and OJB just from mentions in various Java articles), I'm wondering
which frameworks people have had experience with and your opinions on
?CayenneVsOther
So does this Excel file
http://members.telocity.com/dcancro/docs/web_dev_products.zip
-Original Message-
From: Andy Kriger [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 10, 2002 11:29 AM
To: Struts Users Mailing List
Subject: [OT] which object-relational mapping
have you tried...
session-config enable-url-rewriting='true'/
this enables Resin to track the session in the URL
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 08, 2002 9:23
To: Struts Users Mailing List
Subject: RE: [OT] Container Wars -
I am interested in using Struts 1.1 for an upcoming project because of the
added features (especially validation). However, I don't want to use beta
software in a production release. Is there a target date for 1.1rel?
thx
andy
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For
* of added
functionality there. If you're on a container adhering to jsp
specification 1.2, the addition of the Struts-EL taglib could save you a
lot of hassle!
David Graham wrote:
no
From: Andy Kriger [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing
I have two vectors of the same length. I can iterate over one and retrieve
values. How can I use the index of that iteration to reference the other
vector?
For example
vOne = { 1,2,3,4 }
vTwo = { a,b,c,d }
I iterate over vOne producing 1,2,3,4,
logic:iterate id='item' name='vOne' indexId='idx'
Is there any way that an ActionErrors object can be returned by
Action.perform (in the same way it can be returned by ActionForm.validate)?
I would like to use the html:errors tags in my JSP to handle output from
exceptions received in the Action.perform method. But I'm not sure how to
set the
never mind - found it
for those wondering - in an Action class...
ActionErrors errors = new ActionErrors();
request.setAttribute(this.ERROR_KEY, errors);
-Original Message-
From: Andy Kriger [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 27, 2002 12:40
To: Struts Users Mailing List
I would like to have our form change text color of field labels to red if
they are required fields that were not filled out when the form was
submitted (a common feature of forms).
Currently, we are doing custom validation that sets a flag. The JSP checks
this flag in logic:present tags and
=someBean property=linkMapProperty /
and it will generate :
/image.do?image=image222311.jpgapplication=photos
I find that neat :)
danny
Andy Kriger wrote:
I tried asking this few days ago when my understanding of struts was
significantly less than it is now (and I didn't phrase my question very
1 - 100 of 104 matches
Mail list logo