Re: Re: Re: validate() not called haunts

2005-08-10 Thread Kjersti Berg
On 11/08/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Re. the "Spam" thing, i really do apologize. I totally understand because > it probably bugs me more than it bugs anybody else. We are supposed to use > Lotus notes for mail in our company and I absolutely *hate* it. This > "spam" thing is

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

2005-08-10 Thread Yan Hu
There is perhaps no problem with Swing itself. But java is perhaps not suitable for fat client - type apps while it is a great language for the server side. As I always say that the market decides what stays and what not. Let's take a look at the job market say dice. How many are there for Swi

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

2005-08-10 Thread erikweber
OK, my post did look kind of ugly. It really wasn't directed at any person, just at the words. I've been programming with Swing since 1.1.8 and finally I am able to do it for a living. I've heard all the Swing stinks arguments just like I've heard all the EJB stinks arguments. But I've built ap

Re: login and password problem

2005-08-10 Thread Swapnil Patil
Hi Sławek, I am new in Strurts framwork. If I am going wrong please correct me. As you said -: i do not want to link my program with database via struts-config.xml Don't specify any data source in your struts-config.xml Create your own static class to create a connection with database. and use

Re: multiple instances of one ActionForm

2005-08-10 Thread Leo Asanov
--- Michael Jouravlev <[EMAIL PROTECTED]> wrote: > Do you need it? Yes. > Back/Forward navigates between resources. Resource > is an Action, not a > JSP nor an ActionForm. So, to use default > Back/Forward functionality > you need to define as many action mappings as you > have "navigatiable"

Re: Re: Re: validate() not called haunts

2005-08-10 Thread GRamani
That was a good link - thanks! Re. the "Spam" thing, i really do apologize. I totally understand because it probably bugs me more than it bugs anybody else. We are supposed to use Lotus notes for mail in our company and I absolutely *hate* it. This "spam" thing is just one more annoying "featu

Re: multiple instances of one ActionForm

2005-08-10 Thread Michael Jouravlev
On 8/10/05, Leo Asanov <[EMAIL PROTECTED]> wrote: > That's the first thing I thought of. But in that case > you loose "Back" function (and maybe something else as > well). Do you need it? > You could do something if user presses "back" > on the page, but you can't do much if he clicks "back" > in

Re: multiple instances of one ActionForm

2005-08-10 Thread Leo Asanov
That's the first thing I thought of. But in that case you loose "Back" function (and maybe something else as well). You could do something if user presses "back" on the page, but you can't do much if he clicks "back" in the browser unless you write your own request handler. And I am trying to avoid

The idea behind modules

2005-08-10 Thread C.F. Scheidecker Antunes
Hello all, I was reading about modules and I wonder if anyone had ever used them. As far as I can see by the examples, if you have different modules you still run only one ActionServlet. Hence modules seem to be useful only for group programming and bigger projects. Am I right on this? Thanks

strut 1.2.7 and web.xml

2005-08-10 Thread Phan, Hienthuc T (Rosetta)
Hi, I'm in process of upgrading of strut 1.0 to 1.2.7 but cannot start the app server because of this error. Is this the correct tld declaration for web.xml? http://java.sun.com/dtd/web-app_2_3.dtd'> -- Notic

Specify which resource bundle to use for tag in validation.xml?

2005-08-10 Thread Thai Dang Vu
Hello everybody, I have many struts config files in my application. One of them is struts-config-provider.xml. In this file, I declare a resource file and validation files like this: In my validation.xml file, I have several lines like What do I have to do to tell Struts to use fo

RE: validate() not called haunts

2005-08-10 Thread Jay Sheth
well, I have given up on calling the validate(), I have checked method sign etc... now i am renaming the validate to another method name e.g. validate_fields. I am calling the validate_fields from action. and using addErrors in action to add messages to jsp. Thanks, Jay On 8/10/05, [EMAIL PROTEC

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

2005-08-10 Thread Jeff Beal
addErrors() is a new method in 1.2.7. addErrors() and addMessages() are both valid, and both accept ActionMessages as arguments. For more on the difference between ActionErrors and ActionMessages, see http://wiki.apache.org/struts/ActionErrorsAndActionMessages. Also, please get rid of the 'Re: {

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

2005-08-10 Thread Albrecht Leiprecht
The mentioned chapter is from the book Struts in Action http://java.sun.com/developer/Books/javaprogramming/struts/ whereof two sample chapters are at the above location ;) Definitely the book I'm going to get on my next trip to the city -Original Message- From: Albrecht Leiprecht [ma

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

2005-08-10 Thread Frank W. Zammetti
There is no emoticon for what I'm feeling! LOL! I'll recall the bombers I sent to your town, no problem :-) Frank [EMAIL PROTECTED] wrote: OK. Should have stuck a wink in there. Urge to kill fading . . . fading . . . fading . . . RISING . . . fading . . . fading . . . gone. ;-) Erik

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

2005-08-10 Thread Albrecht Leiprecht
http://java.sun.com/developer/Books/javaprogramming/struts/struts_chptr_12.p df says : 12.4.3 Custom validator messages A field can also specify a custom validation message to use instead of the default. This often happens when the mask validator is being used, so you can explain what pattern the

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

2005-08-10 Thread erikweber
OK. Should have stuck a wink in there. Urge to kill fading . . . fading . . . fading . . . RISING . . . fading . . . fading . . . gone. ;-) Erik -Original Message- From: "Frank W. Zammetti" <[EMAIL PROTECTED]> Sent: Aug 10, 2005 3:38 PM To: Struts Users Mailing List Subject: Re:

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

2005-08-10 Thread Duane Rosengartner
Based on the following... maxlength 20 Try this in yo

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

2005-08-10 Thread Frank W. Zammetti
Hey, back the testosterone truck up Erik... You want to disagree with the opinion? Fine, no problem. I don't think Swing is especially good. Show me where I'm wrong, I'll listen. No need to attack someone over something as trivial as saying some technology sucks... unless you created that

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

2005-08-10 Thread Leon Rosenberg
> -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 10. August 2005 21:32 > An: Struts Users Mailing List > Betreff: Re: Nice try (was Java code generator including Struts 1.2) > > What a load of crap. > > Swing doesn't suck, you just s

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

2005-08-10 Thread Albrecht Leiprecht
and yes I am [...] test (*this* != "u") [...] Should be [...] test (*this* != "u") [...] If I want to override it's default error message ;) Stopped scratching his head

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 th

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

2005-08-10 Thread erikweber
What a load of crap. Swing doesn't suck, you just suck at it. Erik -Original Message- From: Michael Jouravlev <[EMAIL PROTECTED]> Sent: Aug 10, 2005 1:59 PM To: Struts Users Mailing List Subject: Re: Nice try (was Java code generator including Struts 1.2) On 8/10/05, Frank W. Zammetti

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 [...] test (*this* != "u") [...] validator-rules.xml [...] [...] I understand, t

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: Apparently,

Re: [OT]: Struts and Hibernate lazy

2005-08-10 Thread David Durham
Konrad Billewicz wrote: Lindholm, Greg 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

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.

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: 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

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. Augus

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 n

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 generating

login and password problem

2005-08-10 Thread Sławek Tuleja
Hello 1.) I have this in struts-config.xml: --- value="jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=legra" /> --

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 pr

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). T

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. Unfortunat

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 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, ju

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" To "Struts Users Mailing List"

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

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: 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

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: 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, Augus

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

2005-08-10 Thread Pilgrim, Peter
> -Original Message- > From: Michael Jouravlev [mailto:[EMAIL PROTECTED] ==== > > 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

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 af

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

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 > Betr

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

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 accep

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 w

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 op

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 yo

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 a

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: [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 pa

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 Ar

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 jud

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: 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: "Stru

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] Le

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 ---

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 the

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 p

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 deve

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 mor

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 > -Or

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 0

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 interfaces

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 n

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 unsubsc

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 From:

[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 clas

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 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 on 08/10/2

[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" To S

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 whe

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 ove

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 saveErrors(requ

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 10

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: [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

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 for

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 - 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 for this OT

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

[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

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,

Re: Instantiation of form bean

2005-08-10 Thread Gareth Evans
Try, 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 message after having waited 30 minutes. However, what is clear to me is that I did not provide enough information to generate

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 PRO

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 sectio

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

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 INF

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 non-

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]> > > >> http://www-128.ibm.com/developerworks/views/java/l

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 auto-p

Re: how to include a jsp into another

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

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 re

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

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"

Re: how to include a jsp into another

2005-08-10 Thread Gareth Evans
Tremal Naik wrote: hello, I'm trying to realize the functionality throught pure Struts tags. I included in my JSP the following: when I display it within a scriptlet: <%=report%> the page is rendered as expected, but when I try to display it with I don't see the content of the oth

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

  1   2   >