About Action Form

2004-10-15 Thread Koon Yue Lam
Hi, suppose I have 2 actions which each has its own action form A1 will have F1 A2 will have F2 and we have JSP1, JSP2 and JSP3 it is like a 2 steps wizard, user first access JSP1 and when submit, A1 is executed and populate F1, it then forward to JSP2 user will select some data in JSP2 and whe

Struts-Faces

2004-10-15 Thread Ratnakar Parakala
Hi, I started implementing Struts-Faces integration library. I looked at the examples provided with the library. I have few doubts: 1. Does the library support using action paths for validations in tag? I was using it for quite long time in a standalone struts application. If I use it the sa

RE: [REPOST] Get Raw Action Path.

2004-10-15 Thread David G. Friedman
A solution in Struts v1.2.4 is at hand, too bad it's not some quick method call like getPattern(). If you can figure out what I did, you can use it. :) Seriously, I obtained a raw list of Action Mappings (unprocessed paths, as in Struts config files), then I used a Struts util class WildCardHelpe

logic:iterate and table display

2004-10-15 Thread Vijay Vishvas Dharap
Hi all, I have following scenario.. I have FormBean which has getter and setter for my VO object In VO I have a list of another VO. Now on this form I want to display the contents of the list using logic.iterate tags. I will make matter simpler saying... aFormBean has aVO which as list of bVO

Re: Where Is the Best Place To Store Files?

2004-10-15 Thread Eddie Bush
It doesn't necessarily have anything to do with being superior or inferior. Perhaps they have the DBs living on a small farm and that farm is already being used heavily. Perhaps the absolutely cannot justify sucking bandwidth on the route between the web server and db server. There's tons of r

Re: The old 'please wait' issue

2004-10-15 Thread Eddie Bush
You've got a template somewhere that dictates the layout for your pages, right? So, what's to keep you from having a template -- exactly like that one -- with a meta refresh tag in the head? Hrm ... that might be too easy though. You might even see some reuse out of it if you have other time

RE: mechanism to clear objects in the session

2004-10-15 Thread David G. Friedman
Have you tried making any objects you intend to keep in session implement the javax.servlet.http.HttpSessionListener interface? Then, when an object is destroyed, you could have defined the "void sessionDestroyed(HttpSessionEvent se)" method to close down any dependencies or zero out any data befor

RE: mechanism to clear objects in the session

2004-10-15 Thread lixin chu
thanks. I will think about it. it is new to me. googled, and find http://www.codeguru.com/java/tij/tij0051.shtml whih has an example. --- "McCormack, Chris" <[EMAIL PROTECTED]> wrote: > I haven't tried this yet, but maybe any objects that > you intend to put in the session should have a nice > f

RE: struts and caching

2004-10-15 Thread David G. Friedman
Same goes for an alternative O/R and query mapper named Hibernate. :) At http://www.hibernate.org Regards, David -Original Message- From: Paul Woods [mailto:[EMAIL PROTECTED] Sent: Friday, October 15, 2004 11:53 AM To: Struts Users Mailing List Subject: Re: struts and caching Have you

Re: Using the checkbox tag with java.lang.Boolean

2004-10-15 Thread Shinobu Kawai
Hi Brantley, > I have a form which has a Map of properties. I use the Map just fine > with every field on the form, except for my checkboxes. > When I look at the form contents, I see that the value of that property > never changes from "false", even though the form was submitted with a > chec

RE: The Type of a Form Property is of org.apache.struts.upload.FormFile

2004-10-15 Thread Joe Hertz
> From: Caroline Jen > A property in my form, 'theFile',is of the > org.apache.struts.upload.FormFile type. > > In my struts-config.xml file, do I still give a > java.lang.String type: Nope. You said it yourself. Since it's a FormFile in your form, you declare it as a FormFile in the form. :-)

Re: Sanity check: Struts 1.2.4/Tomcat config

2004-10-15 Thread Kevin Clifton
Doh -should have thought of that! That was the next logical thing to try, wasn't it? Thanks, that fixed it! Kev On Fri, 15 Oct 2004 11:31:04 -0700 (PDT), Brian Showalter <[EMAIL PROTECTED]> wrote: > Did you create an actual welcome.do file (it could be empty) in your > directory? > > > > >

The Type of a Form Property is of org.apache.struts.upload.FormFile

2004-10-15 Thread Caroline Jen
A property in my form, 'theFile',is of the org.apache.struts.upload.FormFile type. In my struts-config.xml file, do I still give a java.lang.String type: and then use the BeanUtils.copyProperties( ... ) in the Action to convert it to the FormFile type?

RE: Sanity check: Struts 1.2.4/Tomcat config

2004-10-15 Thread Durham David R Jr Contr 805 CSPTS/SCE
Try /welcome.do - Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Exposing ActionForm and MVC fields

2004-10-15 Thread Leandro Melo
It's seems allright. --- David Suarez <[EMAIL PROTECTED]> escreveu: > How about creating a hash/digest when you send the > page down with your > read-only fields and save it to session/hidden (you > know the +/-), then > compare it on the re-submit to see if any of the > values have changed. >

Re: Sanity check: Struts 1.2.4/Tomcat config

2004-10-15 Thread Brian Showalter
Did you create an actual welcome.do file (it could be empty) in your directory? --- Kevin Clifton <[EMAIL PROTECTED]> wrote: > Maybe it's the lack of caffeine, but I can't make this work. I've > got > a element in web.xml, and I've added welcome.do > as > a file in that list, but Tomcat (5.0.27

Re: Still cannot get it thru with Tiles

2004-10-15 Thread Caroline Jen
Do you have the statement below toward the very end of the struts-config.xml file? -Caroline --- PC Leung <[EMAIL PROTECTED]> wrote: > Can anyone give me a simple enough example > so that I can modify my little app of using Tiles? > > my little app has basic tiles conf

Re: Sanity check: Struts 1.2.4/Tomcat config

2004-10-15 Thread Kevin Clifton
Thanks Craig. Maybe it's the lack of caffeine, but I can't make this work. I've got a element in web.xml, and I've added welcome.do as a file in that list, but Tomcat (5.0.27) isn't attempting to load that URL, as far as I can tell. I did add an "index.jsp" element to the welcome-file-list, and

Semantic Search - Software Company Needs Feedback

2004-10-15 Thread David Watson
We are looking for java developers and architects to try a new product that we are developing. Think of it as Google for IT. Our product has the ability to crawl through source code and provide a powerful search capability that is powered by semantics. In this case, we have crawled through sever

RE: Exposing ActionForm and MVC fields

2004-10-15 Thread Leandro Melo
Hi Freddy, i agree with you in parts. Actually, i don`t have a formal workflow graph, but i do have it in some sketches. I think the point here is more about workflow implementations details, isn`t it??? --- "Freddy Villalba A." <[EMAIL PROTECTED]> escreveu: > Hi, > > > I believe you shouldn

Re: FieldChecks change signature and no longer returns value

2004-10-15 Thread Niall Pemberton
No, I'm not responsible - all I did was let them know they didn't have the current release of struts on their site. I don't know much about gentoo (first I heard of it was from you!), but its probably best to post a bug here: http://bugs.gentoo.org Niall - Original Message - From: "Mic

Re: Setting order on populate of form

2004-10-15 Thread Honza Spurný
Thanks for answer. This is I was afraid of . :o( Thanks. Honza S. Jeff Beal wrote: > Anything's possible. You'll have to re-write the processPopulate > method > in a custom RequestProcessor to enforce the order of properties that > you want. That doesn't mean it's a good idea. I would **stro

Re: Setting order on populate of form

2004-10-15 Thread Jeff Beal
Anything's possible. You'll have to re-write the processPopulate method in a custom RequestProcessor to enforce the order of properties that you want. That doesn't mean it's a good idea. I would **strongly** suggest re-writing your ActionForm so that it doesn't need to behave that way. -- Je

Re: streaming binary data to client

2004-10-15 Thread Hubert Rabago
Sure you can. You already have access to the HttpServletResponse in your Action class, just use that the way you would in a regular servlet, and have the Action return null. On Fri, 15 Oct 2004 10:46:56 -0500, josh <[EMAIL PROTECTED]> wrote: > Is it possible to stream binary data like a pdf to th

Re: struts and caching

2004-10-15 Thread Paul Woods
Have you seen iBatis? It lets you configure how the cache works on a per query basis if you want. You can put your sql into xml files as well, very handy. http://www.ibatis.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Still cannot get it thru with Tiles

2004-10-15 Thread Jeff Beal
You should be using action="login" not forward="login" in your html:link. The forward attribute uses a global forward to direct the request. (And I forget if the forward slash is required or not.) -- Jeff PC Leung wrote: My Main.jsp content layout (Welcome page): ... ... My struts-config.x

streaming binary data to client

2004-10-15 Thread josh
Is it possible to stream binary data like a pdf to the client browser using struts? I was reading somewhere that I will need to have a seperate servlet to do that part because you can't change the mime type using the struts framework. -- Joshua Cronemeyer signature.asc Description: This is a

Setting order on populate of form

2004-10-15 Thread Honza Spurný
Hi there I have the problem I'm not able to solve: I have form and formBean and I need to set one attribute to be saved into the bean as a first attribute at all. That's mean, that I have form with two hidden values: value1 and value2. After submiting the form I need value1 to be saved into the b

RE: Exposing ActionForm and MVC fields

2004-10-15 Thread Freddy Villalba A.
Hi, I believe you shouldn't abuse neither from the MVC pattern or the Struts' framework. All the issues regarding buyer's actions as well as seller's are part of an specific area: workflow management. Implement a basic WF Management subsystem (or integrate one into your application), define the

Re: HttpServletRequest Question

2004-10-15 Thread John Fitzpatrick
guage change, simply substitute the stored form for the submitted one. Obviously I'd need to ensure that the form is for the page being requested now, but I think that should work. Any problems you see? On 20041015 11:17 AM, "Kris Schneider" <[EMAIL PROTECTED]> wrote: &

RE: help : Thanks Joe - chaining actions in Struts -

2004-10-15 Thread Joe Germuska
At 7:24 PM +0530 10/15/04, sachin wrote: Thanks Joe I have quit the idea of chaining actions. It is true that Struts was never designed to for action forwarding. My main concern was to have some common functionality independantly which i can do better by creating own replica of Action , ActionForm

Re: HttpServletRequest Question

2004-10-15 Thread Kris Schneider
As to storing the request instances, here's something of interest from the Servlet 2.3 spec: === SRV.4.10 Lifetime of the Request Object Each request object is valid only within the scpoe of a servlet’s service method, or within the scope of a filter’s doFilter method. Containers commonly recycle

Still cannot get it thru with Tiles

2004-10-15 Thread PC Leung
Can anyone give me a simple enough example so that I can modify my little app of using Tiles? my little app has basic tiles config header, menu, content and footer. When a URL in JSP of the content layout is clicked, the content layout is expected to change with another JSP. Header, menu and foot

Using the checkbox tag with java.lang.Boolean

2004-10-15 Thread Brantley Hobbs
All, I have a form which has a Map of properties. I use the Map just fine with every field on the form, except for my checkboxes. The values in the Map must be objects, so I used java.lang.Boolean to represent the Boolean value for the checkbox. In my JSP I use the tag thusly: - Essential Fac

RE: Exposing ActionForm and MVC fields

2004-10-15 Thread David Suarez
How about creating a hash/digest when you send the page down with your read-only fields and save it to session/hidden (you know the +/-), then compare it on the re-submit to see if any of the values have changed. If so, throw SecurityException or something similar? Would that work for you...djsuar

Re: Exposing ActionForm and MVC fields

2004-10-15 Thread Hubert Rabago
If you're that concerned about it, then it's worth the effort to use different form beans that only expose the properties you feel comfortable with. I remember reading somewhere that BeanUtils will only copy properties that are present in both beans, so that would help you transfer values between

Re: upgrading from struts1.1 to struts 1.2.4

2004-10-15 Thread Hubert Rabago
http://wiki.apache.org/struts/StrutsUpgradeNotes11to124 On Fri, 15 Oct 2004 07:50:38 -0700 (PDT), Ashish Kulkarni <[EMAIL PROTECTED]> wrote: > Hi > Is there any place where i can find all the changes > between struts 1.2.4 and struts1.1, > and any documentation for upgrading to 1.2.4 > > Ashish

RE: Newbie never displays errors

2004-10-15 Thread Nadia Kunkov
Yes, but I don't think you can call saveMessages inside validate method. You can call it within your Action but not an Actionform. Should I not use validate at all and do everything in my Action? Thanks Nadia -Original Message- From: Hollaway, Shedrick CIV (TRFKB C600) [mailto:[EMAIL P

Re: Exposing ActionForm and MVC fields

2004-10-15 Thread Leandro Melo
Lee, even if i use different Actions i wil be still using BeanUtils and still suceptible to hacking. --- Lee Harrington <[EMAIL PROTECTED]> escreveu: > > In this case, i`m still suceptible to be > > hacked by javascript, because of the ActionForm > fields > > exposure. > > What about that??? >

[FRIDAY] Re: Exposing ActionForm and MVC fields

2004-10-15 Thread Hubert Rabago
Well, not really, but disclaimers are interesting, aren't they? It's like the package of peanuts in airplanes that actually carry instructions: "Open package. Eat peanuts." On Fri, 15 Oct 2004 15:42:06 +0100, McCormack, Chris <[EMAIL PROTECTED]> wrote: > Nice rewording there, you in Law by any ch

Re: [REPOST] Get Raw Action Path.

2004-10-15 Thread Alan Pocklington
Thanks for the pointer. I've been looking through the RequestProcessor source without any luck so far. Maybe I'll stumble across it soon. Erik Weber <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: > I don't know the specific answer to your question, but I learned a lot > by writing a met

HttpServletRequest Question

2004-10-15 Thread John Fitzpatrick
This may be slightly off-topic for this list, but here goes anyway: I'm working on a Struts site which must be i18n compatible and have a login system where some of the pages are protected. What I'm looking to accomplish is two fold: 1. When viewing any page, including query results, be able to s

Re: Exposing ActionForm and MVC fields

2004-10-15 Thread Leandro Melo
Do you other sugestion then Hubert? --- Hubert Rabago <[EMAIL PROTECTED]> escreveu: > Hmm... you'd have to check how BeanUtils works if > you do this. > BeanUtils will just copy properties without checking > for the declared > type, and in fact it can't check for the declared > type. Even if

upgrading from struts1.1 to struts 1.2.4

2004-10-15 Thread Ashish Kulkarni
Hi Is there any place where i can find all the changes between struts 1.2.4 and struts1.1, and any documentation for upgrading to 1.2.4 Ashish = A$HI$H __ Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. http://promot

RE: Newbie never displays errors

2004-10-15 Thread Hollaway, Shedrick CIV (TRFKB C600)
Without seeing your validation code I'm guessing you have this or want to have this: public ActionErrors validate (ActionMapping actionMapping, HttpServletRequest httpServletRequest) { ActionErrors errors = new ActionErrors(); if (get

Re: problem with element in struts-config.xml

2004-10-15 Thread Ashish Kulkarni
Hi Thanx for the reply, does solve all my issues with forward Ashish --- Jeff Beal <[EMAIL PROTECTED]> wrote: > When redirect is "true" a message is sent to the > browser to get the new > resource. This means that the browser is aware of > the path of your > error.jsp. When redirect is false,

Re: Newbie never displays errors

2004-10-15 Thread Erik Weber
Nadia, have you ever looked at this site? http://www.reumann.net/do/struts/main Should be some good examples of using ActionMessages and ActionErrors in there. Erik Nadia Kunkov wrote: Do I add saveMessages(request, (ActionMessages) errors); to the Validate method of ActionForm? Since that is w

RE: Exposing ActionForm and MVC fields

2004-10-15 Thread McCormack, Chris
Nice rewording there, you in Law by any chance ;) -Original Message- From: Hubert Rabago [mailto:[EMAIL PROTECTED] Sent: 15 October 2004 15:33 To: Struts Users Mailing List Subject: Re: Exposing ActionForm and MVC fields > *** > This e-mail and

Re: Struts validation issue

2004-10-15 Thread Andy Richards
Thanks, pedro Couldnt resolve this one! upgraded to struts 1.2.4 and used a reqular expression to validate instead. Not quite the method i wanted to take but one which resolved the issue. Thanks for your contribution Andy Pedro Salgado wrote: Have you checked if you aren't duplicating configurat

Re: [REPOST] Get Raw Action Path.

2004-10-15 Thread Erik Weber
I don't know the specific answer to your question, but I learned a lot by writing a method that prints out the key and value for every attribute in every scope, and calling that method at various points along the RequestProcessor timeline (by overriding various methods of RequestProcessor). Req

Re: Exposing ActionForm and MVC fields

2004-10-15 Thread Hubert Rabago
Hmm... you'd have to check how BeanUtils works if you do this. BeanUtils will just copy properties without checking for the declared type, and in fact it can't check for the declared type. Even if you just pass an interface declaration, the instance itself will expose the properties and BeanUtils

Re: problem with table of radio buttons on Unix

2004-10-15 Thread Shyam Anand
Hello, Could somebody help me out with this? Any insights on what could be causing this problem would be greatly appreciated. Thanks, Shyam --- Shyam Anand <[EMAIL PROTECTED]> wrote: > Hi, > > I have a scenario where I have a table of radio > buttons for a set of questions (Yes/No) on a page.

RE: Exposing ActionForm and MVC fields

2004-10-15 Thread McCormack, Chris
Like this: MainDataObj implements ISeller, IBuyer Seller implements ISeller Buyer implements IBuyer Seller seller = (ISeller)mainDataObj; then add seller to the request and populate your form from that for the Seller view and vice versa for the Buyer view. Friday pub lunch may have tarred my

[REPOST] Get Raw Action Path.

2004-10-15 Thread Alan Pocklington
I have an Action defined as: Within the Action class itself I want to get at the path attribute as defined in the config file, i.e. /myaction/**. I can get the requested path, for example /myaction/somepath/xxx.do via actionMapping.getPath() but not the original path to which the a

RE: Newbie never displays errors

2004-10-15 Thread Nadia Kunkov
Do I add saveMessages(request, (ActionMessages) errors); to the Validate method of ActionForm? Since that is where the validation is happening. Thanks -Original Message- From: Hollaway, Shedrick CIV (TRFKB C600) [mailto:[EMAIL PROTECTED] Sent: Friday, October 15, 2004 10:00 AM To: 'Stru

Re: Need Help: XML to HTML using java

2004-10-15 Thread Erik Weber
Check out the JSTL XML tag library! I haven't tried it myself but it looks cool. Erik Kranti Parisa wrote: thanx alot Andrew On Fri, 15 Oct 2004 13:22:10 +0800, Andrew Hill <[EMAIL PROTECTED]> wrote: These might help: http://stxx.sourceforge.net/ http://www.javaworld.com/javaworld/jw-02-2002/j

RE: Newbie never displays errors

2004-10-15 Thread Hollaway, Shedrick CIV (TRFKB C600)
Looks like you are not saving your errors. Try this after errors.add: saveMessages(request, (ActionMessages) errors); > -Original Message- > From: Nadia Kunkov [mailto:[EMAIL PROTECTED] > Sent: Friday, October 15, 2004 9:01 AM > To: Struts Users Mailing List > Subject: RE: Newbie never d

Re: Exposing ActionForm and MVC fields

2004-10-15 Thread Lee Harrington
> In this case, i`m still suceptible to be > hacked by javascript, because of the ActionForm fields > exposure. > What about that??? Different actions. I'd reccomend a dispatch action class...with different methods depending on whether the buyer or seller submitted. That way, in the seller meth

RE: Exposing ActionForm and MVC fields

2004-10-15 Thread Leandro Melo
Hi Chris, what do you mean by "interfaces to filter" (sorry for the stupidness)??? Is it an ordinary Servlet filter?? If so, i remember once using a few filters but i coulnd`t get a reference to the request it self, only to the context as a whole. Could you give an example? --- "McCormack, Chri

RE: help : Thanks Joe - chaining actions in Struts -

2004-10-15 Thread sachin
Thanks Joe I have quit the idea of chaining actions. It is true that Struts was never designed to for action forwarding. My main concern was to have some common functionality independantly which i can do better by creating own replica of Action , ActionForm and ActionServlet etc . . and chaining

RE: Exposing ActionForm and MVC fields

2004-10-15 Thread McCormack, Chris
Look at using interfaces to filter the sensitive data away from each user when putting the data object in the request. Chris McCormack -Original Message- From: Leandro Melo [mailto:[EMAIL PROTECTED] Sent: 15 October 2004 13:53 To: Struts Users Mailing List Subject: RE: Exposing ActionFor

RE: help : chaining actions in Struts

2004-10-15 Thread Joe Germuska
I guess I'll post the obligatory "that isn't considered a good idea" message. Clearly, you've gotten feedback from people who do it, so I can't just tell you that it doesn't work. However, I can tell you that Struts was never designed to for action forwarding, and by forwarding from one actio

RE: Newbie never displays errors

2004-10-15 Thread Nadia Kunkov
David, I followed your suggestions. I have everything set up the way you said. I have a default error: errors.add("countryName", new ActionError("errors.required","Country Name")); I'm displaying the error using I get the following error: javax.servlet.

Re: No ActionErrors from Action class

2004-10-15 Thread Jeff Beal
Is redirect='true' on the forward in struts-config.xml? If it is not, try using the exact print statement in your JSP page that you used in your Action class. The one that you have in your JSP page is going to use the toString() method on the ActionErrors class, and that may have just printed

RE: Exposing ActionForm and MVC fields

2004-10-15 Thread Leandro Melo
Hi guys, thanks for your opinions, it seems that both of you stick with approach 2. However, none of you mentioned that "exposing ActionForm fields" problem. Suppose if build then 2 different pages (as you adviced me). I guess my Action for this both pages would still be the same, it will only s

Re: problem with element in struts-config.xml

2004-10-15 Thread Jeff Beal
When redirect is "true" a message is sent to the browser to get the new resource. This means that the browser is aware of the path of your error.jsp. When redirect is false, the browser is not aware of the location of the JSP that is actually displaying the results. To get around the problem

Re: Problem with message resources by FormValidator

2004-10-15 Thread daniel weiss
Hi sachin, The attribute it doesn't declared by struts1_1.dtd. I can't use it :-) The xml validation produced an error. Regards geramaya --- sachin <[EMAIL PROTECTED]> wrote: > > the solution to this problem is that when u define message-resource tag in > struts-config file mention a ke

RE: [FRIDAY] RE: Arzttermin

2004-10-15 Thread Hiran.Chaudhuri
> -Original Message- > From: Pilgrim, Peter [mailto:[EMAIL PROTECTED] > Sent: Freitag, 15. Oktober 2004 10:52 > To: 'Struts Users Mailing List' > Subject: OT: [FRIDAY] RE: Arzttermin [...] > Verwirrendend laecherlich! > > Well that is the extent of my spoken and written German, > wh

RE: Exposing ActionForm and MVC fields

2004-10-15 Thread McCormack, Chris
+1 You could still create common elements to both pages which will help maintain a look and feel and reuse existing code, look at using different tile layouts for each user type but the elements in the page are common jsp/tile definitions. If the spec for one user changes then you could simply j

RE: Exposing ActionForm and MVC fields

2004-10-15 Thread Freddy Villalba A.
Hi, I'd go for approach #2. After all, they are different VIEWS of the same Model. I've faced this situation in a couple of projects before, and in both cases buyer's and seller's views differed in the long run. The more complex your business rules / model gets, the higher is the chance for that

RE: help : creating own ActionForm

2004-10-15 Thread McCormack, Chris
You shouldn't have to make any configuration changes to use and extended ActionForm with your Actions. Just extend ActionForm with your own base implementation and then create your beans by extending your base implementation. Make sure to include each bean declaration in the section of struts-

Re: Problem with message resources by FormValidator

2004-10-15 Thread sachin
the solution to this problem is that when u define message-resource tag in struts-config file mention a key tag like and when u retrive the message from message-recource mention this key again like it will definaletly work Regards, Sachin Hegde -- Original Message ---

RE: help : creating own ActionForm

2004-10-15 Thread Kailash Vasani
If you mean that you want to have all your "Action Classes" extend new Action class that you would be writing, then you dont need any configuration change, as long as you extend struts Action class in your parent action class. -Original Message- From: sachin [mailto:[EMAIL PROTECTED] Sent

RE: help : chaining actions in Struts

2004-10-15 Thread sachin
> in first action class, put the bean in request before forwarding. i got it working . thanks McCormack Chris and Kailash regards , sachin -- Original Message --- From: Kailash Vasani <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Fri, 15 Oct 2

help : creating own ActionForm

2004-10-15 Thread sachin
hi , I want to crete my own ActionForm and let all the bean extend it instead of default ActionForm . For this what configuration and changes i will have to make ? Regards, Sachin Hegde - To unsubscribe, e-mail: [EMAIL PRO

Problem with message resources by FormValidator

2004-10-15 Thread daniel weiss
Hi, i got a prob with validation.xml and my resources. My submitted snipplet shows you a example for one validation condition. If set this rule without a argument statement e.g. "{0} your date is invalid", it'll be render as "???my.key.name??? your date is invalid" Its doesn't matter if set the

RE: help : chaining actions in Struts

2004-10-15 Thread Kailash Vasani
in first action class, put the bean in request before forwarding. -Original Message- From: sachin [mailto:[EMAIL PROTECTED] Sent: Friday, October 15, 2004 3:41 PM To: Struts Users Mailing List Subject: RE: help : chaining actions in Struts > Have the first action's success forward on t

RE: help : chaining actions in Struts

2004-10-15 Thread McCormack, Chris
Set the bean on the request in the first action and retrieve it in the second action. Chris McCormack -Original Message- From: sachin [mailto:[EMAIL PROTECTED] Sent: 15 October 2004 11:11 To: Struts Users Mailing List Subject: RE: help : chaining actions in Struts > Have the first acti

RE: help : chaining actions in Struts

2004-10-15 Thread sachin
> Have the first action's success forward on to the next action in > struts config. but will the same bean be populated ? Regards , sachin -- Original Message --- From: "McCormack, Chris" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Fri, 15 Oc

OT: [FRIDAY] RE: Arzttermin

2004-10-15 Thread Pilgrim, Peter
> -Original Message- > From: Christoph Kutzinski [mailto:[EMAIL PROTECTED] > Sent: 14 October 2004 08:31 > To: Struts Users Mailing List > Subject: Re: Arzttermin > > > Markus Heck wrote: > > Hallo Andreas, > > > > ich hab um 9:50 Uhr einen Arzttermin; ich meld mich dann noch mal > > un

RE: help : chaining actions in Struts

2004-10-15 Thread McCormack, Chris
Have the first action's success forward on to the next action in struts config. Chris McCormack -Original Message- From: sachin [mailto:[EMAIL PROTECTED] Sent: 15 October 2004 10:46 To: Struts Users Mailing List Subject: help : chaining actions in Struts hi all , i have a common bean ,

help : chaining actions in Struts

2004-10-15 Thread sachin
hi all , i have a common bean , which i need to use for two Actions classes which will execute one after another and populate the bean. Now how can i configure the struts so that both the action will run one after another ? Any help is welcome . . Regards, Sachin Hegde

RE: mechanism to clear objects in the session

2004-10-15 Thread McCormack, Chris
I haven't tried this yet, but maybe any objects that you intend to put in the session should have a nice finalize section to tidy themselves up before being removed by GC. You could then effectively force GC on these objects by System.runFinalization() when you needed without keeping track of wh

Re: mechanism to clear objects in the session

2004-10-15 Thread lixin chu
thanks. it indeed helps me, in fact the points are critical - i need to think my use cases twice, and you have also pointed out a couple of choices. i will try to come out a cleaner implementation in my system. thanks again ! --- Erik Weber <[EMAIL PROTECTED]> wrote: > There was no common solut

LogWeb 2.1, Maven and HttpUnit

2004-10-15 Thread Nathan Coast
Hi, The codeczar team is pleased to announce the release of LogWeb 2.1 http://www.codeczar.com/products/logweb/ LogWeb is a web app admin interface for Log4J developed with struts. More recently the focus of this project has shifted away from adding new features. LogWeb is evolving as an example