id=lineItem
type=InvoiceLineItem
bean:write name=lineItem property=aLineItemProperty/
/p
/logic:iterate
--
Martin Cooper
- Original Message -
From: Ali Ozoren [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, September 22, 2001 10:52 PM
Subject: Postmortem
The value of the 'name' attribute on the jsp:getProperty tag cannot be a
runtime expression, per the JSP spec. See the section entitled Request Time
Attribute Values for the details.
--
Martin Cooper
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday
Do you have the Ant optional jar (jakarta-ant-1.4-optional.jar)? Per the
Struts documentation, this is needed to build Struts from source. See:
http://jakarta.apache.org/struts/installation.html
for more.
--
Martin Cooper
- Original Message -
From: Paap, Keith [EMAIL PROTECTED
like this:
forward name=success path=localeFixerUpper.do?successpage=menu.jsp
/
Then your LocaleFixerUpper (catchy name, huh? :-) ) action can do whatever
it needs to modify the successpage value before forwarding to it.
Neither of these is particularly clean, but they should work.
--
Martin
forwards, like this:
forward name=success path=nextAction.do /
--
Martin Cooper
- Original Message -
From: Hakan Forss [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, September 23, 2001 12:55 PM
Subject: More than one action for a request
Hi,
I am new to Stuts and would
There are installation instructions on the Struts web site:
http://jakarta.apache.org/struts/installation-ip.html
--
Martin Cooper
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, September 23, 2001 4:30 PM
Subject: Struts installation on iPlanet 4.1
If I understand what you're asking, it's not possible. JavaScript is
executed at the client (e.g. the browser), while JSP, including the
html:errors tag, is executed on the server.
--
Martin Cooper
- Original Message -
From: Francois Duchaussoy [EMAIL PROTECTED]
To: [EMAIL PROTECTED
You probably want to use html:options instead of html:option, and do a
little more setup work in your action class.
--
Martin Cooper
- Original Message -
From: Ken'ichi Unnai [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, September 23, 2001 9:49 PM
Subject: i18n: bean:option
When you use a Map, there is no defined order in which the entries will be
enumerated. The actual order is implementation-specific. If you need a
particular order, then it is up to you to take care of that.
--
Martin Cooper
- Original Message -
From: Ali Ozoren [EMAIL PROTECTED
My guess is because the 'align' attribute is not part of XHTML, and is also
not in the HTML 4 Strict DTD. But it might just be an oversight. :-}
--
Martin Cooper
- Original Message -
From: David Corbin [EMAIL PROTECTED]
To: Struts User [EMAIL PROTECTED]
Sent: Friday, September 21, 2001
In Struts 1.0, reset() is called just before the form bean is populated from
the request.
In the nightly builds (which will become Struts 1.1 at some point), reset()
is also called when a html:form tag is processed, iff the tag also created
the form bean.
--
Martin Cooper
- Original
documentation, you should refer to the
documentation web app included in the Struts 1.0 download (i.e.
struts-documentation.war).
--
Martin Cooper
At 03:22 AM 9/21/01, Kevin Jones wrote:
the install guide says that the binary Struts file(s) (.zip and .tar)
contain the jakarta-commons .jar files
string.
It's safer, and a bit cleaner, to do it like this:
forward = mapping.findForward(success);
StringBuffer path = new StringBuffer(forward.getPath());
path.append(?bugID=+userBean.getBugIDAsString());
forward = new RedirectingActionForward(path.toString());
--
Martin Cooper
)%'
--
Martin Cooper
- Original Message -
From: Matt Raible [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, September 19, 2001 2:28 PM
Subject: logic:equal and dynamic value
I am trying to compare a value in my bean with a value from the request,
using
the following
strutslogic:equal
The docs are part of the binary distribution. They're packaged as a web app
that you can simply drop into your favourite container
(struts-documentation.war).
--
Martin Cooper
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, September 15, 2001 5:39 PM
Are both servlets in the same web app? The session cannot be shared across
web apps.
Are you sure the authentication servlet is creating the session before the
Struts controller gets control?
--
Martin Cooper
- Original Message -
From: Venkatraman, Shanthi [EMAIL PROTECTED]
To: [EMAIL
Another alternative is to use JavaScript to set the form's action before
submitting it.
--
Martin Cooper
- Original Message -
From: Shehryar Khan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, September 14, 2001 8:51 PM
Subject: Multiple Submit Buttons per Form
I'm pretty
As you surmised, set-property is currently limited to name/value pairs.
The 'id' attribute (which is an attribute of every element in the struts
config DTD) is an implicit identifier which is not directly reflected in the
code. It is not intended to be specified explicitly.
--
Martin Cooper
Since the error is a JSP compilation error, it's not related to the code in
your action. Are you importing all the relevant classes at the top of your
JSP page?
--
Martin Cooper
- Original Message -
From: Claudio Parnenzini [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday
It looks like you are trying to use data sources in your web app, but you do
not have the JDBC 2.0 Optional Package installed. As mentioned on the Struts
installation page, you'll need to copy this jar file to your WEB-INF/lib.
--
Martin Cooper
- Original Message -
From: Calvin Lau
1.1 instead.
--
Martin Cooper
- Original Message -
From: Matt Raible [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, September 06, 2001 1:59 PM
Subject: compiling struts 1.0 src - java.lang.NoClassDefFoundError:
javax/xml/transform/Source
I'm trying to compile the 1.0 version
If you make your form bean property a String array, Struts will populate it
from the request for you.
You might also want to take a look at the html:multibox tag, which comes
in handy for this type of thing.
--
Martin Cooper
- Original Message -
From: Peter Pilgrim [EMAIL PROTECTED
But
you would be creaking and struggling if you did not piggy bank
Struts with J2EE features.
Sorry, but I disagree completely. Whether or not Struts is an appropriate
framework for any given project is completely independent of whether J2EE is
or is not useful on that project.
--
Martin
It goes in the JSP page directive:
%@ page session=false %
--
Martin Cooper
- Original Message -
From: Shamdasani Nimmi-ANS004 [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, August 31, 2001 7:33 AM
Subject: RE: STRANGE: session.invalidate() is not invalidating the session
If the user disables cookies, the servlet container should revert to using
URL rewriting to maintain the session. You shouldn't have to worry about a
new session being created on each request.
--
Martin.
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday,
previously cached by the browser. (Be sure to call
resetToken() after checking, to clean up.)
--
Martin Cooper
- Original Message -
From: Shamdasani Nimmi-ANS004 [EMAIL PROTECTED]
To: struts-user@jakarta. apache. org (E-mail)
[EMAIL PROTECTED]
Sent: Wednesday, August 29, 2001 12:32 PM
there's
no overhead there.
--
Martin Cooper
- Original Message -
From: viet nguyen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 28, 2001 5:56 PM
Subject: static text fields on the session or from??
If I need to display a screen which includes both
editable fields
I don't know what the relationship is between this error and your JSP, but
it looks like your container is trying to serialize the session for some
reason. Apparently you have a session attribute which is a HashMap, and it
doesn't like that because it can't serialize it.
--
Martin Cooper
it got was an equals.
--
Martin Cooper
- Original Message -
From: Thomas Quas [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, August 28, 2001 10:42 PM
Subject: Re: Local Forward with Parameters Causes Exception
Thanks all,
problem solved. I'm still puzzled, however, about
I don't recall if this has the level of detail you're looking for (it's been
a while since I used it), but you could take a look at WebDebug:
http://www.cyberclip.com/webdebug/
--
Martin Cooper
- Original Message -
From: Tom Tibbetts [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent
Take a look at the 'anchor' attribute on the html:link tag. If you use
that for your Add link, I believe it will do what you want.
--
Martin Cooper
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, August 29, 2001 2:02 PM
Subject: How to handle
be a controlled dynamic form bean, where the valid
fields are actually controlled externally, rather than being at the whim of
the request (or other code). But then, that's a bunch more work. :-)
--
Martin Cooper
- Original Message -
From: John Townsend [EMAIL PROTECTED]
To: [EMAIL PROTECTED
I think this is what you're after:
ActionMapping targetMapping = getServlet().findMapping(/signIn);
String formName = targetMapping.getName();
--
Martin Cooper
- Original Message -
From: Matt Raible [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, August 27, 2001 12:05 PM
this might have the value foo
return new ForwardingActionForward(path.toString());
--
Martin Cooper
-Original Message-
From:David Corbin [EMAIL PROTECTED]
Sent:Sun, 26 Aug 2001 21:07:03 -0400
To: [EMAIL PROTECTED]
Subject: Re: Dynamic forwardings...
I'm not sure where I'm
Yes, you can do that. In your form bean, use a String[] (i.e. string array)
for the property type, and Struts will take care of setting all the values
when the form is submitted.
--
Martin Cooper
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, August
Can you post (some of) the debug output you're getting from the Digester?
That might help us see what's going on.
--
Martin Cooper
- Original Message -
From: Sean [EMAIL PROTECTED]
To: Struts Users [EMAIL PROTECTED]
Sent: Friday, August 24, 2001 7:21 AM
Subject: Re: Re[2]: Digester
Also, I forgot to mention - since you're using the Commons version of the
digester, rather than the one built into Struts 1.0, you might want to look
to the jakarta-commons mailing list for help, since that's where the active
development is happening.
--
Martin Cooper
- Original Message
? Perhaps we can help you find an
alternative approach.
--
Martin Cooper
- Original Message -
From: Olivier Houyoux [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, August 25, 2001 2:39 AM
Subject: Javascript bean message tag
Hi all,
To summarize my problem, I try to retrieve
the Struts versions with 1.0 for now, and ignore the deprecation
warnings, if you don't want to introduce a new dependency.
--
Martin Cooper
- Original Message -
From: David Corbin [EMAIL PROTECTED]
To: Struts User [EMAIL PROTECTED]
Sent: Friday, August 24, 2001 4:18 AM
Subject: Struts
Not quite. You need to specify the property attribute instead of the name
attribute, like this:
html:hidden property=my_hidden_field_name value=%=myId%%
--
Martin Cooper
- Original Message -
From: Heritier Arnaud [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, August 24, 2001 2
The 'form' taglib is obsolete, and actually only existed for a fairly short
period of time. You should be using the 'html' taglib instead.
--
Martin Cooper
- Original Message -
From: Ernesto Di Blasio [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, August 24, 2001 5:30 AM
Subject
=
servlet.getServletConfig().getInitParameter(date.format);
--
Martin Cooper
- Original Message -
From: Ben Jessell [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, August 22, 2001 9:17 AM
Subject: web.XML - lookup values?
Slightly off-subject, but does anyone know how you can define
forwarding to the JSP for display.
--
Martin Cooper
- Original Message -
From: Bille Madsen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, August 22, 2001 2:35 AM
Subject: radio select
Hi,
I have the following code:
html:radio property=radioBtn value=mail /
html:radio
I'm not sure I understand your warning. For a set of radio buttons, there
should not be an array in the form bean, just a simple string property,
since only one radio button from a set can be selected at any time.
--
Martin Cooper
- Original Message -
From: SUPRIYA MISRA [EMAIL
Something like this should work:
bean:define
id='urltoredirect'
value='%= /admin/orders/ + ht2.get(productkey) + /ViewOrder.jsp
%'
/
html:link
href='GetOrderServlet'
paramId='urltoredirect'
paramName='urltoredirect'
/
blah blah..
/html:link
--
Martin Cooper
Filters are cool, but to use them, you need a container which supports
Servlets 2.3 (e.g. Tomcat 4 or Resin 2). Also, the spec isn't final yet, so
although I wouldn't expect much change between Proposed Final Draft 2 and
Final, it's still possible.
--
Martin Cooper
- Original Message
Am I missing something?
Yes. :-)
What you're missing is that the suggestion is to use a regular HTML
textarea tag instead of the Struts tag, and then use bean:write to
provide the initial value.
--
Martin Cooper
- Original Message -
From: Calvin Lau [EMAIL PROTECTED]
To: [EMAIL
mentioned, we do use large numbers of bean:message tags for localization
purposes.
--
Martin Cooper
- Original Message -
From: John M. Corro [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, August 17, 2001 3:27 PM
Subject: Speed issues w/ Strut Tag Library
We have a JSP page that's
There have not been any discussions about removing the template taglib, as
far as I'm aware. I believe it will continue to exist at least through
Struts 1.1, and probably longer.
--
Martin Cooper
- Original Message -
From: Trieu, Danny [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent
() method instead of perform().
2) Subclass ActionServlet and override processPreprocess() to implement your
default action. This will only work if your default action precedes the
normal behaviour, since that method is called prior to the perform() method.
--
Martin Cooper
- Original Message
One way of resolving this is to have a hidden field in your forms which
specifies which step is being performed. Then in your reset() method, you
can check which step you are at, and reset (or not) fields as appropriate.
--
Martin Cooper
- Original Message -
From: Wilhelm Fitzpatrick
In Struts 1.1, there's an 'indexId' attribute on the logic:iterate tag
which should do what you want.
--
Martin Cooper
- Original Message -
From: Nicola Taylor [EMAIL PROTECTED]
To: Struts-User (E-mail) [EMAIL PROTECTED]
Sent: Tuesday, August 14, 2001 9:00 AM
Subject: Index within
For file uploads, you need to specify the method and the encoding type for
the form like this:
html:form ... method=post enctype=multipart/form-data ...
--
Martin Cooper
- Original Message -
From: MacKellar, Kimberly [EMAIL PROTECTED]
To: Struts-User (E-mail) [EMAIL PROTECTED
Which version of JAXP and Xerces are you using? The nightly builds require
JAXP 1.1, so you may find you need a newer version. See the Struts
installation page for details:
http://jakarta.apache.org/struts/installation.html
Martin.
- Original Message -
From: Hough, Matthew [EMAIL
with a parser bundled in.)
--
Martin Cooper
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, August 15, 2001 3:05 PM
Subject: Namespace not supported by SAXParser
Whew.
Hi, trying to run app using Struts nightly build (latest 8/15 I believe)
under Tomcat
itself
(struts-documentation.war).
--
Martin Cooper
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, August 15, 2001 1:19 PM
Subject: Seeking clarification of indexed attribute
Hi,
Ambushed by a compile error when trying to use the indexed
The answer is (b), before the form is populated, except that reset() is
*always* called, whether or not there are parameters in the request with
which the bean would be populated.
--
Martin Cooper
- Original Message -
From: Mike Dewhirst [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent
) %
You'll need to remember to add the appropriate imports at the top of your
JSP too.
--
Martin Cooper
- Original Message -
From: Tim Fox [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, August 15, 2001 7:41 AM
Subject: RE: Examples of mutli-click prevention using struts tokens
Thanks
with is to follow the links that are
available to you, and search the mailing list archives. You are by no means
the first person to travel the path you are on.
--
Martin Cooper
Thanks a lot,
Nitu.
- Original Message -
From: Martin Cooper [EMAIL PROTECTED]
To: [EMAIL PROTECTED
This is a consequence of the JavaBeans introspection mechanism. The getter
and setter must be getting and setting the same type for them to be
recognized as property accessors. See the Introspection chapter of the
JavaBeans spec for more details.
--
Martin Cooper
- Original Message
this:
!-- Action Servlet Mapping --
servlet-mapping
servlet-nameaction/servlet-name
url-pattern*.do/url-pattern
/servlet-mapping
to your web.xml file. You might want to take a look at the web.xml file in
the struts-example app to make sure you've got everything else that you need.
--
Martin
This is a consequence of the JavaBeans introspection mechanism. The getter
and setter must be getting and setting the same type for them to be
recognized as property accessors. See the Introspection chapter of the
JavaBeans spec for more details.
--
Martin Cooper
- Original Message
If you are just trying to determine whether or not there are outstanding
errors to be displayed, you should look for the ActionErrors object, which
is stored under the key Action.ERROR_KEY.
--
Martin Cooper
- Original Message -
From: Hartmut Bernecker [EMAIL PROTECTED]
To: [EMAIL
works.
--
Martin Cooper
- Original Message -
From: Prior, Simon [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, August 06, 2001 2:02 AM
Subject: Staging Pages/Action form question.
Hi Guys,
I have the following scenarios and to design for and wanted to know how
you
approached
corresponding to each parameter name, the form
will contain all of the request parameter values when your action class is
called.
--
Martin Cooper
- Original Message -
From: Andreas Leitner [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 25, 2001 1:13 AM
Subject: Newbee: design
.
* An 'Installation' link, which will take you to a page detailing specific
installation instructions for over a dozen different containers, including
WebLogic 5.1.
--
Martin Cooper
- Original Message -
From: Nitu Singh [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, August 08, 2001 5
One way to do this would be to use the Struts conditional tags to generate a
different URL on the page for edit versus add. You could base the decision
on the presence or absence of your productId parameter.
--
Martin Cooper
- Original Message -
From: Greg Maletic [EMAIL PROTECTED
=success path=/adduser.jsp/
and things should start working normally.
--
Martin Cooper
- Original Message -
From: Rama Krishna [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, August 04, 2001 11:55 AM
Subject: infinite loop
hi all,
In continuation to my post yesterday
documentation, you should refer to the struts-documentation.war application
which is part of the Struts 1.0 distribution.
--
Martin Cooper
- Original Message -
From: Matthias Brahm [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July 23, 2001 1:45 PM
Subject: Re: Problem with bean:message tag
use the Commons packages, which is why you
found them there.
--
Martin Cooper
- Original Message -
From: Randall Parker [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, August 01, 2001 11:31 PM
Subject: Commons jars not found in v1.0 binary distributions
I downloaded from here
() will be non-null,
and you know that the form was created by Struts and populated with the
request parameters.
Hope this helps.
--
Martin Cooper
- Original Message -
From: Emaho, Ghoot [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, August 02, 2001 1:49 AM
Subject: RE
The ActionMessage and ActionMessages classes are recent additions for
Struts 1.1, which is why they're not in the Struts 1.0 jar file. If you'd
like to use those classes, you'll need to download a recent nightly build
of Struts.
--
Martin Cooper
At 11:25 AM 8/3/01, Fletcher, Ken wrote:
Has
breaking the MVC model by bypassing the controller.
--
Martin Cooper
At 07:19 AM 8/3/01, Rishi Bhardwaj wrote:
HI,
i want to populate list box ( using html:select and options tag in
struts) on the first page itself..
where should i write my methods for calling database related issues
is taken literally. You have a bit more flexibility if you use the
'forward' or 'page' attributes with this tag.
--
Martin Cooper
At 01:32 PM 8/3/01, John M. Corro wrote:
Thanks to John and Ken for the assistance.
Point of clarification other interested newbies, using a form's 'action'
value
path mapping, if you want.
As you point out, changing the mapping method or the extension after the
project is in development may have repercussions, so it's a decision you
really want to make up front, and stick with.
--
Martin Cooper
At 02:09 PM 8/3/01, John M. Corro wrote:
Ken clarified my
with using the cookie value as a substitute for the form
bean value, but hopefully this will point you in the right direction.
--
Martin Cooper
At 06:25 AM 8/3/01, [EMAIL PROTECTED] wrote:
How do I use cookies to prefill form fields?
Specifically, I need to pull the value of a cookie who's name
A 'rewrite' attribute is not defined for the 'forward' element, which is
why you are seeing the error. See the struts-config DTD for more details.
Perhaps you meant 'redirect' instead of 'rewrite'?
--
Martin Cooper
At 01:56 PM 8/2/01, Prashanth_Thm wrote:
Hi,
I am putting an action
There's a description of the problem, and some approaches you can take,
here:
http://www.mail-archive.com/struts-user@jakarta.apache.org/msg04902.html
--
Martin Cooper
- Original Message -
From: Raffaele Sgherri [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, August 01, 2001
To use file upload, you need to specify the method and encoding for the
form, like this:
html:form action=/upload method=post enctype=multipart/form-data
...
/html:form
--
Martin Cooper
- Original Message -
From: Bar³omiej Paw³owski [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent
This mechanism is already available in Struts. Take a look at the
DispatchAction class:
http://jakarta.apache.org/struts/api/org/apache/struts/actions/DispatchActio
n.html
--
Martin Cooper
- Original Message -
From: John Yu [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday
taglibs.
I don't think it's a question of whether or not generating HTML from custom
tags is a bad thing. It's more a case of ensuring that the tags - and more
specifically the tag libraries - are well designed for their intended
purpose.
--
Martin Cooper
- Original Message -
From
is a 'forward' or a 'redirect', you can
simplify the above by using ForwardingActionForward or
RedirectingActionForward instead of ActionForward. However, it's safer to
not make any assumptions, and use the code fragment above.
Hope this helps.
--
Martin Cooper
- Original Message -
From
.
It does. In this context, the handler is the Action class. As part of the
Controller, the Action class is responsible for setting up the data so that
it can be displayed by the View.
--
Martin Cooper
- Original Message -
From: Burleson, Thomas [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent
the struts-documentation.war web app included in the
distribution.
--
Martin Cooper
- Original Message -
From: Assenza, Chris [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 31, 2001 12:22 PM
Subject: Silly Question - Where is the notEmpty tag?
It is on the web page's
than figuring it out in the first place :-) we have had no problems
with this. We can correctly display, and interpret input, in any language -
Chinese, Japanese, European languages, etc.
--
Martin Cooper
- Original Message -
From: Ben Flaumenhaft [EMAIL PROTECTED]
To: [EMAIL PROTECTED
general workflow
solution.
--
Martin Cooper
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 25, 2001 2:23 AM
Subject: Re: Workflow impasse? and more
Hi All,
Well I've finally got around to moving my struts subscriptions to a
different address so
Ted,
* Use directory matching for ActionServlet (/do/* instead of *.do)
I'd like to hear more about why you prefer this technique. I have to admit
that I've rather blindly followed the *.do camp without giving too much
consideration to the alternatives.
Thanks!
--
Martin Cooper
file for that build, so you should refer to that
for the specifics of what is available in the build you are running.
--
Martin Cooper
- Original Message -
From: Carlos Sham [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, July 19, 2001 9:58 PM
Subject: logic:notEmpty tag
path) you were being invoked with.
For example:
action path=/path1 name=form1 type=com.mycompany.MyAction/
action path=/path2 name=form2 type=com.mycompany.MyAction/
would allow you to process requests for '/path1' or '/path2' with the same
Action class.
Hope this helps.
--
Martin Cooper
words is capitalised), then you shouldn't have problems.
I hope this helps clarify.
--
Martin Cooper
- Original Message -
From: Tim Colson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, July 08, 2001 6:49 AM
Subject: RE: Bean Introspection and bean:write tag
Martin - et. al
on top of
Resin's approach and just dropped in my handler as a replacement for the
Struts handler. It seems to work well.
Hope this helps.
--
Martin Cooper
- Original Message -
From: Tobias Meyer [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, July 07, 2001 6:59 AM
Subject
You can override the setServlet() method to do this. That method is called
with a non-null value when an instance is being created and initialised, and
then called again with a null value when the instance is about to be cleaned
up.
--
Martin Cooper
- Original Message -
From: Andreas
a method (getter or setter) name, whereas
we (at least you and I, anyway!) tend to think of the process the other way
around, as in what is the getter name for this property?.
Hope this helps.
--
Martin Cooper
- Original Message -
From: Tim Colson [EMAIL PROTECTED]
To: [EMAIL PROTECTED
additional bundles is by extending
ActionServlet and overriding one of the init* methods. (The initApplication
method is where Struts loads the 'application' bundle.) That way, the bundle
will always be loaded before any of your Actions are processed.
Hope this helps.
--
Martin Cooper
Is your html:select tag inside a html:form tag? Since you are not
specifying the 'name' attribute, Struts will look for the property on the
associated form bean.
--
Martin Cooper
- Original Message -
From: Rehana Sheikh (Contractor) [EMAIL PROTECTED]
To: Struts (E-mail) [EMAIL
Yes.
--
Martin Cooper
- Original Message -
From: Jonathan Asbell [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, July 05, 2001 5:23 AM
Subject: If no ActionForm associated with ActionActionForm is null???
Hello. In places where there are no forms and thus did
searchParam is not equal to
/logic:notEmpty
--
Martin Cooper
- Original Message -
From: Matt Raible [EMAIL PROTECTED]
To: Struts User [EMAIL PROTECTED]
Sent: Monday, July 02, 2001 11:17 AM
Subject: NotEqual or Present?
I am trying to check if the user entered a value for a search criteria
The struts-form taglib is obsolete in Struts 1.0, as is the Options1Tag. I'm
not entirely sure how they made it into the binary distribution, but they
shouldn't be there. You need to switch over to using the struts-html taglib
instead.
--
Martin Cooper
- Original Message -
From: Scott
Have you looked at transaction tokens in Struts? It sounds like your serial
number scheme does the same thing. Take a look at generateToken(),
isTokenValie(), et al in the Action class.
--
Martin Cooper
- Original Message -
From: Anthony Martin [EMAIL PROTECTED]
To: [EMAIL PROTECTED
Silly question, perhaps, but you do have /html:text and not /html:txt,
don't you?
--
Martin Cooper
- Original Message -
From: Nick Chalko [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 27, 2001 11:53 AM
Subject: null pointer error
My jsp page with the following tag
301 - 400 of 532 matches
Mail list logo