Anyone here use struts-layout tags

2005-06-25 Thread Yan Hu
Hi there: I need to print a table with dynamic colum numbers. I know how to print the table using jstl mixed with some html code. But it is ugly.I used struts-layout tags to print tables with fixed colums and dynamic rows. Any suggestions for an elegant way to do that? Thank you very much.

RE: Form Security

2005-06-25 Thread Mark Benussi
Ramadi, I can see your worries in the first scenario, in that if they type the URL with the username password parameters they may submit these credentials over http which could be intercepted. My two cents would be, if your user wishes to do this you can do nothing about the request being sent

Re: Strange error-page behavior

2005-06-25 Thread Martin Gainty
Neil- Best that I can surmise is setBufferSize(int size) method in the ServletResponse interface Anyone else? Martin- - Original Message - From: Neil Aggarwal [EMAIL PROTECTED] To: 'Struts Users Mailing List' user@struts.apache.org Sent: Friday, June 24, 2005 9:09 PM Subject: RE:

Making cleaning after forwarding to page

2005-06-25 Thread Ashraf Fouad
Dears, I want to know where to customize in struts 1.2.7 inorder to make some cleanup after the request is frowarded to the jsp page, something like servlet filter. As I already have RequestProcessor.processPreProcess to handle an any request before forwarding to action class, I need some way

RE: Form Security

2005-06-25 Thread Ramadi Pearse
Mark, Thank you for responding. My focus with these questions is to prevent any unexpected behavior in the application. It is sometimes amazing how hackers are able to break an application! :) So, with regards to #2, the problem is really not about roles. These actions are already secure, but

RE: Making cleaning after forwarding to page

2005-06-25 Thread Martin Gainty
what are you 'cleaning' up? session data? entity data? context data? Martin From: Ashraf Fouad [EMAIL PROTECTED] Reply-To: Ashraf Fouad [EMAIL PROTECTED] To: user@struts.apache.org Subject: Making cleaning after forwarding to page Date: Sat, 25 Jun 2005 16:55:30 +0300 MIME-Version: 1.0

Re: Making cleaning after forwarding to page

2005-06-25 Thread Ashraf Fouad
I'm openning a hibernate session for each request, so I want to close this after rendering data in JSP, as usually the objects are lazy loaded so if I closed the hibernate session, it will give execptions in page, so I need to keep it alive with me till the end of data rendering then close this

RE: Form Security

2005-06-25 Thread Mark Benussi
The only way you have of knowing that a form submission did not originate from a flow (Action, Form, Action) is to implement my suggestion of Tokens and validation within the Action. Actually it is probably not the only way but one I am recommending you think about it. I am very impressed with

Re: [FRIDAY] uh oh

2005-06-25 Thread Simon Chappell
On 6/24/05, Dave Newton [EMAIL PROTECTED] wrote: Simon Chappell wrote: Hey, this isn't a joke is it? I would love to see a Lisp version of Struts. I'm trying to learn Lisp as a background process, so a working example of something I was already familiar with would be appreciated. Fished

use boolean field as property

2005-06-25 Thread Tony Smith
I have a class public class mybean{ boolean isGood; public boolean getIsGood(){ return isGood; } public void setIsGood(boolean good){ this.isGood = good; } } Suppose I have a list of mybean, can I do this: logic:iterate id=obj name=mylist

Re: Making cleaning after forwarding to page

2005-06-25 Thread Yan Hu
If a bean is in the request scope after forwarding to a JSP, the bean will be out of scope after the JSP is filled with the data from that bean. Why do you need to clean it up yourself? --- Ashraf Fouad [EMAIL PROTECTED] wrote: Dears, I want to know where to customize in struts 1.2.7

Re: Form-Action combo

2005-06-25 Thread Craig McClanahan
On 6/23/05, Michael Jouravlev [EMAIL PROTECTED] wrote: WebWork actions are somewhat like Struts Action and ActionForm combined: they can transfer request parameters and can be stateful, like ActionForm, but they also can process input events, like Action. You'll also see this pattern

Re: Strange error-page behavior

2005-06-25 Thread Laurie Harper
I don't know of a way of setting the response buffer size globally either, but setting it on a per-page basis is probably a good idea anyway; that way you can set it larger for heavier pages without incurring the overhead of a larger buffer where it's not needed. L. Martin Gainty wrote:

configure DTD version to use for validation of struts-config

2005-06-25 Thread nicole.wollgast
Hi, I am using struts and have a struts-config.xml that is valid against struts-config_1_1.dtd (I checked it with xmlstarlet, that it is definitely valid). Now when starting my application I get the error: Parse Error at line 91 column 25: Element type global-exceptions must be declared.

Re: use boolean field as property

2005-06-25 Thread Lucas Bern
Hia Tony, it seems that your bean is not what his ckass name says to be I mean, mybean, is not a JavaBean because it does not implement the getter for isGood attribute in a correct way... it should be public class mybean{ boolean isGood; public boolean isIsGood(){ return isGood; } public

Re: configure DTD version to use for validation of struts-config

2005-06-25 Thread Craig McClanahan
Nicole, Could you post the entire DOCTYPE declaration you are using? That will help us give you an idea of what is actually going on here. Craig On 6/25/05, nicole.wollgast [EMAIL PROTECTED] wrote: Hi, I am using struts and have a struts-config.xml that is valid against

Re: I18N by pages

2005-06-25 Thread Van
On 6/24/05, Yaroslav Novytskyy [EMAIL PROTECTED] wrote: Wow! meanwhile I've had the same idea. Posted simultaniosly :) But I doubt, that this solution will be compatible with tiles :( What do you think about that? Don't use tiles. :-) I'm serious. I used tiles for several years quite

Re: configure DTD version to use for validation of struts-config

2005-06-25 Thread Aladin Alaily
Hi Nicole, You have a typo. You don't want global-exceptionS but rather global-exception. Remove the S and everything should work. Aladin nicole.wollgast wrote: Hi, I am using struts and have a struts-config.xml that is valid against struts-config_1_1.dtd (I checked it with xmlstarlet,

Anyone going to JavaOne!

2005-06-25 Thread Richard Yee
Anyone on the list going to JavaOne? -Richard - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Anyone going to JavaOne!

2005-06-25 Thread Craig McClanahan
Not only going, but speaking: * TS-6911 What's New With Sun Java Studio Creator? (Tuesday, 12:15-1:15, Esplanade 304) * TS-7397 Shale: The Next Struts? (Wednesday, 12:15-1:15, Esplanade 307) Craig McClanahan On 6/25/05, Richard Yee [EMAIL PROTECTED] wrote: Anyone on the list going to

Re: [OT] Anyone going to JavaOne!

2005-06-25 Thread Rahul Akolkar
On 6/25/05, Craig McClanahan [EMAIL PROTECTED] wrote: Not only going, but speaking: * TS-6911 What's New With Sun Java Studio Creator? (Tuesday, 12:15-1:15, Esplanade 304) * TS-7397 Shale: The Next Struts? (Wednesday, 12:15-1:15, Esplanade 307) snip/ Marked OT. Indeed, I see lot of

can't remove form bean

2005-06-25 Thread Rivka Shisman
Hi all I have a very annoying problem with removing a form bean: I'm working with WSAD v6.0 (RAD v6.0) and struts v1.2.4 When creating a new Item I call EditItemAction (mehod create) The ItemForm is created and then passed to editItem.jsp From there it arrives to SaveItemAction

Re: running tomcat on port 80

2005-06-25 Thread Arash Bijanzadeh
I think there soulh be a module for apache to handle this situation. On 6/24/05, Mohd. Jeffry [EMAIL PROTECTED] wrote: On 6/22/05, Tony Smith [EMAIL PROTECTED] wrote: How can I set the permission? It is my box, viturally I can do whatever I want. Thanks, If you don't care about

Re: [OT] Anyone going to JavaOne!

2005-06-25 Thread Craig McClanahan
On 6/25/05, Rahul Akolkar [EMAIL PROTECTED] wrote: On 6/25/05, Craig McClanahan [EMAIL PROTECTED] wrote: Not only going, but speaking: * TS-6911 What's New With Sun Java Studio Creator? (Tuesday, 12:15-1:15, Esplanade 304) * TS-7397 Shale: The Next Struts? (Wednesday, 12:15-1:15,

Re: can't remove form bean

2005-06-25 Thread Wendy Smoak
From: Rivka Shisman [EMAIL PROTECTED] When creating a new Item I call EditItemAction (mehod create) The ItemForm is created and then passed to editItem.jsp From there it arrives to SaveItemAction (method create) okay so far and if the item was successfully saved it is returned with a