Re: HttpServletRequest.getParameterNames()

2005-07-25 Thread Laurie Harper
Wendy Smoak wrote: From: "Carl Smith" <[EMAIL PROTECTED]> In my application, I need to get all the HTTP request parameter names and their values, I am using HttpServletRequest.getParameterNames() and it works very well. Then in one of my page, I have to submit the request as a type of "multipa

Re: HttpServletRequest.getParameterNames()

2005-07-25 Thread Wendy Smoak
From: "Carl Smith" <[EMAIL PROTECTED]> In my application, I need to get all the HTTP request parameter names and their values, I am using HttpServletRequest.getParameterNames() and it works very well. Then in one of my page, I have to submit the request as a type of "multipart/form-data", and

Re: Re: JSF is the beginning of the end of Struts !!!

2005-07-25 Thread John Henry Xu
JSF has been there for a while. We have to see how it does in real applications. EJB has been there for many years, but its complexity of configuration (at least before mature tools were developed) kept many J2EE projects expensive and over budgets (bad ROI examples). Thus we have so many fra

Re: JavaScript question?

2005-07-25 Thread Frank W. Zammetti
The property document.readyState can be used to get the current status of any document... I forget all the possible states it can return, I always only check for "complete" to trigger some event when the page loads. You can use this to check the status of the child window as long as you keep a

Re: JSF is the beginning of the end of Struts !!!

2005-07-25 Thread Michael Jouravlev
On 7/25/05, John Public <[EMAIL PROTECTED]> wrote: > After just finishing my JSF class, I can confidently > confirm that JSF will eventually lead to Struts > becoming OBSOLETE. Make no mistake about it. JSF > rocks. JSF is based on "true" MVC architecture, not > the MODEL 2 version that Struts uses

Re: JSF is the beginning of the end of Struts !!!

2005-07-25 Thread netsql
John Public wrote: After just finishing my JSF class, I can confidently confirm that JSF will eventually lead to Struts becoming OBSOLETE. :-) Enhydra and Torque would say that too circa 2001. Put up a site and lets see it. Let's all get behind JSF before MS takes over the web. Nothing wr

JSF is the beginning of the end of Struts !!!

2005-07-25 Thread John Public
After just finishing my JSF class, I can confidently confirm that JSF will eventually lead to Struts becoming OBSOLETE. Make no mistake about it. JSF rocks. JSF is based on "true" MVC architecture, not the MODEL 2 version that Struts uses. Struts had a good run, now it is time to build on the JSF f

RE: JavaScript question?

2005-07-25 Thread Balasubramaniam, Sezhiyan
Hi Frank, Thanks a lot for taking time to explain the options. Based on our requirements, the option 3 looks more promising to me (we already use frames for this solution) BTW, is there anyway, I can check the child window document status from the main widow, in this case? As the result comes i

Re: JavaScript question?

2005-07-25 Thread Frank W. Zammetti
Hi Sezhiyan, There isn't any "standard" way of doing this... what's happening is that the request is coming back just like any other would that updates what the user sees. As you mentioned though, the save as dialog appears instead... there is no event you can hook that will tell you when the

[SOLVED] Re: Cannot retrieve definition for form bean null disaster

2005-07-25 Thread Gareth Meyrick
hi, thanks for the responses.. the subject line did look like a FAQ question, hence there were few replies (thanks Lucas and Vincent). as per the FAQ, i added a null form bean for the action question.. although it still didn't work:( i was confused because the web application worked the first ti

Re: [OT] Hibernate vs. iBatis vs. POJO

2005-07-25 Thread Vinny
Yo Rick! I think that statement was in regard to self-implemented (inflicted?) POJO DAOs, not IBATIS in particular. > The fact that you state: > > "You'll spend all your time writing grunt-work plumbing and error > handling and maintenance is a nightmare." > > only shows you haven't even tri

JavaScript question?

2005-07-25 Thread Balasubramaniam, Sezhiyan
Though this is not a direct struts question, hope I will some guidance for my issue. In one of our struts application, we have a CSV download functionality. We use response.setContentType("application/csv;"). When the download happens, user has no clue about the state of the request and keeps o

HttpServletRequest.getParameterNames()

2005-07-25 Thread Carl Smith
In my application, I need to get all the HTTP request parameter names and their values, I am using HttpServletRequest.getParameterNames() and it works very well. Then in one of my page, I have to submit the request as a type of "multipart/form-data", and then I found out HttpServletRequest.get

Re: Cannot retrieve definition for form bean null disaster

2005-07-25 Thread Vincent
Shouldn't it be? : name="surveyForm" <--- forward="/pages/Survey.jsp"/> Gareth Meyrick wrote: > hi, > > i'm at a loss.. i've verified the usual suspects, checked the usual places, > but still can't find an answer. > > background: > > /Login -> /LoginSubmit -> /Survey -> /Survey

Re: How to read ResourceBundle

2005-07-25 Thread Vincent
I've found Nick Heudecker's tutorial helpful on this subject: http://www.systemmobile.com/articles/strutsMessageResources.html Ashutosh Satyam wrote: > Hi, > In my application I want to set the error key based on whether > the error key is present in resource bundle. The error key is > generat

Re: LookupDispatchAction or DispatchAction?

2005-07-25 Thread Michael Jouravlev
On 7/25/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > You know, we've really gotten away from what was originally being > discussed here... we were talking about DispatchActions, and now we're > talking about redirect-after-post. How did that happen? Because these are related things. Because

Re: LookupDispatchAction or DispatchAction?

2005-07-25 Thread Frank W. Zammetti
On Mon, July 25, 2005 3:38 pm, Michael Jouravlev said: > Oh gosh, Frank, can you think more abstractively (is this a proper > adjective?) It does not really matter, why login page follows welcome > page, this is merely an *example*. Ok, consider that welcome page *is* > a login page, but a user cam

Re: LookupDispatchAction or DispatchAction?

2005-07-25 Thread Michael Jouravlev
On 7/25/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > On Mon, July 25, 2005 3:11 pm, Michael Jouravlev said: > > Ok, I will use the same use case I used during last weeks :) a login > > form. Say, you have a welcome page on a website, which directs a user > > to a login page. How many pages do

Re: [OT] Hibernate vs. iBatis vs. POJO

2005-07-25 Thread netsql
Leon Rosenberg wrote: I think the sentence "clustering will help you scaling" is an urban myth :-) Leon +1 -- .V People are conversing... without posting their email or filling up their mail box. roomity.com No sign up to read and search. -

Re: [OT] Hibernate vs. iBatis vs. POJO

2005-07-25 Thread Leon Rosenberg
> -Ursprüngliche Nachricht- > Von: Michael Jouravlev [mailto:[EMAIL PROTECTED] > Gesendet: Montag, 25. Juli 2005 21:19 > An: Struts Users Mailing List > Betreff: Re: [OT] Hibernate vs. iBatis vs. POJO > > On 7/25/05, Leon Rosenberg <[EMAIL PROTECTED]> wrote: > > I think the problem is

Re: [OT] Hibernate vs. iBatis vs. POJO

2005-07-25 Thread Leon Rosenberg
> -Ursprüngliche Nachricht- > Von: Michael Jouravlev [mailto:[EMAIL PROTECTED] > Gesendet: Montag, 25. Juli 2005 21:19 > An: Struts Users Mailing List > Betreff: Re: [OT] Hibernate vs. iBatis vs. POJO > > On 7/25/05, Leon Rosenberg <[EMAIL PROTECTED]> wrote: > > I think the problem is

Re: LookupDispatchAction or DispatchAction?

2005-07-25 Thread Frank W. Zammetti
On Mon, July 25, 2005 3:11 pm, Michael Jouravlev said: > Ok, I will use the same use case I used during last weeks :) a login > form. Say, you have a welcome page on a website, which directs a user > to a login page. How many pages do you have? I hope your answer is > two. I would have said one...

Re: SSL with struts

2005-07-25 Thread Laurie Harper
mickey wrote: Hi, When using struts instead of recieving the page, that I've defined in struts-config.xml, I'm getting the page, that in forward part for this page. Do you have any idea what could be a problem? What URL are you requesting from your browser? What does the associated action ma

Re: [OT] Hibernate vs. iBatis vs. POJO

2005-07-25 Thread Michael Jouravlev
On 7/25/05, Leon Rosenberg <[EMAIL PROTECTED]> wrote: > I think the problem is rather that none of the dbs scales. > To scale you need something in front of db in the business layer > (middleware), > so it's no difference whether you use ibatis or sql. Could be nasty with > hibernate though, > at l

Re: [OT] Hibernate vs. iBatis vs. POJO

2005-07-25 Thread Leon Rosenberg
I think the problem is rather that none of the dbs scales. To scale you need something in front of db in the business layer (middleware), so it's no difference whether you use ibatis or sql. Could be nasty with hibernate though, at least you need to turn off the lazy loading... leon > > > On 7

Re: [OT] Hibernate vs. iBatis vs. POJO

2005-07-25 Thread Leon Rosenberg
I think the problem is rather that none of the dbs scales. To scale you need something in front of db in the business layer (middleware), so it's no difference whether you use ibatis or sql. Could be nasty with hibernate though, at least you need to turn off the lazy loading... leon > > > On 7

Re: How to read ResourceBundle

2005-07-25 Thread Laurie Harper
See the Javadoc for Action. To get the resource bundle from your action: http://struts.apache.org/api/org/apache/struts/action/Action.html#getResources(javax.servlet.http.HttpServletRequest) You then have various options for retrieving specific messages: http://struts.apache.org/api/org/apache/

Re: LookupDispatchAction or DispatchAction?

2005-07-25 Thread Michael Jouravlev
On 7/25/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > > Having same address is important to prevent browser history from > > growing, thus effectively disabling Back button. This makes > > application more robust and user experience closer to desktop > > application. > > In my experience, the

Re: [OT] Hibernate vs. iBatis vs. POJO

2005-07-25 Thread netsql
I used iBatis 2 w/ 7000 concurent users and subsecond response time (each users requested data from a page that had many tiles, 1up.com) It's much faster than others becuase of a simple row based cache. I am one of few SQL instructors certified to teach P&T, I would argue it's by far the most

Re: DB Connection

2005-07-25 Thread Laurie Harper
Stéphane Zuckerman wrote: Senthilrajan VS a écrit : Thanks for your response. Can u please tell me how can I close the connection if the user close the window directly because I am not maintain any session in the window These are two unrelated events : you want a client-side event to create

Re: LookupDispatchAction or DispatchAction?

2005-07-25 Thread Frank W. Zammetti
On Mon, July 25, 2005 2:32 pm, Michael Jouravlev said: > DispatchAction allows you to have one mapping for a related set of > operations. Therefore, you can call different operations for one > object using the same web address, which is impossible using separate > actions unless you use filter or s

Re: [OT] Hibernate vs. iBatis vs. POJO

2005-07-25 Thread Dave Newton
Larry Meadors wrote: I have used it on a project with 800GB of data + 40-50 concurrent users. I wasn't directly involved in the project, but coworkers used it for less data (100G maybe?) but substantially more concurrent users (100-200 or so). Dave -

Re: [OT] Hibernate vs. iBatis vs. POJO

2005-07-25 Thread Larry Meadors
Not that I have seen. I have used it on a project with 800GB of data + 40-50 concurrent users. Vic will probably chime in on this thread as well... Larry On 7/25/05, Adam Hardy <[EMAIL PROTECTED]> wrote: > > Ted Husted on 22/07/05 18:12, wrote: > > > > The truth is that iBATIS is very easy t

Re: LookupDispatchAction or DispatchAction?

2005-07-25 Thread Michael Jouravlev
On 7/25/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > I actually do not use any form of DispatchAction most of the time... very > rarely will I use anything along those lines. I find it to break the idea > of separating responsibilities. I prefer to see a well-named Action for > each actual

Re: [OT] Hibernate vs. iBatis vs. POJO

2005-07-25 Thread Adam Hardy
Ted Husted on 22/07/05 18:12, wrote: The truth is that iBATIS is very easy to use, and there isn't much to learn that you don't already know. Basically, iBATIS lets you put a wrapper around SQL statements and use disconnected POJO objects for input and output. The user guide covers all the esse

Re: LookupDispatchAction or DispatchAction?

2005-07-25 Thread Frank W. Zammetti
On Mon, July 25, 2005 1:55 pm, Michael Jouravlev said: > Well, I am not sure that Struts can pick up changes in property file, > though I saw some "Reloadable properties" subproject in Struts > Applications tree. You can always force the issue... not a good idea, but it can be done. You are corre

Re: LookupDispatchAction or DispatchAction?

2005-07-25 Thread Michael Jouravlev
On 7/25/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > On Mon, July 25, 2005 1:11 pm, Michael Jouravlev said: > > Having the map right in an action file is easier, faster and does not > > tie you to a property file, does it? > > Just wanted to stick my proboscis in on this particular point (I'

Re: LookupDispatchAction or DispatchAction?

2005-07-25 Thread Frank W. Zammetti
On Mon, July 25, 2005 1:11 pm, Michael Jouravlev said: > Having the map right in an action file is easier, faster and does not > tie you to a property file, does it? Just wanted to stick my proboscis in on this particular point (I've been following along this whole discussion by the way)... I vie

Re: [OT] saving stats from session when session destroyed

2005-07-25 Thread Wendy Smoak
From: "Daniel Perry" <[EMAIL PROTECTED]> > I cant see an obvious way to find out when sessions are destroyed. You can register an HttpSessionListener and be notified of 'sessionCreated' and 'sessionDestroyed' events: http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/http/HttpSessionLis

ClassCastException

2005-07-25 Thread Nick Heudecker
I'm using Tomcat 5.5, JDK 1.5, Struts 1.2.7 and Tiles. I'm getting the following exception when I navigate to a Tiles page, I'm getting the following: java.lang.ClassCastException: org.apache.struts.taglib.tiles.UseAttributeTei at org.apache.jasper.compiler.TagLibraryInfoImpl.createTagIn

RE: Technique for undetermined time of processing - progress bar

2005-07-25 Thread Wiebe de Jong
Yes, that is what I did when I implemented it. Wiebe -Original Message- From: David Erickson [mailto:[EMAIL PROTECTED] Sent: Monday, July 25, 2005 9:52 AM To: 'Struts Users Mailing List' Subject: RE: Technique for undetermined time of processing - progress bar Thanks for the tip. That

Re: LookupDispatchAction or DispatchAction?

2005-07-25 Thread Michael Jouravlev
On 7/25/05, Rick Reumann <[EMAIL PROTECTED]> wrote: > starki78 wrote the following on 7/25/2005 2:04 AM: > > Hi, I've tested both types of actions but I really > > cannot say which action is better and I don't have the slightest > > feeling when which action to take. > > Without trying to open up

RE: [OT] saving stats from session when session destroyed

2005-07-25 Thread Daniel Perry
Now I knew there was something like that! Turns out I was looking at servlet 2.2 specs and that only had HttpSessionBindingListener!!! Duh! Thanks Daniel. > -Original Message- > From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] > Sent: 25 July 2005 17:59 > To: Struts Users Mailing List

Re: [OT] saving stats from session when session destroyed

2005-07-25 Thread Dave Newton
Daniel Perry wrote: Would it be possible to have a class called stats, which is put into the session, and override the finalize method, so that this writes to the database the calls super.finalize? Would this work? Just as a followup to Frank's correct answer, _never_ count on a finalize me

Re: [OT] saving stats from session when session destroyed

2005-07-25 Thread Frank W. Zammetti
I guess it *might* be helpful to tell you you need an entry in web.xml for this... company.app.MySessionListener Yeah, that might help ;) -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Mon, July 25, 2005 12:58 pm, Frank W. Zammetti

Re: [OT] saving stats from session when session destroyed

2005-07-25 Thread Frank W. Zammetti
SessionListener is what you want. Here's an example from one of my apps (condensed for space)... it is used to delete a temporary PDF that may have been generated for the user when they log off: import company.app.User; import javax.servlet.http.HttpSession; import javax.servlet.http.HttpSessionE

[OT] saving stats from session when session destroyed

2005-07-25 Thread Daniel Perry
I have an app where i need to record key user stats, which are updated by certain struts actions. The problem is that i want to keep these in the session, and then only save them to the database when the session is either invalidated through logout, or when it times out and is removed by the serve

RE: Technique for undetermined time of processing - progress bar

2005-07-25 Thread David Erickson
Thanks for the tip. That one actually is using javascript to refresh the page, but you could just as easily do a meta tag to refresh the page as well. -David > -Original Message- > From: Wiebe de Jong [mailto:[EMAIL PROTECTED] > Sent: Monday, July 25, 2005 10:35 AM > To: 'Struts Users Ma

RE: [OT] Re: SelectAction - an improved DispatchAction

2005-07-25 Thread Okundaye, Derrick
Your arguments are extending beyond the cause of open source struts development and verging into the personal. Please take it elsewhere. -Original Message- From: Dakota Jack [mailto:[EMAIL PROTECTED] Sent: 25 July 2005 17:16 To: Struts Users Mailing List Subject: Re: [OT] Re: SelectAct

RE: Technique for undetermined time of processing - progress bar

2005-07-25 Thread Wiebe de Jong
Here is a graphical progress bar that doesn't use AJAX or JavaScript. http://www.onjava.com/lpt/a/3886 Wiebe -Original Message- From: David Erickson [mailto:[EMAIL PROTECTED] Sent: Monday, July 25, 2005 7:26 AM To: 'Struts Users Mailing List' Subject: RE: Technique for undetermined tim

Re: [OT] Re: SelectAction - an improved DispatchAction

2005-07-25 Thread Dave Newton
Dakota Jack wrote: I never have seen one of those on this list. *rotflmao* Curious. I _knew_ you didn't read your own posts; they were a bit too non-sensical. Are you SURE you're not just a poorly-written Markov chaining program? your response was one. LOL The irony is thick, huh?

Re: [OT] Re: SelectAction - an improved DispatchAction

2005-07-25 Thread Dakota Jack
There is no such thing as an "ad hominem attack" dear Dave. There are ad hominen arguments. Those are argument which attempt to draw a conclusion contrary to something someone adverts by challenging their character. I never have seen one of those on this list. Oh, wait, your response was one. L

[OT] Re: SelectAction - an improved DispatchAction

2005-07-25 Thread Dave Newton
Dakota Jack wrote: Then there is Dave, dear sweet, but *awww* ever so odd, Dave, closer to Fig than Isaac. That much might be true; we have a fairly detailed family tree back to the very late 1500s and alas, Isaac does not seem to be on it. I am definitely odd, and I wake up happy abou

[ANN] XMoon Petstore 1.2.0

2005-07-25 Thread Mario Neè
Struts 1.2.7, XMoon, Hibernate 3 and Jstl. zip : http://prdownloads.sourceforge.net/xmoon/petstore.zip?download live : http://www.demozone.org -- Mario Nee' Brescia Italy [EMAIL PROTECTED] http://www.xmoon.org - To unsubscribe

Re: [FRIDAY] Re: SelectAction - an improved DispatchAction

2005-07-25 Thread Michael Jouravlev
On 7/25/05, Dakota Jack <[EMAIL PROTECTED]> wrote: > Why don't you do your own code and then submit that? I did, but I acknowledge that using suffix with method name directly in the parameter is easier than using prefix and a method map. But I can return back to prefix, no big deal for me. ---

Re: LookupDispatchAction or DispatchAction?

2005-07-25 Thread Rick Reumann
starki78 wrote the following on 7/25/2005 2:04 AM: Hi, I've tested both types of actions but I really cannot say which action is better and I don't have the slightest feeling when which action to take. Without trying to open up a whole other can of worms since there have been a bunch of recent

Re: Syntax

2005-07-25 Thread Martin Gainty
Herr Berg: This from junlu (with regards to html:multibox property specification) "The associated property in the form-bean is an array of type string, which holds a list of selected values after submitting the form" In other words the property is defined as an 'array of strings' from your form

RE: Technique for undetermined time of processing - progress bar

2005-07-25 Thread David Erickson
Ya I think the ajax thing is a great idea for the main work.. but on the offchance someone doesn't have javascript enabled ill have to fall back to a not as graphically nice implementation. -David _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, July 25, 2005 6:14

Re: [OT] Re: SelectAction - an improved DispatchAction

2005-07-25 Thread Stéphane Zuckerman
Mmmh. Not always - at least, not in French right, for instance. If there is no license tied to code on a web site, but said code is clearly defined as Mr X's code, then it is implicit that you don't have the right to use it, integrate it, etc. for whatever purpose unless you have some written (1)

Re: Syntax

2005-07-25 Thread Kjersti Berg
On 25/07/05, Vijay K Anand <[EMAIL PROTECTED]> wrote: > Hi > > What is wrong in the below code ? Eclipse is making noise...but code > runs fine... > styleId="<%= "c"+(String)CoreID %>" /> Not sure, but this looks odd: styleId="<%= "c"+(String)CoreID %>" /> How about styleId='<%= "c" + (String)C

Syntax

2005-07-25 Thread Vijay K Anand
Hi What is wrong in the below code ? Eclipse is making noise...but code runs fine... styleId="<%= "c"+(String)CoreID %>" /> Regards Vijay - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PRO

SSL with struts

2005-07-25 Thread mickey
Hi, When using struts instead of recieving the page, that I've defined in struts-config.xml, I'm getting the page, that in forward part for this page. Do you have any idea what could be a problem? - To unsubscribe, e-mail: [EMA

Re: Reports

2005-07-25 Thread Martin Gainty
The Poi-Hwpf Apache project is currently addressing the task of writing Microsoft Compound documents. More information can be ascertained at the jakarta site which is located at http://jakarta.apache.org/poi/hwpf/docoverview.html Good Luck, Martin- __

Re: DB Connection

2005-07-25 Thread Stéphane Zuckerman
Senthilrajan VS a écrit : Hi Stéphane Zuckerman, Thanks for your response. Can u please tell me how can I close the connection if the user close the window directly because I am not maintain any session in the window These are two unrelated events : you want a client-side event to create a s

Re: [OT] Re: SelectAction - an improved DispatchAction

2005-07-25 Thread Michael Meadows
On 7/25/05, Stéphane Zuckerman <[EMAIL PROTECTED]> wrote: > > Craig McClanahan a écrit : > > On 7/21/05, Dakota Jack <[EMAIL PROTECTED]> wrote: > > > > > >>This code does not belong to Michael. It is purloined from > >>www.michaelmcgrady.com and other > discussion

How to read ResourceBundle

2005-07-25 Thread Ashutosh Satyam
Hi, In my application I want to set the error key based on whether the error key is present in resource bundle. The error key is generated in the system and the top most layer 'Action class' is supposed to set the keys based on the error key availability. - - - - - - - - - - - - - - - - - - -

RE: Technique for undetermined time of processing - progress bar

2005-07-25 Thread BHansard
Unfortunately, any AJAX implementation will require _javascript_. You can replace this with a standard JSP implementation, but you will have a lot of "Flicker" as your page updates. You will also have to keep all information that is displayed on your page in the session or request which can chew

Re: DB Connection

2005-07-25 Thread Senthilrajan VS
Hi Stéphane Zuckerman, Thanks for your response. Can u please tell me how can I close the connection if the user close the window directly because I am not maintain any session in the window - Original Message - From: "Stéphane Zuckerman" <[EMAIL PROTECTED]> To: "Struts Users Mailing L

Re: DB Connection

2005-07-25 Thread Stéphane Zuckerman
Vijay K Anand a écrit : hi How to share the saem db connection across user requests..without exhausitn the connection pool. regards Vijay You could create a plugin that connects to the Database when launching the webapp, then put the handler in the servlet context. Then you could retrieve

Re: Reports

2005-07-25 Thread Shajee
hi, As far as i have seen in open source and web applications (with jsp) all tools support either XML, PDF, HTML or CSV etc However there's none which gives a RTF or MS Word output Do you have any idea of a reporting tool/engine which does give a RTF/Word output. Thanks & Regards Shajee On 5/17/

DB Connection

2005-07-25 Thread Vijay K Anand
hi How to share the saem db connection across user requests..without exhausitn the connection pool. regards Vijay - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Resetting ActionForm properties during validation

2005-07-25 Thread Kjersti Berg
On 25/07/05, Vandenbroucke Gregory <[EMAIL PROTECTED]> wrote: > My action form fields are Integer or Float objects. > The thing is, that I would like struts to leave the html fields empty, if > some user entered alphanumeric text instead of numeric. > Meaning that my ActionForm properties would be

RE: Resetting ActionForm properties during validation

2005-07-25 Thread Vandenbroucke Gregory
My action form fields are Integer or Float objects. The thing is, that I would like struts to leave the html fields empty, if some user entered alphanumeric text instead of numeric. Meaning that my ActionForm properties would be null instead of zero (which is semantically more correct). Is there a

[OT] Re: SelectAction - an improved DispatchAction

2005-07-25 Thread Stéphane Zuckerman
Craig McClanahan a écrit : On 7/21/05, Dakota Jack <[EMAIL PROTECTED]> wrote: This code does not belong to Michael. It is purloined from www.michaelmcgrady.com and other discussion on this list. In the midst of chuckling at the assertions made in this thread, a serious comment for DJ (and o

Re: Resetting ActionForm properties during validation

2005-07-25 Thread Kjersti Berg
On 25/07/05, Vandenbroucke Gregory <[EMAIL PROTECTED]> wrote: > Hi all, > > I have several forms which contain fields that should only accept numeric > data. If the entered data wasn't numeric, then during validation of that > field I would like to be able to leave the form field empty. But struts

Re: [FRIDAY] J2EE Web frameworks are in a state of flux

2005-07-25 Thread Dakota Jack
Sure you can. We do that all the time. You cannot compare them fruitfully, but you sure can replace them with one another. On 7/25/05, Emmanouil Batsis <[EMAIL PROTECTED]> wrote: > John Henry Xu wrote: > > >OK, spring has a good design and it may replace EJB. > > > > > > You cannot replace app

Re: Problem with date

2005-07-25 Thread Michael Meadows
To be less terse: The Date object is kind of like my wife when I get all excited about technology... it only acts like it cares about time zone. If you're parsing from text, try feeding the DateFormat object a TimeZone before parsing: DateFormat formatter = DateFormat.getDateTimeInstance (Date

Re: [FRIDAY] Re: SelectAction - an improved DispatchAction

2005-07-25 Thread Dakota Jack
Why are you submitting other people's code and then being a smart ass about it? If it were my option, I wouild say "not in a million years". I don't think you ever have that authority anyway. But, ask McGrady, who already said, if you check the lists, that he doesn't want the code in Struts, pro

Resetting ActionForm properties during validation

2005-07-25 Thread Vandenbroucke Gregory
Hi all, I have several forms which contain fields that should only accept numeric data. If the entered data wasn't numeric, then during validation of that field I would like to be able to leave the form field empty. But struts will auto populate all fields. Meaning that for numeric fields it will

Re: Problem with date

2005-07-25 Thread Michael Meadows
Feed it to the Calendar (yum). On 25 Jul 2005 03:43:54 -, syed abrar <[EMAIL PROTECTED]> wrote: > > > Hello > This problem is more of a core java issue than a struts one. > I have a user interface to accept time and another field to enter the > difference of time with GMT (GMT+x or GMT-1)

Re: [FRIDAY] Re: SelectAction - an improved DispatchAction

2005-07-25 Thread Michael Jouravlev
On 7/23/05, Rick Reumann <[EMAIL PROTECTED]> wrote: > > Anyway, sorry for being overly excited, I might have said something > > wrong. I just wanted Struts to continue to evolve. Seems that I chose > > a bad class to submit. > > I don't think it's a bad class to submit - I'm just not sure how > di

Re: tiles problem

2005-07-25 Thread Dewitte Rémi
Or simply : Rémi Le Dimanche 24 Juillet 2005 05:59, Laurie Harper a écrit : > Your global forward needs to point to an action, not directly to a tiles > definition. Change your struts-config.xml as follows: > >... > > > > > type="org.apache.struts.act

Re: [FRIDAY] J2EE Web frameworks are in a state of flux

2005-07-25 Thread Emmanouil Batsis
John Henry Xu wrote: OK, spring has a good design and it may replace EJB. You cannot replace apples with oranges ;-) Manos - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]