Or:
html:select property=definition onchange=%= \formSubmit(this.form,\ + s + \)\
%
-Original Message-
From: Robert Taylor [mailto:[EMAIL PROTECTED]]
Sent: 21 May 2002 17:18
To: Struts Users Mailing List
Subject: RE: Tag || JSP problem
I haven't tested this code, but you can try
%
The local variables mentioned below, are method scope. They have no baring on sessions.
For session held objects, yes, a cluster would need to replicate them (hence they need
to be Serializable).
However, the servlet spec mandates that all requests for a session, should go to the
same VM. Only
Not sure if this is considered a bug, it may be. Certainly the code
needs a catch-all to fix it.
I was having trouble getting a html:form tag to work, the action in
the generated html, was always =. Having resorted to using
struts:form which worked (them were days, struts, pre version
the servlet spec only provides Strings for received parameters, so you
need to be able to convert from this. I use adapters to get this type
oof conversion via struts. I wrap the real bean inside, and the
population of the underlying bean is handled by the wrapper ( it's
actually just parsing
It could be server config. A spec compliant web server will send a
redirect like this:
HTTP/1.0 302 OK
Location: http://myserver:port/ChangePassword/changePassword.jsp
Though, and the above url should be what's in the browser location bar.
Make sure the location provided has the correct host
You can do this kind of call checking in AspectJ (www.aspectj.org)
-Original Message-
From: Galbreath
Sent: 15 February 2002 23:15
To: struts-user
Cc: Galbreath
Subject: RE: Determining the name of a calling class
Most excellent - if this is not a reference to the new 1.4 utility!
I've done this recently for a calculation tree. I just defined a method
in the jsp, passing in the Message (in your example) and the JSPWriter.
This method then recursively calls itself while outputting nested html
tables (ie each call draws a table, with the child call filling a cell
of it).
I think you are. :o) Do you really want two pages if the if statement
only changes one line? You could predetermine the line in an action but
it depends if you follow push or pull styles.. I prefer pull.
Bring on the if tag .. unless the equal tag is really if in disguise
(still learning the
I'm just trying to catch up with what's changed in struts 1.0.1 / 1.1
from the version I previously used (pre version numbers). Is there a
facility to map a request to different methods / actions based on a
request parameter?
For example, if the request contains a parameter function, can I
Thanks, Ted. Spot on.
-Original Message-
From: husted
Sent: 07 February 2002 10:52
To: struts-user
Cc: husted
Subject: Re: Turbine style multiple method actions
See
http://jakarta.apache.org/struts/api-1.0/org/apache/struts/actions/DispatchAction.html
Really
should mention this in
you can use either indexed or mapped properties in struts for this.
Alternatively the standard request.getParameterNames/getParameterValues
will supply all the data values.
For the mapped properties, use something like:
input type=text name=prop[%= rowNum %]
or
input
How stable are the current nightly builds? Is there a proposed
timescale for when a 1.1 is likely? (approx weeks/months/years? :o)
Ken
Visit our website at http://www.ubswarburg.com
This message contains confidential information and is intended only
for the individual named. If you are
12 matches
Mail list logo