RE: Any good suggestions on implementing Security

2003-02-12 Thread Donald Dwoske
I didn't read this whole thread, so I might be duplicating some info or not answering your question at all... Look at http://securityfilter.sourceforge.net .. very nifty. Remember that open source is just that, you could use that as a baseline and add your own extensions if you wish, or just

RE: Struts beta 2 and Tomcat 4.1.18

2002-12-23 Thread Donald Dwoske
I saw something similar on Friday, but haven't debugged it yet. I tried a quick switch from Weblogic to Tomcat, and the null pointer exception I was getting was caused by my Action receiving a null Form Bean. I believe that if you link to myPage.do , the Struts framework will create an empty

RE: java Beautiful

2002-12-06 Thread Donald Dwoske
http://astyle.sourceforge.net/ I use this all the time, works beautifully... plugs in nicely to UltraEdit which I use half the time to edit java source... if you're wondering i use eclipse the other half the time where I use the jalopy plugin for formatting instead of the built-in format...

confirmation page best practice

2002-11-12 Thread Donald Dwoske
I have been wondering how people present action results to users upon success. I'm sure this has been asked before, but I scanned the archive and didn't find a consensus. In some cases I use specialized result beans like so: // In action after processing ResultBean result = new

RE: Populating a Form from the Model before view

2002-11-07 Thread Donald Dwoske
this example works by going through the action, so the url you need to use must go through the action... http://hostname/myAction.do do not go through: http://hostname/myPage.jsp # your Action will not execute What also might catch you is that by going through the action, it forces the

RE: form component reuse best practices?

2002-11-07 Thread Donald Dwoske
We do a similar thing as Jason explained. We're a couple of steps lighter and not as elegant, but same in philosophy, and effective for us. In our model, we have a ControlledVocabulary factory which can return a list of ControlledVocabularyItem beans (id,name,description) List states =

RE: Security and Struts

2002-07-31 Thread Donald Dwoske
Hi Max, this sounds interesting, I don't want to miss this when you release it, be sure to let us know or setup a web page. What are you using as a data store for principals and permissions to develop/test your application? DB, LDAP, ? Are there dependencies on a particular version of JDK in