RE: good book about struts

2004-10-05 Thread Robin Mannering
m: Ye, Young [mailto:[EMAIL PROTECTED] Sent: 05 October 2004 16:39 To: 'Struts Users Mailing List' Subject: good book about struts Hi Struters, I am working in a project which use struts. I would like to buy a book about struts. But there are many of them in the market. Can you recommen

good book about struts

2004-10-05 Thread Ye, Young
Hi Struters, I am working in a project which use struts. I would like to buy a book about struts. But there are many of them in the market. Can you recommend the one which you think is best? Thanks a lot - To unsubscribe, e

Re: Question about Struts ActionForm scope and clustering

2004-09-29 Thread brenmcguire
When you declare that a form-bean connected to an action is used with scope "session" means that an instance of that form bean will be put inside the session space, i.e. the one you take calling: request.getSession() Then, the form bean is put inside the session scope of the web server that interac

Question about Struts ActionForm scope and clustering

2004-09-29 Thread Wong, Cindy
All, I'm not sure if I am contacting the right list but this is the problem that I am facing: I am trying to convert a series of registration pages over to Struts. The web server that I am using is JBoss 3.2 and it will eventually be implemented on a cluster. What I want to know is what the sc

Re: philosophical question/poll about Struts/JSTL, scriptlets

2004-08-27 Thread Craig McClanahan
On Sat, 28 Aug 2004 11:47:14 +1200, Jason Lea <[EMAIL PROTECTED]> wrote: > Tomcat 5 includes *"JSP Custom Tag Pooling* - The java objects > instantiated for JSP Custom Tags can now be pooled and reused. This > significantly boosts the performance of JSP pages which use custom tags." > This is tru

Re: philosophical question/poll about Struts/JSTL, scriptlets

2004-08-27 Thread Jason Lea
Tomcat 5 includes *"JSP Custom Tag Pooling* - The java objects instantiated for JSP Custom Tags can now be pooled and reused. This significantly boosts the performance of JSP pages which use custom tags." I seem to remember reading somewhere (can't remember where, does someone have a link) that

Re: philosophical question/poll about Struts/JSTL, scriptlets

2004-08-27 Thread David Durham
Craig McClanahan wrote: (1) Scriptlets, since they are Java code, require someone at least passably familiar with Java to change them later. If you have folks that are primarily page authors, you are faced with a cost of teaching them enough about Java syntax to make the code it needs to do, or hav

Re: philosophical question/poll about Struts/JSTL, scriptlets

2004-08-27 Thread Woodchuck
--- Craig McClanahan <[EMAIL PROTECTED]> wrote: > On Fri, 27 Aug 2004 10:21:58 -0700 (PDT), Woodchuck > <[EMAIL PROTECTED]> wrote: > > sorry to bring this up on a Friday... > > Yah, I didn't know we could have serious discussions on Fridays any > more :-). Monday is just as bad i guess... nobod

Re: philosophical question/poll about Struts/JSTL, scriptlets

2004-08-27 Thread Craig McClanahan
On Fri, 27 Aug 2004 10:21:58 -0700 (PDT), Woodchuck <[EMAIL PROTECTED]> wrote: > sorry to bring this up on a Friday... Yah, I didn't know we could have serious discussions on Fridays any more :-). > > does everyone here have pure Struts/JSTL jsp pages that is absolutely > void of scriptlets? Ex

Re: philosophical question/poll about Struts/JSTL, scriptlets

2004-08-27 Thread Michael McGrady
I have not heard of the 80/20 view. I definitely spend the majority of my time coding: I would be more like 10/90. However, on most design issues, the ideas in circulation are the ones I use and I don't have to reinvent the axel. (Why people talk about reinventing the wheel is a mystery to m

Re: philosophical question/poll about Struts/JSTL, scriptlets

2004-08-27 Thread Woodchuck
--- Michael McGrady <[EMAIL PROTECTED]> wrote: > Woodchuck wrote: > > >hehe, you make it sound as if scriptlets are the ball and chain and > >shackles that you are free from! > > > >no doubt that scriptlets can easily fit that description, but i > guess > >what i'm referring to are 'nice' script

Re: philosophical question/poll about Struts/JSTL, scriptlets

2004-08-27 Thread Michael McGrady
Woodchuck wrote: hehe, you make it sound as if scriptlets are the ball and chain and shackles that you are free from! no doubt that scriptlets can easily fit that description, but i guess what i'm referring to are 'nice' scriptlets :) little tiny scriptlets that are hands down easier than than the

Re: philosophical question/poll about Struts/JSTL, scriptlets

2004-08-27 Thread Woodchuck
hehe, you make it sound as if scriptlets are the ball and chain and shackles that you are free from! no doubt that scriptlets can easily fit that description, but i guess what i'm referring to are 'nice' scriptlets :) little tiny scriptlets that are hands down easier than than the would-be non-sc

RE: philosophical question/poll about Struts/JSTL, scriptlets

2004-08-27 Thread Jim Barrows
> -Original Message- > From: Woodchuck [mailto:[EMAIL PROTECTED] > Sent: Friday, August 27, 2004 11:21 AM > To: Struts Users Mailing List > Subject: RE: philosophical question/poll about Struts/JSTL, scriptlets > --- Jim Barrows <[EMAIL PROTECTED]> wrote: >

RE: philosophical question/poll about Struts/JSTL, scriptlets

2004-08-27 Thread Woodchuck
> > -Original Message- > > From: Woodchuck [SMTP:[EMAIL PROTECTED] > > Sent: Friday, August 27, 2004 12:22 PM > > To: struts > > Subject:philosophical question/poll about Struts/JSTL, scriptlets > > > > sorry to bring this up on a Fr

RE: philosophical question/poll about Struts/JSTL, scriptlets

2004-08-27 Thread Woodchuck
--- Jim Barrows <[EMAIL PROTECTED]> wrote: > > > > -Original Message- > > From: Woodchuck [mailto:[EMAIL PROTECTED] > > Sent: Friday, August 27, 2004 10:22 AM > > To: struts > > Subject: philosophical question/poll about Struts/JSTL, scriptlets

Re: philosophical question/poll about Struts/JSTL, scriptlets

2004-08-27 Thread Michael McGrady
Jim Barrows wrote: Mozilla is the core behind netscape. Not sure about firefox, as that's pretty much all new code. The original mozilla is all netscape based code, and netscape still uses the latest mozilla as their core. Gotcha, Jim. You might find the following of interest: http://www.m

RE: philosophical question/poll about Struts/JSTL, scriptlets

2004-08-27 Thread Jim Barrows
> -Original Message- > From: Michael McGrady [mailto:[EMAIL PROTECTED] > Sent: Friday, August 27, 2004 11:03 AM > To: Struts Users Mailing List > Subject: Re: philosophical question/poll about Struts/JSTL, scriptlets > > > Jim Barrows wrote: > > >Con

Re: philosophical question/poll about Struts/JSTL, scriptlets

2004-08-27 Thread Michael McGrady
Jim Barrows wrote: Considering that Netscape is mozilla. how so? Mozilla Firefox (www.mozilla.com) versus Netscape 7.1 (www.netscape.com). Why do you mean by "Netscape is [M]ozilla"? I am going to learn something new here. Yippity skippity! Michael

RE: philosophical question/poll about Struts/JSTL, scriptlets

2004-08-27 Thread Taylor, Kevin
seen was a page that used JSTL and the resulting servlet class file exceeded the class file size limit. > Kevin > > -Original Message- > From: Woodchuck [SMTP:[EMAIL PROTECTED] > Sent: Friday, August 27, 2004 12:22 PM > To: struts > Subject: philosophical quest

RE: philosophical question/poll about Struts/JSTL, scriptlets

2004-08-27 Thread Jim Barrows
> -Original Message- > From: Michael McGrady [mailto:[EMAIL PROTECTED] > Sent: Friday, August 27, 2004 10:55 AM > To: Struts Users Mailing List > Subject: Re: philosophical question/poll about Struts/JSTL, scriptlets > > > Jim Barrows wrote: > > > >

RE: philosophical question/poll about Struts/JSTL, scriptlets

2004-08-27 Thread Jim Barrows
> -Original Message- > From: Daniel Perry [mailto:[EMAIL PROTECTED] > Sent: Friday, August 27, 2004 10:49 AM > To: Struts Users Mailing List > Subject: RE: philosophical question/poll about Struts/JSTL, scriptlets > > > One thing i would suggest, is that if you

Re: philosophical question/poll about Struts/JSTL, scriptlets

2004-08-27 Thread Michael McGrady
Jim Barrows wrote: Are you restarting the server, or the app? On tomcat it takes me about 30 seconds to do the same... then again that's on my own local server with nothing else running. I concur. Bouncing the app instead of the server is so sweet. Also, a little tip, doing this is especiall

RE: philosophical question/poll about Struts/JSTL, scriptlets

2004-08-27 Thread Daniel Perry
2004 18:48 > To: Struts Users Mailing List > Subject: RE: philosophical question/poll about Struts/JSTL, scriptlets > > > > --- Daniel Perry <[EMAIL PROTECTED]> wrote: > > > hah forget the 'purist' approach! > > > > I use jstl / struts taglib

RE: philosophical question/poll about Struts/JSTL, scriptlets

2004-08-27 Thread Jim Barrows
> -Original Message- > From: Daniel Perry [mailto:[EMAIL PROTECTED] > Sent: Friday, August 27, 2004 10:42 AM > To: Struts Users Mailing List > Subject: RE: philosophical question/poll about Struts/JSTL, scriptlets > > > > Using scriptlets, to me is like goi

RE: philosophical question/poll about Struts/JSTL, scriptlets

2004-08-27 Thread Woodchuck
--- Daniel Perry <[EMAIL PROTECTED]> wrote: > hah forget the 'purist' approach! > > I use jstl / struts taglibs whereever possible. > > if i had a choice between writing my on taglib or scriptlet for > me > scriptlet wins - much less hassel, and the code is there for you on > the jsp, > and

Re: philosophical question/poll about Struts/JSTL, scriptlets

2004-08-27 Thread Michael McGrady
How much wood could a woodchuck chuck if a woodchuck could chuck wood? I have freed myself of scriptlets on all pages except my entry page. I just have not bothered to clean up the entry page as yet. I think getting rid of them is a good philosophical position but it is so because the result

RE: philosophical question/poll about Struts/JSTL, scriptlets

2004-08-27 Thread Daniel Perry
> Using scriptlets, to me is like going back to the bad old days of > out.println(" -Original Message- > From: Jim Barrows [mailto:[EMAIL PROTECTED] > Sent: 27 August 2004 18:35 > To: Struts Users Mailing List > Subject: RE: philosophical question/poll about

RE: philosophical question/poll about Struts/JSTL, scriptlets

2004-08-27 Thread Daniel Perry
s to the page context (how no one spotted this before el was finalised i will never know? or am i missing somthing?) Daniel. > -Original Message- > From: Woodchuck [mailto:[EMAIL PROTECTED] > Sent: 27 August 2004 18:22 > To: struts > Subject: philosophical question/poll about S

RE: philosophical question/poll about Struts/JSTL, scriptlets

2004-08-27 Thread Jim Barrows
> -Original Message- > From: Woodchuck [mailto:[EMAIL PROTECTED] > Sent: Friday, August 27, 2004 10:22 AM > To: struts > Subject: philosophical question/poll about Struts/JSTL, scriptlets > > > sorry to bring this up on a Friday... > > does everyone

philosophical question/poll about Struts/JSTL, scriptlets

2004-08-27 Thread Woodchuck
sorry to bring this up on a Friday... does everyone here have pure Struts/JSTL jsp pages that is absolutely void of scriptlets? or do you have jsp pages that use a combination of Struts/JSTL and scriptlets, all living together harmoniously using whichever method is easiest/cleanest? is mixing St

Re: About Struts + JBoss preference issue

2004-07-23 Thread Martin Gainty
out.. - Original Message - From: "Peng Tuck Kwok" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, July 23, 2004 9:32 AM Subject: Re: About Struts + JBoss preference issue > I think there should be an Ant task for this.

Re: About Struts + JBoss preference issue

2004-07-23 Thread HG
Thanx Raj. Wonderful. - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 23, 2004 10:01 AM Subject: RE: About Struts + JBoss preference issue Hi, You can use Jspc task for the purpose. However, for Weblogic container, Wljspc

RE: About Struts + JBoss preference issue

2004-07-23 Thread tiwari.rajeev
Hi, You can use Jspc task for the purpose. However, for Weblogic container, Wljspc task is also vaiable. - regards Raj (+91-11-31261821) -Original Message- From: HG [mailto:[EMAIL PROTECTED] Sent: Friday, July 23, 2004 1:18 PM To: Struts Users Mailing List Subject: Re: About Struts

Re: About Struts + JBoss preference issue

2004-07-23 Thread HG
Thanx Peng I will check it out.. - Original Message - From: "Peng Tuck Kwok" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, July 23, 2004 9:32 AM Subject: Re: About Struts + JBoss preference issue > I think t

Re: About Struts + JBoss preference issue

2004-07-23 Thread Peng Tuck Kwok
I think there should be an Ant task for this. As for actually compiling this, didn't really have to do that since the speed was acceptable. I think pre-compiling jsp was also a way to avoid javac memory leakage if memory serves. Jboss does support clustering, there should be some document somewher

Re: About Struts + JBoss preference issue

2004-07-22 Thread HG
Hi Peng > Well just a shot in the dark but maybe a slight speed up maybe achieved by > pre-compiling jsps possibly. Do you have any link or so, that explains this. Thinking of adding a "precompile jsp task" to my ANT script..? Regards Henrik --

Re: About Struts + JBoss preference issue

2004-07-22 Thread HG
Hi there > [To HG] > I said the problem deal with cluster means: > assume we have 3 servers (S1, S2, S3) form a cluster and one Struts > plugins deal with home object caching (P1) > > when the application start up, P1 with get all home interfaces from > the cluster and also create all home object

Re: About Struts + JBoss preference issue

2004-07-22 Thread Koon Yue Lam
yeah, I think so, thanks for advice ! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: About Struts + JBoss preference issue

2004-07-22 Thread Peng Tuck Kwok
~ > Maybe becasue the timezone because I am from Hong Kong, ^^ > > [About Struts] > After some testing, I prove myself wrong ! > The delay wasn't cause by Struts, it is cause by JSP instead. The > delay time is the time that use to compile and transform the JSP to > serv

Re: About Struts + JBoss preference issue

2004-07-22 Thread Koon Yue Lam
Oh! thanks for all of these help ! I don't expect over 10 mails in one night to this issue~~ Maybe becasue the timezone because I am from Hong Kong, ^^ [About Struts] After some testing, I prove myself wrong ! The delay wasn't cause by Struts, it is cause by JSP instead. The delay t

RE: About Struts + JBoss preference issue

2004-07-22 Thread Raghuram Kanadam
22, 2004 4:47 PM To: Struts Users Mailing List Subject: RE: About Struts + JBoss preference issue Very True...Struts wont cause the delay...Anyhow Bean lookup and getting reference to the component interface bein remote calls are inherently slow in nature.So I think even with a normal servlet u

Re: About Struts + JBoss preference issue

2004-07-22 Thread HG
Hi Robert > This approach sounds similar to the Spring IoC framework. > Objects are defined in an xml file and a manager loads them > into memory. Your action class looks up beans using something > like: > MyBD bd = (MyBD)applicationContext.getBean("MyBD"); I wasn't aware of that. I have seen so

RE: About Struts + JBoss preference issue

2004-07-22 Thread Robert Taylor
rviceLocator or Singleton patterns. It provides declarative transaction services as well. Check it out here: http://www.springframework.org/ robert > -Original Message- > From: HG [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 22, 2004 5:22 AM > To: Struts Users Mailing List

RE: About Struts + JBoss preference issue

2004-07-22 Thread Aditya Athalye
PROTECTED] Cc: Subject: Re: About Struts + JBoss preference issue Because Struts is a layered application, you can stress test the performance of your data layer by itself. If the DAO is slow, or the SQL is slow, then Struts can't

RE: About Struts + JBoss preference issue

2004-07-22 Thread McCormack, Chris
missing a join etc. Chris -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Vic Cekvenich Sent: 22 July 2004 12:10 To: [EMAIL PROTECTED] Subject: Re: About Struts + JBoss preference issue Because Struts is a layered application, you can stress test the performance of your

Re: About Struts + JBoss preference issue

2004-07-22 Thread Vic Cekvenich
Because Struts is a layered application, you can stress test the performance of your data layer by itself. If the DAO is slow, or the SQL is slow, then Struts can't serve it fast. So, test the performance of DAO layer. .V Koon Yue Lam wrote: Hi ! My application has change from Struts + Tomcat t

Re: About Struts + JBoss preference issue

2004-07-22 Thread HG
Hi Marco > right, so I assume every Action class that u write subclasses > PlugInManagerAction, correct? Correct > I don't like putting parenthesis :-) coz everything that I get > From ServletContext is an object > > It doesn't bother me much.. but I m still wandering if I can add > Let's s

Re: About Struts + JBoss preference issue

2004-07-22 Thread HG
> isn't that in a cluster the app server 'replicates' the JNDI tree, so > that u won't have to bother if one of the servers in a cluster shuts > down? Se my other post. I think it's up to the J2EE Server to provide "cluster transparacy" to the clients. > I m no expert in cluster, and I was wande

Re: About Struts + JBoss preference issue

2004-07-22 Thread HG
Hi > 2. If the application scale up to cluster, this design seems can't deal with it > (because the client always invoke remote object that was downloaded to > cache, which is not dynamically locate by app. server in a cluster > environment.) Is this really an issue? Maybe I do not understand you

RE: About Struts + JBoss preference issue

2004-07-22 Thread Marco Mistroni
Hello, >2. If the application scale up to cluster, this design seems can't deal >with it >(because the client always invoke remote object that was downloaded to >cache, which is not dynamically locate by app. server in a cluster >environment.) isn't that in a cluster the app server 'replicates' t

RE: About Struts + JBoss preference issue

2004-07-22 Thread Marco Mistroni
Hello, >But it could easily be a XML file, or anything else yes...personally I would 4 that unless u have particular requirements for storing it into the DB >> U use the PlugInMgr as singleton, correct? Coz right now I m following >> Similar 'approach' but I m storing the BD in the ServletCon

Re: About Struts + JBoss preference issue

2004-07-22 Thread Koon Yue Lam
some drawbacks I can see: 1. longer server start up time (but it is OK) 2. If the application scale up to cluster, this design seems can't deal with it (because the client always invoke remote object that was downloaded to cache, which is not dynamically locate by app. server in a cluster environme

Re: About Struts + JBoss preference issue

2004-07-22 Thread HG
Hi Marco > I have questions coz I m interested in that approach.. I am happy that you find it interesting :-) > I assume u have a config file for telling the PlugIn Mgr what > To load, correct? The plugins, names and classed that implement the plugin interface are stored in a table in a databa

RE: About Struts + JBoss preference issue

2004-07-22 Thread Marco Mistroni
, and what I don't like much is that every time I have to retrieve it, I have to Do a cast Regards marco -Original Message- From: HG [mailto:[EMAIL PROTECTED] Sent: 22 July 2004 09:26 To: Struts Users Mailing List Subject: Re: About Struts + JBoss preference issue G

Re: About Struts + JBoss preference issue

2004-07-22 Thread HG
nyone else who can see pitfalls to this approach..? Regards Henrik - Original Message - From: "Koon Yue Lam" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, July 22, 2004 9:31 AM Subject: Re: About Struts +

Re: About Struts + JBoss preference issue

2004-07-22 Thread Koon Yue Lam
Thanks ! It seems like a great solution and I will try that out tonight, thanks for help ^^ Regards - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: About Struts + JBoss preference issue

2004-07-22 Thread HG
is is understandable and helps.. Regards Henrik - Original Message - From: "Koon Yue Lam" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, July 22, 2004 4:42 AM Subject: About Struts + JBoss preference issue > Hi ! My applic

About Struts + JBoss preference issue

2004-07-21 Thread Koon Yue Lam
Hi ! My application has change from Struts + Tomcat to Struts + Jboss 3.X I create various struts Actions to deal with incoming request, in the Action class, it preform remote lookup of session bean's home interface and create, destory ... it. My session bean has an DAO attach to it to preform da

Re: Can you help me about Struts validator?

2004-05-13 Thread Marcus Vinicius W. Ferreira
Hello , I´m brazilian guy and I don´t speak english very well, then, sorry for language mistakes. I saw the message of David Graham about bundle attribute in struts validator at http://www.mail-archive.com/[EMAIL PROTECTED]/msg06445.htm l

<    1   2