Re: Postmortem (iterate, wrap, hashtable, nested)

2001-09-23 Thread martin . cooper
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

Re: run time expressions jsp:xxx attributes

2001-09-23 Thread martin . cooper
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

Re: ClassNotFoundException building Struts src with ant

2001-09-23 Thread martin . cooper
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

Re: Dynamic forward to jsps

2001-09-23 Thread martin . cooper
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

Re: More than one action for a request

2001-09-23 Thread martin . cooper
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

Re: Struts installation on iPlanet 4.1 SP7

2001-09-23 Thread martin . cooper
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

Re: Javascruot with html:errors

2001-09-23 Thread martin . cooper
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

Re: bean:option value=i18n_value?

2001-09-23 Thread martin . cooper
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

Re: Postmortem (iterate, wrap, hashtable, nested)

2001-09-23 Thread martin . cooper
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

Re: html:text align=....

2001-09-22 Thread martin . cooper
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

Re: Question on reset() in ActionForm

2001-09-22 Thread martin . cooper
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

Re: Install Guide

2001-09-21 Thread martin . cooper
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

Re: setAttribute and ActionForward

2001-09-19 Thread martin . cooper
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

Re: logic:equal and dynamic value

2001-09-19 Thread 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

Re: downloadable javadocs for Struts 1.0?

2001-09-15 Thread martin . cooper
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

Re: How to use session created by another servlet within struts

2001-09-15 Thread martin . cooper
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

Re: Multiple Submit Buttons per Form

2001-09-15 Thread martin . cooper
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

Re: Nested set-property elements

2001-09-15 Thread martin . cooper
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

Re: logic:iterator Class cast exception

2001-09-15 Thread 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

Re: Problem running my Struts App on Tomcat4 (NoClassDefFoundError)

2001-09-15 Thread martin . cooper
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

Re: compiling struts 1.0 src - java.lang.NoClassDefFoundError:javax/xml/transform/Source

2001-09-09 Thread martin . cooper
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

Re: Struts handling of checkbox parameter values

2001-09-01 Thread martin . cooper
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

Re: Any Struts User uses the Expresso Framework ?

2001-08-31 Thread martin . cooper
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

Re: STRANGE: session.invalidate() is not invalidating thesession

2001-08-31 Thread martin . cooper
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

Re: Strategy for Checking Session Timing Out

2001-08-31 Thread martin . cooper
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,

Re: STRANGE: session.invalidate() is not invalidating thesession

2001-08-30 Thread martin . cooper
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

Re: static text fields on the session or from??

2001-08-29 Thread martin . cooper
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

Re: java.io.NotSerializableException: java.util.HashMap

2001-08-29 Thread martin . cooper
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

Re: Local Forward with Parameters Causes Exception

2001-08-29 Thread 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

Re: how do I snoop responses

2001-08-29 Thread martin . cooper
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

Re: How to handle an ActionForward to a page with an anchor?

2001-08-29 Thread martin . cooper
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

Re: Dynamic Form Beans?

2001-08-29 Thread martin . cooper
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

Re: Getting formName from an ActionMapping

2001-08-27 Thread martin . cooper
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

Re: Dynamic forwardings...

2001-08-26 Thread Martin Cooper
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

Re: Multiple input fields

2001-08-26 Thread martin . cooper
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

Re: Re[2]: Digester Help PLEASE

2001-08-25 Thread martin . cooper
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

Re: Re[2]: Digester Help PLEASE

2001-08-25 Thread martin . cooper
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

Re: Javascript bean message tag

2001-08-25 Thread martin . cooper
? 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

Re: Struts Fast collections, deprecation

2001-08-25 Thread martin . cooper
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

Re: Index within iterate tags

2001-08-25 Thread martin . cooper
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

Re: Problem with org.apache.struts.taglib.form avd VAJ3.5.3 andWTE -errata corrige-

2001-08-25 Thread martin . cooper
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

Re: web.XML - lookup values?

2001-08-25 Thread martin . cooper
= 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

Re: radio select

2001-08-22 Thread martin . cooper
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

Re: radio select

2001-08-22 Thread martin . cooper
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

Re: Generating Dynamic Urls with html:link

2001-08-20 Thread martin . cooper
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

Re: Suggestion For Action Class

2001-08-19 Thread 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

Re: TextArea Wrapping using Form Tags

2001-08-19 Thread martin . cooper
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

Re: Speed issues w/ Strut Tag Library

2001-08-18 Thread martin . cooper
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

Re: is the template going to be deprecated in the nextrelease of s truts?

2001-08-18 Thread martin . cooper
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

Re: default action and templates

2001-08-18 Thread martin . cooper
() 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

Re: How to keep ActionForm in session from being reset?

2001-08-18 Thread martin . cooper
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

Re: Index within iterate tags

2001-08-18 Thread martin . cooper
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

Re: FormFile

2001-08-15 Thread martin . cooper
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

Re: Digester throwing ClassNotFoundException for ActionFormBean

2001-08-15 Thread martin . cooper
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

Re: Namespace not supported by SAXParser

2001-08-15 Thread martin . cooper
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

Re: Seeking clarification of indexed attribute

2001-08-15 Thread martin . cooper
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

Re: reset() method

2001-08-15 Thread martin . cooper
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

Re: Examples of mutli-click prevention using struts tokens

2001-08-15 Thread martin . cooper
) % 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

Re: New To Struts

2001-08-09 Thread Martin Cooper
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

Re: WebLogic related question- javax.servlet.jsp.JspException:No get ter method for property...

2001-08-09 Thread Martin Cooper
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

RE: newbie question

2001-08-09 Thread Martin Cooper
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

Re: beans:write bug?

2001-08-08 Thread Martin Cooper
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

Re: How to detect an ActionError in the JSP (logic:present)?

2001-08-08 Thread Martin Cooper
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

Re: Staging Pages/Action form question.

2001-08-08 Thread Martin Cooper
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

Re: Newbee: design question

2001-08-08 Thread Martin Cooper
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

Re: New To Struts

2001-08-08 Thread Martin Cooper
. * 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

Re: Form processing question

2001-08-04 Thread Martin Cooper
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

Re: infinite loop

2001-08-04 Thread Martin Cooper
=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

Re: Problem with bean:message tag?

2001-08-04 Thread Martin Cooper
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

Re: Commons jars not found in v1.0 binary distributions

2001-08-03 Thread Martin Cooper
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

Re: Automatic Form Validation - A further question

2001-08-03 Thread Martin Cooper
() 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

Re: missing classes in struts.jar

2001-08-03 Thread Martin Cooper
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

Re: populating a list box

2001-08-03 Thread Martin Cooper
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

Re: Reaching Action class from Href Link

2001-08-03 Thread Martin Cooper
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

Re: Reaching Action class from Href Link

2001-08-03 Thread Martin Cooper
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

Re: cookies/form fields

2001-08-03 Thread Martin Cooper
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

Re: Exception in rewrite attribute of forward tag

2001-08-02 Thread Martin Cooper
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

Re: jsp pages got memory limits?

2001-08-01 Thread Martin Cooper
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

Re: problem with FormFile

2001-08-01 Thread Martin Cooper
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

Re: AW: AW: action-mapping: why must the action-Attribute pathbe equivalent to the name of the jsp?

2001-08-01 Thread Martin Cooper
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

Re: some comparision between JSP/struts and velocity

2001-08-01 Thread Martin Cooper
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

Re: newbie: initial values

2001-08-01 Thread Martin Cooper
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

Re: Use of form beans - design issue...

2001-08-01 Thread Martin Cooper
. 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

Re: Silly Question - Where is the notEmpty tag?

2001-07-31 Thread Martin Cooper
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

Re: Encodings on form submits?

2001-07-25 Thread Martin Cooper
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

Re: Workflow impasse? and more

2001-07-25 Thread Martin Cooper
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

Re: Struts Design patterns

2001-07-22 Thread Martin Cooper
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

Re: logic:notEmpty tag not found

2001-07-20 Thread 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

Re: specifying multiple forms in an action mapping

2001-07-09 Thread Martin Cooper
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

Re: Bean Introspection and bean:write tag

2001-07-08 Thread 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

Re: MultipartRequest and oreilly's servlet package

2001-07-07 Thread Martin Cooper
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

Re: Where to do the init() for Actions?

2001-07-07 Thread Martin Cooper
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

Re: Bean Introspection and bean:write tag

2001-07-07 Thread Martin Cooper
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

Re: More than one resource bundles.

2001-07-07 Thread Martin Cooper
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

Re: Select / drop-down box

2001-07-07 Thread 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

Re: If no ActionForm associated with Action....ActionForm isnull???

2001-07-07 Thread Martin Cooper
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

Re: NotEqual or Present?

2001-07-07 Thread Martin Cooper
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

Re: Found possible Bug in struts-form.tld (options tag)

2001-07-01 Thread Martin Cooper
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

Re: Opening another window from Struts

2001-07-01 Thread Martin Cooper
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

Re: null pointer error

2001-06-27 Thread Martin Cooper
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

<    1   2   3   4   5   6   >