Regarding bean:write/

2005-08-10 Thread Swapnil Patil
Hi all, In my jsp page... jsp:getProperty name=GraphStep1Form property=legendsAlignment/ bean:write name=GraphStep1Form property=strTitle / above code works fine. but bean:write name=GraphStep1Form property=legendsAlignment / doesn't works. in GraphStep1Form.java strTitle -- String

Re: multiple instances of one ActionForm

2005-08-10 Thread Leo Asanov
Yes, I am talking about one form per request situation. I don't really see how I can use it as it is. ActionForm object will be overriden with the latest one and all previous data will be lost. Ideally I would prefer to have all data stored in the session automatically and only when user clicks

Re: multiple instances of one ActionForm

2005-08-10 Thread Michael Jouravlev
ActionForm does not have to correlate to HTML form one-to-one. You can create one ActionForm with session scope and use nested DTOs/BOs for each HTML form. For relatives' form you can use a list of nested DTOs. It is even simpler that you do not need to render a particular relative, you just enter

Re: multiple instances of one ActionForm

2005-08-10 Thread Leo Asanov
Michael, I don't think I really understand your suggestion. Don't I loose struts validation functionality if I don't have an ActionForm per html form? Cheers, Leo ActionForm does not have to correlate to HTML form one-to-one. You can create one ActionForm with session scope and use nested

Re: Regarding bean:write/

2005-08-10 Thread Gareth Evans
Correct me if i'm wrong... i think that when been write is used to write an int to the page it uses a message resource to format that integer. I've belive the key is org.apache.struts.taglib.bean.format.int So because your not using a message resource an exception is being thrown. You could

Re: Struts and Hibernate lazy

2005-08-10 Thread Konrad Billewicz
Nick Heudecker nheudecker at gmail.com writes: The most common way to solve this problem is to use the Open Session In View pattern, which leaves the Hibernate session open until the JSP has finished rendering. Typically accomplished with a filter, there is also a Struts plugin to help with

RE: Struts and Hibernate lazy

2005-08-10 Thread Marco Mistroni
Hello, Could you tell me more? Which filter? Do you mean Tomcat filters? Which plugin? It's a Servlet Filter if I am correct.. Plugin is a Struts plugin If you check www.hibernate.org in FAQ there should be a link to those informations.. Regards marco

Re: Struts and Hibernate lazy

2005-08-10 Thread Gareth Evans
http://www.javalobby.org/java/forums/t20533.html Marco Mistroni wrote: Hello, Could you tell me more? Which filter? Do you mean Tomcat filters? Which plugin? It's a Servlet Filter if I am correct.. Plugin is a Struts plugin If you check www.hibernate.org in FAQ there should be a link

Re: Regarding bean:write/

2005-08-10 Thread Swapnil Patil
Hi Gareth As you suggested bean:write name=GraphStep1Form property=legendsAlignment format=# / is working. Thanks. :) Still i have doubt-: Is it mandetary to set format attribute in baen:write/ to display int property? Is it necessary to define resource file to display int property ? And

Re: [OT]: Struts and Hibernate lazy

2005-08-10 Thread Konrad Billewicz
Lindholm, Greg glindholm at neom.com writes: What I do is use a Hibernate Servlet Filter that closes the Hibernate session at the end of the request. This is used in conjunction with the HibernateUtils class that stores the Hibernate session in ThreadLocal storage. An example of this

Re: Struts and Hibernate lazy

2005-08-10 Thread Konrad Billewicz
Gareth Evans gareth.evans at msoft.co.uk writes: http://www.javalobby.org/java/forums/t20533.html While ago other kind person gave mi a link to the Hibernate web site and I solved my problem. I'll read this article later. Thank you for it. Best regards, Konrad Billewicz

Re: Regarding bean:write/

2005-08-10 Thread Gareth Evans
I think if you don't specify the format property it will look for the resource key. You can specify a different resource key by using formatKey=my.int.format It may also depend on the returnNull attribute of your message resources. Checkout,

Re: Avis.com J2EE website

2005-08-10 Thread James Neville
Or even better:- http://www.dynarch.com/demos/jscalendar/ Our users love this :) [EMAIL PROTECTED] wrote: These usually involve JavaScript. Here's a link: http://www.mattkruse.com/javascript/calendarpopup/ Regards, Geeta C.F. Scheidecker Antunes [EMAIL PROTECTED] 08/09/2005 07:25 PM

RE: [OT]Terrific intro to JSF

2005-08-10 Thread Daniel Perry
Interesting idea. Let's do a bit of mental exploration of what actually happens to see how practical it is. When does a Struts custom tag actually execute? Only when the page is being rendered, as the various HTML elements get produced. Now, when does (server side) validation need to

Re: Avis.com J2EE website

2005-08-10 Thread delbd
you can have nice multilingual calendar component using struts-layout :) Le Mercredi 10 Août 2005 11:35, James Neville a écrit : Or even better:- http://www.dynarch.com/demos/jscalendar/ Our users love this :) [EMAIL PROTECTED] wrote: These usually involve JavaScript. Here's a link:

Re: Last question on JAAS I promise

2005-08-10 Thread Adam Hardy
My bet is that Mark will get will get 95% of the way there but not be able to bend container-managed security that last little bit to achieve what he needs. I don't want to be deliberately down on this and I'd love to be wrong about it, but I've been there and done that in Tomcat 5 and JBoss

RE: Last question on JAAS I promise

2005-08-10 Thread Mark Benussi
Hello! I ran out of time and have had to go to a clients today, may do dome work tonight from the hotel. The end result with my JAAS implementation was that I successfully got the JAAS code invoked from tomcat via the LoginContext, however I had to, excuse my language, bastardise my app to place

Application wide message resources

2005-08-10 Thread Daniel Schaller
Hi, I have an application that has a default module and several sub modules. Is it possible to define application wide message resources in the default module that can also be access from the sub modules? Thanks, Daniel

RE: [OT]Terrific intro to JSF

2005-08-10 Thread Pilgrim, Peter
-Original Message- From: C.F. Scheidecker Antunes [mailto:[EMAIL PROTECTED] ==== Well. It seems that all articles were written already. http://www-128.ibm.com/developerworks/views/java/libraryview.jsp?search_by=nonbelievers: [EMAIL PROTECTED] wrote: Hi all: ==== I

Re: {Spam?} RE: [OT]Terrific intro to JSF

2005-08-10 Thread GRamani
Daniel: Daniel Perry [EMAIL PROTECTED] wrote on 08/10/2005 05:39:49 AM: My reasoning behind all this stuff, is i HATE all these xml config files. Or more accurately, I like xml config files, but I hate moving between X different xml files. It might suit IDEs, but it aint right for humans!

Re: {Spam?} RE: [OT]Terrific intro to JSF

2005-08-10 Thread GRamani
Pilgrim, Peter [EMAIL PROTECTED] wrote on 08/10/2005 08:19:39 AM: I was trying to print out the above documents so I could read them on the train last night. I cant believe that IBM Developer does not have a Printer Friendly link for its online stuff. I could be wrong! Exactly!! Their Print

how to include a jsp into another

2005-08-10 Thread Tremal Naik
hello, I'm trying to realize the jsp:include functionality throught pure Struts tags. I included in my JSP the following: bean:include id=report page=/otherPage.jsp when I display it within a scriptlet: %=report% the page is rendered as expected, but when I try to display it with

RE: {Spam?} RE: [OT]Terrific intro to JSF

2005-08-10 Thread Daniel Perry
I am positive that they used to have 'pdf' versions of all the developerworks articles. The developerworks newsletters have some quite interesting stuff in them (and most of it isnt IBM specific!) Daniel. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 10

Re: how to include a jsp into another

2005-08-10 Thread Gareth Evans
bean:write name=report filter=false / Tremal Naik wrote: hello, I'm trying to realize the jsp:include functionality throught pure Struts tags. I included in my JSP the following: bean:include id=report page=/otherPage.jsp when I display it within a scriptlet: %=report% the page is

Re: [OT]Terrific intro to JSF

2005-08-10 Thread Wendy Smoak
From: Pilgrim, Peter [EMAIL PROTECTED] http://www-128.ibm.com/developerworks/views/java/libraryview.jsp?search_by=nonbelievers: I was trying to print out the above documents so I could read them on the train last night. I cant believe that IBM Developer does not have a Printer Friendly link

RE: [OT]Terrific intro to JSF

2005-08-10 Thread GRamani
Sorry this is the link I meant to send: http://www.mail-archive.com/user@xdoclet.codehaus.org/msg00029.html Geeta Daniel: Daniel Perry [EMAIL PROTECTED] wrote on 08/10/2005 05:39:49 AM: My reasoning behind all this stuff, is i HATE all these xml config files. Or more accurately,

RE: [OT]Terrific intro to JSF

2005-08-10 Thread Pilgrim, Peter
-Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] ==== From: Pilgrim, Peter [EMAIL PROTECTED] http://www-128.ibm.com/developerworks/views/java/libraryview.jsp?search_by=nonbelievers: I was trying to print out the above documents so I could read them on

Re: how to include a jsp into another

2005-08-10 Thread Tremal Naik
2005/8/10, Gareth Evans [EMAIL PROTECTED]: bean:write name=report filter=false / so easy that I didn't noticed in the documentation ;) thanks! -- TREMALNAIK - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: multiple instances of one ActionForm

2005-08-10 Thread Frank W. Zammetti
You may lose *automatic* validation... remember that there is no technical reason you have to use ActionForms at all, and if you do use them there is nothing that says you have to associate them with Action Mappings. For instance, I have seen some situations where developers didn't want the

Re: {Spam?} Re: [OT]Terrific intro to JSF

2005-08-10 Thread GRamani
That's how I tried to print and I got yukky results... (But I'm using Firefox maybe I gotta use IE or something..?) Geeta Wendy Smoak [EMAIL PROTECTED] wrote on 08/10/2005 09:23:29 AM: From: Pilgrim, Peter [EMAIL PROTECTED]

How to use JSTL 1.1 with Struts non-el taglibs

2005-08-10 Thread Michael Mattox
I read a mail in the archives here which said if you're using a Servlet spec 2.3 then use JSTL 1.0 with struts-el taglibs. But if you're using 2.4 then use JSTL 1.1 with struts taglibs. I'm using tomcat 5.5.9 so I'd like to use JSTL 1.1 but I don't understand how to use them with the regular

Re: Server restart after Struts changes.

2005-08-10 Thread Ayusman dikshit
Hi List, Every time I make changes to my struts application, I need to restart my server. Could any one tell me how can I get rid of this?? I am using Tomcat5.0 Thanks in advance Ayusman CAUTION - Disclaimer * This e-mail contains PRIVILEGED AND CONFIDENTIAL

RE: {Spam?} Re: [OT]Terrific intro to JSF

2005-08-10 Thread Pilgrim, Peter
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ==== That's how I tried to print and I got yukky results... (But I'm using Firefox maybe I gotta use IE or something..?) Geeta I tried Firefox, then attempt Internet Explorer same bad results. Just

Instantiation of form bean

2005-08-10 Thread Dave
Thanks to all that answered my first question. And, as an explanation when I said I waited 30 minutes, I meant I did not see my own message after having waited 30 minutes. However, what is clear to me is that I did not provide enough information to generate a solution. In the forms bean

Re: [OT]Terrific intro to JSF

2005-08-10 Thread GRamani
Damn. Wish *I* had thought of saying just bloody awful infuriating nonsense in some of the project meetings I've sat in in the past..;)) Geeta Pilgrim, Peter [EMAIL PROTECTED] wrote on 08/10/2005 09:42:05 AM: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

Re: Instantiation of form bean

2005-08-10 Thread Gareth Evans
Try, html:select property=member.startYear html:optionsCollection name=member property=displayYear value=val label=text/ /html:select Gareth Dave wrote: Thanks to all that answered my first question. And, as an explanation when I said I waited 30 minutes, I meant I did not see my own

Re: multiple instances of one ActionForm

2005-08-10 Thread Jeff Beal
Could you just put all of your completed ActionForms in a session-scoped collection, then loop through that collection when the user clicks Finish? This isn't a standard procedure, to my knowledge, but it would be the first approach I would take given similar requirements. -- Jeff On 8/10/05,

[OT]List of crrently running threads in JVM

2005-08-10 Thread Prashanth.S
Hello, Sorry for this OT but had no other option.. Is there any way in java to list all the currently executing thread in a running JVM process?? Thanks IN Advance Prashanth Send instant messages to your online friends http://asia.messenger.yahoo.com

validate() not called haunts

2005-08-10 Thread Jay Sheth
Hi, Thanks for all the help. Now i have got the debugging working. But still the problem remains, validate() not being called. I tried all combinations...I made a simple action and form without any business logic etc...but i dont understand why validate method is being called in only a single form

Re: [OT]List of crrently running threads in JVM

2005-08-10 Thread Gareth Evans
if you using java5, jps - will list the process id's of all java5 jvms jstack proccessid - will list the threads within that jvm http://java.sun.com/j2se/1.5.0/docs/tooldocs/share/jps.html http://java.sun.com/j2se/1.5.0/docs/tooldocs/share/jstack.html gareth Prashanth.S wrote: Hello, Sorry

reset method of formbean

2005-08-10 Thread temp temp
I have an action which has a formbean in session scope . I want to reset this formbean whenever request is made to this action with a request parameter (say refresh). I have a reset method in the formbean which sets all the properties of this bean to null. In the action class I look

Re: [OT]List of crrently running threads in JVM

2005-08-10 Thread Ed Griebel
Actually, I believe that you did have another option, Google for dump jvm thread site:sun.com Your answer is even on the first page of results. http://www.google.com/search?q=dump+jvm+thread+site%3Asun.com On 8/10/05, Prashanth.S [EMAIL PROTECTED] wrote: Hello, Sorry for this OT but had no

Re: validate() not called haunts

2005-08-10 Thread Gareth Evans
You could manually set the errors in the page within your action with the method addErrors( request , form.update(mapping,request) ); the addErrors method is already defined in the class Action. Jay Sheth wrote: Hi, Thanks for all the help. Now i have got the debugging working. But still the

RE: Server restart after Struts changes.

2005-08-10 Thread Marius Hanganu
You can reload the application using a request to http://localhost:8080/manager/reload?path=/xxx or using ant tasks for starting/stopping/reloading apps (tasks provided in Tomcat libs) Marius -Original Message- From: Ayusman dikshit [mailto:[EMAIL PROTECTED] Sent: Wednesday, August

Re: {Spam?} Re: validate() not called haunts

2005-08-10 Thread GRamani
Gareth Evans [EMAIL PROTECTED] wrote on 08/10/2005 10:28:31 AM: You could manually set the errors in the page within your action with the method addErrors( request , form.update(mapping,request) ); the addErrors method is already defined in the class Action. It is

Re: Last question on JAAS I promise

2005-08-10 Thread Wendy Smoak
From: Mark Benussi [EMAIL PROTECTED] The end result with my JAAS implementation was that I successfully got the JAAS code invoked from tomcat via the LoginContext, however I had to, excuse my language, bastardise my app to place the Subject in the session after authentication, and then

Why interface

2005-08-10 Thread Carl Smith
In Java/J2EE community, it seems that a lot of experienced developers tend to use a lot of interfaces, however, a lot of junior developers ignore using interface. I am not sure why interfaces seem to be favorite to some experienced developers. Can some one explain this?Can you give examples

[OT ]Re: Why interface

2005-08-10 Thread DGraham
Program to an interface, not an implementation. #1 principle from GoF. Here's a recent interview with Erich Gamma: http://www.artima.com/lejava/articles/designprinciples.html -Dennis Carl Smith [EMAIL PROTECTED] 08/10/2005 10:47 AM Please respond to Struts Users Mailing List

validate() finally called !!!!!!!

2005-08-10 Thread Jay Sheth
Hi, Thanks for all the help. Any1 wont believe what a silly mistake. I forgot to add the html:errors / tag in the jsp page. I found out by when reading doc for the addErrors(). Thanks once again. Jay On 8/10/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Gareth Evans [EMAIL PROTECTED] wrote

[OT] Re: Why interface

2005-08-10 Thread Jerry Tan
At the end of the day, some would say there's really no functional difference between the two. But as for a preference for interfaces, well, partly it's due to the limitation of single inheritance in Java. Using interfaces provides the functionality of acting as a derivative of multiple base

RE: Last question on JAAS I promise

2005-08-10 Thread David G. Friedman
Wendy, Sounds like you're re-inventing SecurityFilter. :) (Yes, I've read their code) Regards, David -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 10, 2005 10:46 AM To: Struts Users Mailing List Subject: Re: Last question on JAAS I promise

Re: Application context bean

2005-08-10 Thread Dave Newton
Frank W. Zammetti wrote: Probably a better idea to be more deterministic and do it with a listener though, for the reasons Craig expertly described. I agree. Thanks guys--I'll definitely make the switch! Dave - To

Re: Why interface

2005-08-10 Thread Frank W. Zammetti
I think it usually comes down to three reasons... (1) A class can only extend a single class, whereas it can implement multiple interfaces (Interfaces are Java's version of multiple inheritance in C). So, as soon as you get to the point where extending a single class just isn't sufficient, it's

Re: Why interface

2005-08-10 Thread Dave Newton
Frank W. Zammetti wrote: I think it usually comes down to three reasons... I'd add a fourth, although really it's just a result of the reasons you mention. But I think it's important enough to warrant attention :) (4) Dependency Injection/Configurability. Classes that implement

RE: [OT]Terrific intro to JSF

2005-08-10 Thread Pilgrim, Peter
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ==== Damn. Wish *I* had thought of saying just bloody awful infuriating nonsense in some of the project meetings I've sat in in the past..;)) Geeta Pilgrim, Peter [EMAIL PROTECTED] wrote on 08/10/2005

RE: [OT]Terrific intro to JSF

2005-08-10 Thread Marco Mistroni
Hello, I got it printed in landscape Awful, but at least all words are there :) Good luck Regards marco -Original Message- From: Pilgrim, Peter [mailto:[EMAIL PROTECTED] Sent: 10 August 2005 16:40 To: 'Struts Users Mailing List' Subject: RE: [OT]Terrific intro to JSF

Re: Application context bean

2005-08-10 Thread Craig McClanahan
On 8/10/05, Dave Newton [EMAIL PROTECTED] wrote: Frank W. Zammetti wrote: Probably a better idea to be more deterministic and do it with a listener though, for the reasons Craig expertly described. I agree. Thanks guys--I'll definitely make the switch! Besides being more

Java code generator including Struts 1.2

2005-08-10 Thread Jinpeng Xie
Dear struts users, I purchased Dreamsource- a Java code generator from Leeonsoft company (http://www.leeonsoft.com) last week. It is so powerful code generator. It generates all source codes including Struts 1.2 codes. I highly recommend this product to you. I hope you can save a lot of

Re: Java code generator including Struts 1.2

2005-08-10 Thread GRamani
But I (and you too!) can already get the source for struts for free..:)) Geeta Jinpeng Xie [EMAIL PROTECTED] wrote on 08/10/2005 11:54:53 AM: Dear struts users, I purchased Dreamsource- a Java code generator from Leeonsoft company ( http://www.leeonsoft.com) last week. It is so powerful

Re: Application context bean

2005-08-10 Thread Dave Newton
Craig McClanahan wrote: Besides being more deterministic in this scenario, one quickly gets hooked on the ability to get notified when *attributes* are changed in request/session/application scope, as well as lifecycle events -- without having to modify the classes of the attribute instances

Re: Java code generator including Struts 1.2

2005-08-10 Thread Dave Newton
[EMAIL PROTECTED] wrote: But I (and you too!) can already get the source for struts for free..:)) I don't think that's what was meant... I'm pretty sure the original poster meant that it handled the generation of application code. Dave

Nice try (was Java code generator including Struts 1.2)

2005-08-10 Thread DGraham
Registrant: LeEonsoft 1300 Fern Hill Court Tallahassee, Florida 32312 United States Registered through: GoDaddy.com (http://www.godaddy.com) Domain Name: LEEONSOFT.COM Created on: 23-Dec-02 Expires on: 23-Dec-13 Last Updated on: 27-Jul-05 Administrative Contact: Xie, Jinpeng [EMAIL PROTECTED]

Re: Nice try (was Java code generator including Struts 1.2)

2005-08-10 Thread James Mitchell
LOLbusted! -- James Mitchell Software Engineer / Open Source Evangelist Consulting / Mentoring / Freelance EdgeTech, Inc. http://www.edgetechservices.net/ 678.910.8017 AIM: jmitchtx MSN: [EMAIL PROTECTED] Skype: jmitchtx - Original Message - From: [EMAIL PROTECTED] To: Struts

Re: Nice try (was Java code generator including Struts 1.2)

2005-08-10 Thread Dave Newton
[EMAIL PROTECTED] wrote: Registrant: LeEonsoft Xie, Jinpeng [EMAIL PROTECTED] Oh. Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [OT]Terrific intro to JSF

2005-08-10 Thread Michael Jouravlev
On 8/10/05, Pilgrim, Peter [EMAIL PROTECTED] wrote: I had another go at printing just the first page. Try 70% scale. It worked for me, which gets me a main text with a font size of, I think, about 7.5 - 8.0 points, right on the limit for stationary reading, but impossible to read on a

Re: Nice try (was Java code generator including Struts 1.2)

2005-08-10 Thread Frank W. Zammetti
Man, that just demonstrates exactly how much of a cynical ba***rd I actually am... Before I even saw the registration info, when I saw the original post as a matter of fact, I just *assumed* this was the case. I'm further gone than I thought :) -- Frank W. Zammetti Founder and Chief Software

Re: [OT]Terrific intro to JSF

2005-08-10 Thread Craig McClanahan
On 8/10/05, Daniel Perry [EMAIL PROTECTED] wrote: My reasoning behind all this stuff, is i HATE all these xml config files. Or more accurately, I like xml config files, but I hate moving between X different xml files. It might suit IDEs, but it aint right for humans! You've got a jsp page

Re: Nice try (was Java code generator including Struts 1.2)

2005-08-10 Thread Michael Jouravlev
On 8/10/05, Dave Newton [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: Registrant: LeEonsoft Xie, Jinpeng [EMAIL PROTECTED] Oh. Which is why I prefer to pay godaddy extra nine bucks a year for them to hide my registration info ;) Michael.

Re: Nice try (was Java code generator including Struts 1.2)

2005-08-10 Thread Martin Gainty
Jinpeng- I think code generators could be a 'good thing' ..A few questions - Does it create Tags? Tag Library Descriptor files? Does it generate desciptor files (struts-config.xml?)? Does it generate entity beans? session beans? Does it war the file

Re: Why interface

2005-08-10 Thread Laurie Harper
Carl Smith wrote: In Java/J2EE community, it seems that a lot of experienced developers tend to use a lot of interfaces, however, a lot of junior developers ignore using interface. I am not sure why interfaces seem to be favorite to some experienced developers. Can some one explain this?Can

Re: Nice try (was Java code generator including Struts 1.2)

2005-08-10 Thread BHansard
I have used code generators in the past. True they can save initial development time, but many have serious short comings. (Not that this one does as I know nothing about it, but in general.) 1. The code is lowest common denominator code. Meaning that the generated code could typlically be

Re: [OT]Terrific intro to JSF

2005-08-10 Thread Laurie Harper
Craig McClanahan wrote: For validations, using one configuration file versus two isn't really different in terms of functionality being supported -- and in one respect (using different validation rules with the same form under different circumstances) it might actually reduce flexibility. Some

Re: Why interface

2005-08-10 Thread Dave Newton
Laurie Harper wrote: As a more general example, consider if you wrote all your code to use ArrayList and later found, after profiling, that you needed to switch to LinkedList for performance reasons. You'd have to update all your code -- including all the clients of all the methods that

Re: Nice try (was Java code generator including Struts 1.2)

2005-08-10 Thread Jinpeng Xie
You can got the following source codes: (1) jsp code using Struts tag library for database CRUD methods. (2). struts-config.xml (3). validation.xml (3). action source codes. (4). form source codes (5). session bean source codes. (6). JDBCHome

AW: Nice try (was Java code generator including Struts 1.2)

2005-08-10 Thread Leon Rosenberg
Hmm... I think you clearly offence the rule one for generators: generated code should never be touched! Regards leon -Ursprüngliche Nachricht- Von: Jinpeng Xie [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 10. August 2005 18:47 An: Struts Users Mailing List; Martin Gainty Betreff:

Re: Why interface

2005-08-10 Thread Michael Jouravlev
On 8/10/05, Dave Newton [EMAIL PROTECTED] wrote: Laurie Harper wrote: As a more general example, consider if you wrote all your code to use ArrayList and later found, after profiling, that you needed to switch to LinkedList for performance reasons. You'd have to update all your code --

RE: Server restart after Struts changes.

2005-08-10 Thread Ayusman dikshit
Hi there, It would help me a lot if you could be a little more specific about Using the ant. Thanks and regards Ayusman -Original Message- From: Marius Hanganu [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 10, 2005 8:05 PM To: Struts Users Mailing List Subject: RE: Server restart

RE: Nice try (was Java code generator including Struts 1.2)

2005-08-10 Thread Lindholm, Greg
That's a very narrow view of code generators. There are plenty of domains where the generator is used once to give the programmer a starting point. (I'm not commenting on nor judging this guys stuff.) -Original Message- From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Sent: Wednesday,

AW: Nice try (was Java code generator including Struts 1.2)

2005-08-10 Thread netsql
Yeah, them ANN people. ;-) .V People are conversing... without posting their email or filling up their mail box. ~~1123694825943~~ roomity.com http://roomity.com/launch.jsp No sign up to read

Re: Server restart after Struts changes.

2005-08-10 Thread Wendy Smoak
From: Ayusman dikshit [EMAIL PROTECTED] It would help me a lot if you could be a little more specific about Using the ant. See if this helps... http://wiki.wsmoak.net/cgi-bin/wiki.pl?TomcatAntTasks -- Wendy Smoak - To

RE: Nice try (was Java code generator including Struts 1.2)

2005-08-10 Thread Frank W. Zammetti
Anyone who has read this list for a while knows my feeling on automated code generation... saying it's a crime against humanity might be overstating my opinion a bit, but not by much :) I think Greg says it well though... I never had a problem using the application wizard in Visual C++... it just

Re: Why interface

2005-08-10 Thread Ulrich Elsner
On 8/10/05, Laurie Harper [EMAIL PROTECTED] wrote: Carl Smith wrote: In Java/J2EE community, it seems that a lot of experienced developers tend to use a lot of interfaces, however, a lot of junior developers ignore using interface. I am not sure why interfaces seem to be favorite to some

RE: Nice try (was Java code generator including Struts 1.2)

2005-08-10 Thread BHansard
VisualAge for Java, Remember it well. I went through the same senerio with it's EJB generator. Frank W. Zammetti [EMAIL PROTECTED] Frank W. Zammetti [EMAIL PROTECTED] 08/10/2005 01:34 PM Please respond to Struts Users Mailing List user@struts.apache.org To Struts Users

RE: Nice try (was Java code generator including Struts 1.2)

2005-08-10 Thread BHansard
WebSphere Application Developer has a Struts Diagraming tool that will let you create a skeleton struts application using drag and drop. It does very well. It will populate your struts-config.xml and create skeleton JSPs, ActionClasses, FormObjects, and the like. No actual code generation,

RE: Nice try (was Java code generator including Struts 1.2)

2005-08-10 Thread Frank W. Zammetti
YES! That's it! Thank you for reminding me! No, on second thought, d**n you for reminding me :-) LOL -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Wed, August 10, 2005 1:53 pm, [EMAIL PROTECTED] said: VisualAge for Java, Remember

RE: Nice try (was Java code generator including Struts 1.2)

2005-08-10 Thread Frank W. Zammetti
I have a copy of RAD here, but I've purposely stayed away from it because I had some bad experience with it and WSAD before it... recently, it screwed up doing J2EE security configuration and I spent two days trying to understand the XML it spit out, finally got it and fixed it by hand.

Re: Nice try (was Java code generator including Struts 1.2)

2005-08-10 Thread Michael Jouravlev
On 8/10/05, Frank W. Zammetti [EMAIL PROTECTED] wrote: I remember having to deal with some Swing code that was created by a junior programmer using some IDE (I forget which frankly, it's not on the market any more - I want to say it was IBM's old one before WSAD, but I might be wrong). The

RE: Why interface

2005-08-10 Thread Paranj, Bala
Program to an interface, not an implementation. This concept is different from deciding whether to use Java Interfaces or abstract classes. The term interface in this context actually means type. This is basically the same thing as the Liskov's Substitution Principle. LSP is a well defined

login and password problem

2005-08-10 Thread Sławek Tuleja
Hello 1.) I have this in struts-config.xml: --- data-sources data-source type=org.apache.commons.dbcp.BasicDataSource set-property property=driverClassName

RE: Nice try (was Java code generator including Struts 1.2)

2005-08-10 Thread Mark Benussi
WSAD and RAD have something but now Eclipse 3.1 does that as well I questioned why someone would pay all that money for WSAD, I used to work for Blue and got it for free. VisualAge for Java was in its time, great. It even came bundled with a Source repository which was great. But

Re: Nice try (was Java code generator including Struts 1.2)

2005-08-10 Thread Frank W. Zammetti
No argument here... Swing is a pain in the arse under the best of conditions. I'm not sure just having resource files would make it not so, but it couldn't hurt. Frankly, for me, if I'm doing a fat client app, and assuming there is no cross-platform concerns, I'm loading up Visual Basic and

AW: Nice try (was Java code generator including Struts 1.2)

2005-08-10 Thread Leon Rosenberg
Su, but those generators are pain in the ass... You generate with generator version 1.0, customize the code, version 2.0 comes out with cool features, what now ? :-) Regards Leon -Ursprüngliche Nachricht- Von: Lindholm, Greg [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 10. August

RE: validate() not called haunts

2005-08-10 Thread Duane Rosengartner
p. Now i have got the debugging working. But Since debugging is working, try catching a breakpoint where validate is being called, then step-into... My best guess is the method signatures need to be verified. INO, are you overridding validate or overloading? You may be invoking the superclass

RE: Nice try (was Java code generator including Struts 1.2)

2005-08-10 Thread Duane Rosengartner
Version 3.0? -Original Message- From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 10, 2005 1:51 PM To: 'Struts Users Mailing List' Subject: AW: Nice try (was Java code generator including Struts 1.2) Su, but those generators are pain in the ass... You generate with

Re: {Spam?} RE: validate() not called haunts

2005-08-10 Thread GRamani
That's right!!! I mean about the method signature!! I meant to write that to you and then something else intervened and i forgot.. Yes, so do that and let us know..:) Geeta Duane Rosengartner [EMAIL PROTECTED] wrote on 08/10/2005 02:51:42 PM: p. Now i have got the debugging working. But

Re: [OT]: Struts and Hibernate lazy

2005-08-10 Thread David Durham
Konrad Billewicz wrote: Lindholm, Greg glindholm at neom.com writes: What I do is use a Hibernate Servlet Filter that closes the Hibernate session at the end of the request. This is used in conjunction with the HibernateUtils class that stores the Hibernate session in ThreadLocal storage.

Re: Nice try (was Java code generator including Struts 1.2)

2005-08-10 Thread netsql
I think Swing is easy if you MVC. For example don't do inner classes and listners to this. Just separate out your action from the relizer. .V Frank W. Zammetti wrote: No argument here... Swing is a pain in the arse under the best of conditions. Frank Michael Jouravlev wrote:

Validator...the 1001st question...

2005-08-10 Thread Albrecht Leiprecht
Hi all, I'm curious ... shouldn't it be possible to override the default error message assigned to a validator rule ? Here's the example: validator.xml [...] field depends=validwhen property=salutation msg name=testmsg key=error.saluation.makechoice/ arg key=label.salutation

RE: Validator...the 1001st question...

2005-08-10 Thread Duane Rosengartner
shouldn't it show error.saluation.makechoice instead ?? It should. Do any of your other messages work, or is it possible that error.saluation.makechoice is not in your .properties file, or worse, the file is not being found in your classes directory? OK, We can assume the file is found if the

RE: Validator...the 1001st question...

2005-08-10 Thread Albrecht Leiprecht
and yes I am [...] field depends=validwhen property=salutation msg name=testmsg key=error.saluation.makechoice/ arg key=label.salutation position=0/ var var-nametest/var-name var-value(*this* != u)/var-value /var /field [...]

  1   2   >