Re: Servlet help for a Struts programmer

2004-08-11 Thread Denis Avdic
Wow. I unleashed a beast. Next time I'll ask the question way before I have to leave work. I have to thank you all for your input. The discussion on Servlets and Struts and how they relate (or don't) was in itself very helpful to understanding how the things work. I will take your advi

Re: Servlet help for a Struts programmer

2004-08-10 Thread joe a.
np! what are cognizantorees? On Tue, 10 Aug 2004 14:54:11 -0700, Michael McGrady <[EMAIL PROTECTED]> wrote: > At 02:21 PM 8/10/2004, you wrote: > >Have any of you guys read Jakarta Struts Live by Hightower? Its > >available for free here in pdf form: > >http://www.theserverside.com/books/sourceb

Re: Servlet help for a Struts programmer

2004-08-10 Thread Michael McGrady
At 02:21 PM 8/10/2004, you wrote: Have any of you guys read Jakarta Struts Live by Hightower? Its available for free here in pdf form: http://www.theserverside.com/books/sourcebeat/JakartaStrutsLive/index.tss Thanx! I also highly recommend as a beginning The Struts Framework by Sue Spielman. Te

Re: Servlet help for a Struts programmer

2004-08-10 Thread Michael McGrady
At 02:16 PM 8/10/2004, you wrote: hides a lot of plumbing that if you're not aware, can make life difficult to understand/accomplish what you need to do I can still remember my Grandmama asking me where the key making a space on the typewriter was. She was looking for a key saying "space". In m

Re: Servlet help for a Struts programmer

2004-08-10 Thread joe a.
Have any of you guys read Jakarta Struts Live by Hightower? Its available for free here in pdf form: http://www.theserverside.com/books/sourcebeat/JakartaStrutsLive/index.tss Has a good tutorial (holy crap i just sneezed and shook my entire desk causing the cd case to fall off my monitor) chapter

Re: Servlet help for a Struts programmer

2004-08-10 Thread Woodchuck
imo this is true, a beginner can build a simple web app using Struts (without any prior servlet experience) i am living proof, as i started with Struts directly. HOWEVER, because real-world apps are never basic/simple, and because Struts is really a facade on top of the java-based web app parad

RE: Servlet help for a Struts programmer

2004-08-10 Thread Michael McGrady
At 02:06 PM 8/10/2004, you wrote: I find this to be a good tutorial also. http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/ HTH Pritpal Dhaliwal This is an early version of the Core book,which is online for free. http://www.coreservlets.com/ Michael --

RE: Servlet help for a Struts programmer

2004-08-10 Thread Dhaliwal, Pritpal (HQP)
I find this to be a good tutorial also. http://www.apl.jhu.edu/~hall/java/Servlet-Tutorial/ HTH Pritpal Dhaliwal -Original Message- From: Denis Avdic [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 10, 2004 11:55 AM To: Struts Users Mailing List Subject: Servlet help for a Struts prog

RE: Servlet help for a Struts programmer

2004-08-10 Thread Michael McGrady
At 01:51 PM 8/10/2004, you wrote: updating and maintaining a pure Servlet application. What is the application like, Denis? What do you mean when you say it is "pure Servlet"? Is it without JSP pages, etc.? That would be surprising to me. Michael

RE: Servlet help for a Struts programmer

2004-08-10 Thread Michael McGrady
At 01:45 PM 8/10/2004, you wrote: JSP's are basically inverted servlets, and were created because of the amount of pain involved in spitting out what was bascially boilerplate html. We used helper classes back then to do with Servlets essentially (in principle) what is done with JSP today. In f

RE: Servlet help for a Struts programmer

2004-08-10 Thread Jim Barrows
> -Original Message- > From: Denis Avdic [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 10, 2004 11:55 AM > To: Struts Users Mailing List > Subject: Servlet help for a Struts programmer > > > I have an strange request: > > While I am very familiar with Struts (I've worked almost exc

Re: Servlet help for a Struts programmer

2004-08-10 Thread Michael McGrady
At 12:57 PM 8/10/2004, you wrote: It is *entirely* possible that there are webapps still running out there that are done completely with Servlets. No JSP, no Struts, nothing but (IIRC) out.println( "bunch of html here"); Struts did not always exist, and since JSP's get compiled into Servlet code,

RE: Servlet help for a Struts programmer

2004-08-10 Thread Jim Barrows
> -Original Message- > From: Michael McGrady [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 10, 2004 1:38 PM > To: Struts Users Mailing List > Subject: Re: Servlet help for a Struts programmer > > > At 01:27 PM 8/10/2004, you wrote: > >The OP has a

RE: Servlet help for a Struts programmer

2004-08-10 Thread Michael McGrady
At 01:33 PM 8/10/2004, you wrote: Try it yourself no JSP's. No struts, and basic CRUD operations on an address book. Now today, you would probably be smart. You would have a CRUD servlet for the "actions", that would redirect to a servlet for generating HTML. That's 4 serlvets handling C

Re: Servlet help for a Struts programmer

2004-08-10 Thread Michael McGrady
At 01:27 PM 8/10/2004, you wrote: The OP has an existing application that doesn't use Struts. Oh, I see what you mean, Wendy. I assume that the "OP", whatever that is (client?), does not have a Servlet application that fails to use standard decoupling techniques, and even if it did, he would wan

RE: Servlet help for a Struts programmer

2004-08-10 Thread Jim Barrows
> -Original Message- > From: Michael McGrady [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 10, 2004 1:22 PM > To: Struts Users Mailing List > Subject: Re: Servlet help for a Struts programmer > > > At 12:57 PM 8/10/2004, you wrote: > >Yes, Struts is ba

Re: Servlet help for a Struts programmer

2004-08-10 Thread Michael McGrady
At 01:27 PM 8/10/2004, you wrote: The name calling is getting tiresome. Name calling? If I called anyone a name, I apologize. Do you mean referring to people by their names? Whatever, if you are talking to me, I certainly did not intend to offend anyone and am merely enjoying a conversation

RE: Servlet help for a Struts programmer

2004-08-10 Thread Michael McGrady
At 01:26 PM 8/10/2004, you wrote: No it's not. Trust me It's not even remotely close to servlet development... it uses only one servlet. Servlet development uses lots of servlets. Each one lovingly crafted by hand. Decoupling concerns for architectural and design purposes does not change

Re: Servlet help for a Struts programmer

2004-08-10 Thread Wendy Smoak
From: "Michael McGrady" <[EMAIL PROTECTED]> > A webapp completely in servlets? No helper classes? No decoupling from > Servlets at all? I doubt it! But, if so, it is nuts, as I said, and > certainly not the question here. I assume that he would like to do > something that does not resemble the

RE: Servlet help for a Struts programmer

2004-08-10 Thread Michael McGrady
At 01:22 PM 8/10/2004, you wrote: Guess what don't doubt it. I did it. I wrote them. I hated it. It was painful. It was complex. It was ugly. In fact if you see a url that includes something like /servlet/blah you are probably looking at a website done entirely in servlets. Granite, a

RE: Servlet help for a Struts programmer

2004-08-10 Thread Jim Barrows
> -Original Message- > From: Michael McGrady [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 10, 2004 1:19 PM > To: Struts Users Mailing List > Subject: Re: Servlet help for a Struts programmer > > > At 01:12 PM 8/10/2004, you wrote: > >I havent't s

RE: Servlet help for a Struts programmer

2004-08-10 Thread Jim Barrows
> -Original Message- > From: Michael McGrady [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 10, 2004 1:12 PM > To: Struts Users Mailing List > Subject: Re: Servlet help for a Struts programmer > > > At 12:57 PM 8/10/2004, you wrote: > >From: "

Re: Servlet help for a Struts programmer

2004-08-10 Thread Michael McGrady
At 12:57 PM 8/10/2004, you wrote: Yes, Struts is based on Servlets, but you don't have to know anything about Servlets to make a useful Struts webapp. I wonder if this is true. I cannot imagine that it could be. Maybe it is. I am beginning to think so. ///;-) Michael

RE: Servlet help for a Struts programmer

2004-08-10 Thread Jim Barrows
> -Original Message- > From: Wendy Smoak [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 10, 2004 12:57 PM > To: Struts Users Mailing List > Subject: Re: Servlet help for a Struts programmer > > > From: "Michael McGrady" <[EMAIL PROTECTED]>

RE: Servlet help for a Struts programmer

2004-08-10 Thread Jim Barrows
> -Original Message- > From: Denis Avdic [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 10, 2004 12:52 PM > To: Struts Users Mailing List > Subject: Re: Servlet help for a Struts programmer > > > I am sure that in a week or two that might be apparent to me.

Re: Servlet help for a Struts programmer

2004-08-10 Thread Michael McGrady
At 01:12 PM 8/10/2004, you wrote: I havent't seen any comprehensive documentation on development with servlet/JSP vs Struts development. Geesch! Struts IS basic Servlet development at the highest level. Michael - To unsubscribe,

Re: Servlet help for a Struts programmer

2004-08-10 Thread joe a.
This is probably the first struts mailing list thread I've browsed through, dear god you guys confuse me :) -Joe On Tue, 10 Aug 2004 13:11:34 -0700, Michael McGrady <[EMAIL PROTECTED]> wrote: > At 12:57 PM 8/10/2004, you wrote: > >From: "Michael McGrady" <[EMAIL PROTECTED]> > > > > > There is no

RE: Servlet help for a Struts programmer

2004-08-10 Thread Michael McGrady
At 01:06 PM 8/10/2004, you wrote: But comparing Struts to Servlets makes no sense. SUre it does... as he says later.. how do I forward to a completed action... Since in servlets there is no action. The only forward there is, is a real forward, not a struts style forward. Not to mention that

Re: Servlet help for a Struts programmer

2004-08-10 Thread henrik . bentel
Feel your pain! I havent't seen any comprehensive documentation on development with servlet/JSP vs Struts development. Nobody really writes about basic servlet development anymore. It's soo "old school". I'd look for older articles (at www.servlets.com, onjava.com, javaworld.com, etc.) for exa

Re: Servlet help for a Struts programmer

2004-08-10 Thread Michael McGrady
At 12:57 PM 8/10/2004, you wrote: From: "Michael McGrady" <[EMAIL PROTECTED]> > There is no project that is "just servlets" unless it is nuts. It is *entirely* possible that there are webapps still running out there that are done completely with Servlets. No JSP, no Struts, nothing but (IIRC) out.

RE: Servlet help for a Struts programmer

2004-08-10 Thread Jim Barrows
> -Original Message- > From: Michael McGrady [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 10, 2004 12:41 PM > To: Struts Users Mailing List > Subject: RE: Servlet help for a Struts programmer > > > At 12:29 PM 8/10/2004, you wrote: > >Nope.. you misu

Re: Servlet help for a Struts programmer

2004-08-10 Thread Michael McGrady
At 12:51 PM 8/10/2004, you wrote: I am sure that in a week or two that might be apparent to me. However right now I am exposed to everything that ActionServlet and MultipartRequestWrapper hid from view. Using Struts in my programming, the controller part of the MVC was hidden. For example, one of

Re: Servlet help for a Struts programmer

2004-08-10 Thread Wendy Smoak
From: "Michael McGrady" <[EMAIL PROTECTED]> > There is no project that is "just servlets" unless it is nuts. It is *entirely* possible that there are webapps still running out there that are done completely with Servlets. No JSP, no Struts, nothing but (IIRC) out.println( "bunch of html here");

Re: Servlet help for a Struts programmer

2004-08-10 Thread Denis Avdic
I am sure that in a week or two that might be apparent to me. However right now I am exposed to everything that ActionServlet and MultipartRequestWrapper hid from view. Using Struts in my programming, the controller part of the MVC was hidden. For example, one of the first questions I had was: H

Re: Servlet help for a Struts programmer

2004-08-10 Thread Michael McGrady
At 12:40 PM 8/10/2004, you wrote: Jim is correct. :) About what the gentleman meant? I doubt that. If so, they are both confused. LOL I doubt that Jim is. ;-) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comma

RE: Servlet help for a Struts programmer

2004-08-10 Thread Michael McGrady
At 12:29 PM 8/10/2004, you wrote: Nope.. you misunderstood his question. First he started on struts. Every project he's worked on. Now, PHB wants him to work on another project, which is just servlets. He's never done any servlet programming, so he wants to know what differences there are et

Re: Servlet help for a Struts programmer

2004-08-10 Thread Denis Avdic
Jim is correct. :) On Tue, 10 Aug 2004 12:29:23 -0700, Jim Barrows <[EMAIL PROTECTED]> wrote: > > > > -Original Message- > > From: Michael McGrady [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, August 10, 2004 12:25 PM > > To: Struts Users Mailing List

RE: Servlet help for a Struts programmer

2004-08-10 Thread Jim Barrows
> -Original Message- > From: Michael McGrady [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 10, 2004 12:25 PM > To: Struts Users Mailing List > Subject: RE: Servlet help for a Struts programmer > > > At 12:17 PM 8/10/2004, you wrote: > >WEB-INF/web.xm

RE: Servlet help for a Struts programmer

2004-08-10 Thread Michael McGrady
At 12:17 PM 8/10/2004, you wrote: WEB-INF/web.xml You can take a glance there and see what servlets are mapped to where. Servlet programming is not that much different. You just end up doing a lot of manual labor to get your parameters and such. Instead of doing thing like, myForm.getPersonName()

RE: Servlet help for a Struts programmer

2004-08-10 Thread Dhaliwal, Pritpal (HQP)
WEB-INF/web.xml You can take a glance there and see what servlets are mapped to where. Servlet programming is not that much different. You just end up doing a lot of manual labor to get your parameters and such. Instead of doing thing like, myForm.getPersonName(); You will do something like r

Re: Servlet help for a Struts programmer

2004-08-10 Thread Michael McGrady
Struts is in a sense "pure servlet technology". Very pure: only one servlet extends HttpServlet and only one servlet implements HttpServlet, viz. ActionServlet and MultipartRequestWrapper. I would suggest you get a copy of a good book on Servlets like Jason Hunter's, cf. www.servlets.com. Mic