Re: [OT] Re: Job postings

2011-05-27 Thread erikweber
If you need any consulting or development in the Java client-side area (Swing, JFC/AWT, core Java, etc.), feel free to give me a shout. Also I do C++ GUI development, particularly with DirectX. I used to be a server-side developer but have focused on client development for the past seven years

Re: Hosting for Struts 1.2 tomcat

2010-08-20 Thread erikweber
I opened an account with slicehost earlier this year, and I have to say, I am quite impressed with it from an operational standpoint. Basically it's like having your own box. You can install anything you want. If you know the basics of Linux administration you can get started. Basic plan is $20

Re: Hosting for Struts 1.2 tomcat

2010-08-20 Thread erikweber
Like whether I have complete control over the lifecycle of my data. Like, privacy. -Original Message- From: Dave Newton davelnew...@gmail.com Sent: Aug 20, 2010 7:14 PM To: Struts Users Mailing List user@struts.apache.org, erikwe...@mindspring.com Subject: Re: Hosting for Struts 1.2

Re: advice on building front-end rapidly

2009-11-09 Thread erikweber
That's what I use (vim). Although my front ends are Java code and not HTML/CSS. Hand-coding takes longer but in my experience results in a better product and also in my opinion makes you a better programmer. With that said I partnered on a project with a guy who did the HTML front end and he

[OT] Recommend a hosting company

2009-09-22 Thread erikweber
Hello. I have been inactive on this list for years but used to post a lot before I moved primarily into Swing development. I need a good place to set up a web application. I have modest needs but also some special needs perhaps: 1) Tomcat. 2) JDBC database (MySQL would be great but it could be

Re: [OT] Recommend a hosting company

2009-09-22 Thread erikweber
Thanks for all the replies folks! -Original Message- From: erikwe...@mindspring.com Sent: Sep 22, 2009 2:01 PM To: user@struts.apache.org Subject: [OT] Recommend a hosting company I need a good place to set up a web application.

Re: [OT] Recommend a hosting company

2009-09-22 Thread erikweber
Maybe when I become rich and famous. HAHAHAHAHA :) -Original Message- From: Musachy Barroso musa...@gmail.com Sent: Sep 22, 2009 8:58 PM To: Struts Users Mailing List user@struts.apache.org Subject: Re: [OT] Recommend a hosting company don't get it for $20-$40 per month :) true story

Re: [OT] Need information about books to buy

2006-04-10 Thread erikweber
-Original Message- From: Ashish Kulkarni [EMAIL PROTECTED] Sent: Apr 7, 2006 11:58 AM To: user@struts.apache.org Subject: [OT] Need information about books to buy Hi I need to buy couple of books, 1 for AJAX, and 2 for Webservices, I know the basics of Ajax and Webservices, and need to

Re: Open Source Motivations (Re: I Apologize)

2006-03-29 Thread erikweber
Hello Joe. Haven't seen a post from you in a while. Got me thinking. I just wanted to say, for the record, you and Niall and your fellow team members rock! I have been a subscriber to this list for years. I don't use Struts anymore because I don't author HTML/HTTP browser applications anymore.

Re: [OT] Book recommendation requested: Object-Oriented Analysis and Design

2006-03-08 Thread erikweber
Hey ATTA. One of the neatest books I ever read was Java Design by Peter Coad and Mark Mayfield. It takes you through the design of three or four applications in terms of scratching out the objects and the application states and work flow with pencil and paper. It serves as a good intro to

Re: [OT]Loading data into oracle database table from a txt file.

2006-02-06 Thread erikweber
The most common way is to use the Oracle client's SQL loader application, the name of which escapes me at the moment. Oracle's online documentation will have information about this. It might be called sqlloader or something like that. Another way is to write your own script. Just write a Java

Re: [ANN] Tabbed notebooks in Struts/JSP or in pure JSP with new release of JSP Controls Tag Library

2006-01-30 Thread erikweber
Good job man. I haven't tried the code yet, but this looks nice. Erik -Original Message- From: Michael Jouravlev [EMAIL PROTECTED] Sent: Jan 29, 2006 7:13 PM To: Struts Users Mailing List user@struts.apache.org Subject: [ANN] Tabbed notebooks in Struts/JSP or in pure JSP with new

Re: [FRIDAY] You might be a geek if ...

2005-12-30 Thread erikweber
Yeah, good warning. I know this is a joke thread, but if that second one is true, Frank, I suggest you burn that Serenity DVD while it still matters! While you're at it, just throw the freakin' TV out the window. They call them boob tubes for a good reason. I gave my 12-year-old niece (the

Re: [OT] obsfucating struts web application

2005-12-12 Thread erikweber
Well, yes, but KlassMaster (sounds like ProGuard has this too) allows you to go in and manually rename stuff that can't be renamed automatically. So, the more XML-Java bindings you have, the more work it's going to be, but the people who develop the obfuscators know this, so they (we hope) give

Re: [OT] obsfucating struts web application

2005-12-12 Thread erikweber
Hmm, perhaps I misunderstood. I thought what he was saying was, he wants to obfuscate the method name whatever, so the log.debug argument has to be changed as well . . . However, if the value of log.isDebugEnabled can be discovered at compile time (not sure how commons logging works), perhaps

Re: [OT] obsfucating struts web application

2005-12-09 Thread erikweber
I have used KlassMaster on distributions that contain Struts classes before, and I took your approach as I recall. I didn't obfuscate Action classes, but there was nothing important in them anyway. Also, KlassMaster has a great scripting language for getting around the problems you mention, and

Re: [ot]Hashtable like fifo que?

2005-11-17 Thread erikweber
See if LinkedHashSet gives what you want. Erik -Original Message- From: Dave Newton [EMAIL PROTECTED] Sent: Nov 17, 2005 2:06 PM To: Struts Users Mailing List user@struts.apache.org Subject: Re: [ot]Hashtable like fifo que? Hmm, weird formatting. Dave Newton wrote:

Re: The dreaded Servlet action is not available

2005-11-16 Thread erikweber
On some older versions of Struts you had to declare the load-on-startup for the ActionServlet, to make sure it was instantiated before any requests arrived. Not sure if that is the problem. Erik -Original Message- From: Graham Leggett [EMAIL PROTECTED] Sent: Nov 16, 2005 9:18 AM To:

Re: The dreaded Servlet action is not available

2005-11-16 Thread erikweber
Sorry, looks like you *did* do that. I didn't see it. Erik -Original Message- From: [EMAIL PROTECTED] Sent: Nov 16, 2005 9:39 AM To: Struts Users Mailing List user@struts.apache.org Subject: Re: The dreaded Servlet action is not available On some older versions of Struts you had to

Re: new website look

2005-10-26 Thread erikweber
Looks nice in Mozilla. Erik -Original Message- From: Ted Husted [EMAIL PROTECTED] Sent: Oct 25, 2005 8:41 PM To: Struts Users Mailing List user@struts.apache.org Subject: Re: new website look On 10/25/05, Wendy Smoak [EMAIL PROTECTED] wrote: I was going to try Frank's suggestion to

Re: new website look

2005-10-24 Thread erikweber
The rail problems also occur in Mozilla on my Red Hat 7.3 box. Other than that, the site looks good. It's about time people started using (window) target indicators. I always have thought the Apache sites have a good design, generally. But *please* don't put a site into production that you only

Re: struts plugin and destroy()

2005-10-17 Thread erikweber
If you are using java.util.Timer, see the constructor that takes a boolean parameter. Setting the Timer as a daemon means it won't keep the JVM running. Erik -Original Message- From: sudip shrestha [EMAIL PROTECTED] Sent: Oct 17, 2005 4:40 PM To: Struts Users Mailing List

Re: [OT] how actually to make a shoping cart

2005-10-10 Thread erikweber
Sorry, I don't know anything about displaytag. But if you want my opinion from a usability standpoint: I would have a dedicated place in the GUI for your user's cart contents, or at least a dedicated place for a control that makes the cart contents visible (perhaps in the rail, under his

Re: Hoople 1.0 RC1

2005-10-06 Thread erikweber
Nice job. Erik -Original Message- From: Nathan Voxland [EMAIL PROTECTED] Sent: Oct 6, 2005 2:33 AM To: user@struts.apache.org Subject: Hoople 1.0 RC1 I have posted version 1.0 RC 1 of Hoople, a tool to help with the management of struts-config.xml files (among other things) at

[OT] CVS question

2005-09-30 Thread erikweber
I'm having trouble with merging again. I am trying to merge changes from a branch into the trunk. Since there are a million changes, I don't want to deal with manually resolving conflicts. I just want to replace everything that's in my working copy of the trunk with what's in the branch, and

Re: [OT] CVS question

2005-09-30 Thread erikweber
Hmm yeah, I guess that would accomplish the same thing. Thanks, Erik -Original Message- From: Larry Meadors [EMAIL PROTECTED] Sent: Sep 30, 2005 3:06 PM To: Struts Users Mailing List user@struts.apache.org, [EMAIL PROTECTED] Subject: Re: [OT] CVS question No, but why not just get the

Need help with dynamic number of form fields

2005-08-30 Thread erikweber
Hello all. I am not good with Dyna forms. What I am trying to accomplish is to set up a form that allows a random number of each logical field to be populated. I know this discussion came up recently, but I don't exactly know what to search for in the archives. This approximates what I am

Re: Need help with dynamic number of form fields

2005-08-30 Thread erikweber
I found this article on the wiki: http://www.developer.com/java/ejb/article.php/3321521 So I will try this. Thanks, Erik -Original Message- From: [EMAIL PROTECTED] Sent: Aug 30, 2005 7:44 PM To: user@struts.apache.org Subject: Need help with dynamic number of form fields Hello all. I

[OT] Re: xmlparser simple question

2005-08-24 Thread erikweber
Gilbert, SAX works on an event based model. Memory is not an issue unless *you* are caching information as you receive events in your parser handler. The parser starts reading the stream. Each time it encounters the beginning of an element or an attribute, or the value of an element or

Fw: RE: [OT] Re: xmlparser simple question

2005-08-24 Thread erikweber
Sorry, I'm using web mail, and I keep sending responses directly to the sender by accident. Erik -Forwarded Message- From: [EMAIL PROTECTED] Sent: Aug 24, 2005 4:26 PM To: Gilbert, Antoine [EMAIL PROTECTED] Subject: RE: [OT] Re: xmlparser simple question Well, as I said, if you use

Re: [OT] RFP resources for java projects

2005-08-23 Thread erikweber
Perhaps you mean something like rentacoder.com. Erik -Original Message- From: Brian McGovern [EMAIL PROTECTED] Sent: Aug 23, 2005 3:59 PM To: Struts Users Mailing List user@struts.apache.org Subject: [OT] RFP resources for java projects Sorry for the off topic request, but I figured

Re: A forward problem

2005-08-23 Thread erikweber
If all your links and actions have the same problem (the paths can be translated following the same rule), then the easiest fix I can think of is to either use Apache mod_rewrite, or if you are using a bare Tomcat, a redirect Servlet. Erik -Original Message- From: [EMAIL PROTECTED]

Re: [OT] DAO Pattern in Struts

2005-08-23 Thread erikweber
Not sure if this is really much help because I'm sure you've thought of this, but I mirror many or all of my DB DAO methods with methods that take the Connection as a parameter . . . In the primary method, they obtain their own Connections, but in the secondary method, they use whatever

[OT] CVS help needed

2005-08-21 Thread erikweber
I hope one of you fellow night owls can help me. I have a CVS problem that doesn't come up much I guess. I need to merge files from the trunk to a branch. Note that this is the *opposite* of a common situation -- where the need is to merge files from a branch to the trunk. A branch was created

Re: [OT] CVS help needed

2005-08-21 Thread erikweber
Well the next article I looked at showed me how to accomplish this. Sorry for the OT. I didn't realize you could pass HEAD to the -j option. But, here's the solution: switch to the branch and then: cvs update -j MY_BRANCH -jHEAD myFile This merges all changes in the trunk since the branch was

Re: [OT] CVS help needed

2005-08-21 Thread erikweber
Thanks Craig and Frank! Merging is *scary* business, especially at 1 AM when they're doing a new build for QA in a few hours, and, I'm the only one here . . . . gulp/ :-) Erik -Original Message- From: Craig McClanahan [EMAIL PROTECTED] Sent: Aug 22, 2005 12:42 AM To: Struts Users

Re: Database Best Practices

2005-08-17 Thread erikweber
I would say: 3) Create a class that will look up the DataSource via JNDI lookup and cache that reference during initialization, and use that reference to get connections to distribute in your getConnection method. Only if the DataSource (aka connection pool) fails or is turned off would you

Re: rendering output to email or send jsp via emal

2005-08-15 Thread erikweber
Why can't you open an HttpURLConnection (or similar) to your JSP, collect the HTML output, and embed that in a mime message body and then send via JavaMail? Erik -Original Message- From: Thomas Hartwig [EMAIL PROTECTED] Sent: Aug 15, 2005 2:19 PM To: user@struts.apache.org Subject:

Re: How to specify more than 1 datePattern in date validation?

2005-08-15 Thread erikweber
Why don't you just write your own validator plugin? Then you'll have total control over what variables you include in your validation.xml and how your validator uses them. This would take about 15 minutes once you know how to do it. For an example, you can search the Web for Matt Raible's

Re: Nice try (was Java code generator including Struts 1.2)

2005-08-10 Thread erikweber
OK. Should have stuck a wink in there. Urge to kill fading . . . fading . . . fading . . . RISING . . . fading . . . fading . . . gone. ;-) Erik -Original Message- From: Frank W. Zammetti [EMAIL PROTECTED] Sent: Aug 10, 2005 3:38 PM To: Struts Users Mailing List

Re: Nice try (was Java code generator including Struts 1.2)

2005-08-10 Thread erikweber
OK, my post did look kind of ugly. It really wasn't directed at any person, just at the words. I've been programming with Swing since 1.1.8 and finally I am able to do it for a living. I've heard all the Swing stinks arguments just like I've heard all the EJB stinks arguments. But I've built

Re: Last question on JAAS I promise

2005-08-09 Thread erikweber
Mark, when I did this, I had isUserInRole working correctly. I remember that the problem was, I could either log in with Tomcat or log in with JBoss, but there was no propagation between the two. At that point I put it on hold. Also, if the archives go back far enough, I remember a long thread

Re: Last question on JAAS I promise

2005-08-09 Thread erikweber
I found my login-config.xml. Suddenly I fear that I had this working in JBoss but not stand-alone Tomcat, but yet I *know* I was calling isUserInRole. At the same time, I remember the propagation problem between Tomcat and JBoss, and this config is definitely for JBoss. But isUserInRole would

Re: Last question on JAAS I promise

2005-08-09 Thread erikweber
Thanks Craig. Well Mark, I'd be interested in hearing how it turns out. Good luck. Erik -Original Message- From: Craig McClanahan [EMAIL PROTECTED] Sent: Aug 9, 2005 4:42 PM To: Struts Users Mailing List user@struts.apache.org, [EMAIL PROTECTED] Subject: Re: Last question on JAAS I

Re: Avis.com J2EE website

2005-08-09 Thread erikweber
That is a nice feature. However, I don't think there's anything special to the implementation. Looks like JavaScript and HTML to me. View source on the popup window and you'll see the names of the script files, which should be coming from their public document root . . . Erik -Original

Re: [OT]Web application for software distribution...any solution

2005-08-08 Thread erikweber
Hey Ashish. Long ago, our team set up an in-house sourceforge. Their software was free back then. As I recall, it is no longer free. But, I thought you could still get it commercially. Not sure if that is still the case. But, it worked well for us. Erik -Original Message- From:

Re: My first JAAS implementation. Part 2

2005-08-08 Thread erikweber
Well, I think the answer to that question, if I understand it correctly, would be up to you . . . Here, the idea is to use a container plugin for authentication/authorization, but to bypass the container-based form and submittal process, which is kind of inflexible. You would (I assume) be

Re: [OT] wrong list I know, but lazy, Tomcat 5.5 question

2005-08-03 Thread erikweber
Speaking of Tomcat 5 here, not 5.5 . . . catalina.out as I recall contained my System.out output. Can't remember if it contained System.err output. You can make things easier on yourself if you define a context.xml file for your web app (see example included with Tomcat -- look in conf/host)

Re: Html: checkbox initially checked?

2005-08-03 Thread erikweber
If memory serves me, the way to do this is in your ActionForm's reset method. This is where default values are specified when the form is initialized or reinitialized. Erik -Original Message- From: Chris Decker [EMAIL PROTECTED] Sent: Aug 3, 2005 4:58 PM To: Struts Users Mailing List

Re: checkbox initially checked?

2005-08-03 Thread erikweber
I should have distinguished between session-scoped and request-scoped forms. It is true that implementing reset would be redundant in a request-scoped form. Erik -Original Message- From: Wendy Smoak [EMAIL PROTECTED] Sent: Aug 3, 2005 5:28 PM To: Struts Users Mailing List

Re: Struts Native Compilation...obfuscation...

2005-08-02 Thread erikweber
I use Zelix KlassMaster. It simply rocks. Have used on Struts apps with success, you'll have to do work with it here and there because of some reflection but I remember it wasn't a big hassle. The documentation is good. Erik -Original Message- From: O. Oke [EMAIL PROTECTED] Sent: Aug

Re: [OT ANN] Roomity mail lists version 1.0

2005-08-02 Thread erikweber
Vic, you da man. When I can find some time, I'll go through it and post issues. Erik -Original Message- From: netsql [EMAIL PROTECTED] Sent: Aug 1, 2005 8:44 PM To: user@struts.apache.org Subject: [OT ANN] Roomity mail lists version 1.0 I am posting this message using roomity!

Re: Why obtusify

2005-08-02 Thread erikweber
You mean obfuscate? What if you distribute your server side code? Maybe Struts Actions aren't worthy of obfuscation, but middleware often is. I just run all jars through Zelix before I release. It has ant integration (works great), so I just have Zelix produce my dist jars via ant. Erik

Re: Exception handling in Struts

2005-08-01 Thread erikweber
Doesn't look like you are using it to me . . . http://www.imagescript.com/atg/articles/jsp_j2ee/error_page_basics.htm Erik -Original Message- From: Tremal Nailk [EMAIL PROTECTED] Sent: Aug 1, 2005 12:26 PM To: Struts Users Mailing List user@struts.apache.org Subject: Re: Exception

Re: Problem with Installing the Struts

2005-08-01 Thread erikweber
Did you set load-on-startup for ActionServlet in web.xml? Erik -Original Message- From: Kade Jeevan Kumar [EMAIL PROTECTED] Sent: Aug 1, 2005 11:40 PM To: user@struts.apache.org Subject: Problem with Installing the Struts Hi All! I am using Tomcat 4.0.6, Java 1.4, Struts 1.1 for my

Re: bean traversal question

2005-07-28 Thread erikweber
1) I use session-scoped ActionForms with extra fields plenty (in search scenarios for example, where the form is for search, where the search is related to a product, and where you want to hang on to the product details as the search results change) and couldn't care less who frowns upon it.

Re: New here

2005-07-21 Thread erikweber
Yes, ask. Erik -Original Message- From: Hernandez, Mariano [EMAIL PROTECTED] Sent: Jul 21, 2005 4:36 PM To: 'user@struts.apache.org' user@struts.apache.org Subject: New here Hello all. Before I ask, is the appropriate place for tiles and logic tag questions. Mariano Hernandez

Re: New here

2005-07-21 Thread erikweber
Pardon my rudeness. Welcome to the list. Yes, ask. Erik -Original Message- From: [EMAIL PROTECTED] Sent: Jul 21, 2005 4:48 PM To: Struts Users Mailing List user@struts.apache.org Subject: Re: New here Yes, ask. Erik -Original Message- From: Hernandez, Mariano [EMAIL

Re: Forward to current page

2005-07-21 Thread erikweber
ActionMapping.getPath might help. If not, there are various attributes that Struts sets that give you path/mapping information about the current request. Erik -Original Message- From: Daniel ?a? [EMAIL PROTECTED] Sent: Jul 21, 2005 2:27 PM To: Struts Users Mailing List

Re: Forward to current page

2005-07-21 Thread erikweber
Ah OK, well then as you suggested, I suppose he'll have to track it himself. Erik -Original Message- From: Laurie Harper [EMAIL PROTECTED] Sent: Jul 21, 2005 6:21 PM To: user@struts.apache.org Subject: Re: Forward to current page But the 'current request' would be the one to the locale

Re: ApplicationException sample

2005-07-20 Thread erikweber
Rivka, I'll add to this: Pick up Core J2EE Patterns from Sun. It is worth the money and will help you. My solution would be similar to what Ed said. I would use a manager class (aka business facade, business delegate, service manager, etc. although each one of these may mean something slightly

Re: Hi-New to this group

2005-07-20 Thread erikweber
http://java.sun.com/blueprints/corej2eepatterns/Patterns/SessionFacade.html Erik -Original Message- From: Maya menon [EMAIL PROTECTED] Sent: Jul 20, 2005 3:21 PM To: user@struts.apache.org Subject: Hi-New to this group Hi all, I am designing a web app/ Its supposed to have 500

Re: Hi-New to this group

2005-07-20 Thread erikweber
Also I will add that the last time I developed (part of ) an application like yours, the main performance barrier (in my environment at least) was not marshalling data across the network. It was by far multiple (often redundant) database accesses per user request. I would suggest you look into

Re: Hi-New to this group

2005-07-20 Thread erikweber
I don't understand Dave's concern. Perhaps he would elaborate on why he says to avoid Session beans. I have developed applications using Session beans wrapping DAOs for search, etc., along with timer-reloading Entity beans and have seen good results. However, it may be that he would favor

Re: ApplicationException sample

2005-07-19 Thread erikweber
public class ApplicationException extends Exception { public ApplicationException(String message) { super(message); } } . . . public class SystemException extends Exception { public SystemException(String message) { super(message); } } . . . (typical manager -- facade,

Re: [FRIDAY OT ANN] My new project is beta

2005-07-19 Thread erikweber
Vic, I could not get it to run on either my RH 7.2/Mozilla 1.7b/1.4.2 box (where an old version used to run), or my FC3/Netscape 8/1.5 box. On the Fedora box (with 1.5 plugin) the site wouldn't work . . . On the Red Hat box, the site partially worked, the app downloaded and the JVM launched but

Re: Security constraint not working

2005-07-14 Thread erikweber
Shouldn't there be an authconstraint in there? auth-constraint/, or something like that? Can't remember exactly. Looks to me like you have defined the resource but not declared who (in this case nobody) has access to it. Erik -Original Message- From: Neil Aggarwal [EMAIL PROTECTED]

Re: Struts 1.2 v 1.3

2005-07-14 Thread erikweber
Ted, is there a list of tasks for 1.3? By volunteer, are you referring only to current Struts committers? Erik -Original Message- From: Ted Husted [EMAIL PROTECTED] Sent: Jul 14, 2005 6:57 PM To: Struts Users Mailing List user@struts.apache.org Subject: Re: Struts 1.2 v 1.3 On

Re: Validation problem

2005-07-11 Thread erikweber
I usually map multiple actions to the same form. Some have validate = true (for example, doAdd), some have validate = false (for example, viewAdd). Slightly different URL distinguishes them. Does that help? Erik -Original Message- From: Rafael Taboada [EMAIL PROTECTED] Sent: Jul 11,

Re: Database Connection

2005-07-08 Thread erikweber
I suggest not involving Struts at all when it comes to configuration of and access to data stores. Write a ConnectionManager (sounds like you've already got that idea), who will be in charge of Connections. In the ConnectionManager's init block or constructor, look up your DataSource using a

Re: dialog stuff (was) Re: Refresher for newbies...

2005-07-08 Thread erikweber
Works great in Firefox on my Fedora box. Erik -Original Message- From: Michael Jouravlev [EMAIL PROTECTED] Sent: Jul 8, 2005 11:30 AM To: Struts Users Mailing List user@struts.apache.org, Wendy Smoak [EMAIL PROTECTED] Subject: Re: dialog stuff (was) Re: Refresher for newbies...

Re: Passing data between action forms

2005-07-08 Thread erikweber
I'm not knocking your approach, but synchronizer tokens solve the same problem, with or without a redirect. Erik -Original Message- From: Wendy Smoak [EMAIL PROTECTED] Sent: Jul 8, 2005 12:51 PM To: Struts Users Mailing List user@struts.apache.org Subject: Re: Passing data between

Re: Validation and Display Question

2005-07-08 Thread erikweber
Sorry, I'm not at my home box and I'm also in a hurry or I would have a better answer. I have always done this the hard way -- using a logic:messagesPresent switch beside each field, seeing if a message for that particular property is present, highlighting if it is. It does work but it's a lot

Re: Using struts forms as Value Objects: your opinion?

2005-07-07 Thread erikweber
An alternative would be to have your form class extend your value object class. However, this approach doesn't work for me. My form class fields are always Strings (because of HTTP), while my value object fields are whatever types make sense (such as Date). I always have value object classes

Re: Using struts forms as Value Objects: your opinion?

2005-07-07 Thread erikweber
Also you could economize your development by using Struts Dyna-flavored forms (generated from xml) instead of writing your own form classes. Instead, I use a class I wrote that scans a properties file which has a comma-separated list of fields and their types, and some other data such as

Fw: Re: Using struts forms as Value Objects: your opinion?

2005-07-07 Thread erikweber
Sorry, Michael, I accidentally sent this directly to you . . . I'm not sure why you say save a call to the backend unless by backend you mean anything outside of the web tier. In my applications, it would typically save a call to the manager layer, which I consider the middle, not the

Re: Struts Books Recommendations

2005-07-06 Thread erikweber
Mark, I am sorry to hear it turned out this way. I hope this turns out to be a blessing in disguise and that you go on to get a better job after learning a tough lesson (not that I'm saying the punishment fit the crime -- in my opinion, based solely on postings to this list, it did not). Maybe

Re: banned

2005-07-06 Thread erikweber
You did not fire him. Maybe his boss didn't appreciate him enough to stick up for him. Maybe he'll get a better job because of it. Or maybe his boss will change his mind. I'm sorry it all turned out this way. Erik -Original Message- From: Niall Pemberton [EMAIL PROTECTED] Sent: Jul

[OT] Re: Unacceptable Behaviour of Mark Galbreath

2005-06-30 Thread erikweber
Sheesh man, I'm not calling for a ban on anyone, but give Niall a break. Niall is one of the most helpful people I've ever met online. Mark comes in here and says Struts is dead and calls everyone faggots, etc., ad nauseum. He might behave that way on many lists, but all of us who don't know

Re: Validator Form and inheritance

2005-06-30 Thread erikweber
I take it you are using the Validator plugin? Do you have the xml files setup correctly? Is there a form-bean defined as type AddBottleForm? Is this the type you specify in your action mapping? Does validation.xml have the correct entry for AddBottleForm, according to the name you gave it in

Re: [ANN] Create robust wizards with enhanced Struts Dialogs

2005-06-28 Thread erikweber
Michael, nice work on all your stuff. I hope I don't end up doing Web apps anymore (no offense to you!), but if I do, I will definitely consider using some of your techniques and components. In my opinion, documentation is the key to success. Put an equal amount or more of work and polish on

Re: JSTL tag libs

2005-06-20 Thread erikweber
I'm not positive on this, but I think that the c-rt tags would take expressions in scriptlet format (%=) whereas the c tags take expressions in the expression language format (${). Erik -Original Message- From: [EMAIL PROTECTED] Sent: Jun 20, 2005 4:34 PM To: user@struts.apache.org

Re: Is there anyway to access this forum online?

2005-06-09 Thread erikweber
You can read posts here: http://marc.theaimsgroup.com/ also http://www.mail-archive.com/ Erik -Original Message- From: Manju [EMAIL PROTECTED] Sent: Jun 9, 2005 10:51 AM To: Struts Users Mailing List user@struts.apache.org Subject: Is there anyway to access this forum online? Hi

Re: date validation

2005-06-06 Thread erikweber
Sorry if you get this twice. Did you try DatePatternStrict? Erik -Original Message- From: Riyaz Mansoor [EMAIL PROTECTED] Sent: Jun 6, 2005 4:49 PM To: Struts Users Mailing List user@struts.apache.org Subject: date validation i've got a date validation set up with datePattern

Re: Need help

2005-05-25 Thread erikweber
You can find something on DynaActionForm here: http://struts.apache.org/userGuide/index.html You can find JSTL documents here: http://java.sun.com/products/jsp/jstl/reference/api/index.html I have no idea where to find documentation on the different Action varieties on the Web, but they are

Re: Populating a new form bean and passing it on to the next request

2005-05-25 Thread erikweber
Sorry this doesn't answer your question directly, but I would back up a bit and question your design. Rather than try to invoke your LoginAction manually from another action, I would just invoke all the necessary methods in your ForgotPasswordAction. Presumably logging on is little more than a

Re: Autologin?

2005-05-24 Thread erikweber
I haven't done this, but I think that you will want to set up an Action that manually prints the response contents, where the execute method will return null rather than an ActionForward reference. Then you should be able to set your permanent cookie before you write your response body. Not

Re: Collecting Dynamic Form Data

2005-05-23 Thread erikweber
If I'm not mistaken, Struts has some mechanisms for dynamic fields in ActionForms. Regardless, can't you use request.getParameterNames in your Action's execute method? Erik -Original Message- From: Andrew Thorell [EMAIL PROTECTED] Sent: May 23, 2005 11:07 AM To: Struts Mailing List

Re: Submitting form data via redirect

2005-05-20 Thread erikweber
I don't know anything about the logic:redirect tag, but trying to redirect a POST transaction brings up other issues. The HTTP RFC, as far as I know, doesn't prohibit this behavior, but you are probably going to find browser compatibility problems. The reason is that GET is mainly for

Re: Submitting form data via redirect

2005-05-20 Thread erikweber
Sorry, the word is idempotent, not indempotent. http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html Erik -Original Message- From: [EMAIL PROTECTED] Sent: May 20, 2005 2:54 PM To: Struts Users Mailing List user@struts.apache.org, Andrew Thorell [EMAIL PROTECTED] Subject: Re:

Re: file upload problem

2004-09-24 Thread erikweber
FormFile has a getFileSize or similar method that you can use to check the size in your processing Action (server side). There, you can also determine the file name and check the extension (probably that will be good enough for type checking). In addition, this is one area where I think client

Re: Finding an ActionMapping

2004-08-05 Thread erikweber
Kishore, I appreciate it! Erik -Original Message- From: Kishore Senji [EMAIL PROTECTED] Sent: Aug 5, 2004 8:14 PM To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Finding an ActionMapping protected ActionMapping getActionMapping(ActionMapping mapping, String parameter){