Multiple file uploads

2004-04-15 Thread Andrew Stevens
Hi, I've read various threads on this mailing list about uploading files, and uploading MULTIPLE files. There seems to be some shortcomings. Especially as I want to offer a theoretically infinite number of file uploads in one form. 0 to 5 files is realistic. But I don't want to limit it. My und

Re: save form fields

2004-04-15 Thread Mike Fotiou
Did you every find a server-side solution for this? "koen boutsen" <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>... > hi > > In my form, a user enters data for an organisation. Via a save button, > these data are saved in the database. My problem is : when the user > clicks on a

Re: [OT] Serializing HttpSession Object

2004-04-15 Thread Michael McGrady
I just did a quick check and noticed that the session object is not serializable. Have you checked out the RequestInfo object and its ilk? Why don't you replace the current sessions with a set of session objects like the EJB 2.0 CMP entity beans? At 11:27 PM 4/15/2004, Johan Wasserman - CPX M

Re: [OT] Serializing HttpSession Object

2004-04-15 Thread Craig McClanahan
Johan Wasserman - CPX Mngd Services wrote: I need to serialize the session and save it to a blob in MySql (i use Hibernate). I have tried, for example; ... ByteArrayOutputSream baos = new ByteArrayOutputstream(); ObjectOutputStream oos = new ObjectOutputStream(boas); oos.writeObject(session); //<

Re: [OT] Serializing HttpSession Object

2004-04-15 Thread Michael McGrady
I don't know you and there is not enough code here to tell how much you know, but do you know that you have to get the output stream to write to from wherever you are sending it to? Thus, you might have something like: URL url = new URL(/* some destination */); HttpURLConnection con

[OT] Serializing HttpSession Object

2004-04-15 Thread Johan Wasserman - CPX Mngd Services
I need to serialize the session and save it to a blob in MySql (i use Hibernate). I have tried, for example; ... ByteArrayOutputSream baos = new ByteArrayOutputstream(); ObjectOutputStream oos = new ObjectOutputStream(boas); oos.writeObject(session); //<-- it fails here, nothing in the logs byte

Re: Locale="true" in html:html tag

2004-04-15 Thread Craig McClanahan
Joe Hertz wrote: Craig McClanahan writes: -Original Message- From: Craig McClanahan [mailto:[EMAIL PROTECTED] Sent: Thursday, April 15, 2004 7:48 PM To: Struts Users Mailing List Subject: Re: Locale="true" in html:html tag Joe Hertz wrote: This has been deprecated in 1.2. My i

RE: EJB+STRUTS Architecture

2004-04-15 Thread Matthias Wessendorf
Harikrishnan, here are two links. one from sun it shows howto use j2ee-patterns with struts http://developers.sun.com/events/techdays/codecamps/ (the third element in page) the other is an opensource-project, called 'StrutsEJB' https://strutsejb.dev.java.net/ Cheers, matthias > -Original Me

RE: what is the difference between forward and redirect?

2004-04-15 Thread vasudevrao.gupta
--- Begin Message --- HI All, "Another nuance, which I find comes in handy quite often, is that responding to a form submit with a redirect will prevent the browser from offering to re-post the parameters for the user." Even I observed this..This is very much useful..But, I dont understand why th

EJB+STRUTS Architecture

2004-04-15 Thread Rajesh, Harikrishnan \(H.\)
Hi, Does some body throw me light on how to architect an application with EJB+STRUTS for Websphere+Oracle environment. It would be very much of help to me if anybody has some sample architecture or sample application. If you have some sample app, please send the same to [EMAIL PROTECTED] Thanks f

RE: Locale="true" in html:html tag

2004-04-15 Thread Joe Hertz
Craig McClanahan writes: > -Original Message- > From: Craig McClanahan [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 15, 2004 7:48 PM > To: Struts Users Mailing List > Subject: Re: Locale="true" in html:html tag > > > Joe Hertz wrote: > > >This has been deprecated in 1.2. > > > >My

Re: what is the difference between forward and redirect?

2004-04-15 Thread Steven J. Owens
On Thu, Apr 15, 2004 at 04:33:42PM -0700, Craig McClanahan wrote: > Christian Bollmeyer wrote: > >1. You've reached the end of a processing chain > >and want to leave the user at a determined > >application state, a point from which he may > >start another interaction with the application, > >but e

Re: Locale="true" in html:html tag

2004-04-15 Thread Craig McClanahan
Joe Hertz wrote: This has been deprecated in 1.2. My internationalized pages appear not to need this at all with 1.2. The Locale seems to get detected from the browser just fine without it. Since, I never got around to serious internationalization while I was using 1.1, I thought this was necessa

Re: Validator vs form Validate() method.

2004-04-15 Thread Craig McClanahan
Nathan Maves wrote: I am just a newB but couldn't you call the validate method from your execute method. This way the validator will catch any of the easy validations and your validate method will get the complex ones. Are you remembering to call super.validate() somewhere in your validate()

Re: what is the difference between forward and redirect?

2004-04-15 Thread Craig McClanahan
Christian Bollmeyer wrote: [snip] 1. You've reached the end of a processing chain and want to leave the user at a determined application state, a point from which he may start another interaction with the application, but everything else is done and finished. Such as redirecting to the starting pa

Locale="true" in html:html tag

2004-04-15 Thread Joe Hertz
This has been deprecated in 1.2. My internationalized pages appear not to need this at all with 1.2. The Locale seems to get detected from the browser just fine without it. Since, I never got around to serious internationalization while I was using 1.1, I thought this was necessary for the jsp pa

Re: Validator vs form Validate() method.

2004-04-15 Thread Nathan Maves
Here is the solution I think In section 12.10.5 of Struts in Action by Ted Husted There is an example of how to combine validator with the validate method. try this code public ActionErrors validate(.) { ActionErrors errors = super.validate(mapping, request); if(errors == null) err

RE: Validator vs form Validate() method.

2004-04-15 Thread Joe Hertz
You can implement the validate method and user the validator too. Call super.validate(mapping, request) in your validate method, and it will return to you the ActionErrors the validator framework generates. > -Original Message- > From: Nathan Maves [mailto:[EMAIL PROTECTED] > Sent: Thurs

Re: Validator vs form Validate() method.

2004-04-15 Thread Nathan Maves
Ahh after a little research I think I might have answered that wrong. What is your action form extending? Nathan On Apr 15, 2004, at 3:37 PM, Nathan Maves wrote: I am just a newB but couldn't you call the validate method from your execute method. This way the validator will catch any of the e

Re: Validator vs form Validate() method.

2004-04-15 Thread Nathan Maves
I am just a newB but couldn't you call the validate method from your execute method. This way the validator will catch any of the easy validations and your validate method will get the complex ones. Again just a newB answer. Nathan On Apr 15, 2004, at 2:40 PM, [EMAIL PROTECTED] wrote: Hi fol

Validator vs form Validate() method.

2004-04-15 Thread MichaelBoucher
Hi folks, I've gotten myself sorely confused here... I've set up the validator to do simple validation on my forms. By "simple validation" I mean checking for required fields and integer input, etc. I need to use the validate() method to do more complex validation on one form, I need to verify

Re: Unsub

2004-04-15 Thread Paul Barry
It's [EMAIL PROTECTED] now, the docs haven't been updated. Slattery, Tim - BLS wrote: I'm trying to unsub from this list, since I'm going away for a week. Unfortunately, when I send email to [EMAIL PROTECTED], as directed by the welcome message I got when I subscribed, as well as the footers to n

Re: Struts 1.2?

2004-04-15 Thread Joe Germuska
At 1:19 PM -0600 4/15/04, Nathan Maves wrote: When is this release coming? Struts 1.2.0 was "cut" about two months ago. Beginning with the 1.2.x line, Struts is using the Apache httpd-style release numbering, where releases are made and then subsequently evaluated as either "alpha", "beta", or

RE: Unsub

2004-04-15 Thread Jarnot Voytek Contr AU/SC
take another look at the footer > -Original Message- > From: Slattery, Tim - BLS [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 15, 2004 3:38 PM > To: Struts User List ([EMAIL PROTECTED]) > Subject: Unsub > > > I'm trying to unsub from this list, since I'm going away for a week. > Unf

Unsub

2004-04-15 Thread Slattery, Tim - BLS
I'm trying to unsub from this list, since I'm going away for a week. Unfortunately, when I send email to [EMAIL PROTECTED], as directed by the welcome message I got when I subscribed, as well as the footers to numerous messages, I get back a bounce message telling me that address does not exist! C

Re: Complex validation

2004-04-15 Thread Christian Bollmeyer
On Thursday 15 April 2004 15:36, Diego wrote: I admit having but limited experience with Validator, and DynaActionForm, and the reason for that is not that it's bad in itself, but I found that complex, in particular application specific 'dependant' validation can be performed much easier by using

Re: how to use JSF tree control in a Struts application?

2004-04-15 Thread snpe
On Thursday 15 April 2004 04:43 pm, Craig McClanahan wrote: > > > > > OK. So, what happens if you do *not* make the validation.xml change > above? (Trying to narrow down the possibilities here). > > FWIW, I've been testing struts-faces against the Struts 1.1 release, not > the HEAD of CVS, s

Re: Struts, Business Logic, DAOs

2004-04-15 Thread Shyam A
I'm not sure about the best practice,but I would use an application specific Controller (Controller/Mediator pattern)class to perform the logic. I use a controller class for all related operations in use case(s) /subsystem.It controls all interactions between the UI and business layers. In my Actio

Re: what is the difference between forward and redirect?

2004-04-15 Thread Christian Bollmeyer
On Thursday 15 April 2004 11:30, Mu Mike wrote: Simple 'rule of thumb': whenever possible, use a forward. Use redirects only if: 1. You've reached the end of a processing chain and want to leave the user at a determined application state, a point from which he may start another interaction with t

Struts 1.2?

2004-04-15 Thread Nathan Maves
When is this release coming? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Struts, Business Logic, DAOs

2004-04-15 Thread Nathan Maves
We have been using http://ibatis.com/ for both sql mapping and it DAO framework. Might be worth it to check it out. It has good examples of both DAO's and Service layers. Nathan On Apr 15, 2004, at 11:13 AM, Paul Barry wrote: I have a question about business logic. The best way I can thin

Re: Struts Application Security within the Controller Layer

2004-04-15 Thread Bill Siggelkow
Josh Holtzman wrote: Module 2 obviously needs to be secure. To secure Module 2 I intend to build 2 measures into take the following steps: a) Before any action is executed check that the user is logged in by looking for a "User" object in the session. b) check that all connections are via the htt

RE: Struts Application Security within the Controller Layer

2004-04-15 Thread Josh Holtzman
Thanks Joe. I'll look into the "ComposableRequestProcessor" for future projects. This seems like it could be a very powerful feature, if used correctly. Since we are on the subject of Control and security, let me throw in another question. My application has three different user permission le

RE: struts 1.1 and session handling

2004-04-15 Thread MARU, SOHIL (SBCSI)
You can use the dynaValidatorForm and instead extend RequestProcessor to create a custom processor and do you session handling stuff in the preProcess method. -Original Message- From: Dean A. Hoover [mailto:[EMAIL PROTECTED] Sent: Thursday, April 15, 2004 1:55 PM To: Struts Users Mailing

Re: struts 1.1 and session handling

2004-04-15 Thread Dean A. Hoover
I like that idea. But how does it address the validator problem? I'm thinking I'm going to have to pitch the DynaValidatorForm usage and do something else. Dean Hoover Franz-Josef Herpers wrote: Dean A. Hoover wrote: I am using struts 1.1 and tomcat 5 for an application. I am also using DynaVali

Re: struts 1.1 and session handling

2004-04-15 Thread Dean A. Hoover
I'll research that, thanks. Doug wrote: How about servlet filters instead? We've started using them for things we want to handle for all URLs, outside of the normal application logic, including session timeout. Dean A. Hoover wrote: I am using struts 1.1 and tomcat 5 for an application. I am

Re: Struts Application Security within the Controller Layer

2004-04-15 Thread Joe Germuska
As a novice, but rapidly learning, Struts developer, I believe the logical place to put these checks is to subclass the RequestProcessor and override the processPreprocess() method with this logic? I think your analysis is right on; it's not *wrong* to implement the security with a base abstract a

RE: Struts, Business Logic, DAOs

2004-04-15 Thread Barnett, Brian W.
One option is to use "service" objects that sit between the DAOs and the Actions. Following your example, one service class might look something like this: public class WidgetService { public void delete(int id) { WidgetDAO w = new WidgetDAO(); try {

Struts Application Security within the Controller Layer

2004-04-15 Thread Josh Holtzman
Hello all, I'm working on a Struts application that contains 2 modules. Module 1 (default): a public website. Module 2: a user and administrative login. Module 2 obviously needs to be secure. To secure Module 2 I intend to build 2 measures into take the following steps: a) Before an

RE: Struts, Business Logic, DAOs

2004-04-15 Thread Freddy Villalba Arias
Hi Paul, I would implement "BusinessRule"s (make that "UseCase"s?) objects that encapsulate the BL behind your app. Then, in an "upper" layer, I would implement "TransactionalOperation"s objects that define a transactional operation (thus encapsulating the begin and the end of your transaction), w

RE: Struts, Business Logic, DAOs

2004-04-15 Thread Robert Taylor
Take at look at: http://www.corej2eepatterns.com/Patterns2ndEd/PatternRelationships.htm More specifically the Application Service pattern http://www.corej2eepatterns.com/Patterns2ndEd/ApplicationService.htm BTW, its a great book! robert > -Original Message- > From: Paul Barry [mailto:[E

Struts, Business Logic, DAOs

2004-04-15 Thread Paul Barry
I have a question about business logic. The best way I can think to explain this is with an example. I know this is kind of long, but I am trying to keep this as simple as possible while still being able to illustrate the point. Let's say I have Users and Widgets. I would have Business Obje

Re: how to use JSF tree control in a Struts application?

2004-04-15 Thread Craig McClanahan
snpe wrote: On Thursday 15 April 2004 01:04 am, Craig McClanahan wrote: snpe wrote: I compile struts-faces2 from cvs and i get next error when I try log in (I register, log off and try log in) : You would get an exception like this if the custom renderers in struts-faces.jar wer

Re: dealing with nullable db columns

2004-04-15 Thread Bill Siggelkow
Personally, I think you are better off providing a flat ActionForm that has String getters/setters for the values from the DTO. This way you can do the massaging as you need to/from the view and the DTO can use the correct types. You could put the -999 handling in a utility method. Barnett, Br

Re: Complex validation

2004-04-15 Thread Bill Siggelkow
Validator does not provide client-side (JavaScript) validation for "requiredif" and "validwhen". It is my understanding that it is not practical to create a JavaScript reusable, generic function for these validations that plays in the Validator framework. However, if you really need this valid

dealing with nullable db columns

2004-04-15 Thread Barnett, Brian W.
Wondering if anybody has a slick way of dealing with nullable database columns. We have a data transfer object that has member variables, one for each database column, and of course all the getters and setters. For View layer purposes, we have a class which extends Struts' ValidatorForm. This F

Re: Problem with BeanUtils

2004-04-15 Thread Bill Siggelkow
YOUSFI wrote: I found the problem. The Object passed to getLibelle was in fact a String. I love it when I'm right 8^) Seriously, I am glad you were able to solve the problem. Bill Siggelkow - To unsubscribe, e-mail: [EMAIL PROT

Re: Formatting date values

2004-04-15 Thread Hubert Rabago
Take a look at a plugin I wrote: http://www.rabago.net/struts/formdef. It helps with the formatting and parsing of your form data. --- Paulo Rezende <[EMAIL PROTECTED]> wrote: > Hi friends, > > My ActionForm has a Date property. > > First I need to renderize it formatted. Since the html:text

Re: struts 1.1 and session handling

2004-04-15 Thread Franz-Josef Herpers
Dean A. Hoover wrote: I am using struts 1.1 and tomcat 5 for an application. I am also using DynaValidatorForm for validation of form data. Here is my problem: I want to test for (tomcat) session timeout and output a message on the users brower stating that their session timed out. I want to catch

Re: Tool for HTML/JSP formatting

2004-04-15 Thread Martin Cooper
I haven't used it (yet!), but I recently discovered this: http://www.trita.com which looks pretty awesome, at least going from the web site. -- Martin Cooper "walkrustin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Does anyone know of any good tool for formatting HTML/JSP cod

RE: "No bean specified" error

2004-04-15 Thread jbalaji
HI, Pls check the Syntax and More important case sensitive . Pls go through the casesensitive aspects. Bye Jbalaji "Prasad, Kamakshya" <[EMAIL PROTECTED]> wrote: Hi, I have this line in my jsp property="courseDetailsArray" indexId="ctr"> "courseDetails[" + ctr + "].name" %>'> When I

logic:iterate question, for ArrayList of String arrays

2004-04-15 Thread Matthew Ryan
Hi, I have a session object with is an ArrayList of String arrays, all of length 2. Basically just two strings 'code' and 'description'. I want to iterate of the ArrayList for option tags in a dropdown list. I have been using a For Loop, getting each element, casting it to String[] and then pu

[Fwd: Re: [Validator] call for testers.]

2004-04-15 Thread Rob Leland
This thread started on the dev list and I am continuing it on the user list. My biggest problem in doing this is that the "official" release of Commons Validator is so old, and I require features in 1.1.2 dev. The company I work for has a policy concerning use of non-official software release

I18N problems

2004-04-15 Thread Brian Lee
I've got a site that we're trying to deploy in Japanese. We're using struts message tags everywhere with property resource bundles for all the labels and text. The only text that doesn't come from the resource bundles comes from the database. The problem is that IE doesn't display the text prop

Re: Row

2004-04-15 Thread Niall Pemberton
You can use the "length" and "offset" attributes in to control this. Length limits the number to display and offset tells iterate at which occurance to start at. Display first ten: Display second ten: Niall - Original Message - From: "Iwan Soenarto (IT)" <[EMAIL PROTECTED]> To:

RE: Logic:iterate with html:text indexed properties

2004-04-15 Thread Takhar, Sandeep
There is a parallel discussion that gave a good link: http://jakarta.apache.org/struts/faqs/indexedprops.html I was talking about the nested tag library. sandeep -Original Message- From: Scherger, Derek [mailto:[EMAIL PROTECTED] Sent: Thursday, April 15, 2004 10:19 AM To: 'Struts Users

Re: Reporting Tool.

2004-04-15 Thread Niall Pemberton
There was a discussion on this a while back: http://www.mail-archive.com/[EMAIL PROTECTED]/msg95747.html Niall - Original Message - From: "Marcelo Epstein" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, April 15, 2004 4:07 AM Subject: Reporting T

RE: Logic:iterate with html:text indexed properties

2004-04-15 Thread Scherger, Derek
I don't follow you... I am using nested beans and they aren't getting values set on them. The path being used in the call to BeanUtils.populate doesn't have the required prefix and this is because I'm using the property exported by the iterator. -Original Message- From: Takhar, Sandeep [

Re: when not to use an ActionForm

2004-04-15 Thread Niall Pemberton
You could use the "Lazy" stuff I wrote. I only have "validator" versions of Lazy Forms - you could use them and set validate="false" on the Action in struts-config.xml or put a LazyDynaBean in your action form. http://www.niallp.pwp.blueyonder.co.uk Niall - Original Message - From: "A

RE: redirecting XML/XSLT to JSP or Vice Versa

2004-04-15 Thread MARU, SOHIL (SBCSI)
Glad that could help. I have been using it for over a month now all over my system and it seems to be working like a charm. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, April 15, 2004 2:33 AM To: [EMAIL PROTECTED] Subject: RE: redirecting XML/XSLT t

RE: Formatting date values

2004-04-15 Thread mike . raath
You should keep all your form types as string - then you do not get conversion problems. Do your validation in the validate() method. Format your date using a DateFormat object before redisplaying. -Original Message- From: Paulo Rezende [mailto:[EMAIL PROTECTED] Sent: 15 April 2004 14:57

Formatting date values

2004-04-15 Thread Paulo Rezende
Hi friends, My ActionForm has a Date property. First I need to renderize it formatted. Since the html:text has no format property, i did this: "> Another way? Second I need to submit the value inserted in the html:text by user, to this same Date property. But when i submit the page, de Bea

Re: struts 1.1 and session handling

2004-04-15 Thread Doug
How about servlet filters instead? We've started using them for things we want to handle for all URLs, outside of the normal application logic, including session timeout. Dean A. Hoover wrote: I am using struts 1.1 and tomcat 5 for an application. I am also using DynaValidatorForm for validati

Complex validation

2004-04-15 Thread Diego
Hi everyone. I need to perform conditional validation in one of my forms. I have a drop-down list and a text field. The validation applied to the text field should be dependent on the value selected on the drop-down list. Is this possible, using the Struts validator? I've taken a look at the "valid

Re: what is the difference between forward and redirect?

2004-04-15 Thread Michael McGrady
If you forward a request, you forward the original request object to a new url, with its original content. If you redirect an request, you redirect the request to a new url, without the old content. - To unsubscribe, e-mail:

Re: what is the difference between forward and redirect?

2004-04-15 Thread Domingo A. Rodriguez S.
Use redirects when you don't want the contents of your request to be present while accessing the next resource. i.e. when you access a login page, when you access an external resource. Use forwards when you want the contents of your request to be handled or present by the next resource you forwar

RE: what is the difference between forward and redirect?

2004-04-15 Thread Jay Glanville
You need to use a forward if you are using Action.setMessages() or Action.setErrors() in your action implementations. For example, I have a BeanDeleteAction class. If an error occures in the action (an exception being caught, wrong information being processed, database down, etc) then I use setEr

RE: what is the difference between forward and redirect?

2004-04-15 Thread mike . raath
As a rule of thumb... Normal workflow would use a forward. Abnormal workflow, such as session timeouts requiring the user to be passed back to the login page, or notification of moved pages where you want the user to rebookmark would be redirects. Redirects are slower because of the extra round-tr

RE: what is the difference between forward and redirect?

2004-04-15 Thread Kommineni, Sateesh \(GE Consumer & Industrial\)
Hi, when you use redirect , what ever data you have stored in the request will no longer be available as you are making a new request. where as if you use forward the request scope will be continued and all the objects you stored in the request will be available.. -Sateesh -Original M

struts 1.1 and session handling

2004-04-15 Thread Dean A. Hoover
I am using struts 1.1 and tomcat 5 for an application. I am also using DynaValidatorForm for validation of form data. Here is my problem: I want to test for (tomcat) session timeout and output a message on the users brower stating that their session timed out. I want to catch and process this situa

Re: what is the difference between forward and redirect?

2004-04-15 Thread Johannes Wolfgang Woger
Hi, I basically understood the technical diffence between forward and redirect, but from webapplications point of view, when do I use forward or redirect. On which circumstances should I use a redirect for example? Wolfgang Sanoj, Antony (IE10) wrote: >Mike, > > forward is carried inside the

forward

2004-04-15 Thread Zakaria khabot
Hi all, I have a tiles jsp named "main" containing : the SaisiPB.jsp is validated in the FormAction. When errors are detected, I receive a forward to SaisiPB.jsp (witch is the unique page displayed in the Window), not to Main.jsp. How to solve this problem. Thanks...

RE: what is the difference between forward and redirect?

2004-04-15 Thread Sanoj, Antony (IE10)
Mike, forward is carried inside the servlet engine, whereas the redirect goes to the browser, and then the browser sends the request to the resource forward preserves the request state, but redirect destroys the original request as it completes a request/response cycle when the browser re

[ANNOUNCE] Struts Console v4.5 - GUI tool

2004-04-15 Thread James Holmes
Struts Console version 4.5 is now available. http://www.jamesholmes.com/struts/ Download Now: http://www.jamesholmes.com/struts/struts-console-4.5.zip -- OR -- http://www.jamesholmes.com/struts/struts-console-4.5.tar.gz --- BIG ENHANCEMENT --- The Eclipse and JDeveloper plugins now give you th

RE: when not to use an ActionForm

2004-04-15 Thread Takhar, Sandeep
Excellent link! There is another option: 1) LazyValidatorActionForm: http://www.niallp.pwp.blueyonder.co.uk sandeep -Original Message- From: Oswald Campesato [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 14, 2004 11:39 PM To: Struts Users Mailing List Subject: Re: when

RE: Logic:iterate with html:text indexed properties

2004-04-15 Thread Takhar, Sandeep
You can manually create the property or use nested beans. sandeep -Original Message- From: Scherger, Derek [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 14, 2004 5:33 PM To: '[EMAIL PROTECTED]' Subject: Logic:iterate with html:text indexed properties I'm having a bit of a problem wit

RE: what is the difference between forward and redirect?

2004-04-15 Thread Jay Glanville
Another difference that has to be taken into consideration is that a forward keeps all the request scope parameters and attributes, whereas in a redirect, the request scoped parameters and attributes are lost. JDG -- Jay Glanville > -Original Message- > From: [EMAIL PROTECTED] > [mailt

Re: what is the difference between forward and redirect?

2004-04-15 Thread Xuemin Guan
The implication is very important here: As a redirect causes the browser to issues a completely new request, any objects stored as request attributes before the redirect will be lost. Best, Xuemin >The main difference is that the forward takes place on the server, whereas >the redirect results

Re: Using multiple struts-config.xml

2004-04-15 Thread Ted Husted
Using smaller, multiple files is no different that using one large one. The servlet just loops and loads each one in turn. They are specified as a comma-delimited list in the same placed as a single file. It's all one configuration, there's no specific linkage between the tiles-def and the strut

RE: what is the difference between forward and redirect?

2004-04-15 Thread mike . raath
The main difference is that the forward takes place on the server, whereas the redirect results in another HTTP request from the client. A forward is therefore invisible to the client, whereas the redirect is something they would see. Example 1: user types in http://myserver.com/page1 /page1 forwa

[Vendor] Oracle JDeveloper 10g Production

2004-04-15 Thread Duncan Mills
As Christian and James have already alluded, Oracle JDeveloper 10g is now out of the door and available for download from the Oracle Technology Network: http://otn.oracle.com/software/products/jdev/index.html (And from the OTN front page http://otn.oracle.com) In this new release Struts plays

Re: how to use JSF tree control in a Struts application?

2004-04-15 Thread snpe
On Thursday 15 April 2004 01:04 am, Craig McClanahan wrote: > snpe wrote: > > >I compile struts-faces2 from cvs and i get next error when I try log in > >(I register, log off and try log in) : > > > > > > > You would get an exception like this if the custom renderers in > struts-faces.jar were

what is the difference between forward and redirect?

2004-04-15 Thread Mu Mike
when forward, what do we foward? when redirect, what we do different? Thanks&Regards Mike _ 与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn - To unsubs

Re: using validation,can i return with...

2004-04-15 Thread Xuemin Guan
> I'm using struts validation in my project, > my problem is:when i return from my validationForm, > all the form data in the jsp page have been > cleared.Can't i return to the jsp page with all the data > there,so i can just correct the wrong data. > For example,in the registration page,my valida

RE: Calling CGI script

2004-04-15 Thread Alain Van Vyve
In fact, the problem I forgot to mention is that this CGI script will himself contact the banking site responsible of a payment and present an HTML page to the end-user ... What do I have to do in my action ? because my action needs an ActionForward return value ... I think the solution should

SV: using validation,can i return with...

2004-04-15 Thread hermod . opstvedt
Hi Add the formdata back into the request, before you return from the validation routine. Alt. have the formdata in sessionscope. Hermod -Opprinnelig melding- Fra: dream_and_yang [mailto:[EMAIL PROTECTED] Sendt: 15. april 2004 09:54 Til: struts-user Emne: using validation,can i return wi

using validation,can i return with...

2004-04-15 Thread dream_and_yang
I'm using struts validation in my project, my problem is:when i return from my validationForm, all the form data in the jsp page have been cleared.Can't i return to the jsp page with all the data there,so i can just correct the wrong data. For example,in the registration page,my validationForm fin

using validation,can i return with...

2004-04-15 Thread dream_and_yang
I'm using struts validation in my project, my problem is:when i return from my validationForm, all the form data in the jsp page have been cleared.Can't i return to the jsp page with all the data there,so i can just correct the wrong data. For example,in the registration page,my validationForm fin

RE: redirecting XML/XSLT to JSP or Vice Versa

2004-04-15 Thread alana
Thanks Maru... little problem with sellin the client the concept that JSTL is not a risk :( --alan -Original Message- From: MARU, SOHIL (SBCSI) [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 14, 2004 8:24 PM To: Struts Users Mailing List Subject: RE: redirecting XML/XSLT to JSP or Vice