Re: [FRIDAY] Mime Type Validation

2010-07-21 Thread Stephen Turner
On Fri, 16 Jul 2010 10:26:11 -0400, Christopher Schultz wrote: If filename extensions are sufficient, you can get this information directly from the servlet container using ServletContext.getMimeType. There's also the activation framework's MimetypesFileMap.getContentType. Another option mi

Re: [FRIDAY] Mime Type Validation

2010-07-16 Thread Greg Akins
I've used this before, and it seemed to work well. http://jmimemagic.sourceforge.net Some more alternatives are here http://www.rgagnon.com/javadetails/java-0487.html -- Greg Akins http://insomnia-consulting.org http://www.pghcodingdojo.org http://pittjug.dev.java.net http://twitter.com/akins

Re: [FRIDAY] Mime Type Validation

2010-07-16 Thread Greg Lindholm
My experience is that you cannot trust the mime-type supplied by the browser on a file upload. The same file uploaded with FF or IE will give you different mime-types. It's also dependent on what plugins have been installed in the browser. The only truly reliable methods would be to examine the fi

Re: [FRIDAY] Mime Type Validation

2010-07-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Manos, On 7/16/2010 9:42 AM, Manos Batsis wrote: > On 07/16/2010 04:21 PM, Stephen Turner wrote: >> We're using Struts 2 for file uploading, and we're filtering the types >> of files people can upload by checking the file's content type against a >> l

Re: [FRIDAY] Mime Type Validation

2010-07-16 Thread Manos Batsis
On 07/16/2010 04:21 PM, Stephen Turner wrote: We're using Struts 2 for file uploading, and we're filtering the types of files people can upload by checking the file's content type against a list of allowed mime types. This turns out not to be reliable enough. Firefox in particular seems to somet

RE: [friday] training for Struts 2

2009-06-05 Thread Martin Gainty
mation seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Fri, 5 Jun 2009 10:19:27 -0700 > From: bphill...@ku.

Re: [friday] training for Struts 2

2009-06-05 Thread phillips1021
Wes Recommend online training. I work at University of Kansas. We use Struts 2 in many of our Java web applications. I think online training would be easier to get approved in this difficult economy. A basic and advanced course would be good. I also think some 60-90 minute modules on a focus

Re: [friday] training for Struts 2

2009-06-05 Thread Bhaarat Sharma
n'importe quel effet légalement obligatoire. Étant donné que les email > peuvent facilement être sujets à la manipulation, nous ne pouvons accepter > aucune responsabilité pour le contenu fourni. > > > > > > Date: Fri, 5 Jun 2009 08:11:19 -0500 > > Subject: Re: [frida

RE: [friday] training for Struts 2

2009-06-05 Thread Martin Gainty
ponsabilité pour le contenu fourni. > Date: Fri, 5 Jun 2009 08:11:19 -0500 > Subject: Re: [friday] training for Struts 2 > From: stanl...@gmail.com > To: user@struts.apache.org > > Hey Wes -- > > Travel and paper is so 80's bro. Have you considered an online format? I &

Re: [friday] training for Struts 2

2009-06-05 Thread stanlick
Hey Wes -- Travel and paper is so 80's bro. Have you considered an online format? I think a five day session where 2-3 are basics and the remaining 2-3 are advanced topics would be flexible. This way you could price the two separately and allow clients one or both enrollments. As far as course

RE: [friday] training for Struts 2

2009-06-05 Thread Martin Gainty
only if musachy and dave will be there! BTW: Dayton can be hotter than Florida in summertime then again Dayton Marriott has a REALLY nice pool i live in northeast factory town that looks like the setting for "tommy boy" i'll arrive with my one suit carefully packed in a glad-trashbag and duct-ta

Re: (FRIDAY) Struts in Action Live

2009-04-03 Thread Chris Pratt
OK, that's the coolest thing I've seen in a long time. Thanks for the pointer. (*Chris*) On Fri, Apr 3, 2009 at 5:57 PM, Ted Husted wrote: > Hey, I posted a blog the other day about Gliffy, which I use all the > time now. Turns out, it's based on Struts! A great example of "what > goes around

Re: [Friday] Re: [OT] RE: RE: Re: [OT] new Boolean(true)? Re: [S2] Testing if session variable is present

2008-08-02 Thread Milan Milanovic
Well, actually no. I work through my application 30 mins. with my session o.k., but when I came to redirect action it dissapear. I will create test application with nearly empty action class and jsp-s to try if redirect action to another namespace really delete session, as it happes to me. I chec

Re: [Friday] Re: [OT] RE: RE: Re: [OT] new Boolean(true)? Re: [S2] Testing if session variable is present

2008-08-01 Thread stanlick
Is it possible you have the server session-time-to-live set to a very small duration of time? This might explain why the sessions are disappearing. On Fri, Aug 1, 2008 at 11:47 AM, Milan Milanovic <[EMAIL PROTECTED]>wrote: > > I know that they are passed through serlvet, I'm just wondering if s

Re: [Friday] Re: [OT] RE: RE: Re: [OT] new Boolean(true)? Re: [S2] Testing if session variable is present

2008-08-01 Thread Al Sutton
I refer you to the answer on sessions I gave you some emails ago. You **REALLY** should read how session work. They are not passed through a servlet. Al. Milan Milanovic wrote: I know that they are passed through serlvet, I'm just wondering if struts makes some error there. Could you be pos

Re: [Friday] Re: [OT] RE: RE: Re: [OT] new Boolean(true)? Re: [S2] Testing if session variable is present

2008-08-01 Thread Dave Newton
--- On Fri, 8/1/08, Milan Milanovic wrote: > Could you be positive that Struts 2.0.11.1 doesn't > do anything with session, i.e., session remains intact > and session is set for folowing action in case of > redirect action? Session handling is no different for a redirectAction than any other r

Re: [Friday] Re: [OT] RE: RE: Re: [OT] new Boolean(true)? Re: [S2] Testing if session variable is present

2008-08-01 Thread Milan Milanovic
I know that they are passed through serlvet, I'm just wondering if struts makes some error there. Could you be positive that Struts 2.0.11.1 doesn't do anything with session, i.e., session remains intact and session is set for folowing action in case of redirect action ? -- Regards, Milan Al

Re: [Friday] Re: [OT] RE: RE: Re: [OT] new Boolean(true)? Re: [S2] Testing if session variable is present

2008-08-01 Thread Al Sutton
Tonight on the Struts 2 comedy channel; How your employer is ensuring you enjoy your day by only filtering out the boring websites to avoid you having to waste time checking them out :). Dave Newton wrote: --- On Fri, 8/1/08, Al Sutton wrote: So you'd choose JDBC driver source code over po

Re: [Friday] Re: [OT] RE: RE: Re: [OT] new Boolean(true)? Re: [S2] Testing if session variable is present

2008-08-01 Thread Al Sutton
A Medusa code. So named because anyone who looks at it gets so petrified they turn to freeze up and turn to stone. I once worked for a company where one of their classes was about 200K in size, the reason was the developer thought that in every you needed to catch every exception thrown,

Re: [Friday] Re: [OT] RE: RE: Re: [OT] new Boolean(true)? Re: [S2] Testing if session variable is present

2008-08-01 Thread Dave Newton
--- On Fri, 8/1/08, Al Sutton wrote: > So you'd choose JDBC driver source code over porn And it's not filtered at work! Win-win! Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTE

Re: [Friday] Re: [OT] RE: RE: Re: [OT] new Boolean(true)? Re: [S2] Testing if session variable is present

2008-08-01 Thread Dave Newton
--- On Fri, 8/1/08, Al Sutton <[EMAIL PROTECTED]> wrote: > It splits your code into more manageable chunks, [...] You're right, it does split *my* code. Unfortunately (well... fortunately, really) that code isn't mine and I'm forbidden from even looking at it. Dave

Re: [Friday] Re: [OT] RE: RE: Re: [OT] new Boolean(true)? Re: [S2] Testing if session variable is present

2008-08-01 Thread Al Sutton
Milan, Please read up on how sessions work. They are NOT passed via URLs unless you have cookies disabled, URL rewriting enabled on your appserver, and a very sick sense of what a normal configuration is. Al. Milan Milanovic wrote: Hi Dave, one short question, don't be angry ;-). The lin

Re: [Friday] Re: [OT] RE: RE: Re: [OT] new Boolean(true)? Re: [S2] Testing if session variable is present

2008-08-01 Thread Milan Milanovic
Hi Dave, one short question, don't be angry ;-). The link which when clicked action class lost its session looks like this: http://localhost:8080/myproject/show.action?dojo.preventCache=1224214242324&id=4 Is it possible that session is not passed through this link ? -- Regards, Milan newton

Re: [Friday] Re: [OT] RE: RE: Re: [OT] new Boolean(true)? Re: [S2] Testing if session variable is present

2008-08-01 Thread Al Sutton
So you'd choose JDBC driver source code over porn and you called me wierd :). Dave Newton wrote: --- On Fri, 8/1/08, Al Sutton <[EMAIL PROTECTED]> wrote: Don't worry, I've just written a rant about not relying on dirty reads and had to re-word it to include the footnote "This discussio

Re: [Friday] Re: [OT] RE: RE: Re: [OT] new Boolean(true)? Re: [S2] Testing if session variable is present

2008-08-01 Thread Al Sutton
Captin... The cyclometric complexity meter is at max... I canne give it any more. Reflection can seriously help with big else-ifs. If your switching on a variable use the variable name and value as part of the class name and then do; Class blahHandlerClass = Class.forName( "BlahHandlerFor"+v

Re: [Friday][OT] Re: sorting problem with display tag: please help

2008-07-25 Thread Al Sutton
You think he got the message?, or are you expecting another message tomorrow? Dave Newton wrote: --- On Fri, 7/25/08, Al Sutton <[EMAIL PROTECTED]> wrote: What did the display tag people say when you posted on their lists [...] I see what you did there. Dave --

Re: [friday] Re: Struts2 vs JSF

2008-02-29 Thread Ray Clough
: > > interesting ...can you implement ajax functionality such as theme='ajax' > from dojo? > > Martin- > - Original Message - > From: "Ray Clough" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" > Sent: Friday, February 29, 2008 6:

Re: [friday] Re: Struts2 vs JSF

2008-02-29 Thread Martin Gainty
interesting ...can you implement ajax functionality such as theme='ajax' from dojo? Martin- - Original Message - From: "Ray Clough" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Friday, February 29, 2008 6:08 PM Subject: Re: [friday] Re: St

Re: [friday] Re: Struts2 vs JSF

2008-02-29 Thread Ray Clough
ing Ajax behind the scenes. S2 is a superior 'Control' component, but not really great at 'View'. With the proper approach, they are perfectly compatible. (Too bad Shale seems moribund). - Ray Clough [EMAIL PROTECTED] > - Original Message - > From: "Dave

Re: [friday] Re: Struts2 vs JSF

2008-02-29 Thread Dave Newton
--- Musachy Barroso <[EMAIL PROTECTED]> wrote: > Search for "Snatch fight" in youtube, and you will get a felling of > what Struts 2 would do to JSF in a fight :) I was *really* scared to see what that would bring up ("snatch", in the US, is a somewhat derogatory term for... uh... female parts).

Re: [friday] Re: Struts2 vs JSF

2008-02-29 Thread Frans Thamura
On Sat, Mar 1, 2008 at 5:12 AM, Musachy Barroso <[EMAIL PROTECTED]> wrote: > Search for "Snatch fight" in youtube, and you will get a felling of > what Struts 2 would do to JSF in a fight :) > > cannot get it

Re: [Friday] Re: [S2] OGNL Syntax Question

2008-02-23 Thread Martin Gainty
hema (XSD) 1.0 a.. XPath 1.0 a.. XSLT 1.0 personally I believe incorporating XSLT capability will propel this control well beyond the v4 control Anyone? Martin-- - Original Message - From: "Al Sutton" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Satu

Re: [Friday] Re: [S2] OGNL Syntax Question

2008-02-23 Thread Al Sutton
- Original Message - From: "Dave Newton" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Saturday, February 23, 2008 1:06 AM Subject: Re: [Friday] Re: [S2] OGNL Syntax Question --- [EMAIL PROTECTED] wrote: And he is buddying up with Microsoft! I

Re: [Friday] Re: [S2] OGNL Syntax Question

2008-02-22 Thread Dave Newton
--- [EMAIL PROTECTED] wrote: > And he is buddying up with Microsoft! I've offered to deploy a better browser on my client's 3-4k tablets; so far they've declined. Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [Friday] Re: [S2] OGNL Syntax Question

2008-02-22 Thread stanlick
And he is buddying up with Microsoft! Dave did you stop taking the pretty little orange pills? On Fri, Feb 22, 2008 at 6:24 PM, Dave Newton <[EMAIL PROTECTED]> wrote: > --- Wes Wannemacher <[EMAIL PROTECTED]> wrote: > > On 2/22/08, Dave Newton <[EMAIL PROTECTED]> wrote: > > > --- "Hoying, Ken" <

Re: [Friday] Re: [S2] OGNL Syntax Question

2008-02-22 Thread Dave Newton
--- Wes Wannemacher <[EMAIL PROTECTED]> wrote: > On 2/22/08, Dave Newton <[EMAIL PROTECTED]> wrote: > > --- "Hoying, Ken" <[EMAIL PROTECTED]> wrote: > > > I was able to resolve the issue by replacing the single backslash with > > > a double backslash. > > Any time you need advice completely unrelat

Re: [FRIDAY] OGNL Viewer

2007-10-26 Thread stanlick
But I wanted it in 3D! Musachy Barroso wrote: > > "I would pay a couple large" > > btw where is my cash? :) > > musachy > > On 10/26/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: >> in 2.1, add debug=browser to your url (and make sure that you have the >> dojo plugin installed). By default

Re: [FRIDAY] OGNL Viewer

2007-10-26 Thread Tom Schneider
Musachy is is our javascript expert! I would demand a Web 2.0 compliant viewer with animation, fade-in/out and other whizbang features. :) Tom newton.dave wrote: > > --- Musachy Barroso <[EMAIL PROTECTED]> wrote: >> "I would pay a couple large" >> >> btw where is my cash? :) > > You're rich

Re: [FRIDAY] OGNL Viewer

2007-10-26 Thread Dave Newton
--- Musachy Barroso <[EMAIL PROTECTED]> wrote: > "I would pay a couple large" > > btw where is my cash? :) You're rich! It'd also be pretty short work to take the stack and create a Graphviz file, too. d. - To unsubscribe, e-

Re: [Friday] RE: Download link

2007-10-12 Thread Dave Newton
t; > > > -Original Message- > > From: Dave Newton [mailto:[EMAIL PROTECTED] > > Sent: 12 October 2007 15:27 > > To: Struts Users Mailing List > > Subject: Re: [Friday] RE: Download link > > > > > > --- Al Sutton <[EMAIL PROTECTED

Re: [Friday] RE: Download link

2007-10-12 Thread Musachy Barroso
Oh is it Friday already? musachy On 10/12/07, Al Sutton <[EMAIL PROTECTED]> wrote: > Enough to give your minds a headache? > > -Original Message- > From: Dave Newton [mailto:[EMAIL PROTECTED] > Sent: 12 October 2007 15:27 > To: Struts Users Mailing List &g

RE: [Friday] RE: Download link

2007-10-12 Thread Al Sutton
Enough to give your minds a headache? -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: 12 October 2007 15:27 To: Struts Users Mailing List Subject: Re: [Friday] RE: Download link --- Al Sutton <[EMAIL PROTECTED]> wrote: > Coo... Can we expect double repli

Re: [Friday] RE: Download link

2007-10-12 Thread Dave Newton
--- Al Sutton <[EMAIL PROTECTED]> wrote: > Coo... Can we expect double replies if the parts of > the hive get separated? Yes, with the caveat that each message will contain every Nth letter where N is the number of minds disconnected. It's all quite complicated. d.

Re: [Friday] RE: Download link

2007-10-12 Thread stanlick
I figured this might turn into a sticky thread! The hive is buz'n now. On 10/12/07, Al Sutton <[EMAIL PROTECTED]> wrote: > > Coo... Can we expect double replies if the parts of the hive get > separated? > > --- [EMAIL PROTECTED] wrote: > > > P.S. Does d. ever sleep? Is he a coff

Re: [FRIDAY] JPA War Stories?

2007-09-17 Thread Piero Sartini
We do use TopLink Essentials. Beside the somewhat confusing error messages already mentioned by musachy we are very happy with this choice. JPA is just great :-) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command

Re: [FRIDAY] JPA War Stories?

2007-09-16 Thread Musachy Barroso
> I thought I was the only one. I had a tough time getting that > @Transactional(readOnly = true) sorted out as well. For DAOs that only > have read only operations, I typically annotate with @Transactional at the > class level and then with @Transactional(readOnly = true) on all the > methods. Is

Re: [FRIDAY] JPA War Stories?

2007-09-16 Thread Haroon Rafique
On Friday at 3:01pm, MB=>Musachy Barroso <[EMAIL PROTECTED]> wrote: MB> I'm using it, and I love it, the only problem I've found so far is MB> that errors and exceptions do not help at all, like this one I get MB> from time to time (got it 2 minutes ago): MB> MB> javax.servlet.ServletException:

Re: [FRIDAY] JPA War Stories?

2007-09-15 Thread Alvaro Sanchez-Mariscal
We're also using Toplink JPA in Tomcat. Appart from the problems we had configuring class weaving, it's quite simple for us. On 9/14/07, Ted Husted <[EMAIL PROTECTED]> wrote: > Since we've had the Struts2 Spring-JPA tutorial up for a while, I was > wondering if many Struts developers were using a

Re: [FRIDAY] JPA War Stories?

2007-09-15 Thread nicolas de loof
> > Venturing slightly (more) off-topic, I recently switched from having > my DAOs extend from Spring's HibernateDaoSupport, and using > HibernateTemplate, to just going directly to the Hibernate API. Or, > now, to the JPA API. I don't benefit from Spring's exception > translation that way, but you

Re: [FRIDAY] JPA War Stories?

2007-09-14 Thread Jim Cushing
I've been using JPA annotations with Hibernate for a while, but still using the Hibernate API (SessionFactory, etc.). Those are great, and I felt right at home with them after using XDoclet to set up Hibernate mappings for about two years before that. I'm just getting started using the Pers

Re: [FRIDAY] JPA War Stories?

2007-09-14 Thread Musachy Barroso
I'm using it, and I love it, the only problem I've found so far is that errors and exceptions do not help at all, like this one I get from time to time (got it 2 minutes ago): javax.servlet.ServletException: java.lang.IllegalStateException: Attempting to execute an operation on a closed EntityMana

Re: [FRIDAY... -ish] Re: [S2] struts tags

2007-09-10 Thread Adam Hardy
Dave Newton on 10/09/07 13:34, wrote: --- Adam Hardy wrote: The advantages of lean JSPs are manifold Ha ha, lean JSPs, I get it. d. My humour was not in action when I wrote that. What did you think? A. - To unsubscribe, e

Re: [FRIDAY] WebDev Pushmi-Pullyu

2007-03-10 Thread Romu
respect for the http://www.ghettojava.com/blog/default/ . 2007/3/9, Ted Husted <[EMAIL PROTECTED]>: On 3/9/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > There is also much confusion across the board regarding WW and S2. Are they > the same? Is support dead for S1? Unless you have had

Re: [FRIDAY] WebDev Pushmi-Pullyu

2007-03-09 Thread Ted Husted
On 3/9/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: There is also much confusion across the board regarding WW and S2. Are they the same? Is support dead for S1? Unless you have had your nose pressed up to the incubator for the past year, It really is confusing. Is there something that w

Re: [FRIDAY] WebDev Pushmi-Pullyu

2007-03-09 Thread Ted Husted
If you want to work on it, Musachy, I'll get you a login. :) -Ted. On 3/9/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: For those of us that live in another planet and use Struts 2, our planet : http://planetstruts.org/ has a weird home page :) musachy

Re: [FRIDAY] WebDev Pushmi-Pullyu

2007-03-09 Thread stanlick
I really hoped that S2 was going to be the RoR competitor Java developers need. However, after working with S2 for the past several months it is either a mess, or simply too big with no instructions on how the pieces fit together. Sure, there are a few trivial examples and plenty of source code

Re: [FRIDAY] WebDev Pushmi-Pullyu

2007-03-09 Thread Dave Newton
--- Musachy Barroso <[EMAIL PROTECTED]> wrote: > http://planetstruts.org/ > > has a weird home page :) I like it; minimalist, straight to the point. Kinda Web 0.2-ish; only 1.8 off. d. Be a PS3 game guru. G

Re: [FRIDAY] WebDev Pushmi-Pullyu

2007-03-09 Thread Musachy Barroso
For those of us that live in another planet and use Struts 2, our planet : http://planetstruts.org/ has a weird home page :) musachy On 3/9/07, Michael Jouravlev <[EMAIL PROTECTED]> wrote: Another blog, another comment: http://www.oreillynet.com/onjava/blog/2007/02/apache_struts_2_ga_releas

Re: [FRIDAY] WebDev Pushmi-Pullyu

2007-03-09 Thread Dave Newton
--- Michael Jouravlev <[EMAIL PROTECTED]> wrote: > "struts2 missed the boat. It has a nice "vintage" > feeling to it, and it may be able to ride the > marketing clout that goes with the name, > but the technology feels like a "blast from the > past". If you are on jdk5 and want an action-oriented

Re: [FRIDAY] WebDev Pushmi-Pullyu

2007-03-09 Thread Michael Jouravlev
Another blog, another comment: http://www.oreillynet.com/onjava/blog/2007/02/apache_struts_2_ga_release.html#comment-506880 "struts2 missed the boat. It has a nice "vintage" feeling to it, and it may be able to ride the marketing clout that goes with the name, but the technology feels like a "bla

Re: [FRIDAY] WebDev Pushmi-Pullyu

2007-03-09 Thread Vinny
I'm just happy your post didn't conclude with "... and that is why I'm switching to Flex..." It's Friday, Vinny On 3/9/07, Ted Husted <[EMAIL PROTECTED]> wrote: Just some rambling ruminations from my blog ... As might be expected, the Struts 2 GA announcement had its share of comments on The S

Re: [FRIDAY] WebDev Pushmi-Pullyu

2007-03-09 Thread Musachy Barroso
This was my favorite post: " Are you guys coming from a different planet? Then let me tell you that here on planet earth web developers are going component based." :) musachy On 3/9/07, Ted Husted <[EMAIL PROTECTED]> wrote: Just some rambling ruminations from my blog ... As might be expect

Re: [FRIDAY] [OT] HTML Reports

2007-01-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joel, Joel Espinosa wrote: > 1.- Is a good practice to save HTML code in the database? Not really. But, if you save XML in the database, you could transform it using XSLT into HTML. XML is a much better storage format than HTML. You could also use a

Re: [FRIDAY] DBCP configuration

2007-01-05 Thread Larry Meadors
Yeah, and like Gareth said, it's pretty easy to make a mock jndi container for your tests. Larry On 1/5/07, Wesley Wannemacher <[EMAIL PROTECTED]> wrote: > > > There's one additional advantage to using JNDI for this ... > in many shops > you have two or even three environments to worry about

Re: [FRIDAY] DBCP configuration

2007-01-05 Thread Phil Steitz
On 1/5/07, Christopher Schultz <[EMAIL PROTECTED] > wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Wesley, (Sorry, I accidentally sent my previous message before I was finished writing). Wesley Wannemacher wrote: > The main reason that I am currently leaning toward the iBATIS solution >

RE: [FRIDAY] DBCP configuration

2007-01-05 Thread Wesley Wannemacher
> > > There's one additional advantage to using JNDI for this ... > in many shops > you have two or even three environments to worry about (development, > staging, production), each with its own database instance. Having the > database configuration for each instance in its own server > mean

Re: [FRIDAY] DBCP configuration

2007-01-05 Thread Craig McClanahan
On 1/5/07, Christopher Schultz <[EMAIL PROTECTED]> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Wesley, Wesley Wannemacher wrote: > When configuring the database connections, where do you tend to put > them? Without question: have your container create the connection pool and make it

Re: [FRIDAY] DBCP configuration

2007-01-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Wesley, (Sorry, I accidentally sent my previous message before I was finished writing). Wesley Wannemacher wrote: > The main reason that I am currently leaning toward the iBATIS solution > is that I am finding jUnit tests difficult to write for my pe

Re: [FRIDAY] DBCP configuration

2007-01-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Wesley, Wesley Wannemacher wrote: > When configuring the database connections, where do you tend to put > them? Without question: have your container create the connection pool and make it available via JNDI. This is the most portable configuration y

RE: [FRIDAY] DBCP configuration

2007-01-05 Thread Wesley Wannemacher
> -Original Message- > From: Gareth Evans [mailto:[EMAIL PROTECTED] > Sent: Friday, January 05, 2007 11:39 AM > To: Struts Users Mailing List > Subject: Re: [FRIDAY] DBCP configuration > > Hi, > > I had a very similar problem using hibernate and a jndi

Re: [FRIDAY] DBCP configuration

2007-01-05 Thread Gareth Evans
Hi, I had a very similar problem using hibernate and a jndi datasource, the way I got around this for unit testing was to create the jndi datasource within my unittest setup method, it's a little messy but works for me (tihs class also loads the spring configuration files too): import java.ut

Re: [FRIDAY] Christmas holidays

2006-12-22 Thread Martin Gainty
for all those from Brooklyn Happy Festivus Feliz Navidad Martin-- --- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain informati

Re: [FRIDAY/OT] Access Log file reporting tools

2006-12-01 Thread Christopher Goldman
On Fri, 2006-12-01 at 12:16 -0500, Monkeyden wrote: > Does anyone know of an OSS log file reporting tool? We're using a very old > version of WebTrends, which usually works fine (but sometimes not). MGMT > doesn't want to "pony up" so, well, you know. Was hoping that Apache had > something. Mon

Re: [FRIDAY/OT] Access Log file reporting tools

2006-12-01 Thread Wendy Smoak
On 12/1/06, Monkeyden <[EMAIL PROTECTED]> wrote: I was referring to web server access log files, by which to generate traffic reports. I looked at Chainsaw but it's basically just a log file viewer. I need something that will process, and report on, a 10 million line access.log file. So... Ap

Re: [FRIDAY/OT] Access Log file reporting tools

2006-12-01 Thread Monkeyden
I was referring to web server access log files, by which to generate traffic reports. I looked at Chainsaw but it's basically just a log file viewer. I need something that will process, and report on, a 10 million line access.log file. On 12/1/06, Wendy Smoak <[EMAIL PROTECTED]> wrote: On 12/

Re: [FRIDAY/OT] Access Log file reporting tools

2006-12-01 Thread Wendy Smoak
On 12/1/06, Monkeyden <[EMAIL PROTECTED]> wrote: Does anyone know of an OSS log file reporting tool? We're using a very old version of WebTrends, which usually works fine (but sometimes not). MGMT doesn't want to "pony up" so, well, you know. Was hoping that Apache had something. What sort o

Re: FRIDAY #1 JavaBeans/Model

2006-10-09 Thread Martin Gainty
al Message - From: "Larry Meadors" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Cc: "Martin Gainty" <[EMAIL PROTECTED]> Sent: Monday, October 09, 2006 10:51 AM Subject: Re: FRIDAY #1 JavaBeans/Model > On 10/9/06, Wesley Wannemacher <[EMAIL PR

RE: FRIDAY #1 JavaBeans/Model

2006-10-09 Thread Dave Newton
> From: Wesley Wannemacher [mailto:[EMAIL PROTECTED] > [...] I think this actually stifles my Java development from time to time > because I tend to think in terms of 'normalized db' rather than 'good OO' I'm not entirely sure I see a huge differentiation between the two. > I figured the busine

Re: FRIDAY #1 JavaBeans/Model

2006-10-09 Thread Larry Meadors
On 10/9/06, Wesley Wannemacher <[EMAIL PROTECTED]> wrote: Wow :) I am really glad you asked that! I actually came to Java Development from a DBE background. Normalization is actually one of my favorite topics of discussion, and I think this actually stifles my Java development from time to time b

RE: FRIDAY #1 JavaBeans/Model

2006-10-09 Thread Wesley Wannemacher
> -Original Message- > From: Martin Gainty [mailto:[EMAIL PROTECTED] > Sent: Saturday, October 07, 2006 10:19 AM > To: Struts Users Mailing List; [EMAIL PROTECTED] > Subject: Re: FRIDAY #1 JavaBeans/Model > > Good Morning Martin- > > I would say you'

Re: FRIDAY #1 JavaBeans/Model

2006-10-07 Thread Martin Gainty
Good Morning Martin- I would say you're definitely on the right track and would inquire th reasons for combiinge 2 tables into one bean If the DB is designed so that someone built table1 and for some reason built table2 which is basically an extension of the attributes for table1 then your bean

Re: FRIDAY #1 JavaBeans/Model

2006-10-06 Thread Mississippi John Hurt
I also like Ibatis better. To me, Ibatis is a better, more efficient, more flexible, practical, transparent framework that gives you more control than Hibernate. On 10/6/06, Albert L. Sapp <[EMAIL PROTECTED]> wrote: +1 Al Larry Meadors wrote: > On 10/6/06, Ivo Limmen <[EMAIL PROTECTED]> wrote

Re: FRIDAY #3 Struts 2.0 or Struts 1.x ?

2006-10-06 Thread Mark Menard
On 10/6/06 11:50 AM, "Wesley Wannemacher" <[EMAIL PROTECTED]> wrote: > Last question (until next week) is probably pretty obvious from the > subject. I figure if I am going to build from scratch, I should consider > Struts 2.0. The disadvantage though seems to be that the book I bought > doesn't s

Re: FRIDAY #1 JavaBeans/Model

2006-10-06 Thread Albert L. Sapp
+1 Al Larry Meadors wrote: On 10/6/06, Ivo Limmen <[EMAIL PROTECTED]> wrote: iBATIS is only a small helper tool that will help you to map objects to the database. This requires a lot of code to write. If you use Hibernate you can write the mapping and generate your beans. Hibernate does howev

Re: FRIDAY #1 JavaBeans/Model

2006-10-06 Thread Larry Meadors
On 10/6/06, Ivo Limmen <[EMAIL PROTECTED]> wrote: iBATIS is only a small helper tool that will help you to map objects to the database. This requires a lot of code to write. If you use Hibernate you can write the mapping and generate your beans. Hibernate does however require some practice, it ha

RE: FRIDAY #1 JavaBeans/Model

2006-10-06 Thread Wesley Wannemacher
Hello, > > > First, I am going to design a database, then build a bunch of > > beans that > > more or less represent the data in the database by going > > mostly one bean > > for each table. There will likely be a few cases where one bean will > > represent two tables (1:n relationship, where

RE: FRIDAY #3 Struts 2.0 or Struts 1.x ?

2006-10-06 Thread Dave Newton
> From: Wesley Wannemacher [mailto:[EMAIL PROTECTED] > The disadvantage though seems to be that the book I bought > doesn't seem to deal with 2.0. Will this be a problem? Depends. The two are *very* different. Personally, I have not recommended Struts1 for over two years due to architectural iss

Re: FRIDAY #1 JavaBeans/Model

2006-10-06 Thread Ivo Limmen
Hi Wesley, Our company has just decided to standardize on Struts (1.3.5 currently) and for database mapping for Hibernate 3 and up.Struts is not limited to a specific database mapping tool, so you will need to make a selection. iBATIS is only a small helper tool that will help you to map objects

Re: FRIDAY #1 JavaBeans/Model

2006-10-06 Thread Albert L. Sapp
Wesley Wannemacher wrote: Hello, I am not really a Java Guru, but have made the experience that in effect the name "Bean" is - in the context of Struts-based Webapps - really nothing more than a POJO following the naming conventions of JavaBeans for getters/setters. Awesome, thank

Re: FRIDAY #1 JavaBeans/Model

2006-10-06 Thread Albert L. Sapp
Wesley, From personal experience, I know where you are coming from. I started out knowing even less about this than you. I will say though that it was fairly easy and quick to pick up both Struts and iBatis. The design standards were handed down from a project leader long gone before we ev

Re: FRIDAY #2 non-MVC pages

2006-10-06 Thread Simon Chappell
On 10/6/06, Leon Rosenberg <[EMAIL PROTECTED]> wrote: you probably want the http://struts.apache.org/1.x/struts-extras/apidocs/org/apache/struts/actions/ForwardAction.html +1 (yeah, what he said) Simon -- simonpeter.org | simonpeter.com | techbook.info ---

RE: FRIDAY #1 JavaBeans/Model

2006-10-06 Thread Wesley Wannemacher
Hello, > > I am not really a Java Guru, but have made the experience > that in effect the > name "Bean" is - in the context of Struts-based Webapps - > really nothing > more than a POJO following the naming conventions of JavaBeans for > getters/setters. Awesome, thanks! I figured as much, b

Re: FRIDAY #2 non-MVC pages

2006-10-06 Thread Joe Germuska
When building a struts application, is it a good idea to base everything on actions? For instance, let's say I'm writing an 'About Us' page or 'Terms Of Service'... Should I build an action to handle them, or just write the JSP. My assumption is that it would be pedantic to have struts handle it,

Re: FRIDAY #1 JavaBeans/Model

2006-10-06 Thread Simon Chappell
On 10/6/06, Wesley Wannemacher <[EMAIL PROTECTED]> wrote: Hello, I'm exercising the 'Casual Friday' rule here to ask some general questions. I apologize in advance if I break any list etiquette, but I subscribed on Monday and have been waiting patiently for Friday so that I can get these questio

Re: FRIDAY #2 non-MVC pages

2006-10-06 Thread Leon Rosenberg
you probably want the http://struts.apache.org/1.x/struts-extras/apidocs/org/apache/struts/actions/ForwardAction.html :-) Leon On 10/6/06, Wesley Wannemacher <[EMAIL PROTECTED]> wrote: Hello, This is my next question... When building a struts application, is it a good idea to base everything

Re: FRIDAY #1 JavaBeans/Model

2006-10-06 Thread Larry Meadors
The iBATIS in Action book has a really good sample application that uses iBATIS and Struts. You can get the ebook now in from the MEAP ($22.50), but if you need the dead tree version, it won't be ready until December: - http://manning.com/begin/ If free is more your price range, Rick Reumann has

RE: [friday] Re: Geronimo ??

2006-09-08 Thread David Friedman
I started to wonder "why did David write that" when I realized, hey it is Friday. On a serious note, if you do not understand the statements made on the front page of each project then your grasp of Java may need some refreshing. For example, the front page of Tomcat lists "...is the servlet cont

Re: [FRIDAY][OT] Slogan for Open Source

2006-07-30 Thread Dakota Jack
uot; > > Do you want to put this label to OSS? > > Martin > > > -Ursprüngliche Nachricht- > > Von: Greg Reddin [mailto:[EMAIL PROTECTED] > > Gesendet: Freitag, 28. Juli 2006 17:45 > > An: Struts Users Mailing List > > Betreff: Re: [FRIDAY][OT] Slog

Re: [FRIDAY][OT] Slogan for Open Source

2006-07-30 Thread Dakota Jack
I am amazed, once again. On 7/28/06, Larry Meadors <[EMAIL PROTECTED]> wrote: Exactly. It is self-deprecating on both sides of the equation, and reinforces the fact that the developers ARE the users, and the users are the developers. All that and it is every bit as irreverent as LAME, Subvers

Re: [FRIDAY][OT] Slogan for Open Source

2006-07-30 Thread Dakota Jack
How about "Every kid reinvents the wheel; join the team that codes the axle -- the real innovation that made the wheel work for turning." ? On 7/28/06, Thomas Joseph <[EMAIL PROTECTED]> wrote: Hi All, I have often felt that, we need a slogan for the Open Source. Something like how Frank has fo

  1   2   3   4   5   6   7   >