Re: struts menu

2007-07-15 Thread Antonio Petrelli
2007/7/15, Prashant Desai <[EMAIL PROTECTED]>: isn't there a simple menu that was present in struts 1.0 ? Present, no, and it was never present in Struts 1.x (except of Tiles menu's [in 1.1 version], but I don't think it is what you want). You may want to take a look to "struts-menu" at Sour

Preventing OGNL evaluations of user input (was Re: Struts 2 performance)

2007-07-15 Thread Don Brown
If your application is displaying user input without checking for malicious code, you have a problem whether Struts 2 evaluations ognl expressions or not.This is how the majority of Cross-Site Scripting (XSS) [1] attacks work, tricking the user into visiting a page that the attacker has placed

Re: Does Tiles Layout page can have struts form components

2007-07-15 Thread Antonio Petrelli
2007/7/16, Arunkumar Balasubramanian <[EMAIL PROTECTED]>: Hi Is it possible to have resuable What do you exactly mean with "reusable"? If you mean: the form tags stay in the layout, while its fields stay in inner attributes, then I suppose that the answer is "no", because (correct me if I a

RE: Struts 2 performance

2007-07-15 Thread Sullivan, David
Tried this in a webwork app which is internal and it has the same problem. Shut down the server. David Sullivan - [EMAIL PROTECTED] Senior Java Developer ITSA - Insolvency and Trustee Services Australia (w) 6270 3436 (m) 0402 309 488 -Original Message- From: Toni Lyytikäinen [mailto:[E

Struts 2.0 not working in IE

2007-07-15 Thread honey0303
I have website that uses Struts 2.0 with AJAX tags..the website is displaying/working fine in Mozilla Firefox but when i tried to view it in Internet Explorer it displays a blank page..I dont know how to solve it..I need to make my application browser independent..is there difference in coding wit

Re: Struts 2 performance

2007-07-15 Thread Toni Lyytikäinen
I tried this too, and I can confirm that it does actually shut down the server. The return value of the method that the property tag references is evaluated for some reason, which makes the application vulnerable to OGNL injection attacks... this is a huge security problem. On 7/16/07, Aram Mkhit

Re: Struts 2 performance

2007-07-15 Thread Aram Mkhitaryan
Maybe it's new just for me, but I found out one of the main reasons of the problem try to submit "[EMAIL PROTECTED]@exit(0)}" in the viewable property for example you submit a text, and it is displayed by s2's tags try and have fun ... this expression works and my server shuts down! the proble

Does Tiles Layout page can have struts form components

2007-07-15 Thread Arunkumar Balasubramanian
Hi I am working on a project which uses struts tiles on it. I was gathering and creating a layout.jsp page where I was trying to create a reusable on layout.jsp. Then I used layout.jsp as a layout for other pages. When I do this the http://liveearth.msn.com

[S2] Disable fileupload interceptor

2007-07-15 Thread Oguz Kologlu
Hi all, I've a S1/S2 mixed application that uses a S1 action to upload files, however S2 keeps getting in the way and ripping out the uploaded data even though it is a S1 action being called. Is there a way to disable the file upload interceptor so the S1 action can handle the upload? Or

Re: Struts 2 Spring IOC problem

2007-07-15 Thread alex xander
i don't put that code in struts.xml, i put in application-context.xml my problem is, i need to destroy my bean, but in spring reference that i read, the prototype bean is cannot use destroy-method="destroy" syntax to destroy it. can anyone give me some solution. thx chris for your answer Chris P

action name in jsp

2007-07-15 Thread Prashant Desai
I am building my own custom menu in my struts 1.3 application.. suppose i am on menuitem1, then i show menuitem1 in with white bkground. if i change to menuitem2, then menuitem1 get body color and menuitem2 gets white bkground.. for facilitating this, i need to find which menuitem is clicked on

RE: [S2] How to obtain current action name from JSP?

2007-07-15 Thread Prashant Desai
I need the same information for the same purpose.. prashant > Date: Tue, 10 Jul 2007 18:16:30 -0300> From: [EMAIL PROTECTED]> To: > user@struts.apache.org> Subject: Re: [S2] How to obtain current action name > from JSP?> > Thanks Musachy, I'll give it a try.> > I want to create my > menuing

struts menu

2007-07-15 Thread Prashant Desai
isn't there a simple menu that was present in struts 1.0 ? _ Local listings, incredible imagery, and driving directions - all in one place! Find it! http://maps.live.com/?wip=69&FORM=MGAC01

RE: Struts 2 Theme that doesn't generate extra HTML

2007-07-15 Thread Néstor Boscán
Chris Thanks -Mensaje original- De: Chris Pratt [mailto:[EMAIL PROTECTED] Enviado el: Domingo, 15 de Julio de 2007 03:09 p.m. Para: Struts Users Mailing List Asunto: Re: Struts 2 Theme that doesn't generate extra HTML Simple seems to be the closest, but unfortunately it is still run thr

Re: Struts 2 Theme that doesn't generate extra HTML

2007-07-15 Thread Chris Pratt
Simple seems to be the closest, but unfortunately it is still run through the Freemarker templates, so it has the same overhead that the other themes have. You can, change the simple theme to remove those & the same way any other theme can be modified. But I'd love to find a way to use Struts

Struts 2 Theme that doesn't generate extra HTML

2007-07-15 Thread Néstor Boscán
Hi Is there a Struts 2 Theme that doesn't generate extra HTML for the tags. For example XHTML generates a lot of , and and Simple will generate , errors for Field Errors. Also in Simple Theme I can't get to generate the JavaScript code for Client Side Validation. Regards, Néstor Boscán

Struts 2 Theme that doesn't generate extra HTML

2007-07-15 Thread Néstor Boscán
Hi Is there a Struts 2 Theme that doesn't generate extra HTML for the tags. For example XHTML generates a lot of , and and Simple will generate , errors for Field Errors. Also in Simple Theme I can't get to generate the JavaScript code for Client Side Validation. Regards, Néstor Boscán

RV: Struts 2 Theme that doesn't generate extra HTML

2007-07-15 Thread Néstor Boscán
Hi Is there a Struts 2 Theme that doesn't generate extra HTML for the tags. For example XHTML generates a lot of , and and Simple will generate , errors for Field Errors. Also in Simple Theme I can't get to generate the JavaScript code for Client Side Validation. Regards, Néstor Boscán

Struts 2 Theme that doesn't generate extra HTML

2007-07-15 Thread Néstor Boscán
Hi Is there a Struts 2 Theme that doesn't generate extra HTML for the tags. For example XHTML generates a lot of , and and Simple will generate , errors for Field Errors. Also in Simple Theme I can't get to generate the JavaScript code for Client Side Validation. Regards, Néstor Boscán

Re: Struts 2 and Tomcat 5.0.27 filter start error

2007-07-15 Thread Phillip Blevins
I'm using the blank struts app from 2.0.8 release. It works fine on tomcat 5.5 just not 5.0.27. Were you using a 5.0 release of tomcat? And were you able to get it to work? On 7/15/07, yitzle <[EMAIL PROTECTED]> wrote: Not sure how helpful this is, but I know I got the same message when I modifi

Re: iterator question

2007-07-15 Thread Dave Newton
--- Ryan <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > > > > > > > > Problem is the listoflists property is accessed each > time an element is accessed (

AW: AW: Struts 2 requires input result on failed type conversion

2007-07-15 Thread Martin Simons
If it isn't easily possible to change the conversion behaviour, is it at least possible to keep Struts from redirecting to the "input" result? This would probably cause the relevant fields to stay 0 or null anyways and would solve my problem more or less. -Ursprüngliche Nachricht- Von: I

Re: iterator question

2007-07-15 Thread Manos Batsis
Ryan wrote: Hello All, I'm trying to create a table that has different classes for each column by iterating across a list of lists. Problem is the listoflists property is accessed each time an e

iterator question

2007-07-15 Thread Ryan
Hello All, I'm trying to create a table that has different classes for each column by iterating across a list of lists. Problem is the listoflists property is accessed each time an element is acc

validation problem with javascript method validateForm_Login() not available

2007-07-15 Thread vani patange
Hi iam newbie to struts2 i handled validation in struts 1.3 but in struts2 even i follow validation instruction iam getting javascript error saying "validateForm_Login();" method not available. iam validating one form of Login.jsp and my code goes like this Login.jsp