Re: using value of bean in my tag.

2001-05-01 Thread Martin Cooper
() %' / Hope this helps. -- Martin Cooper - Original Message - From: Alex Colic [EMAIL PROTECTED] To: Struts [EMAIL PROTECTED] Sent: Tuesday, May 01, 2001 11:00 AM Subject: using value of bean in my tag. Hi, I have a tag setup as follows: logic:iterate id=category name=CategoryList property

Re: Customtag calling a struts tag

2001-05-02 Thread Martin Cooper
Instead of trying to reuse the Struts tag itself, perhaps you could call RequestUtils.message() from within your tag to get the localized text. This is what the bean:message tag does to get its job done. -- Martin Cooper - Original Message - From: Alexander Jesse [EMAIL PROTECTED

Re: Lookup performance on ActionMappings

2001-05-02 Thread Martin Cooper
It actually uses a FastHashMap, which is optimized for fast read-access in a multithreaded environment. For the details, see: http://jakarta.apache.org/struts/api/org/apache/struts/util/FastHashMap.html -- Martin Cooper - Original Message - From: Jason Chaffee [EMAIL PROTECTED

Re: i18n...

2001-05-02 Thread Martin Cooper
and see if there's something going on in the container or the JVM that's causing the problem. I don't think the issue is the bean:message tag itself. -- Martin Cooper - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, April 27, 2001 10:53 AM Subject: i18n

Re: Body is supposed to be empty for html:options

2001-05-08 Thread Martin Cooper
The error message you are seeing is not strictly accurate (which is a problem with your JSP container). The real problem is that the html:options tag should not have a body at all, not that the body is empty. In other words, what you should have in your JSP is this: html:select

Re: Basics of STRUTS

2001-05-09 Thread Martin Cooper
The official Struts web site is at: http://jakarta.apache.org/struts If you need more than that site provides, you might want to follow the Resources link. An excellent beginner's resource is at: http://www.husted.com/about/struts -- Martin Cooper - Original Message - From: Sudhir M

Re: Bug in order of error presentment (html:error)

2001-05-09 Thread Martin Cooper
=customerContactName/ html:errors property=customerContactPhone/ html:errors property=customerContactEmail/ Given your example, this isn't very practical for your situation, but it might be useful in cases where multiple errors for each of a small number of properties is typical. -- Martin Cooper

Re: Bug in order of error presentment (html:error)

2001-05-10 Thread Martin Cooper
that are global now but might not be later. -- Martin Cooper - Original Message - From: Jeff Trent [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 09, 2001 9:57 PM Subject: Re: Bug in order of error presentment (html:error) Thanks for the input Martin. This is helpful. Just curious

Re: still fighting HTTP HTTPS problem

2001-05-11 Thread Martin Cooper
Ted, You can collapse your code down to this: return mapping.findForward(secureMode ? secure : standard); by adding redirect=true to your secure forward definition in struts-config. -- Martin Cooper At 01:25 PM 5/11/01, Ted Husted wrote: I'm using a standalone container, and I find

Re: Where are the TLD's?

2001-05-13 Thread Martin Cooper
a tag is added or changed. -- Martin Cooper - Original Message - From: Johan Compagner [EMAIL PROTECTED] To: Struts [EMAIL PROTECTED] Sent: Saturday, May 12, 2001 1:24 AM Subject: Where are the TLD's? Now the sources are not in the binary's anymore (i didn't check this but i think

Re: bean:cookie tag problem

2001-05-16 Thread Martin Cooper
this: bean:cookie id=phonecookie name=checkout_phone / input type=text name=phone value='bean:write name=phonecookie property=value/'/ -- Martin Cooper - Original Message - From: Allen Walker [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 16, 2001 12:45 AM Subject: bean:cookie

Re: struts-templates -vs- jsp:include

2001-05-18 Thread Martin Cooper
in the template. Does this help? -- Martin Cooper At 08:53 AM 5/18/01, [EMAIL PROTECTED] wrote: The docs say... The functionality provided by these [template] tags is similar to what can be achieved using standard JSP include directive, but are dynamic rather than static. What dynamic aspect do I get

Re: Iterate and Radio tags

2001-05-18 Thread Martin Cooper
You need to specify the 'type' attribute for the logic:iterate tag. Without it, the scripting variable for the current object has the type 'java.lang.Object', which is exactly what you are seeing. -- Martin Cooper - Original Message - From: B Manikandan [EMAIL PROTECTED] To: [EMAIL

Re: java script struts + scriptlet

2001-05-19 Thread Martin Cooper
informInventoryLack(\' + orderItemData.getId() + \') %' bean:message key=button.order/ /html:button -- Martin Cooper - Original Message - From: Nguyen Thanh Phong [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 16, 2001 6:29 PM Subject: Re: java script struts + scriptlet Hi Laurent, I

Re: Problem Combining Struts And Homegrown Taglibs

2001-05-19 Thread Martin Cooper
container's log file. - Check that your form bean is getting to the page intact. - See what happens if you add one of your own tags to the page that works. -- Martin Cooper - Original Message - From: Michael Duffy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 16, 2001 6:36 AM

Re: html:select

2001-05-23 Thread Martin Cooper
Take a look at the html:options tag (as distinct from the html:option tag). I think that will do what you are looking for. -- Martin Cooper - Original Message - From: Gogineni, Pratima [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, May 22, 2001 2:18 PM Subject: html:select

Re: who provides ActionMapping class?

2001-05-26 Thread Martin Cooper
own. Even if you do create your own class, you do not need to parse it yourself. You specify your ActionMapping-derived class in struts-config.xml, and Struts will parse the mapping data from that file, and create and populate instances of your class. -- Martin Cooper - Original Message

Re: Re[2]: struts-upload.war

2001-05-26 Thread Martin Cooper
try upgrading to that and see if that makes a difference. -- Martin Cooper - Original Message - From: Soeren Pietsch [EMAIL PROTECTED] To: SCHACHTER,MICHAEL (HP-NewJersey,ex2) [EMAIL PROTECTED] Sent: Friday, May 25, 2001 3:17 PM Subject: Re[2]: struts-upload.war ex2) Is there any ex2

Re: 64K limit

2001-05-26 Thread Martin Cooper
to store data from one tag that needs to be accessed by other tags. (It used to use page context attributes.) We do the same in our own taglib, specifically so that we can use jsp:include freely to avoid the 64K problem. -- Martin Cooper - Original Message - From: Mat Diss [EMAIL PROTECTED

Re: Referer pages and structs

2001-05-26 Thread Martin Cooper
forward. Using the name of the forward as the value of the hidden field would make this very simple. 2) Dynamically set the action attribute on the html:form tag when contact.jsp is processed, setting up the appropriate target for the page. Hope this helps. -- Martin Cooper - Original Message

Re: Solution: bean attributes not displaying (please comment)

2001-05-30 Thread Martin Cooper
. This is configurable in struts-config.xml. -- Martin Cooper - Original Message - From: Thomas Peters [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 30, 2001 8:45 AM Subject: Re: Solution: bean attributes not displaying (please comment) The struts documentation indicates

Re: problem with using forms

2001-05-30 Thread Martin Cooper
property=test/br html:submit value=OK/ /html:form %-- Use the correct closing tag here --% Hope this helps. -- Martin Cooper - Original Message - From: René Boere [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 30, 2001 2:58 AM Subject: problem with using forms Hi, i am

Re: use JSP variable as a value of property in html:select... tag

2001-05-30 Thread Martin Cooper
I think you just need a space on each side of 'var'. Try this: html:select property=%= var % size=1 Hope this helps. -- Martin Cooper - Original Message - From: someil [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 30, 2001 5:42 AM Subject: use JSP variable as a value

Re: Resources clarification - is there a work around

2001-05-30 Thread Martin Cooper
will be. And when it comes to translation time, all those strings will have to be translated multiple times - and perhaps not always the same way, especially with multiple translators working on a large app. Just my 2 cents... -- Martin Cooper - Original Message - From: Jonathan Asbell [EMAIL

Re: Suggestion for Inclusion in HTML Bean

2001-05-30 Thread Martin Cooper
org.apache.struts.taglib.html.FORM_KEY, which is where the FormTag object itself is stored between html:form and /html:form. If you want a bean that has that value, you can do something similar with bean:define. Hope this helps. -- Martin Cooper - Original Message - From: Jeff Trent [EMAIL PROTECTED

Re: Potential Security Flaw in Struts MVC

2001-05-31 Thread Martin Cooper
A good way of removing the bucketloads :-} from your Action classes is to subclass ActionServlet and implement processActionPerform to do the logon check. -- Martin Cooper - Original Message - From: Jim Richards [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 30, 2001 11

Re: struts-template and MVC

2001-05-31 Thread Martin Cooper
BY LOOKING AT THIS PAGE http://jakarta.apache.org/site/mail2.html - Original Message - From: Perez, Bill [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, May 16, 2001 10:40 AM Subject: RE: struts-template and MVC HOW THE HELL DO I UNSUBSCRIBE FROM THIS LIST

Re: html:radio tag question

2001-06-09 Thread Martin Cooper
, and the same property will be used to store the value of the radio button selected when the form is submitted. Hope this helps. -- Martin Cooper - Original Message - From: Steve Salkin [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 08, 2001 8:40 AM Subject: html:radio tag question

Re: Java Server Faces

2001-06-09 Thread Martin Cooper
Library (JSR-052). -- Martin Cooper - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 08, 2001 8:37 PM Subject: Java Server Faces At JavaOne today, it seemed to be suggested that j2ee would have a MVC framework join the recommendations. Later

Re: viewing combo box

2001-06-09 Thread Martin Cooper
this should appear in Struts 1.1 before too long.) -- Martin Cooper - Original Message - From: Alex Colic [EMAIL PROTECTED] To: Struts [EMAIL PROTECTED] Sent: Wednesday, June 06, 2001 1:49 PM Subject: viewing combo box Hi, lets say you have a combo box filling from a vector. I can get

Re: ACtionError Issues

2001-06-09 Thread Martin Cooper
=/department.jsp ... instead of specifying the department.do action. Hope this helps. -- Martin Cooper - Original Message - From: Prabha Desai [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 07, 2001 6:22 AM Subject: ACtionError Issues i have a page which calls an Action Form based

Re: uploading file requires immediate serialization location?

2001-06-09 Thread Martin Cooper
to configure the multipart handler to use, by specifying the class name in the multipartClass init-param for your web app. This allows you to provide your own implementation if you want to (although this is no small task). -- Martin Cooper - Original Message - From: Jonathan Asbell

Re: uploading file requires immediate serialization location?

2001-06-09 Thread Martin Cooper
implementation did this, but it was changed to use files because of potential memory problems with large uploads. Hope this helps. -- Martin Cooper - Original Message - From: Jonathan Asbell [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, June 09, 2001 8:11 PM Subject: Re: uploading file

Re: File Upload Corrupting Zip File

2001-06-09 Thread Martin Cooper
Do you have a binary diff utility that you could use to see what changed in the uploaded file? That would be very helpful. Also, if you can tell me how many bytes were added to the file, and what type of file it was that caused the problem, that might help too. Thanks. -- Martin Cooper

Re: uploading file requires immediate serialization location?

2001-06-10 Thread Martin Cooper
, the original uploaded file is still on the disk, and will remain there until the form is resubmitted. Then it will be deleted as a part of setting up for parsing the new multipart data. Hope this helps. -- Martin Cooper - Original Message - From: Jonathan Asbell [EMAIL PROTECTED] To: Martin Cooper

Re: Mixing a multipart form with beans

2001-06-10 Thread Martin Cooper
to specify 'name', but you do need to specify 'property'. That's how Struts figures out which form bean attribute to set when the file is uploaded. Regarding validation, you might want to validate that a file was indeed uploaded, if it is required. Hope this helps. -- Martin Cooper - Original

Re: uploading file requires immediate serialization location?

2001-06-10 Thread Martin Cooper
process a form? What parts of the multipart request do we save in the bean, and in what scope? - Original Message - From: Martin Cooper [EMAIL PROTECTED] To: [EMAIL PROTECTED]; Jonathan Asbell [EMAIL PROTECTED] Sent: Monday, June 11, 2001 1:23 AM Subject: Re: uploading file requires

Re: uploading file requires immediate serialization location?

2001-06-11 Thread Martin Cooper
). The FormFile does not contain the actual uploaded data, just the name of the file it was saved in. -- Martin Cooper - Original Message - From: Jonathan Asbell [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, June 10, 2001 11:16 PM Subject: Re: uploading file requires immediate serialization

Re: Help with define tag

2001-06-11 Thread Martin Cooper
private instead of public. -- Martin Cooper At 10:46 AM 6/11/01, Chuck Stern wrote: Hi, I think I'm missing something here. I have a bean that is available to my page in the request scope. Within that I have another bean that has properties I want to display. I'm trying to use the define tag

Re: uploading file requires immediate serialization location?

2001-06-11 Thread Martin Cooper
, not must. Of course, that doesn't mean that browsers will support it! :-) -- Martin Cooper At 12:55 PM 6/11/01, [EMAIL PROTECTED] wrote: Martin, Hi. Can I pick your brain about an earlier post? I asked what would happen if I have a html:file tag on my form, but without changing the enctype

Re: action help

2001-06-13 Thread Martin Cooper
I believe the url-pattern in your servlet mapping should be *.do, not /*.do. Hope this helps. -- Martin Cooper - Original Message - From: Mike Thompson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 13, 2001 6:24 AM Subject: action help Ok, I'm feeling totally lost

Re: Struts Datasource problem

2001-06-13 Thread Martin Cooper
this error when you try to open your connection. Hope this helps. -- Martin Cooper - Original Message - From: Bill Clinton [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 13, 2001 1:47 PM Subject: Struts Datasource problem Hello, I am having a recurring problem

Re: Iterate tag update?

2001-06-13 Thread Martin Cooper
in the 6/14 nightly build, and also in Struts 1.0. -- Martin Cooper - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 13, 2001 9:36 AM Subject: Iterate tag update? I have a question similar to Mark Kettner's. Could someone give an update

Re: enhancement for the Struts HTML library?

2001-06-15 Thread Martin Cooper
You should take a look at David Winterfeldt's Struts Validator at: http://home.earthlink.net/~dwinterfeldt/ This does most, if not all, of what you want. -- Martin Cooper - Original Message - From: Kwang-Shi Shu [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 15, 2001 8:43

Re: preprocess suggestion on struts change

2001-06-15 Thread Martin Cooper
that is called before the action (in which case Oleg's reply describes a solution), or something that is called after the perform() method but before the JSP execution? -- Martin Cooper - Original Message - From: Kiet Nguyen [EMAIL PROTECTED] To: Struts-User (E-mail) [EMAIL PROTECTED] Sent: Friday

Re: General DATABASE programming question

2001-06-16 Thread Martin Cooper
millions of entries. Still, as long as the database is set up properly, the queries and retrieval are fast. -- Martin Cooper - Original Message - From: Mindaugas Idzelis [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, June 16, 2001 11:36 AM Subject: RE: General DATABASE programming

Re: html:checkbox

2001-06-17 Thread Martin Cooper
the property at all. The property will then be false - as set by your reset() method - which is correct. Hope this helps. -- Martin Cooper - Original Message - From: Rod Schmidt [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, June 16, 2001 10:55 PM Subject: Re: html:checkbox

Re: struts-test.war ?

2001-06-18 Thread Martin Cooper
I believe struts-test.war became struts-exercise-taglib.war when work started on the JUnit/Cactus tests for Struts. -- Martin Cooper - Original Message - From: Sean [EMAIL PROTECTED] To: Struts User [EMAIL PROTECTED] Sent: Monday, June 18, 2001 7:22 PM Subject: struts-test.war ? I

Re: Creating a mailto within a logic:iterate

2001-06-18 Thread Martin Cooper
Instead of this: a href=mailto:bean:write name=result property=email/bean:write name=result property=manager//a try this: bean:define id=email name=result property=email type=java.lang.String/ a href='%= mailto:; + email %'bean:write name=result property=manager//a Hope this helps. -- Martin

Re: Options tag - 'selected'

2001-06-19 Thread Martin Cooper
', 'multiple=multiple', etc. -- Martin Cooper - Original Message - From: Simon Liang [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 19, 2001 4:41 PM Subject: RE: Options tag - 'selected' Got it, while going throught search of old mailing list emails. html:select name

Re: Form input using image tag

2001-06-20 Thread Martin Cooper
What version of Struts are you using? There was a bug that caused what you are seeing, but that was fixed in February. If you're not yet using Struts 1.0, I would encourage you to update to that now. -- Martin Cooper - Original Message - From: Luna, Kat [EMAIL PROTECTED] To: [EMAIL

Re: JSP translated to Tags???

2001-06-20 Thread Martin Cooper
name=attr2 value=baz/ /jsp:include Is this correct, or is there more to it than that? I guess one thing you would gain from using a tag versus an include is better performance, but the idea does seem a little odd to me. -- Martin Cooper - Original Message - From: Eduardo Pelegri-Llopart

Re: JSP translated to Tags???

2001-06-20 Thread Martin Cooper
name=attr2 value=baz/ /jsp:include Is this correct, or is there more to it than that? I guess one thing you would gain from using a tag versus an include is better performance, but the idea does seem a little odd to me. -- Martin Cooper - Original Message - From: Eduardo Pelegri-Llopart

Re: creating ActionError inside a jsp page

2001-06-20 Thread Martin Cooper
Are you forwarding directly from one JSP to another? That would seem to be mixing controller functionality with the view. On the other hand, if you're not doing that, then the Action between the pages is the place to create your ActionError. -- Martin Cooper - Original Message - From

Re: how to quote nested tags

2001-06-21 Thread Martin Cooper
/a but *not* in the value of a tag attribute like this: mylib:mylink href='mylib:mytag attr=value/'Go somewhere/mylib:mylink Hope this helps. -- Martin Cooper - Original Message - From: frank waldheim [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 21, 2001 7:06 AM Subject

Re: Build fails on style

2001-06-23 Thread Martin Cooper
I build Struts with Xerces, using the version that comes with Xalan 1.2.2. That works fine. Also, I'm not sure what the -C is all about in JDK 1.3.0-C, but I believe I saw some problems with it at some point. I'm using 1.3.0_02 now. -- Martin Cooper - Original Message - From: Craig R

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

Re: No Bean found under attribute key

2001-06-27 Thread Martin Cooper
In your logic:equal tag, you are using 'name' and 'property'. In your html:text tag, you are using only 'property'. The second case will work only if this code is inside an html:form tag and the form bean has a property with that name. -- Martin Cooper - Original Message - From: Rama

Re: No Bean found under attribute key

2001-06-27 Thread Martin Cooper
the property name as Server instead of server. -- Martin Cooper - Original Message - From: Rama Krishna [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 27, 2001 5:43 PM Subject: Re: No Bean found under attribute key thanx much martin, html:form action=indexPage html:text name

Re: Iterate, Text Fields, and Indexed Properties

2001-06-27 Thread Martin Cooper
=CreateForm attribute) and not finding. -- Martin Cooper - Original Message - From: Jason Rosenblum [EMAIL PROTECTED] To: Struts (E-mail) [EMAIL PROTECTED] Sent: Wednesday, June 27, 2001 4:22 PM Subject: Iterate, Text Fields, and Indexed Properties I've run into another problem

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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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

  1   2   3   4   5   6   >