RE: How to cancel a cancel

2005-07-22 Thread Kent Boogaart
Actually, it turned out to be a bit harder than that. *sigh* Here's how I've solved my problem (basically): 1. Implement a base action which overrides the cancelled() method 2. In the override, check whether the request is cancelled. If so, look for a forward and clear the cancellation. Return t

Re: SelectAction - an improved DispatchAction

2005-07-22 Thread Dakota Jack
Guess the topic of code was too tiresome for Craig, Niall, and David G., once again. On 7/22/05, David G. Friedman <[EMAIL PROTECTED]> wrote: > Can someone put that list of assumed or presumed identities > for Dakota Jack on the Wiki? Trying to keep up with that > list makes my head spin. Why?

RE: SelectAction - an improved DispatchAction

2005-07-22 Thread David G. Friedman
Can someone put that list of assumed or presumed identities for Dakota Jack on the Wiki? Trying to keep up with that list makes my head spin. Why? I never finished my Mega Memory cassette tapes. I forgot where I put them. :( -David Friedman / [EMAIL PROTECTED] > -Original Message-

Re: SelectAction - an improved DispatchAction

2005-07-22 Thread Craig McClanahan
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 others like him) to consider.

RE: How to cancel a cancel

2005-07-22 Thread Kent Boogaart
Thanks for the suggestions guys. I stared at this one a bit longer and this is what I came up with...I put this code in my action class: @Override public ActionForward cancelled(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) { return mappi

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

2005-07-22 Thread Dakota Jack
Which has been a long time, then. I think this burgeoning technology almost predates Java itself, doesn't it? Anyway, I don't believe this. Let's see the proof, Craig. If you mean the image button stuff, like the other rocket scientists, then that is irrelevant. > PS: Don't tell DJ, but JSF

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

2005-07-22 Thread Dakota Jack
J. you don't even understand "your" own code. How can you make a decision? On 7/22/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > On 7/22/05, Rick Reumann <[EMAIL PROTECTED]> wrote: > > I only see these current solutions having merit if you are *required* to > > not have any javascript. For m

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

2005-07-22 Thread Dakota Jack
Yes. McGrady made a big deal of that. www.michaelmcgrady.com. On 7/22/05, Rick Reumann <[EMAIL PROTECTED]> wrote: > Rick Reumann wrote the following on 7/22/2005 1:33 PM: > > > onclick="myForm.dispatch.value='someDispatchMethod'" > > > > You can use this kind of code with almost anything (with

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

2005-07-22 Thread Dakota Jack
Clearly people don't even think it is worth understand what the hell is going on here. They don't know much more about it than you did. You should be careful about these things, in my opinion, and certainly an open source project should be. I note that Niall was going to put that code in and McG

html:select onchange

2005-07-22 Thread Tony Smith
I have html:select in my jsp. When user make a new seletion in the select, I could like to go ot a new page and use the current selected item as parameter. How can I do it? Here is my jsp: ... X should be the new selected item in this select control which is just select by the user and tri

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

2005-07-22 Thread Dakota Jack
No is the answer. On 7/22/05, Dave Newton <[EMAIL PROTECTED]> wrote: > Niall Pemberton wrote: > > >I presume you're referring to the fact that Michael Jouravlev's flavour of > >DispatchAction uses the ".x" and ".y" suffixes which HTML appends to image > >button parameters to determine the method

Re: SelectAction - an improved DispatchAction

2005-07-22 Thread Dakota Jack
The image button bean is NOT at all the same solution and it is too heavy, although it was a good solution for a time. On 7/22/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Let's recognize prior art: http://www.jguru.com/faq/view.jsp?EID=893423 > > - Dennis > > > > > > "Niall Pemberton

Re: SelectAction - an improved DispatchAction

2005-07-22 Thread Dakota Jack
Actually, the image buttons were not using that idea. Any idea that does something with image buttons at all must account, of course, for the fact that the key in the key/value pair has an x and a y appended. That, of course, is a red herring and not the issue at all. Since you pick something th

Re: nested html:form

2005-07-22 Thread Wendy Smoak
From: "Tony Smith" <[EMAIL PROTECTED]> If I have a html:form, can I have another html:form inside it and pointed to a different action? For example: ... ... No, it's invalid HTML. http://www.w3.org/MarkUp/html3/forms.html What are you trying to do? Some alternatives include separate f

nested html:form

2005-07-22 Thread Tony Smith
If I have a html:form, can I have another html:form inside it and pointed to a different action? For example: ... ... __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

Re: Session mixup

2005-07-22 Thread Srinivas Gunturu
That fixed our problem that has been nagging us for little over a week. If only, I had posted this earlier to the group :-) Thanks a bunch >>> [EMAIL PROTECTED] 07/22/05 4:17 PM >>> Srinivas Gunturu wrote: >Most of our action classes are extended from a BaseAction class which >initializes pro

Re: Session mixup

2005-07-22 Thread Dave Newton
Srinivas Gunturu wrote: Most of our action classes are extended from a BaseAction class which initializes protected variables such as session, user bean, ActionForm, request and response objects inside an init method which is called by decendents in the execute method. Sounds like instance v

Re: Session mixup

2005-07-22 Thread Dave Newton
Srinivas Gunturu wrote: Most of our action classes are extended from a BaseAction class which initializes protected variables such as session, user bean, ActionForm, request and response objects inside an init method which is called by decendents in the execute method. Sounds like instance v

Re: Session mixup

2005-07-22 Thread Srinivas Gunturu
Most of our action classes are extended from a BaseAction class which initializes protected variables such as session, user bean, ActionForm, request and response objects inside an init method which is called by decendents in the execute method. Sounds like instance variables inside an action c

Re: Session mixup

2005-07-22 Thread Dave Newton
Srinivas Gunturu wrote: We don't have any static method calls or static objects we reference in action classes. Do you have any _instance_ variables in any servlets, actions, filters, etc.? I will almost guarantee you that you are accessing a non-synchronized object or instance data. D

Session mixup

2005-07-22 Thread Srinivas Gunturu
We are having a strange session mixup in our application. Environment Tomcat 5.0 Struts 1.2.7 Tiles Upon successful user login, we store user bean class with user info such as name, department, phone on session. This profile is used for keeping track of who is entering data in

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

2005-07-22 Thread Rick Reumann
Michael Jouravlev wrote the following on 7/22/2005 2:58 PM: But what about a newbie who just wants a better dispatching action? He wants to get all needed service from a framework. What are you suggesting him? Go search mailing list, find Rick's site, read lessons, see why it does not work, appl

Struts and 508

2005-07-22 Thread Sher, Allen - BLS CTR
Has anyone had any experience in making a Struts-based system 508-compliant? Since Struts support all standard HTML and XHTML elements and attributes, I would think it shouldn't be a problem. I just want to know if anyone has any horror stories to tell. Thanks. ---

Re: Technique for undetermined time of processing - progress bar

2005-07-22 Thread BHansard
I use AJAX to kick off the process. For this case You can send an AJAX request to get the time, once recieved display a div that will contain the "progress bar" and submit a second request to run the actual process. On completion, you can forward the page to the next url. If you use DWR and can

Re: Design question

2005-07-22 Thread Ed Griebel
Hi Daniel- The idea of a "smart bean" which knows how to render itself is a pretty cool idea, and it's a clean idea conceptually. But, I think the Struts framework and struts jsp tags removes a lot of the hassle because of what it gives you out of the box. I've been faced with the same situation,

error handling in forms

2005-07-22 Thread timo.traub
Hi. I want to show the error on a form at the specific field. I use But as this is kinda lot of code even in a small form I tried to use a tile instead. I pass the property with to the definition and I can read that from the But what I wanna do is to access it in a way like Does anyone ha

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

2005-07-22 Thread Michael Jouravlev
On 7/22/05, Rick Reumann <[EMAIL PROTECTED]> wrote: > Rick Reumann wrote the following on 7/22/2005 1:33 PM: > > > onclick="myForm.dispatch.value='someDispatchMethod'" > > > > You can use this kind of code with almost anything (with images just > > also add myForm.submit()). Easy to use and no nee

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

2005-07-22 Thread Frank W. Zammetti
On Fri, July 22, 2005 2:42 pm, Craig McClanahan said: > The standard (HTML centric) set of JSF components was deliberately > designed to use attribute names that are similar to (or identical to) > the HTML attributes that they correspond to. The thinking was that > newcomers to JSF who were using

Re: [OT] Java & .Net web services interoperability

2005-07-22 Thread Tom Ziemer
Hi Brent, yes that's possible. I've just implemented a web service (based on Apache Axis) that sends DIME Attachments. We have Java and .NET clients that can consume these. The only problem is that there is bug in the official 1.21 Axis Release so you would have to use the CVS version. Regards, T

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

2005-07-22 Thread Craig McClanahan
On 7/22/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > Since this topic is already a Friday topic, I don't feel bad going OT :) > > On Fri, July 22, 2005 2:04 pm, Craig McClanahan said: > > > action="#{mybean.save_action}" .../> > > I noticed this last night watching a demonstrat

Technique for undetermined time of processing - progress bar

2005-07-22 Thread David Erickson
Sorry for the vague subject. I've got a situation where I need to do some processing before moving a user to a specific page. The processing could be very fast or very long. I'd like to have some kind of a progress bar type meter than can show how much time is left. I will know for sure the exa

Re: [OT] Java & .Net web services interoperability

2005-07-22 Thread Dave Newton
Brent Vaughn wrote: We have a web service written in Java and a C# client to consume the Java web service. We are trying to send SOAP messages with attachments, but the problem is that .NET only accepts DIME attachments. Is it possible for Java to send its SOAP attachments in the DIME format?

[OT] Java & .Net web services interoperability

2005-07-22 Thread Brent Vaughn
We have a web service written in Java and a C# client to consume the Java web service. We are trying to send SOAP messages with attachments, but the problem is that .NET only accepts DIME attachments. Is it possible for Java to send its SOAP attachments in the DIME format? Basically, does Java s

Re: instantiation of actionforms in session scope

2005-07-22 Thread Martin Morawetz
And here comes the solution, damm it. I put an object with properties which didn't implement the Serializable Interface into the Session. In the resin.conf (we still use Resin Version 2.1.6) true was set. So when Resin loads the session, it couldn't load the property and didn't load all other pro

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

2005-07-22 Thread Frank W. Zammetti
Since this topic is already a Friday topic, I don't feel bad going OT :) On Fri, July 22, 2005 2:04 pm, Craig McClanahan said: > action="#{mybean.save_action}" .../> I noticed this last night watching a demonstration of Exadel Studio... Craig, why is it that the attribute of a button

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

2005-07-22 Thread Michael Jouravlev
On 7/22/05, Craig McClanahan <[EMAIL PROTECTED]> wrote: > PS: If you like the concepts and approaches of Spring WebFlow, you > will also like Dialogs in Shale ... it's the same conceptual model. I followed discussion on Spring forum about using SWF in JSF. I even put out some ideas (one of them i

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

2005-07-22 Thread Dave Newton
Craig McClanahan wrote: This philosophy is one of the lessons we took to heart in designing JSF. In the particular case of buttons and hyperlinks, the label of the button and the binding to an action are separated and explicit: Thank goodness there's another reader macro for JSPs!!! ;)

Re: Issue - Database Architecture

2005-07-22 Thread Ed Griebel
You need to be using connection pools rather than creating a raw JDBC connection every time you have a database access, this is why you are running out of concurrent connections. I suspect you are running out of connections because they are never close()d either. Most web/application servers provid

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

2005-07-22 Thread Craig McClanahan
On 7/22/05, Rick Reumann <[EMAIL PROTECTED]> wrote: > When you start adding alternative ways to have your disaptch method > called, it becomes more confusing to try and figure out what actually > gets called. This was a big beef I had with LookUpDispatchAction... it > was so annoying to figure w

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

2005-07-22 Thread Michael Jouravlev
On 7/22/05, Rick Reumann <[EMAIL PROTECTED]> wrote: > I only see these current solutions having merit if you are *required* to > not have any javascript. For me, this will never be a requirement and I > doubt it will ever be. Since I can use javascript it's so easy for me to > just add > > onclick

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

2005-07-22 Thread Craig McClanahan
On 7/22/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > I was thinking about should I post a quote from an article which > discusses a rival project? Then I thought, whatever. They already got > Shale. > > http://www.devx.com/webdev/Article/28041/1954?pf=true > > "Overall, J2EE Web frameworks

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

2005-07-22 Thread Rick Reumann
Rick Reumann wrote the following on 7/22/2005 1:33 PM: onclick="myForm.dispatch.value='someDispatchMethod'" You can use this kind of code with almost anything (with images just also add myForm.submit()). Easy to use and no need to figuure out how yet another flavor of SomeonesNewAndImprovedAc

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

2005-07-22 Thread Rick Reumann
Dave Newton wrote the following on 7/22/2005 12:32 PM: No offense to anybody, but hasn't everybody had to deal with this issue in one way or another if they've used images as buttons? I haven't had to deal with it. I haven't look at Michael Jouravlev's stuff but do remember discussing all of

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

2005-07-22 Thread Michael Jouravlev
I was thinking about should I post a quote from an article which discusses a rival project? Then I thought, whatever. They already got Shale. http://www.devx.com/webdev/Article/28041/1954?pf=true "Overall, J2EE Web frameworks are in a state of flux, having no clear technology leader. Struts is th

Re: [FRIDAY] MVC as metaphor

2005-07-22 Thread Ron Grabowski
For more information on the golden rectangle: Donald in Mathmagic Land (1959) http://www.imdb.com/title/tt0052751/ :-) --- Ted Husted <[EMAIL PROTECTED]> wrote: > On 7/11/05, Leon Rosenberg <[EMAIL PROTECTED]> wrote: > > Some time ago I tried to postulate an enterprise application as a > > r

Re: [FRIDAY] MVC as metaphor

2005-07-22 Thread Greg Ludington
Since it is Friday, don't forget: Curly, Larry, Moe :) Such good separation of layers they could swap in Shemp, Joe, and Curly-Joe without disturbing the others... -Greg On 7/22/05, Ted Husted <[EMAIL PROTECTED]> wrote: > On 7/11/05, Leon Rosenberg <[EMAIL PROTECTED]> wrote: > > Some time ago I

[FRIDAY] MVC as metaphor

2005-07-22 Thread Ted Husted
On 7/11/05, Leon Rosenberg <[EMAIL PROTECTED]> wrote: > Some time ago I tried to postulate an enterprise application as a > row of mvc patterns each using the previous one as the model, and everyone > laughed at me :-) If you look, you can find the MVC pattern everywhere ... not unlike the golden

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

2005-07-22 Thread Ted Husted
On 7/22/05, Access Denied <[EMAIL PROTECTED]> wrote: > Is there any timely definitive literature available for iBATIS? The definitive literature about iBATIS is published by the iBATIS team. * http://ibatis.apache.org/downloads.html Pro Spring also has an excellent chapter on iBATIS, and cove

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

2005-07-22 Thread Michael Jouravlev
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. Michael did > not even know the reasons for most of the code when he first proposed > it as his own. To think he could have c

Re: [OT] Re: Updating JSP causes Workspace to auto rebuild.. causing Tomcat to restart :(

2005-07-22 Thread Lionel
Stéphane Zuckerman wrote: > [EMAIL PROTECTED] a écrit : >> Updating JSP causes Workspace to auto rebuild.. causing Tomcat to >> restart :( > With MyEclipse and JBoss, I do not have this behaviour. Neither with WTP M3/M4/M5 nor with WSAD. ---

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

2005-07-22 Thread Larry Meadors
This is getting further and further off-topic, but we have started talking about iBATIS 3.x as a more generic Data Mapper that would allow more than JDBC mapping and SQL query management. While that is still a way out, that would mean that anything where you have this pattern: (Business Layer)

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

2005-07-22 Thread Dave Newton
Wendy Smoak wrote: At one time I thought JDO was going to help, and "Bean Managed Persistence" has always sounded promising. Unfortunately, all of the examples are SQL based and I don't immediately see how to plug in this strange API that does not have Connection or DataSource. Has anyone else

[FRIDAY] Re: SelectAction - an improved DispatchAction

2005-07-22 Thread Dave Newton
Niall Pemberton wrote: I presume you're referring to the fact that Michael Jouravlev's flavour of DispatchAction uses the ".x" and ".y" suffixes which HTML appends to image button parameters to determine the method to execute as being "code purloined from Michael McGrady"? (If not, then what?)

Re: Issue - Database Architecture

2005-07-22 Thread Dave Newton
Vijay K Anand wrote: I get error : "java.sql.SQLException: Closed Connection: next " when number of concurrent requests is more public class PortfolioMgmtAction extends Action{ private Connection con; public ActionForward execute(..){ this.con = dao.getConnection(); } } public class DA

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

2005-07-22 Thread Wendy Smoak
Access Denied wrote: > it seems no one is writing their own DAOs anymore. No one except those of us who have no choice. :) I use a multi-valued database, IBM's UniData, which does not [easily] speak JDBC. (The DBMS can, but there is a third-party app sitting on top of it that severely limits my o

Re: unable to parse xml string

2005-07-22 Thread Dave Newton
temp temp wrote: I get premature end of file sax exception when I try to parse a string which is an xml file returned from database as blob . I printed this string in console copied and pasted in browser .Browser displayed xml without any parse errors.Can somebody guide me what could go wron

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

2005-07-22 Thread Derek Broughton
Daniel Perry wrote: >> Again, that's a situation where you are involving consultants. >> Consultants >> are expected to know the technology and not learn it on their customers' >> time. When a company has its own IT staff, there are rarely >> opportunities for somebody else to underbid them. > >

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

2005-07-22 Thread Lindholm, Greg
Chill man! (or are you looking for a fight?) I was talking about POJO DAOs, not iBATIS. My point is: Use a tool that takes care of all the grunt work. -Original Message- From: Rick Reumann [mailto:[EMAIL PROTECTED] Sent: Thursday, July 21, 2005 5:11 PM To: Struts Users Mail

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

2005-07-22 Thread Rick Reumann
Access Denied wrote the following on 7/22/2005 9:56 AM: I just shelled out $300 for JetBrains' IDEA because of recommendations from Larry and Rick from this list. Are there plugins for IDEA similar to those available for Eclipse? Yup: http://plugins.intellij.net/plugins/ -- Rick ---

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

2005-07-22 Thread Rick Reumann
Larry Meadors wrote the following on 7/22/2005 10:43 AM: Books are not always a requirement...do you have a book on bicycling or going to the bathroom? I guess some people do, but 99% of us do not because we can do it "well enough" without them. If I want to be the next Lance Armstrong or Ri

Re: How to cancel a cancel

2005-07-22 Thread Michael Jouravlev
On 7/22/05, Rick Reumann <[EMAIL PROTECTED]> wrote: > Kent Boogaart wrote the following on 7/22/2005 5:49 AM: > > > > My actions for pages 2 and 3 have code like this in them: > > > > if (isCancelled(request)) { > > return mapping.findForward(FORWARD_CANCELLED); > > } > > > > My que

Re: SelectAction - an improved DispatchAction

2005-07-22 Thread DGraham
Let's recognize prior art: http://www.jguru.com/faq/view.jsp?EID=893423 - Dennis "Niall Pemberton" <[EMAIL PROTECTED]> 07/22/2005 11:33 AM Please respond to "Struts Users Mailing List" To "Struts Users Mailing List" cc Subject Re: SelectAction - an improved DispatchAction I presu

Re: Issue - Database Architecture

2005-07-22 Thread Daniel Henrique Ferreira e Silva
Hi Vijay, Have you ever tried iBatis? It is a framework that allows you to map sql statements to POJOs and takes care of a lot of issues like: mapping database types to java types, caching, dynamic sql, etc. It really works great, specially for legacy databases. You can get more information on thi

Re: instantiation of actionforms in session scope

2005-07-22 Thread Martin Morawetz
Martin Morawetz schrieb: Hi to all, I use a formbean within session-scope (declared in struts-config.xml). However it behaves like it would be within request-scope. Every new page it gets instantiated again. I checked the sessionid and it is every page the same, so I guess am within the same

Re: SelectAction - an improved DispatchAction

2005-07-22 Thread Niall Pemberton
I presume you're referring to the fact that Michael Jouravlev's flavour of DispatchAction uses the ".x" and ".y" suffixes which HTML appends to image button parameters to determine the method to execute as being "code purloined from Michael McGrady"? (If not, then what?) I agree that, to my knowl

Re: How to cancel a cancel

2005-07-22 Thread Rick Reumann
Kent Boogaart wrote the following on 7/22/2005 5:49 AM: My actions for pages 2 and 3 have code like this in them: if (isCancelled(request)) { return mapping.findForward(FORWARD_CANCELLED); } My question is: is this the normal way to do it? If so, is there an easy / nice way to

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

2005-07-22 Thread Pilgrim, Peter
I think the jewel in the crown with the EJB 3 specification is actually the new persistent model sub part of it. Following Linda De Michels and Scott Crawford presentations at JavaONE this year, you should be able to persist POJOs with any O/RM implementation that supplies a `javax.ejb.EntityMana

Re: Design question

2005-07-22 Thread BHansard
There are several possibilities to do what you are asking. You will still have to modify HTML code, it is just where. I would not typically create multiple jsp pages for Add, Update, Display. I would create a single page using a DynaValidatorForm. this way you can use the same form and based o

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

2005-07-22 Thread Larry Meadors
You just lack appreciation for the finer things in life Buddy. Classical Persian poetry is really quite good. ;-) On a serious note: Basing tech decisions on who has more books out is similar to making them on the company with the higher stock price. Sun: $3.85; MS: $26.44...gosh, what does tha

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

2005-07-22 Thread DGraham
Not sure. However, the source code is available. Sounds like you're just itching to to decouple it from Eclipse? I actually use IDEA (4 years now). The only reason I have Eclipse installed is for this plugin -Dennis Access Denied <[EMAIL PROTECTED]> 07/22/2005 09:56 AM Please respond

unable to parse xml string

2005-07-22 Thread temp temp
I get premature end of file sax exception when I try to parse a string which is an xml file returned from database as blob . I printed this string in console copied and pasted in browser .Browser displayed xml without any parse errors.Can somebody guide me what could go wrong or where did the p

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

2005-07-22 Thread Larry Meadors
Are you asking me or Stéphane? I suspect most people who know me, know my answer: If I have a database and a choice, I am using iBATIS. :-) Larry On 7/22/05, netsql <[EMAIL PROTECTED]> wrote: > > Stéphane Zuckerman wrote: > > Larry Meadors a écrit : > > > > I agree with previous comments sayi

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

2005-07-22 Thread McDonnell, Colm (MLIM)
Here's the address for the IntelliJ plugins homepage: http://www.intellij.org/twiki/bin/view/Main/IntelliJPluginsHome -Original Message- From: Access Denied [mailto:[EMAIL PROTECTED] Sent: 22 July 2005 14:57 To: Struts Users Mailing List Subject: Re: [OT] Hibernate vs. iBatis vs. POJO

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

2005-07-22 Thread Access Denied
I just shelled out $300 for JetBrains' IDEA because of recommendations from Larry and Rick from this list. Are there plugins for IDEA similar to those available for Eclipse? ~buddy On 7/22/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hibernate Synchronizer is an Eclipse plugin that generat

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

2005-07-22 Thread Daniel Perry
> Again, that's a situation where you are involving consultants. > Consultants > are expected to know the technology and not learn it on their customers' > time. When a company has its own IT staff, there are rarely opportunities > for somebody else to underbid them. Really? the majority of the w

Re: SelectAction - an improved DispatchAction

2005-07-22 Thread DGraham
1. Have you forgotten http://j2ee.lagnada.com/struts/html-buttons.htm? 2. History is riddled with examples of 2 or more people inventing/creating the same (fundamentally the same) thing simultaneously. Sometimes they were aware of the race, sometimes not. Witness the Wright brothers vs Samuel

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

2005-07-22 Thread Derek Broughton
Ed Griebel wrote: > All too often that's how it works. If you say no, there are people > that will say yes. Even if they end up taking as much time as you said > it would, they've got the project, not you. Again, that's a situation where you are involving consultants. Consultants are expected t

Re: Design question

2005-07-22 Thread Daniel Łaś
Well, I thing about something else. If UserView bean can generate HTML form fields dependig on User attributes, one for adding, another one for editing I could only change my User bean (model) and my view layer will work without change. I think that it is possible to write action that will wor

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

2005-07-22 Thread Derek Broughton
netsql wrote: > Frank W. Zammetti wrote: > It has not been unusual to estimate three months >> for something, and that's fairly realistic to do it right, and the >> business says "nope, 1.5 months is when we need it". > > > I need you to paint the house, but I only have budget to wash my hair? >

Re: OT: StringUtil to trim dup subsequent characters

2005-07-22 Thread klute
Ed, Thanks! i forgot that i could actually use a pattern within the first arg of replaceAll best, James --- Ed Griebel <[EMAIL PROTECTED]> wrote: > Try using String.replaceAll(), e.g., String x = > "helloworld"; > String y = x.replaceAll(" +", " "); > > -ed > > On 7/22/05, klute <[EMAIL P

Re: OT: StringUtil to trim dup subsequent characters

2005-07-22 Thread Ed Griebel
Try using String.replaceAll(), e.g., String x = "helloworld"; String y = x.replaceAll(" +", " "); -ed On 7/22/05, klute <[EMAIL PROTECTED]> wrote: > hello all, > > my appologies for the OT. before i write this little > util, is there such thing already present out there? I > need to do somet

Re: validation question...

2005-07-22 Thread Aleksandar Matijaca
I like the CSS 'trick' -- I will try it tonight ! Thanks again Wendy, Regards, Alex. On 7/22/05, Wendy Smoak <[EMAIL PROTECTED]> wrote: > > From: "Aleksandar Matijaca" <[EMAIL PROTECTED]> > > I would like > > to automatically place a little red * right beside the input field. > > For my passwo

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

2005-07-22 Thread Stéphane Zuckerman
[EMAIL PROTECTED] a écrit : Hibernate Synchronizer is an Eclipse plugin that generates the config and mapping files as well as the VO/DAO classes. So, unless you want to hand-crank it OR you are an anti-Eclipse zealot, I suggest that you visit http://hibernatesynch.sourceforge.net/. Takes abo

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

2005-07-22 Thread Access Denied
I bought James Elliott's "Hibernate" (O'Reilly Developer Notebook Series 2004), but a search for "iBATIS" on amazon returns books like "Pocket Guide to the Birds of Britain and North-West Europe" and "An Introduction To The Mystical Use of Classical Persian Poems." Is there any timely definitive l

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

2005-07-22 Thread DGraham
Hibernate Synchronizer is an Eclipse plugin that generates the config and mapping files as well as the VO/DAO classes. So, unless you want to hand-crank it OR you are an anti-Eclipse zealot, I suggest that you visit http://hibernatesynch.sourceforge.net/. Takes about an hour to have Hibernate

[OT] Re: Updating JSP causes Workspace to auto rebuild.. causing Tomcat to restart :(

2005-07-22 Thread Stéphane Zuckerman
[EMAIL PROTECTED] a écrit : Updating JSP causes Workspace to auto rebuild.. causing Tomcat to restart :( I'm now turning off auto build when working in jsp's, obviously forgetting to switch it on when doing java class changes Any other way this can be solved? I suppose you're using the Eclipse

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

2005-07-22 Thread Stéphane Zuckerman
netsql a écrit : So are you saying Hibreante for big complex or iBatis for big complex? I don't know about iBatis, but Hibernate is definitely for medium to big projects. The real "complexity" of Hibernate is in its configuration (there is more or less one Java class for each table in your D

OT: StringUtil to trim dup subsequent characters

2005-07-22 Thread klute
hello all, my appologies for the OT. before i write this little util, is there such thing already present out there? I need to do something like: MyStringUtil.trimSubsequentOccurrences(String input, String pattern) Example: MyStringUtil.trimSubsequentOccurrences("it's a good day", " ") <- no

Re: add a new message to a message resources file

2005-07-22 Thread dumbQuestionsAsker _
Nice to hear it, after making my own :) thank you very much. Dumbo From: Laurie Harper <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: user@struts.apache.org Subject: Re: add a new message to a message resources file Date: Thu, 21 Jul 2005 16:38:17 -0400 dumbQuestionsAsker _ wr

Re: Design question

2005-07-22 Thread BHansard
I think you are re-inventing something here. To do what you are wanting is already in struts to some degree. you have your User Bean, You define an formbean which either contains UserBean or contains fields that match UserBean on your jsp page you create something like This

Updating JSP causes Workspace to auto rebuild.. causing Tomcat to restart :(

2005-07-22 Thread jacob.willig
Updating JSP causes Workspace to auto rebuild.. causing Tomcat to restart :( I'm now turning off auto build when working in jsp's, obviously forgetting to switch it on when doing java class changes Any other way this can be solved? Jacob Willig ING Bank Europe Web Team OPS&IT/ADC GS/AM COSS/EWT

Re: AW: AW: [OT] Struts and Content Management

2005-07-22 Thread BHansard
Thank you all for your input, we are evaluating several of the CMS apps that have been recommended. As always, I applaude the rapid feedback and knowledge that is available on this mailing list. thank you again. ">"Leon Rosenberg" <[EMAIL PROTECTED]> "Leon Rosenberg" <[EMAIL PROTECTED]>

Design question

2005-07-22 Thread Daniel Łaś
Hi I'm interested in yours opinions about following design approach. I'd like to create some kind of "view" beans for viewable model beans. Those view beans can generate HTML for attached model bean. This generated HTML is based on resources, so I am able to generate different HTML code depen

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

2005-07-22 Thread Ed Griebel
All too often that's how it works. If you say no, there are people that will say yes. Even if they end up taking as much time as you said it would, they've got the project, not you. Sometimes the short time is understandable, possibly due to uncontrollable situations, but most of the time it's due

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

2005-07-22 Thread netsql
Stéphane Zuckerman wrote: Larry Meadors a écrit : I agree with previous comments saying that Hibernate is useful if your project is quite large. Otherwise, the time taken to set it up would be better used to do something else. It does add some complexity when thinking through a new project, a

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

2005-07-22 Thread Stéphane Zuckerman
Larry Meadors a écrit : I think I would still like to have the freedom of writing normal SQL queries while having the flexibility of using a mapping tool. I guess Hibernate does provide that kind of flexibility. Wo, you did a great job of describing iBATIS for not ever using it: It uses n

Issue - Database Architecture

2005-07-22 Thread Vijay K Anand
Hi All I get error : "java.sql.SQLException: Closed Connection: next " when number of concurrent requests is more public class PortfolioMgmtAction extends Action{ private Connection con; public ActionForward execute(..){ this.con = dao.getConnection(); } } public class DAO { privat

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

2005-07-22 Thread netsql
Frank W. Zammetti wrote: It has not been unusual to estimate three months for something, and that's fairly realistic to do it right, and the business says "nope, 1.5 months is when we need it". I need you to paint the house, but I only have budget to wash my hair? That is no respect and a bi

Re: [OT] Struts and Content Management

2005-07-22 Thread Glen Mazza
Just to be complete, for a heavily XML/Cocoon based solution, there is also Apache Lenya. I have not used it, however, and am uncertain of its quality. Glen Daniel Henrique Ferreira e Silva escribió: Hi BHansard, Do you really have to stick to Java for a CMS? If, and only if, java is not m

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

2005-07-22 Thread Larry Meadors
On 7/21/05, Nitish Kumar <[EMAIL PROTECTED]> wrote: > > Never worked with IBatis, so can not comment. > > I think I would still like to have the freedom of writing normal SQL > queries > while having the flexibility of using a mapping tool. I guess Hibernate > does > provide that kind of flexib

  1   2   >