RE: [ot] JDO example - rozpakowywac Commanderem

2002-09-12 Thread Mark Kaye
-Original Message- From: Cliff Rowley [mailto:[EMAIL PROTECTED]] There's a show that used to be on in the UK (not sure if it still is, its pretty prehistoric by todays standards) where in one of the rounds the contestants randomly chose a sequence of numbers, and then a target

RE: [OT][ALT-TECH] Apple Web Objects

2002-09-11 Thread Mark Kaye
-Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] Ah the good ol Amiga. A far more worthy home for the Motorola 68000... Lol, just don't mention the OS or any kind of usability for the Amiga. Because it was dreadful. Also, don't mention that 95% of them were used

RE: [OT][ALT-TECH] Apple Web Objects

2002-09-11 Thread Mark Kaye
-Original Message- From: Brian Hickey [mailto:[EMAIL PROTECTED]] As for WebObjects, it is one of the two branches of history that the top (IMHO) Java developers come from. The other is Smalltalk. I think it's more likely that you mean Objective C, rather than just WebObjects.

RE: [OT][ALT-TECH] Apple Web Objects

2002-09-11 Thread Mark Kaye
-Original Message- From: John Owen [mailto:[EMAIL PROTECTED]] Maybe I can generate some nostalgia as well : Here we go then! :) Can't go as far back as Apple II but my father bought a Iix which was my first introduction to the Mac. They were _expensive_ back then. My first Mac

Advice - Velocity or not?

2002-09-11 Thread Mark Kaye
I am at a crucial stage in the development of a web app and wondered what the opinions of the group were regarding the velstruts tool and/or velocity in general. I like the velocity way of doing things but I'm wondering whether or not I should stick with JSP as this seems to be the primary view

RE: [OT][ALT-TECH] Apple Web Objects

2002-09-11 Thread Mark Kaye
-Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Wow. I can't claim any great experience with Apple in the past (other than games). I know they're quite heavily used in publishing/graphic design, and probably other things I'm unaware of ... but what makes you

Another question

2002-09-11 Thread Mark Kaye
Is it accepted practice to have /index.html redirect to an action in order to kick off the application from initial session creation? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: hardware composition

2002-09-11 Thread Mark Kaye
-Original Message- From: Vincent Stoessel [mailto:[EMAIL PROTECTED]] I'm already thinking that the Database should be on a seperate server, but I was wondering about JBoss and Struts, would it be OK to have them on the same server or would it wise seperate them on their own

RE: Proposal for struts-humor

2002-09-06 Thread Mark Kaye
-Original Message- From: Michael [mailto:[EMAIL PROTECTED]] I'm afraid you all missed my subtle attempt at humor. I was saying that the important mails (the jokes) are getting lost in the technical discussions!! Lol, touché! -- To unsubscribe, e-mail: mailto:[EMAIL

[core] Architectural considerations

2002-09-05 Thread Mark Kaye
Would it be better for me to store information I need across a session in a session scoped form bean or as individual variables stored in the HttpSession. What are the advantages/disadvantages of either approach? I imagine they approximate to the same thing, but there must be 'best practices' in

RE: [core] Architectural considerations

2002-09-05 Thread Mark Kaye
-Original Message- From: Robert Taylor [mailto:[EMAIL PROTECTED]] Personally, I created a session container which provides an API to access items from the session. Ahh, now that's a good shout. I like that a lot. Goes a touch beyond my original question but, now you mention

RE: [ValueObjects] New methods not seen

2002-09-05 Thread Mark Kaye
-Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Let's see the method signature. From com.getitall.vo.LoginVO: public static void setIsLoggedIn(boolean isLoggedIn) { this.isLoggedIn = isLoggedIn; } Called by this in the Business Object: if (list.size()

RE: [Core] Setup globals per new session

2002-08-30 Thread Mark Kaye
-Original Message- From: Mark Kaye Thanks Danny. I've looked into this and it seems to be exactly what I'm looking for. You're a star. Hmm, it seems I can't use HttpSessionListener after all :(. After looking into it in more depth, it looks like I won't be able to get a handle

RE: [Core] Setup globals per new session

2002-08-30 Thread Mark Kaye
OK, I've decided to create an IndexAction and bind it to /index, then add welcome-fileindex.do/welcome-file to my web.xml. This appears to work and will allow me to set up all the session state I need dependant upon the hostname. I now have to figure out a clean mechanism to ensure that the

[Core] Easy question!

2002-08-30 Thread Mark Kaye
Within an action, how can I get hold of an Object that has been stored in the ServletContext inside which my struts app is running? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: [Core] Easy question!

2002-08-30 Thread Mark Kaye
-Original Message- From: Mark Kaye Within an action, how can I get hold of an Object that has been stored in the ServletContext inside which my struts app is running? OK, I figured it out, is the best way: Properties properties = (Properties) this.getServlet

RE: [Core] Easy question!

2002-08-30 Thread Mark Kaye
-Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] ServletContext sc = this.servlet.getServletContext(); Object obj = sc.getAttribute( nameOfObject); I'm doing this in a startup servlet: propFile = getServletContext().getRealPath(clubPropFileName); Properties

RE: RE : RE : [FRIDAY] Official DTD Special Offer

2002-08-30 Thread Mark Kaye
-Original Message- From: Michael [mailto:[EMAIL PROTECTED]] Because you're filling up my mailbox with them. Just think about it, if 1,000 people each take 5 seconds to read your email, the that's over one hour of lost productivity. Do you enjoy wasting everyone's time? The

RE: RE : RE : [FRIDAY] Official DTD Special Offer

2002-08-30 Thread Mark Kaye
-Original Message- From: Mark Kaye Lol, click -- Delete doesn't take me five minutes. If it takes you that long I'd suggest email is the least of your worries ;) Ahh rats, he said 5 seconds. DUH. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e

RE: [VOTE] Should this list discontinue it's long,treasured heritage of relaxed fridays?

2002-08-30 Thread Mark Kaye
-Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Do you feel this list should discontinue it's long heritage of relaxed fridays? ( ) Yes ( x ) No If it's a matter of heritage then of course not. It's all in the wording :) -- To unsubscribe, e-mail:

RE: [RE] [RE] [FRIDAY] Official DTD Special Offer

2002-08-30 Thread Mark Kaye
-Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED]] AND the body contains whiny complaints That's a damned fine filter! How did you manage it? What email package? :DDD -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

[Newbie] Another silly question

2002-08-30 Thread Mark Kaye
Can I use ActionErrors in my actions? Rather than in my ActionForms? I have tried but it causes an error. I want to be able to do some server side validation beyond what I do in the ActionForm. It would make sense to have this in the action - I think. Or am I wrong? Basically I am

RE: [Newbie] Another silly question

2002-08-30 Thread Mark Kaye
-Original Message- From: Mark Kaye Can I use ActionErrors in my actions? Rather than in my ActionForms? I have tried but it causes an error. Actually, I've just tried again and it's still not working but doesn't now cause an error. Hmm. What's wrong with this code in my Action

RE: [Newbie] Another silly question

2002-08-30 Thread Mark Kaye
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] ActionErrors errors = new ActionErrors(); errors.add(propertyString, new ActionError(propertyFileKeyString)); saveErrors(request, errors); There yah go! Thanks a million. Cheers, M -- To unsubscribe,

RE: [Newbie] Another silly question

2002-08-30 Thread Mark Kaye
-Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] The action form should only be enforcing semantic constraints: * The data is well-formed * The data is a number/whatever * Is the format of the data congruent with what I expect (ie mm/dd/ for a

Setup globals per new session

2002-08-29 Thread Mark Kaye
Hi, Please bear with me, I'm a Struts newbie :) I need to be able to detect and store some data based upon the request.getServerName() method result. i.e. When a user connects to my application (which will be listening on several different hostnames) I need to detect which host they are

RE: Setup globals per new session

2002-08-29 Thread Mark Kaye
-Original Message- From: [EMAIL PROTECTED] You could have an index page that automatically redirects to a struts action. This action could retrieve the information you require and then decide which way to direct the user. I had thought of this option. But that wouldn't work if

RE: AW: ApplicationResources.properties to DB?

2002-08-29 Thread Mark Kaye
-Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] If you (or anyone else) actually builds one of these things, I'll happily post it into the contrib area so that it gets included in the source distribution That would be great. I was thinking that this

RE:[Core] Setup globals per new session

2002-08-29 Thread Mark Kaye
-Original Message- From: Trieu, Danny [mailto:[EMAIL PROTECTED]] Implement the HttpSessionListener Thanks Danny. I've looked into this and it seems to be exactly what I'm looking for. You're a star. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional