Thanks for tip Mark, but I should have mentioned this in my original 
post, I am trying to avoid using javascript. 

I am assuming (and someone please correct me if I'm wrong) that the 
attributes in <item> tag have a correlation to attributes of the  
anchor tag <a>. Such that item.link roughly equates to a.href; 
item.value roughly equates to anchor text, item.icon roughly equates to 
<img ...> etc.
 
Following on from this assumption I was hoping to utilise the "target" 
attribute of the anchor tag, such that I could do something like the 
following:
 
<putlist>
 <item value="Menu Item 1" link="/page1.jsp" target="_blank"/>
 <item value="Menu Item 2" link="/page2.jsp" target="_blank"/>
 <item value="Menu Item 3" link="/page3.jsp"/>
 ...
</putlist>

> 
> i haven't tried but this might work...
> 
> link="javascript:popup('/myaction.do')"
> 
> link="/myaction.do"
> 
> cheers mark
> 
> 
> On Friday, Jun 6, 2003, at 03:16 Europe/London, Ben Sion wrote:
> 
> > Hi there,
> >
> > I am using tiles to create a menu list, and this works fine, 
> however I
> > have a requirement that some (NOT all) of the links in my menu 
> open in
> > a new browser window. Looking at the "item" attribute definition
> > of "putList" in the tiles-config.dtd, I cannot see a way to specify
> > that the link should open a new window. Have I missed the point 
> of the
> > MenuItem bean? Could this be an enhancement? Is there a 
> better/easier> way to achieve this outcome?
> >
> > thanx in advance
> > Ben
> >
> >
> > -----------------------------------------------------------------
> ----
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> 
> 
> 
> 
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 8BIT


struts-user Digest 6 Jun 2003 10:21:39 -0000 Issue 3368

Topics (messages 80704 through 80726):

concept for active tab
        80704 by: Dan Allen
        80706 by: Andrew Hill

collaborate struts and existing servlet?
        80705 by: harris
        80707 by: Andrew Hill
        80717 by: harris
        80722 by: Navjot Singh
        80725 by: harris

tiles - input attribute in action mapping
        80708 by: koen boutsen

Struts SSL extension: extend secure action property
        80709 by: Raymond Penners

Re: JavaServer Faces and Struts
        80710 by: Fedor Smirnoff
        80712 by: Fedor Smirnoff
        80723 by: Ted Husted

Parsing Problem
        80711 by: Nadja Senoucci
        80714 by: Dirk Markert

Can html:options labelProperty made of concatenated bean fields ?
        80713 by: Ionel Gardais

Excluding values inside a logic:iterate tag or an html:options tag
        80715 by: Ionel Gardais

Re: Action Form Bean required ???
        80716 by: Tran Nguyen Thanh Bao
        80718 by: Andrew Hill

Re: new window from menu item
        80719 by: Mark Lowe

Re: Nested indexed reference problem
        80720 by: Arron Bates

Re: Handling ServletException
        80721 by: Eirik Kjølsrud

Re: question about struts
        80724 by: Navjot Singh
        80726 by: Andrew Hill

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
Content-type: message/rfc822

Date: Fri, 06 Jun 2003 02:33:12 -0500
From: Dan Allen <[EMAIL PROTECTED]>
Subject: concept for active tab
To: Struts-User List <[EMAIL PROTECTED]>
Message-id: <[EMAIL PROTECTED]>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT

I have a site that has 6 or so main tabs.  I was thinking how I
would know which tab was active based on the page the user was
currently visiting.  I came up with one idea, but perhaps other
people have ideas as well.

In my tiles I set aside a variable name 'section' which by default
is "Home."  In each jsp page, I define the section variable to
equivalent to the section the page belongs to, else it will default
to "Home."  Then, when I render my master layout with the
navigation, I check to see if the section variable is equivalent to
the tab and if so, I display a highlighted tab.  Instead of putting
it in each jsp file I suppose I could make a mapping file of some
sort, but I haven't gotten that far yet.

Any other ideas?

Dan

-- 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Daniel Allen, <[EMAIL PROTECTED]>
http://www.mojavelinux.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Real programmers don't change their wardrobe too often: there 
are no clothes stores that are open at two o'clock in the morning. 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Content-type: message/rfc822

Date: Fri, 06 Jun 2003 15:36:12 +0800
From: Andrew Hill <[EMAIL PROTECTED]>
Subject: RE: concept for active tab
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Reply-to: [EMAIL PROTECTED]
Message-id: <[EMAIL PROTECTED]>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT

Im not using tiles and tiles tabs but my app does have navigation links that
need to be highlighted.
These links come from a config file (navigation-config.xml) , which
specifies such things as the links label key and the url to which it points
(usually an action - but often with appended url parameters). (Most of my
links are in a tree and the navigation renderer uses the navigation config
to construct a javascript tree widget)

To work out which link to highlight , the renderer will compare the request
path with whats in the config. It also does some comparisons based on the
appended parameters so it knows which link to highlight when several point
at the same base action path. It seems to work quite well.

-----Original Message-----
From: Dan Allen [mailto:[EMAIL PROTECTED]
Sent: Friday, 6 June 2003 15:33
To: Struts-User List
Subject: concept for active tab


I have a site that has 6 or so main tabs.  I was thinking how I
would know which tab was active based on the page the user was
currently visiting.  I came up with one idea, but perhaps other
people have ideas as well.

In my tiles I set aside a variable name 'section' which by default
is "Home."  In each jsp page, I define the section variable to
equivalent to the section the page belongs to, else it will default
to "Home."  Then, when I render my master layout with the
navigation, I check to see if the section variable is equivalent to
the tab and if so, I display a highlighted tab.  Instead of putting
it in each jsp file I suppose I could make a mapping file of some
sort, but I haven't gotten that far yet.

Any other ideas?

Dan

--
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Daniel Allen, <[EMAIL PROTECTED]>
http://www.mojavelinux.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Real programmers don't change their wardrobe too often: there
are no clothes stores that are open at two o'clock in the morning.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Content-type: message/rfc822

Date: Fri, 06 Jun 2003 15:33:36 +0800
From: harris <[EMAIL PROTECTED]>
Subject: collaborate struts and existing servlet?
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Message-id: <[EMAIL PROTECTED]>
MIME-version: 1.0
Content-type: multipart/alternative;
 boundary="Boundary_(ID_SmkbudPhSeOQt1BaYon5mw)"


--Boundary_(ID_SmkbudPhSeOQt1BaYon5mw)
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 7BIT

Hi,

I have an web application partly using struts and partly using typical jsp/servlet 
pattern.
I have an issue to share the session between struts and existing servlet.
A session is created in struts seems to differ from the session in servlet.

Is there any way to collaborate between struts and existing servlet by using the same 
sessionId?

thanks,
Harris

--Boundary_(ID_SmkbudPhSeOQt1BaYon5mw)--
Content-type: message/rfc822

Date: Fri, 06 Jun 2003 15:37:39 +0800
From: Andrew Hill <[EMAIL PROTECTED]>
Subject: RE: collaborate struts and existing servlet?
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Reply-to: [EMAIL PROTECTED]
Message-id: <[EMAIL PROTECTED]>
MIME-version: 1.0
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 7BIT

If they are in the same webapp they should share the same session. If you
have cookies switched off on the browser then you should check how you are
rewriting your links.

-----Original Message-----
From: harris [mailto:[EMAIL PROTECTED]
Sent: Friday, 6 June 2003 15:34
To: Struts Users Mailing List
Subject: collaborate struts and existing servlet?


Hi,

I have an web application partly using struts and partly using typical
jsp/servlet pattern.
I have an issue to share the session between struts and existing servlet.
A session is created in struts seems to differ from the session in servlet.

Is there any way to collaborate between struts and existing servlet by using
the same sessionId?

thanks,
Harris

Content-type: message/rfc822

Date: Fri, 06 Jun 2003 16:32:19 +0800
From: harris <[EMAIL PROTECTED]>
Subject: Re: collaborate struts and existing servlet?
To: Struts Users Mailing List <[EMAIL PROTECTED]>,
 [EMAIL PROTECTED]
Message-id: <[EMAIL PROTECTED]>
MIME-version: 1.0
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 7BIT

thanks..

I've fixed the problem.

I'm using webapplication *.war but the servlet setting was inside the
weblogic.properties.
So in that way, weblogic 5.1 treats them as 2 separate application.
Once I move the servlet setting into web.xml, everything works fine.


Btw.. do you know how to make a webapplication to be a default application?

Harris



----- Original Message -----
From: "Andrew Hill" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, June 06, 2003 3:37 PM
Subject: RE: collaborate struts and existing servlet?


> If they are in the same webapp they should share the same session. If you
> have cookies switched off on the browser then you should check how you are
> rewriting your links.
>
> -----Original Message-----
> From: harris [mailto:[EMAIL PROTECTED]
> Sent: Friday, 6 June 2003 15:34
> To: Struts Users Mailing List
> Subject: collaborate struts and existing servlet?
>
>
> Hi,
>
> I have an web application partly using struts and partly using typical
> jsp/servlet pattern.
> I have an issue to share the session between struts and existing servlet.
> A session is created in struts seems to differ from the session in
servlet.
>
> Is there any way to collaborate between struts and existing servlet by
using
> the same sessionId?
>
> thanks,
> Harris
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Content-type: message/rfc822

Date: Fri, 06 Jun 2003 15:19:52 +0530
From: Navjot Singh <[EMAIL PROTECTED]>
Subject: RE: collaborate struts and existing servlet?
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Message-id: <[EMAIL PROTECTED]>
MIME-version: 1.0
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 7BIT

session belongs to web server. every request coming your way will be having
same session. no matter which program set that.
you can easily access them *ANYWHERE* you want in entire application. You
just need to have REQUEST object.

does this clear the air or may be i misunderstood you.

-navjot singh

|-----Original Message-----
|From: harris [mailto:[EMAIL PROTECTED]
|Sent: Friday, June 06, 2003 1:04 PM
|To: Struts Users Mailing List
|Subject: collaborate struts and existing servlet?
|
|
|Hi,
|
|I have an web application partly using struts and partly using
|typical jsp/servlet pattern.
|I have an issue to share the session between struts and existing servlet.
|A session is created in struts seems to differ from the session in servlet.
|
|Is there any way to collaborate between struts and existing
|servlet by using the same sessionId?
|
|thanks,
|Harris

Content-type: message/rfc822

Date: Fri, 06 Jun 2003 18:16:17 +0800
From: harris <[EMAIL PROTECTED]>
Subject: Re: collaborate struts and existing servlet?
To: Struts Users Mailing List <[EMAIL PROTECTED]>,
 [EMAIL PROTECTED]
Message-id: <[EMAIL PROTECTED]>
MIME-version: 1.0
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 7BIT

thanks for you reply.

my problem was solved and it was particularly the configuration in
weblogic.properties
In weblogic 5.1, the servlets is specified in weblogic.properties file.

But to use Struts, I need to specify the servlet in web.xml
So, it was the reason why weblogic5.1 treats the servlet as different
application.
After I moved the servlet mapping to web.xml everything works well.

thanks,
Harris.





----- Original Message -----
From: "Navjot Singh" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, June 06, 2003 5:49 PM
Subject: RE: collaborate struts and existing servlet?


> session belongs to web server. every request coming your way will be
having
> same session. no matter which program set that.
> you can easily access them *ANYWHERE* you want in entire application. You
> just need to have REQUEST object.
>
> does this clear the air or may be i misunderstood you.
>
> -navjot singh
>
> |-----Original Message-----
> |From: harris [mailto:[EMAIL PROTECTED]
> |Sent: Friday, June 06, 2003 1:04 PM
> |To: Struts Users Mailing List
> |Subject: collaborate struts and existing servlet?
> |
> |
> |Hi,
> |
> |I have an web application partly using struts and partly using
> |typical jsp/servlet pattern.
> |I have an issue to share the session between struts and existing servlet.
> |A session is created in struts seems to differ from the session in
servlet.
> |
> |Is there any way to collaborate between struts and existing
> |servlet by using the same sessionId?
> |
> |thanks,
> |Harris
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Content-type: message/rfc822

Date: Fri, 06 Jun 2003 08:54:39 +0100
From: koen boutsen <[EMAIL PROTECTED]>
Subject: tiles - input attribute in action mapping
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Reply-to: [EMAIL PROTECTED]
Message-id: <[EMAIL PROTECTED]>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT

Hi

I'm using different tiles to create my page.
On my login tile, name and password are required fields, so the validator creates an 
error if one is not provided.  
Normally, you are redirected to the 'input' attribute of the action mapping in the 
struts-config. When I put the login-tile in the input attribute, I get an error. I 
tried to put a tiles-definition in the input attribute, and that didn't work either.
What do I have to put as the input attribute ?

Thanks
Koen


____________________________________________________________
Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!
http://login.mail.lycos.com/r/referral?aid=27005
Content-type: message/rfc822

Date: Fri, 06 Jun 2003 09:56:15 +0200
From: Raymond Penners <[EMAIL PROTECTED]>
Subject: Struts SSL extension: extend secure action property
To: [EMAIL PROTECTED]
Message-id: <[EMAIL PROTECTED]>
MIME-version: 1.0
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Content-transfer-encoding: 7BIT

Hi,

I am currently developing a web application using Struts and the SSL 
extension (http://sslext.sourceforge.net/), which is really helpful. I 
have a question though...

The web application features a "browse catalog" action, using which 
users (both anonymous and logged-on users) can browse the online 
catalog. Users can also logon using a secure logon action. Once logged 
on, I would like them to stay in https mode to avoid bombarding users 
with "you are about to enter/leave a secure page" messages.

The problem is: the "browse catalog" action is not marked as secure. 
Meaning, logged on users in https mode get switched back to non-secure 
mode when browsing the catalog.

IMHO, a nice solution to this problem would be to replace the binary 
secure property for an action with a ternary option:
- yes: forced switched to https.
- no: forced switched to http.
- any/keep/dontcare: any mode will do.

What do you think?  I could implement this myself, but I would like to 
get some feedback on this first. I have submitted a feature request and 
tried contacting the original author, but unfortunately I got not 
response...

Regards,
--
Raymond Penners


Content-type: message/rfc822

Date: Fri, 06 Jun 2003 01:03:45 -0700 (PDT)
From: Fedor Smirnoff <[EMAIL PROTECTED]>
Subject: Re: JavaServer Faces and Struts
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Message-id: <[EMAIL PROTECTED]>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT

Here it is, its not much, just an overview:

http://www.ftponline.com/javapro/2003_04/magazine/columns/weblication/default.asp

Fedor

--- Gene Campbell <[EMAIL PROTECTED]> wrote:
> Where's the article?  Sorry, can't answer your
> questions.
> 
> thanks - gene
> 
> --- Fedor Smirnoff <[EMAIL PROTECTED]> wrote:
> > Hey guys,
> > 
> > Just read an article on JSF and it sounds pretty
> > interesting, one problem though, writer says its
> not
> > compatible with Struts. Have anyone tried? What do
> > you
> > think of it, did anyone succeeded in making it
> work
> > with Struts.
> > 
> > Thanks,
> > Fedor
> > 
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! Calendar - Free online calendar with sync
> to
> > Outlook(TM).
> > http://calendar.yahoo.com
> > 
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> > 
> 
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! Calendar - Free online calendar with sync to
> Outlook(TM).
> http://calendar.yahoo.com
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 


__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
Content-type: message/rfc822

Date: Fri, 06 Jun 2003 01:06:28 -0700 (PDT)
From: Fedor Smirnoff <[EMAIL PROTECTED]>
Subject: Re: JavaServer Faces and Struts
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Message-id: <[EMAIL PROTECTED]>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT

Oh this is great!! Yes, either they have no idea whats
going on or, JSF cam a long way since article was
published in April
http://www.ftponline.com/javapro/2003_04/magazine/columns/weblication/default.asp

THanks
fedor
--- Ted Husted <[EMAIL PROTECTED]> wrote:
> Fedor Smirnoff wrote:
> > Hey guys,
> > 
> > Just read an article on JSF and it sounds pretty
> > interesting, one problem though, writer says its
> not
> > compatible with Struts. Have anyone tried? What do
> you
> > think of it, did anyone succeeded in making it
> work
> > with Struts.
> 
> The article is just plain wrong, and you should tell
> them so.
> 
> 
> -------- Original Message --------
> Subject: [ANNOUNCE] Updated Struts-Faces Integration
> Library
> Date: Wed, 04 Jun 2003 11:46:54 -0700 (PDT)
> From: "Craig R. McClanahan" <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List
> <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> CC: [EMAIL PROTECTED]
> 
> As you might already be aware, the Public Draft 2
> version of the
> JavaServer Faces specification is now available:
> 
>   
>
http://java.sun.com/j2ee/javaserverfaces/download.html
> 
> with many new and exciting features.  The EA4
> version of the JavaServer
> Faces reference implementation is available as part
> of the Java
> Web Services Developer Pack 1.2 release (and easily
> separable for
> use on other containers):
> 
>   
>
http://java.sun.com/webservices/downloads/webservicespack.html
> 
> I have updated the Struts-Faces integration library
> that was previously
> published, to accomodate the API changes in the new
> version.  Nightly
> builds of the updated code, starting with the
> 20030605 version (i.e.
> tonight) will be available at:
> 
>   
>
http://jakarta.apache.org/builds/jakarta-struts/nightly/struts-faces/
> 
> (Versions up through and including 20030604 are for
> the EA3 release of
> Faces; wait until tomorrow to grab the updated
> code.)
> 
> Craig McClanahan
> 
> 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 


__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
Content-type: message/rfc822

Date: Fri, 06 Jun 2003 05:52:04 -0400
From: Ted Husted <[EMAIL PROTECTED]>
Subject: Re: JavaServer Faces and Struts
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Message-id: <[EMAIL PROTECTED]>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii; format=flowed
Content-transfer-encoding: 7BIT

They have no idea what's going on. =:>

Struts-Faces has been on the table since last September.

http://jakarta.apache.org/struts/faqs/kickstart.html#jsf

-T.

Fedor Smirnoff wrote:
> Oh this is great!! Yes, either they have no idea whats
> going on or, JSF cam a long way since article was
> published in April
> http://www.ftponline.com/javapro/2003_04/magazine/columns/weblication/default.asp
> 
> THanks
> fedor


Content-type: message/rfc822

Date: Fri, 06 Jun 2003 10:03:53 +0200 (CEST)
From: Nadja Senoucci <[EMAIL PROTECTED]>
Subject: Parsing Problem
To: [EMAIL PROTECTED]
Message-id: <[EMAIL PROTECTED]>
MIME-version: 1.0
Content-type: multipart/mixed; boundary="Boundary_(ID_UpjvZpK6hm8E7a3Vz1UNJg)"


--Boundary_(ID_UpjvZpK6hm8E7a3Vz1UNJg)
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 7BIT

Hello everyone,

I get an error and just can't find out what's wrong... I have attached my
.jsp to this email. Whenever I call it, the button at the end gets parsed
like this:

<td colspan="2" align="right">
<input type="submit" value="<logic:match name="user
property="letzteFormularSeite" value="Geraetemerkmale">
speichern
</logic:match>
<logic:notMatch name="user" property="letzteFormularSeite"
value="Geraetemerkmale">
weiter
</logic:notMatch>">
</td>

So it seems there is error in tag there. Funny thing is, I copied those
<logic> tags there from another page where it works just fine. It also works
when I take the <logic> tags away and just use one of the two messages.

I am at a loss, have been staring at the code for a while, tried a few
things out but just can't find the error... Can you help me, please?

Greetings,
Nadja


--Boundary_(ID_UpjvZpK6hm8E7a3Vz1UNJg)--
Content-type: message/rfc822

Date: Fri, 06 Jun 2003 10:12:41 +0200
From: Dirk Markert <[EMAIL PROTECTED]>
Subject: Re: Parsing Problem
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Reply-to: "Dr. Dirk Markert" <[EMAIL PROTECTED]>
Message-id: <[EMAIL PROTECTED]>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT

Hallo Nadja,

I guess your jsp is missing the include of your logic taglib.


***************************************************************

NS> Hello everyone,

NS> I get an error and just can't find out what's wrong... I have attached my
NS> .jsp to this email. Whenever I call it, the button at the end gets parsed
NS> like this:

NS> <td colspan="2" align="right">
NS> <input type="submit" value="<logic:match name="user
NS> property="letzteFormularSeite" value="Geraetemerkmale">
NS> speichern
NS> </logic:match>
NS> <logic:notMatch name="user" property="letzteFormularSeite"
NS> value="Geraetemerkmale">
NS> weiter
NS> </logic:notMatch>">
NS> </td>

NS> So it seems there is error in tag there. Funny thing is, I copied those
NS> <logic> tags there from another page where it works just fine. It also works
NS> when I take the <logic> tags away and just use one of the two messages.

NS> I am at a loss, have been staring at the code for a while, tried a few
NS> things out but just can't find the error... Can you help me, please?

NS> Greetings,
NS> Nadja

Content-type: message/rfc822

Date: Fri, 06 Jun 2003 10:05:18 +0200
From: Ionel Gardais <[EMAIL PROTECTED]>
Subject: Can html:options labelProperty made of concatenated bean fields ?
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Message-id: <[EMAIL PROTECTED]>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii; format=flowed
Content-transfer-encoding: 7BIT

Hi,

The question's in the subject.
Can the labelProperty of an html:options tag be composed of a 
concatenation of two or more fields ? (like having labelProperty="name + 
surname")

thanks,
ionel

Content-type: message/rfc822

Date: Fri, 06 Jun 2003 10:08:13 +0200
From: Ionel Gardais <[EMAIL PROTECTED]>
Subject: Excluding values inside a logic:iterate tag or an html:options tag
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Message-id: <[EMAIL PROTECTED]>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii; format=flowed
Content-transfer-encoding: 7BIT

Hi,

Is it possible to tell these tags that when they hit some values, they 
shouldn't display them ?

Thanks,
ionel


Content-type: message/rfc822

Date: Fri, 06 Jun 2003 15:22:01 +0700
From: Tran Nguyen Thanh Bao <[EMAIL PROTECTED]>
Subject: RE: Action Form Bean required ???
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Message-id: <[EMAIL PROTECTED]>
MIME-version: 1.0
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 7BIT


My struts-config.xml:         
        <action
            path="/Welcome"
            type="org.apache.struts.actions.ForwardAction"
            parameter="/pages/Welcome.jsp"/>
        <action 
                path="/logon" 
                type="org.apache.struts.actions.ForwardAction" 
                parameter="/pages/index.jsp"/>
At first time call to /Welcome.do (Welcome.jsp contains a form), I get the error as 
follow:
 
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from 
fulfilling this request.
exception
org.apache.jasper.JasperException: Cannot retrieve definition for form bean null
        at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:248)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
        at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
        at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
        at 
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1058)
        at 
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:451)
        at 
org.apache.struts.action.RequestProcessor.processActionForward(RequestProcessor.java:401)
        at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1420)
        at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:502)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
        at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
        at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
        at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
        at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
        at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
        at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
        at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
        at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
        at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
        at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)
        at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
        at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)
        at java.lang.Thread.run(Thread.java:484)

root cause

javax.servlet.ServletException: Cannot retrieve definition for form bean null
        at 
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:530)
        at org.apache.jsp.Welcome_jsp._jspService(Welcome_jsp.java:82)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:204)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
        at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
        at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
        at 
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1058)
        at 
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:451)
        at 
org.apache.struts.action.RequestProcessor.processActionForward(RequestProcessor.java:401)
        at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1420)
        at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:502)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
        at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
        at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
        at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
        at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
        at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
        at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
        at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
        at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
        at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
        at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)
        at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
        at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)
        at java.lang.Thread.run(Thread.java:484)
Apache Tomcat/4.1.18



-----Original Message-----
From: Dan Tran [mailto:[EMAIL PROTECTED]
Sent: Friday, June 06, 2003 4:03 AM
To: Struts Users Mailing List
Subject: Re: Action Form Bean required ???


Ba?o, what kind of problem do you see? Here is example of  action without
actionForm

  <action path="/nextYearReport" scope="request"
type="org.glvnsjc.action.student.NextYearReportAction"><forward
name="success" path="/nextYearReport.jsp?page=1" redirect="false"
/></action>

Note, there is no "name" attribute and make sure to setup the scope (the
default is session, i think)

My acction has no form, it create a List object and stick it into request
object so that JSP can display

----- Original Message ----- 
From: "Tran Nguyen Thanh Bao" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, June 05, 2003 1:40 AM
Subject: RE: Action Form Bean required ???



Dear Andrew,
Could u please send me your struts-config.xml file that you configure for
some of your screens not to use form bean ??? I tried many times but not
successful :(
Thanks and Best Regards,
TRANBAONGUYEN

-----Original Message-----
From: Andrew Hill [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 04, 2003 6:42 PM
To: Struts Users Mailing List
Subject: RE: Action Form Bean required ???


I am doing this for some of my screens - these being the listview screens -
where Im not taking in much in the way of info from the user, and hadnt
bothered to create an actionForm but just grabbed what I needed straight
from the request. Your probably better off having an action form however -
in most cases David's criticism is valid.

One 'gotcha' with not using an actionform is when you are using multipart
forms. Struts is nice enough to wrap multipart requests in a
MultipartRequestWrapper with the POSTed parameters available *but* it
populates this wrapper from the same method that populates the actionForm.
No action form means no MultipartRequestWrapper population, which means
request.getParameter will return null for all except those parameters
appended to the url to which the form was submitted. Of course that only
affects multipart forms which yourd only be using if that page needs file
upload...

-----Original Message-----
From: David Chelimsky [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 4 June 2003 19:20
To: Struts Users Mailing List
Subject: Re: Action Form Bean required ???


You could access all of the form properties in your Action with
request.getParameter("paramName"); but why would you ever do that? Using
the rest of the framework without FormBeans is like pushing your car
down the street instead of just starting the engine....

Tran Nguyen Thanh Bao wrote:

>Dear all,
>
>I'm a new user of Struts. If I dont have Action Form Bean for each form in
my application, is there any problem ? I've already tried to test with no
Action Form Bean (basing on Struts examples, just remove Action Form Bean),
but not successful.
>Can I do that in some way ? Pls give me some advises from you, experienced
users :)
>
>Best Regards,
>TRANBAONGUYEN
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Content-type: message/rfc822

Date: Fri, 06 Jun 2003 16:32:52 +0800
From: Andrew Hill <[EMAIL PROTECTED]>
Subject: RE: Action Form Bean required ???
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Reply-to: [EMAIL PROTECTED]
Message-id: <[EMAIL PROTECTED]>
MIME-version: 1.0
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 7BIT

Afaik the struts html:form requires you to use an ActionForm.
If your not using an action form you have little business using the struts
<html: tags most of which are designed for working with your ActionForm...

Trust me - your better off using a form even if it hasnt any properties!
While its possible to work without one, its not really a good idea as so
many things expect one - especially the tags! (Im not using JSP which is
probably why Ive had an easier time on my actionForm-free views)


-----Original Message-----
From: Tran Nguyen Thanh Bao [mailto:[EMAIL PROTECTED]
Sent: Friday, 6 June 2003 16:22
To: Struts Users Mailing List
Subject: RE: Action Form Bean required ???



My struts-config.xml:
        <action
            path="/Welcome"
            type="org.apache.struts.actions.ForwardAction"
            parameter="/pages/Welcome.jsp"/>
        <action
                path="/logon"
                type="org.apache.struts.actions.ForwardAction"
                parameter="/pages/index.jsp"/>
At first time call to /Welcome.do (Welcome.jsp contains a form), I get the
error as follow:

HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it
from fulfilling this request.
exception
org.apache.jasper.JasperException: Cannot retrieve definition for form bean
null
        at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
48)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
java:684)
        at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatch
er.java:432)
        at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher
.java:356)
        at
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:10
58)
        at
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProces
sor.java:451)
        at
org.apache.struts.action.RequestProcessor.processActionForward(RequestProces
sor.java:401)
        at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1420)
        at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:502)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:260)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
        at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
        at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:386)
        at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:530)
        at java.lang.Thread.run(Thread.java:484)

root cause

javax.servlet.ServletException: Cannot retrieve definition for form bean
null
        at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:530)
        at org.apache.jsp.Welcome_jsp._jspService(Welcome_jsp.java:82)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:2
04)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
java:684)
        at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatch
er.java:432)
        at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher
.java:356)
        at
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:10
58)
        at
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProces
sor.java:451)
        at
org.apache.struts.action.RequestProcessor.processActionForward(RequestProces
sor.java:401)
        at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1420)
        at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:502)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:260)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
        at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172
)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:641)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:174)
        at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
        at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
        at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:386)
        at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:530)
        at java.lang.Thread.run(Thread.java:484)
Apache Tomcat/4.1.18



-----Original Message-----
From: Dan Tran [mailto:[EMAIL PROTECTED]
Sent: Friday, June 06, 2003 4:03 AM
To: Struts Users Mailing List
Subject: Re: Action Form Bean required ???


Ba?o, what kind of problem do you see? Here is example of  action without
actionForm

  <action path="/nextYearReport" scope="request"
type="org.glvnsjc.action.student.NextYearReportAction"><forward
name="success" path="/nextYearReport.jsp?page=1" redirect="false"
/></action>

Note, there is no "name" attribute and make sure to setup the scope (the
default is session, i think)

My acction has no form, it create a List object and stick it into request
object so that JSP can display

----- Original Message -----
From: "Tran Nguyen Thanh Bao" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, June 05, 2003 1:40 AM
Subject: RE: Action Form Bean required ???



Dear Andrew,
Could u please send me your struts-config.xml file that you configure for
some of your screens not to use form bean ??? I tried many times but not
successful :(
Thanks and Best Regards,
TRANBAONGUYEN

-----Original Message-----
From: Andrew Hill [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 04, 2003 6:42 PM
To: Struts Users Mailing List
Subject: RE: Action Form Bean required ???


I am doing this for some of my screens - these being the listview screens -
where Im not taking in much in the way of info from the user, and hadnt
bothered to create an actionForm but just grabbed what I needed straight
from the request. Your probably better off having an action form however -
in most cases David's criticism is valid.

One 'gotcha' with not using an actionform is when you are using multipart
forms. Struts is nice enough to wrap multipart requests in a
MultipartRequestWrapper with the POSTed parameters available *but* it
populates this wrapper from the same method that populates the actionForm.
No action form means no MultipartRequestWrapper population, which means
request.getParameter will return null for all except those parameters
appended to the url to which the form was submitted. Of course that only
affects multipart forms which yourd only be using if that page needs file
upload...

-----Original Message-----
From: David Chelimsky [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 4 June 2003 19:20
To: Struts Users Mailing List
Subject: Re: Action Form Bean required ???


You could access all of the form properties in your Action with
request.getParameter("paramName"); but why would you ever do that? Using
the rest of the framework without FormBeans is like pushing your car
down the street instead of just starting the engine....

Tran Nguyen Thanh Bao wrote:

>Dear all,
>
>I'm a new user of Struts. If I dont have Action Form Bean for each form in
my application, is there any problem ? I've already tried to test with no
Action Form Bean (basing on Struts examples, just remove Action Form Bean),
but not successful.
>Can I do that in some way ? Pls give me some advises from you, experienced
users :)
>
>Best Regards,
>TRANBAONGUYEN
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Content-type: message/rfc822

Date: Fri, 06 Jun 2003 09:55:50 +0100
From: Mark Lowe <[EMAIL PROTECTED]>
Subject: Re: new window from menu item
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Message-id: <[EMAIL PROTECTED]>
MIME-version: 1.0 (Apple Message framework v552)
Content-type: text/plain; charset=US-ASCII; format=flowed
Content-transfer-encoding: 7BIT

i haven't tried but this might work...

link="javascript:popup('/myaction.do')"

link="/myaction.do"

cheers mark


On Friday, Jun 6, 2003, at 03:16 Europe/London, Ben Sion wrote:

> Hi there,
>
> I am using tiles to create a menu list, and this works fine, however I
> have a requirement that some (NOT all) of the links in my menu open in
> a new browser window. Looking at the "item" attribute definition
> of "putList" in the tiles-config.dtd, I cannot see a way to specify
> that the link should open a new window. Have I missed the point of the
> MenuItem bean? Could this be an enhancement? Is there a better/easier
> way to achieve this outcome?
>
> thanx in advance
> Ben
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>

Content-type: message/rfc822

Date: Fri, 06 Jun 2003 03:22:01 -0600
From: Arron Bates <[EMAIL PROTECTED]>
Subject: Re: Nested indexed reference problem
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Message-id: <[EMAIL PROTECTED]>
MIME-version: 1.0
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 7BIT

BeanUtils inside Struts can't deal with the two indexes back to back ("[i][k]").

The reason why the original <logic:iterate> works, is because it cheats (yes,
it cheats). Because it doesn't care about its children, all it does is get the
collection using "childs[1]" and then makes a bean. It's this bean you're
using in the write methods.

Whereas, the nested tags simply organise the properties and then pass it to
where it's being used, in this case the write tags, with property
"groups.childs[1][0].name". But as I mentioned, bean utils can't handle it.

To get it working, you'll need to wrap the second collection in a simple bean
so you can get at it with another property like "groups.childs[1]another[0].name".

Hopefully it wont be too much of a refactor, but beanUtils can't play with it
as-is.

All the best.

Arron.



> Hi all ! 
> 
> My jsp contain the following code :
> 
> <nested:form action="/admin.gp?ACTION=getGroups"
type="gaston.project.struts.user.AdminAction" name="SESSIONUSER">
>  <nested:nest property="groups" >
>     <nested:write property="root.name"/><br>                           (A)
>     <nested:iterate property="childs[1]">                                  
  (B)
>       <nested:write property="name"/><br>
>   </nested:iterate>
>  </nested:nest>
> </nested:form>
> 
> the error related to the line (B) is : 
> javax.servlet.ServletException: No getter method for property
groups.childs[1][0].name of bean SESSIONUSER
> at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:471)
>  
> I've several hypothesis according to this but nevertheless I can't go
further :-(
> 
> for info, the following code works well :
> 
> <logic:iterate id="thegroups" name="SESSIONUSER" property="groups.childs[1]">
> <bean:write name="thegroups" property="name"/>
> <br>
> </logic:iterate>
> 
> and ... I need nested tags for recursion and I don't want to change the
implementation of my bean wich uses an hashtable to record the child
node/parent node relations
> 
> ... and an another simple related question (wich, I guess, doesn't need a
new thread for it) : how do I write "childs[id]" instead of "childs[1]" ? ...
 property="<%='child['+id+']'%>" doesn't work and I don't know how to manage
this with <nested:define>'s tag
> 
> thanks for help
> 
> JM
> 
> ps : I've already take a look at www.keyboardmonkey.com ;-)




Content-type: message/rfc822

Date: Fri, 06 Jun 2003 11:35:47 +0200
From: Eirik =?UNKNOWN?Q?Kj=F8lsrud?= <[EMAIL PROTECTED]>
Subject: Re: Handling ServletException
To: [EMAIL PROTECTED]
Message-id: <[EMAIL PROTECTED]>
MIME-version: 1.0
Content-type: TEXT/PLAIN
Content-transfer-encoding: 8BIT

Thanks,

I'll set up an <error-page> element. I would like all reported errors to be
caught though, but it seems that the <error-page> element requires an
<error-code> element as well.

Does this mean that I have to add an <error-page> element for every
<error-code> I want to catch, or is there a way to tell teh container to
route every error to an error page ?

Best Regards
Eirik

"David Graham" <[EMAIL PROTECTED]> skrev i melding
news:[EMAIL PROTECTED]
> The Struts exception handling mechanism only handles exceptions thrown
from
> Action.execute() methods.  Your JSP is probably throwing an exception so
you
> need to setup <error-page> elements in web.xml to point to a friendlier
> error page.
>
> David
>
>
> >Hi.
> >
> >I've followed "everyone"s advice and written a custom Exception handler.
> >The
> >exceptionhandler is set up in struts-config to catch all exceptions :
> >
> ><!-- Global Exceptions -->
> >
> ><global-exceptions>
> >
> ><exception
> >
> >handler="mypackage.strutsextensions.CustomizedExceptionHandler"
> >
> >key="global.error.message"
> >
> >scope="request"
> >
> >type="java.lang.Exception"/>
> >
> ></global-exceptions>
> >
> >This works great, but my problem is that sometimes there occures a
> >SerlvetException which is just presented on screen and is not caught by
my
> >CustomizedExceptionHandler. I believe that this is because the
> >ServletException is thrown by the container ?? Anyhow, I would like to
> >catch
> >these exceptions as well, and preferably route them to my custom Error
> >handler.
> >
> >Does anyone have some advice on how to handle ServletExceptions to give
the
> >user better information ?
> >
> >Best Regards
> >
> >Eirik Kjølsrud, Norway
> >
> >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
> _________________________________________________________________
> Add photos to your e-mail with MSN 8. Get 2 months FREE*.
> http://join.msn.com/?page=features/featuredemail



Content-type: message/rfc822

Date: Fri, 06 Jun 2003 15:21:42 +0530
From: Navjot Singh <[EMAIL PROTECTED]>
Subject: RE: question about struts
To: Struts Users Mailing List <[EMAIL PROTECTED]>,
 [EMAIL PROTECTED]
Message-id: <[EMAIL PROTECTED]>
MIME-version: 1.0
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 7BIT


won't it be necessary to write 1 plugin tag in 
every module specific config file?

where as initialization servlet is once done. PERIOD.

-navjot singh

|-----Original Message-----
|From: Andrew Hill [mailto:[EMAIL PROTECTED]
|Sent: Friday, June 06, 2003 12:31 PM
|To: Struts Users Mailing List
|Subject: RE: question about struts
|
|
|The differences are not much - both are probably equally usuable in this
|case.
|
|The advantages to using the struts plugin are that it gives you access to
|struts configuration information, and that you can control the order in
|which your plugins are initialised from struts-config.
|
|-----Original Message-----
|From: FrenzyGNX [mailto:[EMAIL PROTECTED]
|Sent: Friday, 6 June 2003 14:52
|To: Struts Users Mailing List; [EMAIL PROTECTED]
|Subject: RE: question about struts
|
|
|I use an initialization servlet to establish db and
|EJB server connections. How does it compare to PlugIn
|approach?
|
|Thanks.
|
| --- Andrew Hill <[EMAIL PROTECTED]>
|wrote: > The ActionServlet has a reference to the
|servlet
|> context which may be
|> retrieved using:
|> servlet.getServletContext()
|> Using the servlet reference passed to your plugins
|> init() method.
|>
|> Your plugin would initialise those objects you want
|> stored in the servlet
|> context, and then store them there. The plugin
|> itself doesnt need to be
|> stored as its job is just initialisation.
|>
|>
|> -----Original Message-----
|> From: [EMAIL PROTECTED]
|> [mailto:[EMAIL PROTECTED]
|> Sent: Friday, 6 June 2003 14:18
|> To: [EMAIL PROTECTED]
|> Cc: [EMAIL PROTECTED]
|> Subject: RE: question about struts
|>
|>
|> Hi David,
|>      thanx 4 the suggestion...actually i was thinking on
|> either use a
|> plugin or extending action servlete.
|> but i m left out with one issue: where actually do i
|> have to write the code
|> for storing the plugin in the servlet context?
|> struts docs mention
|> 'The PlugIn interface extends Action and so that
|> applications can easily
|> hook into the ActionServlet lifecycle.'
|> and
|> 'At runtime, any resource setup by init would be
|> accessed by Actions or
|> business tier classes'
|>
|> but how?
|>
|> all the searchs that i have done shows how to
|> configure plugins,...not how
|> to use..
|>
|> can anyone help?
|>
|> thanx and regards
|>      marco
|>
|>
|>
|>
|>
|> > -----Original Message-----
|> > From: ext David Graham
|> [mailto:[EMAIL PROTECTED]
|> > Sent: 05 June, 2003 17:28
|> > To: [EMAIL PROTECTED]
|> > Subject: Re: question about struts
|> >
|> >
|> > You can use a Struts PlugIn to initialize your
|> components and
|> > store them in
|> > the ServletContext.
|> >
|> > David
|> >
|> > >hi all,
|> > >  i have been working with JSP model 2 for few
|> years, and
|> > now i want to move
|> > >to struts.
|> > >i am starting to get acquainted with it, and i
|> need help to
|> > face this
|> > >situation.
|> > >in my mvc, i am using 2 components, one to
|> connect to R3 and
|> > the other for
|> > >connecting to DB.
|> > >the lifecycle of those components is the same as
|> my servlet,
|> > since those
|> > >components are not
|> > >user/session/request specific.
|> > >
|> > >in reading docs about struts, i could not figure
|> out where
|> > to put those
|> > >components in the
|> > >struts framework. of course, i can put them in
|> > ActionServlet, but this will
|> > >require me to modify the
|> > >code of the ActionServlet.
|> > >
|> > >is there any other way to do that other than
|> modifying the code of
|> > >ActionServlet?
|> > >
|> > >hope someone can help...
|> > >
|> > >thanx in advance and regards
|> > >  marco
|> > >
|> >
|>
|>---------------------------------------------------------------------
|> > >To unsubscribe, e-mail:
|> [EMAIL PROTECTED]
|> > >For additional commands, e-mail:
|> [EMAIL PROTECTED]
|> > >
|> >
|> >
|>
|_________________________________________________________________
|> > MSN 8 helps eliminate e-mail viruses. Get 2 months
|> FREE*.
|> > http://join.msn.com/?page=features/virus
|> >
|> >
|> >
|>
|---------------------------------------------------------------------
|> > To unsubscribe, e-mail:
|> [EMAIL PROTECTED]
|> > For additional commands, e-mail:
|> [EMAIL PROTECTED]
|> >
|> >
|>
|>
|---------------------------------------------------------------------
|> To unsubscribe, e-mail:
|> [EMAIL PROTECTED]
|> For additional commands, e-mail:
|> [EMAIL PROTECTED]
|>
|>
|>
|---------------------------------------------------------------------
|> To unsubscribe, e-mail:
|> [EMAIL PROTECTED]
|> For additional commands, e-mail:
|> [EMAIL PROTECTED]
|>
|
|__________________________________________________
|Do You Yahoo!?
|Send free SMS from your PC!
|http://sg.sms.yahoo.com
|
|---------------------------------------------------------------------
|To unsubscribe, e-mail: [EMAIL PROTECTED]
|For additional commands, e-mail: [EMAIL PROTECTED]
|
|
|---------------------------------------------------------------------
|To unsubscribe, e-mail: [EMAIL PROTECTED]
|For additional commands, e-mail: [EMAIL PROTECTED]
|
|
Content-type: message/rfc822

Date: Fri, 06 Jun 2003 18:20:58 +0800
From: Andrew Hill <[EMAIL PROTECTED]>
Subject: RE: question about struts
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Reply-to: [EMAIL PROTECTED]
Message-id: <[EMAIL PROTECTED]>
MIME-version: 1.0
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 7BIT

Dont know if that is the case or not , sorry.
(Ive not used modules)

-----Original Message-----
From: Navjot Singh [mailto:[EMAIL PROTECTED]
Sent: Friday, 6 June 2003 17:52
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: RE: question about struts



won't it be necessary to write 1 plugin tag in 
every module specific config file?

where as initialization servlet is once done. PERIOD.

-navjot singh

|-----Original Message-----
|From: Andrew Hill [mailto:[EMAIL PROTECTED]
|Sent: Friday, June 06, 2003 12:31 PM
|To: Struts Users Mailing List
|Subject: RE: question about struts
|
|
|The differences are not much - both are probably equally usuable in this
|case.
|
|The advantages to using the struts plugin are that it gives you access to
|struts configuration information, and that you can control the order in
|which your plugins are initialised from struts-config.
|
|-----Original Message-----
|From: FrenzyGNX [mailto:[EMAIL PROTECTED]
|Sent: Friday, 6 June 2003 14:52
|To: Struts Users Mailing List; [EMAIL PROTECTED]
|Subject: RE: question about struts
|
|
|I use an initialization servlet to establish db and
|EJB server connections. How does it compare to PlugIn
|approach?
|
|Thanks.
|
| --- Andrew Hill <[EMAIL PROTECTED]>
|wrote: > The ActionServlet has a reference to the
|servlet
|> context which may be
|> retrieved using:
|> servlet.getServletContext()
|> Using the servlet reference passed to your plugins
|> init() method.
|>
|> Your plugin would initialise those objects you want
|> stored in the servlet
|> context, and then store them there. The plugin
|> itself doesnt need to be
|> stored as its job is just initialisation.
|>
|>
|> -----Original Message-----
|> From: [EMAIL PROTECTED]
|> [mailto:[EMAIL PROTECTED]
|> Sent: Friday, 6 June 2003 14:18
|> To: [EMAIL PROTECTED]
|> Cc: [EMAIL PROTECTED]
|> Subject: RE: question about struts
|>
|>
|> Hi David,
|>      thanx 4 the suggestion...actually i was thinking on
|> either use a
|> plugin or extending action servlete.
|> but i m left out with one issue: where actually do i
|> have to write the code
|> for storing the plugin in the servlet context?
|> struts docs mention
|> 'The PlugIn interface extends Action and so that
|> applications can easily
|> hook into the ActionServlet lifecycle.'
|> and
|> 'At runtime, any resource setup by init would be
|> accessed by Actions or
|> business tier classes'
|>
|> but how?
|>
|> all the searchs that i have done shows how to
|> configure plugins,...not how
|> to use..
|>
|> can anyone help?
|>
|> thanx and regards
|>      marco
|>
|>
|>
|>
|>
|> > -----Original Message-----
|> > From: ext David Graham
|> [mailto:[EMAIL PROTECTED]
|> > Sent: 05 June, 2003 17:28
|> > To: [EMAIL PROTECTED]
|> > Subject: Re: question about struts
|> >
|> >
|> > You can use a Struts PlugIn to initialize your
|> components and
|> > store them in
|> > the ServletContext.
|> >
|> > David
|> >
|> > >hi all,
|> > >  i have been working with JSP model 2 for few
|> years, and
|> > now i want to move
|> > >to struts.
|> > >i am starting to get acquainted with it, and i
|> need help to
|> > face this
|> > >situation.
|> > >in my mvc, i am using 2 components, one to
|> connect to R3 and
|> > the other for
|> > >connecting to DB.
|> > >the lifecycle of those components is the same as
|> my servlet,
|> > since those
|> > >components are not
|> > >user/session/request specific.
|> > >
|> > >in reading docs about struts, i could not figure
|> out where
|> > to put those
|> > >components in the
|> > >struts framework. of course, i can put them in
|> > ActionServlet, but this will
|> > >require me to modify the
|> > >code of the ActionServlet.
|> > >
|> > >is there any other way to do that other than
|> modifying the code of
|> > >ActionServlet?
|> > >
|> > >hope someone can help...
|> > >
|> > >thanx in advance and regards
|> > >  marco
|> > >
|> >
|>
|>---------------------------------------------------------------------
|> > >To unsubscribe, e-mail:
|> [EMAIL PROTECTED]
|> > >For additional commands, e-mail:
|> [EMAIL PROTECTED]
|> > >
|> >
|> >
|>
|_________________________________________________________________
|> > MSN 8 helps eliminate e-mail viruses. Get 2 months
|> FREE*.
|> > http://join.msn.com/?page=features/virus
|> >
|> >
|> >
|>
|---------------------------------------------------------------------
|> > To unsubscribe, e-mail:
|> [EMAIL PROTECTED]
|> > For additional commands, e-mail:
|> [EMAIL PROTECTED]
|> >
|> >
|>
|>
|---------------------------------------------------------------------
|> To unsubscribe, e-mail:
|> [EMAIL PROTECTED]
|> For additional commands, e-mail:
|> [EMAIL PROTECTED]
|>
|>
|>
|---------------------------------------------------------------------
|> To unsubscribe, e-mail:
|> [EMAIL PROTECTED]
|> For additional commands, e-mail:
|> [EMAIL PROTECTED]
|>
|
|__________________________________________________
|Do You Yahoo!?
|Send free SMS from your PC!
|http://sg.sms.yahoo.com
|
|---------------------------------------------------------------------
|To unsubscribe, e-mail: [EMAIL PROTECTED]
|For additional commands, e-mail: [EMAIL PROTECTED]
|
|
|---------------------------------------------------------------------
|To unsubscribe, e-mail: [EMAIL PROTECTED]
|For additional commands, e-mail: [EMAIL PROTECTED]
|
|

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to