> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Friday, January 07, 2005 2:03 PM
> To: user@struts.apache.org
> Subject: RE: JSP bean
> 
> 
> You know, my experience with "Eclipse" has been WSAD, which 
> I've been far less than impressed with.  Maybe I should try 
> plain Eclipse, especially hearing how all you guys are always 
> singing it's praises.  I'm not sure it would be any better 
> for me personally, but it could be.  Worth some time this 
> weekend I think.

The trick with Eclipse is to remember that it's a toolbox.  It comes with some 
really cool stuff... but the really cool stuff is what it doesn't come with.  

> 
> No UltraEdit plug-in for Eclipse yet by the way... it's been 
> requested a bunch of times, but not yet.  Tell ya what 
> though... if they ever do that, I'll be using Eclipse for 
> sure because I'd have no good reason left not to.  Well, 
> actually, let me ask this question... In WSAD there's no such 
> thing as "here's a quick class, lemme compile it and execute 
> it".  

No, but compiling seems much faster under 3.0 then WSAD.
There is the scrapbook stuff which is kind of neat for that kind of testing.

>Everything is always part of a project, which I find 
> very onerous.  Is that the case with Eclipse?  Also, does it 
> force certain directory structures on you, and require 
> additional config files for everything?  Meaning, can I just 
> point it at a directory structure and work with it as if it 
> was a project without it having to actually BE a project, 
> with whatever project config files it would need?  It's that 
> kind of stuff that gets in my way to the point that all the 
> time-saving features that may be in there are cancelled out 
> (that's been my experience, maybe I'm weird though, he asks 
> rhetorically! :) ).

I've never found it onerous.  Java works with directory structures.  Eclipse 
uses the same directory strucutre that Java would require, and makes it 
extraordinarily easy to refactor your code if you want to.
I'm not sure what you mean by point it a structure without it being a project, 
or why you would want to.

> 
> -- 
> Frank W. Zammetti
> Founder and Chief Software Architect
> Omnytex Technologies
> http://www.omnytex.com
> 
> On Fri, January 7, 2005 3:44 pm, Jim Barrows said:
> > 
> > 
> >> -----Original Message-----
> >> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> >> Sent: Friday, January 07, 2005 1:40 PM
> >> To: user@struts.apache.org
> >> Subject: RE: JSP bean
> >>
> >>
> >> Eh, you guys and your fancy IDE's :)
> >>
> >> I'm a "by-hand" guy, gimme UltraEdit and a command line and
> >> I'm happy (and more productive than most of the guys here
> >> using WSAD frankly), but I have to admit, plug-ins like that
> >> make it tougher to stay that course!
> > 
> > That's the point behind IDE's... if it gets in the way of 
> productivity,
> > then dump it.  WSAD is a beast, I much prefer my Eclpse 
> 3.0, with the
> > MyEclipse, commonclipse, spring and hibernate plugins I use 
> normally. 
> > Much faster then UltraEdit.  Which probably has a plugi for eclipse
> > anyway.
> > 
> >>
> >> --
> >> Frank W. Zammetti
> >> Founder and Chief Software Architect
> >> Omnytex Technologies
> >> http://www.omnytex.com
> >>
> >> On Fri, January 7, 2005 3:22 pm, Jim Barrows said:
> >> >
> >> >> -----Original Message-----
> >> >> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> >> >> Sent: Friday, January 07, 2005 1:12 PM
> >> >> To: user@struts.apache.org
> >> >> Subject: Re: JSP bean
> >> >>
> >> >>
> >> >> I always include the following method in all my
> >> >
> >> > There's a handy plugin called commclipse that I use to create my
> >> > toStrings, equals, hashCodes and compareTo's.  It also 
> requires the
> >> > commons-lang jar as well.
> >> > Right click->commonclipse->toString and voila it either
> >> creates it or
> >> > rewrites it.
> >> > The commons-lang jar has some really cool stuff all by
> >> itself, including a
> >> > TostringBuilder. commonclipse just makes it a click away.
> >> >
> >> >
> >> >> ActionForms... I'm sure you can do the same in whatever bean
> >> >> you have, or adapt it to be able to pass the bean to it if
> >> >> you can't modify the bean itself... This will actually show
> >> >> you all fields AND their values, but you can of course hack
> >> >> it as you need to...
> >> >>
> >> >> import java.lang.reflect.Field;
> >> >>
> >> >>   public String toString() {
> >> >>
> >> >>     String str = null;
> >> >>     StringBuffer sb = new StringBuffer(1000);
> >> >>     sb.append(this.getClass().getName() + " [" +
> >> >> super.toString() + "] = { ");
> >> >>     try {
> >> >>       Field[] fields = this.getClass().getDeclaredFields();
> >> >>       for (int i = 0; i < fields.length; i++) {
> >> >>         if (sb.length() > 0) { sb.append(", "); }
> >> >>         sb.append(fields[i].getName() + "=" + 
> fields[i].get(this));
> >> >>       }
> >> >>       sb.append(" }");
> >> >>       str = sb.toString().trim();
> >> >>     } catch (Exception e) { }
> >> >>     return str;
> >> >>
> >> >>   }
> >> >>
> >> >> --
> >> >> Frank W. Zammetti
> >> >> Founder and Chief Software Architect
> >> >> Omnytex Technologies
> >> >> http://www.omnytex.com
> >> >>
> >> >> On Fri, January 7, 2005 3:06 pm, Jim Douglas said:
> >> >> > To all,
> >> >> > I have a bean that's present in a JSP, does anyone know
> >> how to loop
> >> >> > through
> >> >> > a bean and list out the properties available?
> >> >> >
> >> >> > Here's the cose I have
> >> >> >
> >> >> > <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
> >> >> > <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
> >> >> >
> >> >> > <html><head><title>form.heading</title></head>
> >> >> >   <center><body><h4><bean:message key="form.heading" /></h4>
> >> >> >       <logic:present name="forms">
> >> >> >         <table border="1">
> >> >> >         <logic:iterate id="forms" name="forms">
> >> >> >         <tr><td>
> >> >> >               <bean:write name="forms" property="formName"/>
> >> >> >            </td>
> >> >> >            <td>
> >> >> >               <bean:write name="forms" property="formDesc"/>
> >> >> >            </td>
> >> >> >       <td><a href="<bean:write name="forms"
> >> >> property="formLocation"/>.do
> >> >> > "/>
> >> >> >           <bean:write name="forms" 
> property="formLocation"/></a>
> >> >> >            </td>
> >> >> >         </tr>
> >> >> >         </logic:iterate>
> >> >> >       </table>
> >> >> >
> >> >> >       </logic:present>
> >> >> >
> >> >> >   </body></center>
> >> >> > </html>
> >> >> >
> >> >> >
> >> >> >   I don't know why but "formDesc" can't be found, but the
> >> >> bean is present
> >> >> > in
> >> >> > the JSP/
> >> >> >
> >> >> >   I'm using IntelliJ.  Does anyone know a good IDE or add
> >> >> in for debugging
> >> >> > JSP's?
> >> >> >
> >> >> > Thanks,
> >> >> > Jim
> >> >> >
> >> >> >
> >> >> >
> >> >> >
> >> >>
> >> 
> ---------------------------------------------------------------------
> >> >> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> >> > For additional commands, e-mail: [EMAIL PROTECTED]
> >> >> >
> >> >> >
> >> >>
> >> >>
> >> >
> >> >
> >> 
> ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> > For additional commands, e-mail: [EMAIL PROTECTED]
> >> >
> >> >
> >>
> >>
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to