Re: How to implement OR functionality in STRUTS

2005-01-05 Thread dsarris
Hi, use JSTL. Do not spend time with the Struts tags. here is an example: Error 1 has occurred. Error 2 has occurred. Chipix On Wed, 05 Jan 2005 01:05:30 -0500, Erik Weber <[EMAIL PROTECTED]> wrote: > Look into the expression language's Logical O

Re: Set request parameters in servlet through action

2005-01-05 Thread dsarris
request inside an Action > class. You *can* add attributes to the request context (that's what > HttpServletRequest was designed for). > > So, in your JSTL-aware page, access your request *attribute*: > > or > > > > HTH, > > Curtis > > dsarris

Re: Set request parameters in servlet through action

2005-01-04 Thread dsarris
I do not thing that Hollaway solution is the correct one. I do not pass it to the request parameter list. As brenmcguire stated, I can only set an attribute in the Request (not the parameters). Thus, what is the equivalent for retrieving the attribute in my JSP page? OR -

Re: Set request parameters in servlet through action

2005-01-04 Thread dsarris
On Tue, 4 Jan 2005 14:37:54 +0100, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > Thus, if I set an attribute using the HttpServletRequest.setAttribute, > > how can I retrieve it my JSP page? > > I know that all these can be very easy using an ActionForm, but I do > > not want to create an Ac

Re: Set request parameters in servlet through action

2005-01-04 Thread dsarris
On Tue, 4 Jan 2005 13:31:35 +0100, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > how can I add a request parameter inside an action execute method? Do > > I have to use an ActionForm or it is an easiest way to do it? > > > > You cannot set a new parameter once a http request has been submitt

Set request parameters in servlet through action

2005-01-04 Thread dsarris
Hi, how can I add a request parameter inside an action execute method? Do I have to use an ActionForm or it is an easiest way to do it? chipix - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL P

Re: ActionForm automatic type conversion

2005-01-04 Thread dsarris
On Mon, 3 Jan 2005 17:46:46 +0100, Pavel Kolesnikov <[EMAIL PROTECTED]> wrote: > On Mon, 3 Jan 2005 11:16:16 +0200, dsarris <[EMAIL PROTECTED]> wrote: > > > I am trying to fill an ActionForm with values that are neither Strings > > or primitives. > > I

ActionForm automatic type conversion

2005-01-03 Thread dsarris
Hi all and happy new year, I am trying to fill an ActionForm with values that are neither Strings or primitives. The specified values are selected using the tag. This a sample of my JSP code:

Re: Struts usage question

2005-01-03 Thread dsarris
ion language (${} instead of <%= %> ) > > If you don't have a servlet container which supports that by itself, you can > > use the el-tags to use it at least inside of the struts tags. > > > > hth, > > axel > > > > On 2004-12-31 at 13:23

Re: Struts usage question

2004-12-31 Thread dsarris
On Fri, 31 Dec 2004 11:26:47 +0200, dsarris <[EMAIL PROTECTED]> wrote: > On Thu, 30 Dec 2004 09:23:28 -0700, Wendy Smoak <[EMAIL PROTECTED]> wrote: > > From: "dsarris" <[EMAIL PROTECTED]> > > > I am trying to use the tag with the > > > tag

Re: Struts usage question

2004-12-31 Thread dsarris
On Thu, 30 Dec 2004 09:23:28 -0700, Wendy Smoak <[EMAIL PROTECTED]> wrote: > From: "dsarris" <[EMAIL PROTECTED]> > > I am trying to use the tag with the > > tag. > > Do I have to put the collection property inside the form bean of the > > form t

Struts usage question

2004-12-30 Thread dsarris
Hi, I am trying to use the tag with the tag. The documentation states that the optionscollection tag retrieves ithe collection from the bean that is specified using the name property. My question is the following: Do I have to put the collection property inside the form bean of the form that co