Using multiple struts-config.xml- ActionErrors problem

2004-05-06 Thread Normanjaisingh pauldurai
Hi, I'm using struts-modular approach. i.e. in web.xml I've definitions like this - config /WEB-INF/struts-config.xml config/business /WEB-INF/struts-config-smile.xml - But when ActionErrors object is populated in "config/business" mo

RE: close pop-up window

2004-05-06 Thread brati . sankarghosh
Yes. I am hoping that . We have deployed in weblogic 7.x and the problem has not shown up yet. Thanks. Brati Sankar Ghosh Tata Consultancy Services Mailto: [EMAIL PROTECTED] Website: http://www.tcs.com [EMAIL PROTECTED] 05/06/2004 12:59 PM Please respond to "Struts Users Mailing List" <

Re: html:error in tiles

2004-05-06 Thread Curtis Taylor
Hi Dave, Tiles seem(s) to have particularly needy scoping issues. Try setting attributes for the particular Tile you're inserting in your .jsp, then do a You may also want to consider using messages as opposed to errors, AFAIK, errors are or will be deprecated. HTH (& I'm not too off-base),

Re: Extending html tag: how to do it?

2004-05-06 Thread Craig McClanahan
Simone - Dev wrote: Hello all, I'm in a team of open source developer for an HTML editing control to be included in web pages to enable the posting of rich formatted text using a visual approach (instead of typing HTML in a textarea) The project is http://www.fredck.com/fckeditor/ and u can see a

RE: Response to "error in setting up sslext"

2004-05-06 Thread Marcella Turner
I managed to get a more complete stack trace of the error: [Servlet Error]-[action]: java.lang.ClassCastException: org.apache.struts.tiles.TilesUtilImpl at org.apache.struts.tiles.TilesRequestProcessor.initDefinitionsMapping(TilesRequestProcessor.java:126) at org.apache.struts.tiles.TilesRequ

Extending html tag: how to do it?

2004-05-06 Thread Simone - Dev
Hello all, I'm in a team of open source developer for an HTML editing control to be included in web pages to enable the posting of rich formatted text using a visual approach (instead of typing HTML in a textarea) The project is http://www.fredck.com/fckeditor/ and u can see a working demo (works f

Fw: struts.jar and struts source code

2004-05-06 Thread Niall Pemberton
Larry, Its better you post questions to the user list rather than directly to me - you will get more eyes looking at your problem. Niall - Original Message - From: "Zhang, Larry (L.)" <[EMAIL PROTECTED]> To: "Niall Pemberton" <[EMAIL PROTECTED]> Sent: Thursday, May 06, 2004 10:35 PM Subj

RE: [ANNOUNCE] Struts Console v4.6 - GUI tool

2004-05-06 Thread Joe Hertz
Ecch. Sorry about that. I mean this to go to James and munged my to: field > -Original Message- > From: Joe Hertz [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 06, 2004 6:30 PM > To: 'Struts Users Mailing List' > Subject: RE: [ANNOUNCE] Struts Console v4.6 - GUI tool > > > My JBuilder

RE: [ANNOUNCE] Struts Console v4.6 - GUI tool

2004-05-06 Thread Joe Hertz
My JBuilder 8 IDE is hanging on startup with Struts Console 4.6. I remove the jar file from lib/ext and it launches fine. > -Original Message- > From: James Holmes [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 05, 2004 3:19 PM > To: 'Struts Users Mailing List' > Subject: [ANNOUNCE] Str

multiple validators and ActionErrors

2004-05-06 Thread Sifuentes, Ben
I'm using multiple validators for my form. I noticed by chance that each validator is overwriting the ActionErrors for the previous validator that was run. Can someone tell me why this is happening and how to solve the problem? Any help with the problem will be greatly appreciated. Below is the

html:error in tiles

2004-05-06 Thread Dave Hallam
Hi, I've got a page which uses tiles to load another jsp as part of the page body. In the tiled jsp there is a form that I validate. If I create ActionErrors in the form validation, I can render the correctly in the main jsp page but nothing appears in the tiled jsp (which is where I actually w

RE: HTTPUNIT vs HTMLUNIT]

2004-05-06 Thread Chappell, Simon P
My pragmatic answer is just use something, and just actually test. Which tool you use is almost a technical detail. I used HttpUnit on my current project, but it's not perfect. It does enough of what I want, that I was able to code up a couple of helper objects and get most of the rest of my ne

Re: indexed="true" is only valid within an enclosing iterate tag

2004-05-06 Thread Niall Pemberton
No worries. Your stuff's a bit confusing. On your you have an action named "interest" and you don't specify a "name" attribute on your . That means the checkbox tag is going to try and get the form associated with your "interest" action (if it doesn't exist, it'll try and create it) and then try t

Re: Some further newbie woes

2004-05-06 Thread None None
I truly do hate myself sometimes... I was just about to post that I had solved the problem, when I saw your message (and someone else that caught it as well). 100% correct, it was the wrong method to be calling. getPath() was exactly right. I dawned on me that I have a FILE object, and what I

Re: Some further newbie woes

2004-05-06 Thread Jason Miller
Instead of using the "name" property, try the "path" or "absolutePath" properties. None None wrote: Ok, I've banged my head enough in the past two hours... I'm working on a file manager Struts app to get myself acquainted with Struts. The first logical step is a list of drives. Here's what I

Re: Some further newbie woes

2004-05-06 Thread Niall Pemberton
Its all looks good to me except that File.getName() is returning an empty String - instead of using "name" in your try "path" and I think you'll see what you're expecting: Niall - Original Message - From: "None None" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thur

RE: Some further newbie woes

2004-05-06 Thread None None
Unfortunately no, it's just 17 times (that's the correct # of drives on my system), nothing in the cells where the output of the bean:write should be. That DID catch my first mistake, which was forgetting the struts-bean taglib import, but that's old news at this point :) This is even more bi

[OT: HTTPUNIT vs HTMLUNIT]

2004-05-06 Thread Mike Duffy
Does any one have a recommendation on HTTPUnit vs HTMLUnit? http://httpunit.sourceforge.net http://htmlunit.sourceforge.net Thx. Mike __ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.

Re: indexed="true" is only valid within an enclosing iterate tag

2004-05-06 Thread Paul Barry
Sorry for replying directly to you Niall. I meant to reply to the whole list. I think when you reply to a message you are replying to the user list and me individually, because I get two copies of each message that you post. The reply-to on one of them it set to the struts user list, and the

RE: Some further newbie woes

2004-05-06 Thread Geeta Ramani
Any joy looking at the page source maybe..? > -Original Message- > From: None None [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 06, 2004 3:43 PM > To: [EMAIL PROTECTED] > Subject: RE: Some further newbie woes > > > I'll stick with None None until I get this figured out :) > > That di

RE: Some further newbie woes

2004-05-06 Thread None None
I'll stick with None None until I get this figured out :) That didn't seem to help either... I actually thought of that previously, I figured at some point there has to be some code casting an Object to a File object, otherwise certainly the getName() method call is going to fail. I tried agai

RE: Some further newbie woes

2004-05-06 Thread None None
Nope, that didn't seem to make any difference. I get the same result, which is no output from the tag. From: "Solley, Tim" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: RE: Some further newbie woes Date

Re: Struts failing under load ?

2004-05-06 Thread Niall Pemberton
Hey you're welcome and thanks for the info, its good to know whats out there and what people are using. Niall - Original Message - From: "Tom Vekemans" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, May 06, 2004 8:02 PM Subject: Re: Struts failing

RE: Some further newbie woes

2004-05-06 Thread Geeta Ramani
None None: (or Someone Someone..;)) In fact maybe just adding the "type" attribute to your orignal iterate will work I think: Regards, Geeta > -Original Message- > From: Solley, Tim [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 06, 2004 3:31 PM > To: Struts Users Mailing List

RE: Some further newbie woes

2004-05-06 Thread Solley, Tim
Hi None None... So in your JSP you are iterating over an ArrayList of File objects, trying to get at a property inside the File objects. To get at nested objects, you use the Struts nested tag library. Try replacing your with the equivalent from the nested library: (below off the top of my h

Some further newbie woes

2004-05-06 Thread None None
Ok, I've banged my head enough in the past two hours... I'm working on a file manager Struts app to get myself acquainted with Struts. The first logical step is a list of drives. Here's what I've done... I have created an index.jsp that does a quick forward to main.jsp (just like the blank s

Re: Struts failing under load ?

2004-05-06 Thread Tom Vekemans
Niall, Thanks for your questions, they actually helped me to solve the problem. I checked out the manifest of the struts.jar we were using, it *was* 1.1 however after downloading struts once again from the jakarta site I noticed differences in the size of the jar files (???). SO I now use the jars

Re: JBoss two Web Apllications Actions overlapping

2004-05-06 Thread Tom Vekemans
Hi, This behaviour is specific for JBoss and it is intentional. Indeed, JBoss uses one (master) classloader for all applications. You can specify however that you want JBoss tu use *another* classloader on a per-ear basis. For this, you must write a file called jboss-app.xml and put it next to th

Re: indexed="true" is only valid within an enclosing iterate tag

2004-05-06 Thread Niall Pemberton
Well it works fine for me - so I'm at a loss to explain. Maybe you should post the actual jsp code you are using - you said the jsp code looked like this: but the exception you show is for the EL version of the checkbox tag. Also its better if you post to the struts user list rather than

nested beans and validation?

2004-05-06 Thread Simon Pett
Hi I have a subclass of DynaValidatorForm with nested Forms, some in a list others just singular This works ok however I want to sort the validation out. After searching the list the only solution I have found is to add each nested form's validation to the top level form in the valida

Re: Struts failing under load ?

2004-05-06 Thread Josh Cronemeyer
> I only have questions rather than answers... > > I'd been interested to know how you're automated emulation of 100 users > works - could it be that you have two requests operating on the same form > and your form has some kind of nested/mapped/indexed properties in it? Do > the 100 users all ha

Re: struts.jar and struts source code

2004-05-06 Thread Niall Pemberton
org.xml.sax.InputSource isn't a Struts class - all the classes in struts.jar are in packages org.apache.struts Struts requires an XML parser that complies with the JAXP 1.1 Spec of later - I use xerces but any compliant parser should do. Thats where you will find the org.xml.sax.InputSource class.

Re: struts-scaffold and commons-scaffold

2004-05-06 Thread Ted Husted
Yes, those files have been stable since the book was released. All the JARs you need should be there. Speaking of stable, here's an "oldie-but-goodie" that's been running nearly unchanged since its debut in April 2001: http://data.wxxi.org/auction -Ted. On Wed, 05 May 2004 17:56:41 -0500, Pet

RE: Building Wizard navigation using Struts

2004-05-06 Thread Takhar, Sandeep
What about osworkflow? Or does that not work with struts? sandeep -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, May 06, 2004 3:58 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: Building Wizard navigation using Struts have a look at st

Re: Submit with a link

2004-05-06 Thread ganesh g
U can use Michael McGrady <[EMAIL PROTECTED]> wrote:I am a notice in JavaScript. I have wondered in my brief perusal of JavaScript books how you tell which form is the referent of the formindex numbers? At 10:37 AM 5/5/2004, Henrique VIECILI wrote: >you can use javascript to do this job.

Re: Clearing Input fields

2004-05-06 Thread Brian Boyle
Rüdiger, Thanks for your help. That works perfectly! Brian From: "Rüdiger Schulz" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: Re: Clearing Input fields Date: Thu, 6 May 2004 13:38:30 +0200 MIME-Version:

Re: JBoss two Web Apllications Actions overlapping

2004-05-06 Thread Brad Balmer
I believe I had this same issue where JBoss (or Tomcat actually) shares the same classloader for all web applications? Anyway, I fixed this by adding the following to my jboss-service.xml inside the jbossweb-tomcat41.sar\META-INF directory. *false* I added it directly under: true Hope this hel

Re: JBoss two Web Apllications Actions overlapping

2004-05-06 Thread Lucas Gonzalez
Hi, I´m not if this will help, but Jboss 3.2.3 classloader has no hierarchies, so if you have two classes that has the same name ( i.e: main.application.StartApplicationAction) the last class that was deployed will be used for all your apps... This is a problem because you have to be extremely ca

RE: Handle dynamic form (form/iterate)

2004-05-06 Thread Frank L. Bowar
Here is how I've successfully handled input arrays. My HTML form input accepts up to 12 monthly date/value pairs: Date Rated Unit Capacity   Then in the form bean associated with the action, you need indexed getters/setters l

RE: close pop-up window

2004-05-06 Thread nisith . dash
There is a bug with test OC4J container shipped with Jdeveloper ..Solution is prior to opening a pop up from a parent window ,  press cntrl-n to open a new window of the parent and then open the pop up..the session will be retained.. however this problem will not occur when you deploy it to a prod

Re: Dealing with XSS in struts

2004-05-06 Thread jeff mutonho
Basically I'm doing this (in my jsp) <% String mode = request.getParameter("mode"); %> Would , encoding every field/attribute in the form bean , be a viable option? jeff mutonho Craig McClanahan <[EMAIL PROTECTED]> wrote: Van Riper, Mike wrote: >>-Original Message- >>From:

RE: Building Wizard navigation using Struts

2004-05-06 Thread shirishchandra.sakhare
have a look at struts workflow extension... http://www.livinglogic.de/Struts/(the new home at source forge does not ahve all the documentation:-(() It provides support for wizard like flows with much more... Also there are a couple of other approaches. 1:Use a session scoped form and collect dat

Re: Job

2004-05-06 Thread Riyad Kalla
That's OK, we had the same questions ;) Freddy Villalba Arias wrote: Sorry for the spam, everybody. Didn't mean to reply to all of you. Regards, Freddy. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

RE: close pop-up window

2004-05-06 Thread Julia Weaver
You should use: Do not use: http://www.tcs.com > > > > "Jirole, Amar" <[EMAIL PROTECTED]> > 05/06/2004 02:52 AM > > Please respond to > "Struts Users Mailing List" <[EMAIL PROTECTED]> > > > To > 'Struts Users Mailing List' <[EMAIL PROTECTED]> > cc > > Subject > RE: close pop-up window >

RE: struts.jar and struts source code

2004-05-06 Thread Zhang, Larry \(L.\)
Niall, I am not sure if src/share contains all the .java files corresponding to classes in struts.jar. What happens is that I deleted struts.jar and put all the source files under src/share and then compile all the files in WSAD trying to generate all the classes in struts.jar, and I found one

RE: How to forward to an Action in one web app, from the Action ofa different web app

2004-05-06 Thread Frank L. Bowar
Thanks for the prompt, and on point, input. After playing with redirects, I think I'll be able to implement the functionality I desire. -Original Message- From: Craig McClanahan [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 05, 2004 6:46 PM To: Struts Users Mailing List Subject: Re: Ho

indexed property not working

2004-05-06 Thread Rassmann, Natalie D
Hi - I have an arraylist within an arraylist and I am trying to iterate throught it. When I use indexed on the item; it doesn't seem to be indexing the name. Here is a code snippet: When I look at the generated source code I see the following being generated: Start

RE: JSTL 1.1 + HTML-EL Problem

2004-05-06 Thread Kris Schneider
;-) Assuming this is some sort of communication breakdown, what I meant was that the phrase "accept runtime expressions" should actually be "accept request-time expressions". There's no such thing as a JSP "runtime expression"... Quoting Zsolt Koppany <[EMAIL PROTECTED]>: > What are "runtime" and

RE: inserting delimiters

2004-05-06 Thread Robert Taylor
JSTL Spec: http://jcp.org/aboutJava/communityprocess/final/jsr052/index2.html The following code runs in my 2.4 Servlet container. and produces the output: 0 / 1 / 2 / 3 / 4 / 5 / 6 / 7 / 8 / 9 0 / 1 / 2 / 3 / 4 / 5 / 6 / 7 / 8 / 9 0 / 1 / 2 / 3 / 4 / 5 / 6 / 7 / 8 / 9 0 / 1 / 2 / 3 / 4 / 5 / 6

Re: Clearing Input fields

2004-05-06 Thread Rüdiger Schulz
Hello Brian Boyle, on 06.05.2004 at 18:35 you wrote: > Please excuse my lack of knowledge about Struts! I've only started learning > it recently. I just have completed my first Struts project as well, and lack of knowledge is what usually brings people to mailing lists :-) > First of all you sai

Handle dynamic form (form/iterate)

2004-05-06 Thread Samuel Rochas
Hello, My app has a form which content is generated dynamicly with the help of an iterate tag. The form displayed is fine, the fields in the repeated lines have all the same name, which is correct and easy to handle with servlet. How can I handle this fields in my xForm / xAction classes? How

JBoss two Web Apllications Actions overlapping

2004-05-06 Thread Mathies, R. (Ronald)
Hi All, I've got a JBoss 3.2.3 server that is running two applications and i've got a problem with the action/form objects: ApplicationA has an action called "/main/application/StartApplicationAction" ApplicationB has an action called "/main/application/StartApplicationAction" And the applicatio

RE: Problem with using HttpUploadBean with Struts

2004-05-06 Thread Andrew Hill
Hi Irshad, Is there any major issue stopping you from using the normal Struts FileUpload mechanism (ie: FormFile properties in your actionForm)? As, it looks like you may need to handle the file yourself, in as much as using the struts FormFile and from it get the file and copy it to the appropria

RE: Submit with a link

2004-05-06 Thread Suzanne Rizzo
I use a text box (stylized to look like a link) when I run into this. Unlike the link, the text box is ON the form, so I don't need to figure out what the name or index of the form is. where the javascript function is something like this: function DoSubmit(frm) { frm.submit(); } and the sty