Re: Send a 403 response

2005-06-01 Thread Diego Manilla Suárez
Diego Manilla Suárez wrote: Hi! I need to implement some kind of security inside of an Action. When the user doesn't meet certain criteria, I must send him to the forbidden page. Right now I'm doing this: if (!allowed) { response.sendError(HttpServletResponse.SC_FORBIDDEN); return

RE: Dynamically adding components to pages (using struts and custom tags)

2005-06-01 Thread Marius Botha
In my opinion, using custom tags for this purpose is not the best way to go. Custom tags are meant to decouple code from markup. I tend to agree with you. I would (A) either use a controller/navigation switch for this (B) or use some logic on the page for this, e.g. c:if, etc. What do you mean

Re: Can't not reference to property of object which is property of Bean

2005-06-01 Thread Pham Anh Tuan
Thank you, my problem is solved by your solution, Rokibul Islam Khan :) - Original Message - From: Rokibul Islam Khan [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Wednesday, June 01, 2005 12:52 PM Subject: Re: Can't not reference to property of object

Re: Can't not reference to property of object which is property of Bean

2005-06-01 Thread Pham Anh Tuan
I got problem when I submit my form like what I described before. javax.servlet.ServletException: BeanUtils.populate at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1254) at org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.java:821) at

Re: Can't not reference to property of object which is property of Bean

2005-06-01 Thread Pham Anh Tuan
Hi all, I got the answer for my problem. Because I don't initialize properties which are objects :D - Original Message - From: Pham Anh Tuan [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Wednesday, June 01, 2005 4:31 PM Subject: Re: Can't not reference to

RE: [OT] Business Layer Ideas

2005-06-01 Thread Pilgrim, Peter
-Original Message- From: Dakota Jack [mailto:[EMAIL PROTECTED] ====== Hi, Peter, I am not sure what you are saying here. I had trouble following you. The Strategy Pattern is roughly the following: public class DefaultStrategyInterface implements StrategyInterface {

Problem with struts in Sun One 8.1 integrated with NetBeans 4.1

2005-06-01 Thread Eduardo Ribeiro da Silva
Hi people, I'm trying deploy an application with Struts in Sun1 8.1 integrated with NetBeans 4.1. This application is working fine in TomCat. I'm receiving this stack trace in my browse: javax.servlet.ServletException: Cannot find ActionMappings or ActionFormBeans collection

Action vs. Servlet

2005-06-01 Thread e-denton Java Programmer
Hi, I recently wrote an Action which in conjunction with an ActiveX object returns a table from the server to update the DOM in the browser. My question is: Is this a proper use of an Action, here essentially just a subroutine I am calling from the client, with no forwarding action? Or should I

Action vs. Servlet

2005-06-01 Thread e-denton Java Programmer
Hi, I recently wrote an Action which in conjunction with an ActiveX object returns a table from the server to update the DOM in the browser. My question is: Is this a proper use of an Action, here essentially just a subroutine I am calling from the client, with no forwarding action? Or should I

Re: [OT] Business Layer Ideas

2005-06-01 Thread Dakota Jack
Thanks, Peter, This reply is in three parts: Oops, Ugh and GoF. FIRST PART: Oops! I am afraid there is a fatal flaw in your reasoning. Your example of the Strategy Pattern is *not* the Strategy Pattern. It is merely two differing implmentations of an interface. The Strategy Pattern is a

Re: Action vs. Servlet

2005-06-01 Thread Dakota Jack
The servlet for an Action is the ActionServlet. In the Action, you probably should have used some utility class defined outside the Action to decouple the business logic from the Action itself. On 6/1/05, e-denton Java Programmer [EMAIL PROTECTED] wrote: Hi, I recently wrote an Action which

access to dataSource configured in struts-config.xml in a Plugin

2005-06-01 Thread Thibaut Lassalle
hi, i'd like to access to dataSource configured in struts-config.xml in the Plugin init method. But i don't have a clue how to do that. Thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Seeking Advice Error Handling

2005-06-01 Thread Scott Purcell
Hello, I have created a site with a mysql database back-end, and full struts front end. I have a filter to ensure the creation of some session app objects, and the site is pretty clean. But over the weekend, I found a problem that I am seeking advice from. For some reason, the mysql database

Re: Problem with struts in Sun One 8.1 integrated with NetBeans 4.1

2005-06-01 Thread Martin Gainty
Eduardo- It looks as if you never closed down the Tomcat instance that is using that socket so make sure tomcat is shutdown 'properly' The second is that your struts-config.xml has an action-mapping action type=FormBeanPackage.FormBeanClass Make sure you have FormBeanPackage.FormBeanClass

Re: Seeking Advice Error Handling

2005-06-01 Thread gdeschen
In what application server is your application running? Do you have any connection pooling? - Glenn Scott Purcell [EMAIL PROTECTED] 01/06/2005 10:05 AM Please respond to Struts Users Mailing List user@struts.apache.org To user@struts.apache.org cc Subject Seeking Advice Error Handling

RE: Seeking Advice Error Handling

2005-06-01 Thread Scott Purcell
I am running Tomcat 5.5, and I am using a roll-your-own database pooling solution. Scott -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 01, 2005 9:18 AM To: Struts Users Mailing List Subject: Re: Seeking Advice Error Handling In what

Re: [OT] Business Layer Ideas

2005-06-01 Thread Frank W. Zammetti
On Wed, June 1, 2005 9:47 am, Dakota Jack said: This is what our fellow traveler Frank Zammettie finds inherently suspicious about the *OOP nuts*. Woah, leave me out of this. I've purposely stayed away from this thread all this time, now I have to get in... I don't want anyone thinking I'm

Re: Seeking Advice Error Handling

2005-06-01 Thread Dakota Jack
Hi, Scott, Wherever you access the database and encounter the error is where the error should be handled. A rule-of-thumb I employ is to handle all errors as soon as possible and as near to the actual error as possible. I think that testing to see if your database is working is not a good idea.

Re: [OT] Business Layer Ideas

2005-06-01 Thread Dakota Jack
Sorry, Frank. I did not mean to misrepresent you in any way but merely to use a jocular reference out of good nature. I know you are into OOP. On 6/1/05, Frank W. Zammetti [EMAIL PROTECTED] wrote: On Wed, June 1, 2005 9:47 am, Dakota Jack said: This is what our fellow traveler Frank

RE: Seeking Advice Error Handling

2005-06-01 Thread gdeschen
Umh... I have seen in the past that at times the connection pool believes that the DB is still there even when it is not. I'm not a Tomcat user... at least not yet ! In my case... the infrastructure has a gateway between the application server and the database server. The web application is

Re: [OT] Business Layer Ideas

2005-06-01 Thread Frank W. Zammetti
Not a problem. Just didn't want anyone else to get the wrong impression. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Wed, June 1, 2005 10:35 am, Dakota Jack said: Sorry, Frank. I did not mean to misrepresent you in any way but

Re: Seeking Advice Error Handling

2005-06-01 Thread Martin Gainty
Scott- /*courtesy of W.L. daSilva http://www.informit.com/articles/article.asp?p=23734redir=1*/ Using this sample for your struts-config.xml data-sources data-source autoCommit=false description=First Database Config driverClass= org.gjt.mm.mysql.Driver maxCount=4 minCount=2

Re: Seeking Advice Error Handling

2005-06-01 Thread Mark Benussi
Vote +1 Scott if you want to know if your database is down and then turn it off as a service you can do this via an inner TimerTask. I implement somthing along the lines of if the database is down, set its status as down with my service manager. Then you can write code to check the service

Re: Seeking Advice Error Handling

2005-06-01 Thread Wendy Smoak
From: Scott Purcell [EMAIL PROTECTED] I have created a site with a mysql database back-end, and full struts front end. I have a filter to ensure the creation of some session app objects, and the site is pretty clean. But over the weekend, I found a problem that I am seeking advice from. For

Re: [OT] Business Layer Ideas

2005-06-01 Thread Simon Chappell
Good stuff Frank. Your point is a good one and well made. I just spoke at a Java User Group here in Wisconsin on a similar issue, about how most people don't need to improve their Java programming skills, rather they need to improve their programming skills! I think that pattern use falls in the

RE: [OT] Business Layer Ideas

2005-06-01 Thread Pilgrim, Peter
-Original Message- From: Dakota Jack [mailto:[EMAIL PROTECTED] ==== Strategy (315) Define a family of algorithms encapsulate each one, and make them interchangeable. Strategy lets the algorithm vary independently from clients that use it. This is exactly I

RE: [OT] Business Layer Ideas

2005-06-01 Thread Pilgrim, Peter
-Original Message- From: Simon Chappell [mailto:[EMAIL PROTECTED] Sent: 01 June 2005 16:29 To: Struts Users Mailing List Subject: Re: [OT] Business Layer Ideas Good stuff Frank. Your point is a good one and well made. I just spoke at a Java User Group here in Wisconsin on a

Re: [OT] Business Layer Ideas

2005-06-01 Thread Leon Rosenberg
On Wed, 2005-06-01 at 10:31 -0400, Frank W. Zammetti wrote: ... Simplicity is a beautiful thing. That is always my underlying design goal for two reasons... Now this is really a perfect statement on architectures! Thanx Frank Leon.

How to validate html:select

2005-06-01 Thread Venkat Reddy Valluri
Hi I would like to validate roles in html:select property=roles multiple=truehtml:options collection=roleDomain property=value labelProperty=label//html:select in validation.xml i have given like this field property=roles depends=required

Re: [OT] Business Layer Ideas

2005-06-01 Thread Simon Chappell
Patterns came from the recognition of common idioms, practices in the industry. Religously following and applying patterns could condemn you not to discovering future oversights and other intuitions. Back when I was a young programmer we used to have to think. THINK! Oh the humanity. No

Re: [OT] Business Layer Ideas

2005-06-01 Thread gdeschen
I have these 2 phrases posted in my office as a reminder... Simplicity is the ultimate sophistication - Leonardo da Vinci The ability to simplify means to eliminate the unnecessary so that the necessary may speak - Hans Hofmann - Glenn Leon Rosenberg [EMAIL PROTECTED] 01/06/2005 11:42

Re: [OT] Business Layer Ideas

2005-06-01 Thread Frank W. Zammetti
On Wed, June 1, 2005 12:15 pm, Simon Chappell said: Back when I was a young programmer we used to have to think. THINK! Hey, I'm the resident bemoaner of how rough we used to have it! How dare you take my job?!? :) LOL Oh the humanity. No patterns for us. Just endless cups of tea, a pad of

Re: [OT] Business Layer Ideas

2005-06-01 Thread gdeschen
Come on guys... it is much tougher today than back when you and I were young! Programming is programming: things haven't changed that much. ;) I started out doing Assembler. Then moved on to Cobol and CICS. I remember the excitement when Cobol II came out wow 4 new instructions... learnt it

Re: [OT] Business Layer Ideas

2005-06-01 Thread Dave Newton
Frank W. Zammetti wrote: Related to this, patterns are a wonderful invention, but I see day in and day out people trying to find a pattern for every single situation. People seem to think that they have to solve every problem by finding a suitable pattern. The problem is, everyone seems to

Re: [OT] Business Layer Ideas

2005-06-01 Thread Martin Gainty
Dave- could you give us an example of over-using a weak abstraction ? Martin- - Original Message - From: Dave Newton [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Wednesday, June 01, 2005 2:19 PM Subject: Re: [OT] Business Layer Ideas Frank W. Zammetti

Re: [OT] Business Layer Ideas

2005-06-01 Thread Dave Newton
Simon Chappell wrote: Back when I was a young programmer we used to have to think. THINK! Ah, a man after my own heart. In those days, if we wanted the computer to do _anything_, we generally had to write it ourselves, and nobody had ever done it before, so we couldn't even cheat. And like

Re: [OT] Business Layer Ideas

2005-06-01 Thread Dave Newton
Frank W. Zammetti wrote: And I didn't have the 16K expansion module because my dad tried to solder it on because we could never get a good contact No no, you wanted it a little loose, for paging :D I}hate}}}LISP. LISP... ugh. I can't stand any language that

RE: Action vs. Servlet

2005-06-01 Thread Durham David R Jr Ctr 805 CSPTS/SCE
I recently wrote an Action which in conjunction with an ActiveX object returns a table from the server to update the DOM in the browser. My question is: Is this a proper use of an Action, here essentially just a subroutine I am calling from the client, with no forwarding action? Or should

RE: Action vs. Servlet

2005-06-01 Thread Frank W. Zammetti
Is the rest of your application on the server-side Struts-based? If so I would consider that reason enough to implement it as an Action. If your saying this is the extent of your server-side processing and asking whether you should use Struts for it or not, I would tend to say no... There's

RE: Dynamically adding components to pages (using struts and custom tags)

2005-06-01 Thread Durham David R Jr Ctr 805 CSPTS/SCE
In my opinion, using custom tags for this purpose is not the best way to go. Custom tags are meant to decouple code from markup. I tend to agree with you. I agree as well, but I'll add that you could put a StringBuffer in one of the scopes-- pageContext or request to share it across tags.

AW: [OT] Business Layer Ideas

2005-06-01 Thread Leon Rosenberg
One major problem lies with how programmers are educated today. A lot of schools teach a language or a design philosophy but rarely are in-depth enough to actually breed the abstract skills necessary for the programmer to become useful. It's a shame, really. I went to college in 1986

Re: [OT] Business Layer Ideas

2005-06-01 Thread Tom Dimock
On Jun 1, 2005, at 12:39 PM, Frank W. Zammetti wrote: Timex Sinclair 1000 by any chance? Agh, you youngsters... My first program ran on a Burroughs 220 that was a vacuum tube based computer! But seriously, I agree fully that having learned on machines that had very limited memory, and

Re: [OT] Business Layer Ideas

2005-06-01 Thread Frank W. Zammetti
On Wed, June 1, 2005 2:55 pm, Tom Dimock said: I still make very little use of debuggers to this day, and find the younger programmers completely mystified as to how I ever get code to work. I frequently get the same reaction... I rarely use a debugger either, yet I seem to have very little

Re: AW: [OT] Business Layer Ideas

2005-06-01 Thread Dave Newton
Leon Rosenberg wrote: We make far more complicated programms in far less time and for lesser cost. Complicated is a pretty loaded term... I don't see much complication in the majority of web apps. Big, sure. Complicated? Sometimes. The most complicated stuff I've worked on lately is rules

RE: Automatic validation question...

2005-06-01 Thread Durham David R Jr Ctr 805 CSPTS/SCE
-Original Message- From: N G [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 31, 2005 3:37 PM To: Struts-user Subject: Automatic validation question... If I have set up validation as follows: field property=myField depends=validwhen, required arg0 key=myForm.FirstName/

Re: [OT] Business Layer Ideas

2005-06-01 Thread Dave Newton
Frank W. Zammetti wrote: On Wed, June 1, 2005 2:55 pm, Tom Dimock said: I still make very little use of debuggers to this day, and find the younger programmers completely mystified as to how I ever get code to work. I frequently get the same reaction... I rarely use a debugger either,

Re: [OT] Business Layer Ideas

2005-06-01 Thread Martin Gainty
There is always a cost As Leon pointed IDE button clickers are now called Software Engineers What happens when a requirement comes along which is not acomodated by clicking 2 buttons? The entire project comes to an immediate HALT..the child prodigy sheepishly walks into his bosses office and

Re: [OT] Business Layer Ideas

2005-06-01 Thread Frank W. Zammetti
On Wed, June 1, 2005 3:42 pm, Dave Newton said: (Although I have to admit, when game programming or the Sega GameGear I would have had to pull off my own hea if I hadn't had the ICE.) That's a good point... I do PocketPC game development, and I'd hate to think about doing it without a good

Re: [OT] Business Layer Ideas

2005-06-01 Thread Frank W. Zammetti
Leon, I meant to ask, what does the AW prefix on messages signify? I've seen it plenty of times but never really thought to ask until now. Oh yeah... IDE button-clickers... I HATE THEE! I have no problem with a person that uses convenience tools so long as they can do without them. I have no

RES: Problem with struts in Sun One 8.1 integrated with NetBeans 4.1

2005-06-01 Thread Eduardo Ribeiro da Silva
The problem was resolved. The ActionServlet was trying validate tiles-defs.xml and tiles point to a public dtd and time-out ocurred. Then we put tiles-config_1_1.dtd in a specific folder in Sun1 (C:\Sun\AppServer\lib\dtds). But unfortunatelly we have other problem: bean:message tag is not

Re: [OT] Business Layer Ideas

2005-06-01 Thread Leon Rosenberg
AW = RE in german :-) It's standart by outlook... -Ursprüngliche Nachricht- Von: Frank W. Zammetti [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 1. Juni 2005 21:55 An: Martin Gainty Cc: Struts Users Mailing List Betreff: Re: [OT] Business Layer Ideas Leon, I meant to ask, what

Re: [OT] Business Layer Ideas

2005-06-01 Thread Leon Rosenberg
AW = RE in german :-) It's standart by outlook... -Ursprüngliche Nachricht- Von: Frank W. Zammetti [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 1. Juni 2005 21:55 An: Martin Gainty Cc: Struts Users Mailing List Betreff: Re: [OT] Business Layer Ideas Leon, I meant to ask, what

Re: [OT] Business Layer Ideas

2005-06-01 Thread Leon Rosenberg
-Ursprüngliche Nachricht- Von: Dave Newton [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 1. Juni 2005 21:37 An: Struts Users Mailing List Betreff: Re: AW: [OT] Business Layer Ideas Leon Rosenberg wrote: We make far more complicated programms in far less time and for lesser

Re: [OT] Business Layer Ideas

2005-06-01 Thread Leon Rosenberg
-Ursprüngliche Nachricht- Von: Dave Newton [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 1. Juni 2005 21:37 An: Struts Users Mailing List Betreff: Re: AW: [OT] Business Layer Ideas Leon Rosenberg wrote: We make far more complicated programms in far less time and for lesser

Re: [OT] Business Layer Ideas

2005-06-01 Thread Dakota Jack
When I was going to programming school we had to walk to school and back and it was uphill both ways. On 6/1/05, Frank W. Zammetti [EMAIL PROTECTED] wrote: On Wed, June 1, 2005 12:15 pm, Simon Chappell said: Back when I was a young programmer we used to have to think. THINK! Hey, I'm the

Re: [OT] Business Layer Ideas

2005-06-01 Thread Dakota Jack
Getting the patterns wrong is typical. Is everyone SURE (?) that Struts 1.3 is actually using the CoR pattern or is it just called that? On 6/1/05, Leon Rosenberg [EMAIL PROTECTED] wrote: One major problem lies with how programmers are educated today. A lot of schools teach a language or a

Re: [OT] Business Layer Ideas

2005-06-01 Thread Dakota Jack
I had to use an abacus with only one bead per string for binarry. Flippity, flip, flip, flip. Gates were hell. I had to have an assembly of 12 abaci around my neck. On 6/1/05, Tom Dimock [EMAIL PROTECTED] wrote: On Jun 1, 2005, at 12:39 PM, Frank W. Zammetti wrote: Timex Sinclair 1000

RE: [OT] Business Layer Ideas

2005-06-01 Thread Scott Piker
We had to walk in the snow. And we couldn't afford snow boots, so we had to wrap newspapers around our feet! ...and they made us use Macs!!! ;-) -Original Message- From: Dakota Jack [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 01, 2005 4:54 PM To: Struts Users Mailing List Subject:

Re: [OT] Business Layer Ideas

2005-06-01 Thread Leon Rosenberg
At least you had newspapers!!! -Ursprüngliche Nachricht- Von: Scott Piker [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 1. Juni 2005 22:59 An: Struts Users Mailing List; Dakota Jack Betreff: RE: [OT] Business Layer Ideas We had to walk in the snow. And we couldn't afford snow

Re: [OT] Business Layer Ideas

2005-06-01 Thread Leon Rosenberg
At least you had newspapers!!! -Ursprüngliche Nachricht- Von: Scott Piker [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 1. Juni 2005 22:59 An: Struts Users Mailing List; Dakota Jack Betreff: RE: [OT] Business Layer Ideas We had to walk in the snow. And we couldn't afford snow

Re: [OT] Business Layer Ideas

2005-06-01 Thread Simon Chappell
On 6/1/05, Leon Rosenberg [EMAIL PROTECTED] wrote: *snip* Would you be able to code them with c? Forget it. Actually, I suspect that alot of these have been coded with C/C++. What we have had was mostly alpha-numeric based terminals (remember borlands gdi?) with maybe 10-20 business

Re: [OT] Business Layer Ideas

2005-06-01 Thread Dave Newton
Leon Rosenberg wrote: Modern OSes, office suites or business software. Modern guis, with integrated media support, integrated audio/video broad- and unicasts, animations, sounds, and so on... Would you be able to code them with c? Forget it. Why wouldn't I? We used to code most anything of

AW: [OT] Business Layer Ideas

2005-06-01 Thread Leon Rosenberg
Modern OSes, office suites or business software. Modern guis, with integrated media support, integrated audio/video broad- and unicasts, animations, sounds, and so on... Would you be able to code them with c? Forget it. Why wouldn't I? We used to code most anything of

AW: [OT] Business Layer Ideas

2005-06-01 Thread Leon Rosenberg
Modern OSes, office suites or business software. Modern guis, with integrated media support, integrated audio/video broad- and unicasts, animations, sounds, and so on... Would you be able to code them with c? Forget it. Why wouldn't I? We used to code most anything of

target attribute from server in html:link tag please Help!

2005-06-01 Thread Lucas Bern
Hi guys! i have a problem I need to configurate de target attribute of my form, but i have to do it from mi action Any idea? Thanks Lucas __ Correo Yahoo! Espacio para todos tus mensajes, antivirus y antispam ¡gratis! ¡Abrí tu cuenta ya!

[OT] Introduction to JavaServer Faces

2005-06-01 Thread James Mitchell
Sorry for the [OT] post.but this is important! The 2nd monthly meeting of the Atlanta-based JBoss Users Group is scheduled for tomorrow evening. Details can be found at the following URL: http://www.edgetechservices.net/jbug-atlanta/ -- James Mitchell Software Engineer / Open Source

Re: [OT] Business Layer Ideas

2005-06-01 Thread Dakota Jack
On 6/1/05, Leon Rosenberg [EMAIL PROTECTED] wrote: Java is actually the first component-oriented language. SmallTalk? My Smalltalk/V 32-Bit Object-Oriented Programming System book circa 1994 has a Smalltalk link library (.sll) full of components called components which you could dynamically

Re: AW: [OT] Business Layer Ideas

2005-06-01 Thread Dave Newton
Leon Rosenberg wrote: * What's a modern language, anyway? What features does a modern language have? I don't think Java is as widely used as it is because it's interesting or powerful, it was just a better C++ with marketing. Java is actually the first component-oriented language.

AW: [OT] Business Layer Ideas

2005-06-01 Thread Leon Rosenberg
On 6/1/05, Leon Rosenberg [EMAIL PROTECTED] wrote: *snip* Would you be able to code them with c? Forget it. Actually, I suspect that alot of these have been coded with C/C++. As I wrote in the answer to dave: c is not c++. The main problem of c++ was actually, that they kept all the c-shit

AW: [OT] Business Layer Ideas

2005-06-01 Thread Leon Rosenberg
On 6/1/05, Leon Rosenberg [EMAIL PROTECTED] wrote: *snip* Would you be able to code them with c? Forget it. Actually, I suspect that alot of these have been coded with C/C++. As I wrote in the answer to dave: c is not c++. The main problem of c++ was actually, that they kept all the c-shit

Re: Action vs. Servlet

2005-06-01 Thread Dakota Jack
Also if this is really just a subroutine you might want to write a Runnable to dump into your thread pool queue, if you have one, or a Thread itself, if you don't have one. There is no reason to tie up the server thread if the action is unrelated to your request return. On 6/1/05, e-denton Java

Re: [OT] Business Layer Ideas

2005-06-01 Thread Leon Rosenberg
Actually smalltalk was a very good candidate, and java sells some technologies as modern, which were developed in/for smalltalk decades ago... Ok, let's say: java is the first component-oriented language accepted by masses (or powered by a huge company)? Regards Leon -Ursprüngliche

Re: [OT] Business Layer Ideas

2005-06-01 Thread Leon Rosenberg
Actually smalltalk was a very good candidate, and java sells some technologies as modern, which were developed in/for smalltalk decades ago... Ok, let's say: java is the first component-oriented language accepted by masses (or powered by a huge company)? Regards Leon -Ursprüngliche

Re: [W3OT][OT] Business Layer Ideas

2005-06-01 Thread Rahul Akolkar
Allow me to define a new marker (Way, ) times 3 OT. I have left OT in for existing filters. -Rahul P.S.- 1) I suspect this is how DJ went to programming school [ http://www.bedlam.syol.com/ascendin.jpg ]* 2) You can convince the peasant Leon, given gas prices [

Re: [OT] Business Layer Ideas

2005-06-01 Thread Dave Newton
Leon Rosenberg wrote: Actually smalltalk was a very good candidate, and java sells some technologies as modern, which were developed in/for smalltalk decades ago... And Lisp, don't forget Lisp. Ok, let's say: java is the first component-oriented language accepted by masses (or powered by

Re: AW: [OT] Business Layer Ideas

2005-06-01 Thread Dave Newton
Leon Rosenberg wrote: As I wrote in the answer to dave: c is not c++. The main problem of c++ was actually, that they kept all the c-shit (yes powerful, but absolutely unmaintenable stuff ) in the language. I don't know where you're getting that unmaintainable bit from. A printer company

Re: [OT] Business Layer Ideas

2005-06-01 Thread Frank W. Zammetti
At least you had FEET! :) Leon Rosenberg wrote: At least you had newspapers!!! -Ursprüngliche Nachricht- Von: Scott Piker [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 1. Juni 2005 22:59 An: Struts Users Mailing List; Dakota Jack Betreff: RE: [OT] Business Layer Ideas We had to

AW: AW: [OT] Business Layer Ideas

2005-06-01 Thread Leon Rosenberg
I think Java is acceptable for Pretty Large Projects, with Large Numbers of developers, especially if they're Geographically Distant. I'm struggling to come up with a 10x20 program that would benefit from being written in Java that wouldn't suck, and I _like_ many parts of OO!

Re: [W3OT][OT] Business Layer Ideas

2005-06-01 Thread Dakota Jack
Rahul, that is the main administration building. Memories are made of this. On 6/1/05, Rahul Akolkar [EMAIL PROTECTED] wrote: Allow me to define a new marker (Way, ) times 3 OT. I have left OT in for existing filters. -Rahul P.S.- 1) I suspect this is how DJ went to programming school [

Re: [OT] Business Layer Ideas

2005-06-01 Thread Dakota Jack
Fortran | | | Pascal Algol | |

Re: [OT] Business Layer Ideas

2005-06-01 Thread Shey Rab Pawo
On 6/1/05, Pilgrim, Peter [EMAIL PROTECTED] wrote: -Original Message- From: Dakota Jack [mailto:[EMAIL PROTECTED] ==== Strategy (315) Define a family of algorithms encapsulate each one, and make them interchangeable. Strategy lets the algorithm vary

Re: [W3OT][OT] Business Layer Ideas

2005-06-01 Thread Frank W. Zammetti
Wow, so *this* is what it's like being the parent of Rosemary's baby! I wonder if there has ever been a more OT thread? Allow me to summarize all the salient points, and perhaps this thread can die peacefully... (1) Patterns are good, but don't cram'em in everywhere you have any problem to

Re: [W3OT][OT] Business Layer Ideas

2005-06-01 Thread Dakota Jack
Did anyone else notice that when Rosemary's baby was born a group of Japanese tourists went through the apartment where the Little Devil was laying and took photos? I almost fell out of my seat laughing at that one. On 6/1/05, Frank W. Zammetti [EMAIL PROTECTED] wrote: Wow, so *this* is what

Re: [W3OT][OT] Business Layer Ideas

2005-06-01 Thread Adam Hardy
Thanks for reviewing that thread, Frank. I really didn't want to read all those posts. :) On 01/06/05 23:53nbsp;Frank W. Zammetti wrote: Wow, so *this* is what it's like being the parent of Rosemary's baby! I wonder if there has ever been a more OT thread? Allow me to summarize all the

Re: Action vs. Servlet

2005-06-01 Thread Rokibul Islam Khan
hi, if ur entire application is struts based then u did the right thing but if not then probably servlet would be a better alternate if u don't need the facilities struts offer. On 6/1/05, e-denton Java Programmer [EMAIL PROTECTED] wrote: Hi, I recently wrote an Action which in conjunction

Re: [W3OT][OT] Business Layer Ideas

2005-06-01 Thread Michael Jouravlev
On 6/1/05, Frank W. Zammetti [EMAIL PROTECTED] wrote: Wow, so *this* is what it's like being the parent of Rosemary's baby! I wonder if there has ever been a more OT thread? Allow me to summarize all the salient points, and perhaps this thread can die peacefully... Not that fast ;) (8)

Re: [W3OT][OT] Business Layer Ideas

2005-06-01 Thread Dave Newton
Frank W. Zammetti wrote: Wow, so *this* is what it's like being the parent of Rosemary's baby! I wonder if there has ever been a more OT thread? Allow me to summarize all the salient points, and perhaps this thread can die peacefully... *rotfl* I think that sums it up pretty neatly, and

Re: AW: AW: [OT] Business Layer Ideas

2005-06-01 Thread Dave Newton
Leon Rosenberg wrote: I'm struggling to come up with a 10x20 program that would benefit from being written in Java that wouldn't suck, and I _like_ many parts of OO! http://vip8prod.messe-berlin.de/messe/execute/enShow?unit=Hall+5.1prj= That's pretty neat; I like it. I'm skeptical

Re: AW: AW: [OT] Business Layer Ideas

2005-06-01 Thread Dave Newton
Leon Rosenberg wrote: I think Java is acceptable for Pretty Large Projects, with Large Numbers of developers, especially if they're Geographically Distant. I'm struggling to come up with a 10x20 program that would benefit from being written in Java that wouldn't suck, and I _like_ many

help with messages using bean on jsp

2005-06-01 Thread Tony Dahbura
I have a peculiar problem cropping up with Struts 1.2.7... When I add an actionError to using my form bean and then go to display it in the html jsp page I get the following: * ???en_US.userid is a required value.??? * ???en_US.password is a required value.??? My struts-config.xml file

Re: help with messages using bean on jsp

2005-06-01 Thread Michael Jouravlev
Do you have ApplicationMessageResources.properties property file, which is located in WEB-INF\classes\tonyapp ? On 6/1/05, Tony Dahbura [EMAIL PROTECTED] wrote: I have a peculiar problem cropping up with Struts 1.2.7... When I add an actionError to using my form bean and then go to display

Re: help with messages using bean on jsp

2005-06-01 Thread Niall Pemberton
This does look strange - its almost as if the message has been resolved twice and the second time it can't find userid is a required value as a key and so formatting it in the standard ???localeKey.messageKey??? format I don't have time to help you - I'm away now for a few days, but the only

Re: help with messages using bean on jsp

2005-06-01 Thread Martin Gainty
Tony- More specifically you will need a ApplicationMessageResources_en_US.property which would be located in web-inf\classes\tonyapp folder where the property key value would display something like userid=some_username password=some_password HTH, Martin- - Original Message - From:

Re: [W3OT][OT] Business Layer Ideas

2005-06-01 Thread Larry Meadors
Thanks Frank, you made my entire evening brighter. :-) Larry On 6/1/05, Frank W. Zammetti [EMAIL PROTECTED] wrote: Wow, so *this* is what it's like being the parent of Rosemary's baby! I wonder if there has ever been a more OT thread?

Re: [OT] Business Layer Ideas

2005-06-01 Thread Laurie Harper
Simon Chappell wrote: Back when I was a young programmer we used to have to think. THINK! Oh the humanity. No patterns for us. Just endless cups of tea, a pad of paper (or the back of long listings on greenbar) and your flowchart Too funny; I remember when my 'IDE' was a sheaf of butcher's

Re: [OT] Business Layer Ideas

2005-06-01 Thread Laurie Harper
(yes, my school actually had Fortran, COBOL and Pascal classes!) Your *high school* had multiple courses on different programming languages? My high school ('secondary school' actually, I'm originally from England) had exactly one 'O'-level computer course and one 'A'-level course. There