Re: Not serializable

2005-09-04 Thread amos
On Mon, 2005-09-05 at 15:45 +1000, Murray Collingwood wrote: > Hi all > > Caused by: java.io.NotSerializableException: com.bpx.website.model.User > > I keep getting this error when I try putting a User bean into the session. I > tried adding a > versionUID to the class but this didn't seem to

Not serializable

2005-09-04 Thread Murray Collingwood
Hi all Caused by: java.io.NotSerializableException: com.bpx.website.model.User I keep getting this error when I try putting a User bean into the session. I tried adding a versionUID to the class but this didn't seem to help. private static final long serialVersionUID = 2897987282761L; A

RE: Re-use field validations?

2005-09-04 Thread David G. Friedman
Leo, You could also check out Niall's server-side validator add-on to "extend" a field. Be aware that doesn't work for client-side Javascript or any version before 1.2.X. http://www.niallp.pwp.blueyonder.co.uk/strutsvalidatorextends.html Again, his extension does allow for adding different 'grou

Re: The latest stable version of struts

2005-09-04 Thread amos
On Fri, 2005-09-02 at 06:16 -0400, Ted Husted wrote: > On 9/1/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I had to find a new way to do some things but these were the > > exceptions. The bulk of the code needed simple bulk adjustments > > or no touching at all. > > Do you happen to rememb

Re: Re-use field validations?

2005-09-04 Thread Leo Asanov
Hi! I was looking for this kind of functionality some time ago and didn't find any standard way of doing reusable validators. What I did was more like a hack, but it worked: 1. For server side validation. Overwrite validate() method of FormBean class with something like this: public ActionErro

Shocking about Netbeans 4.2

2005-09-04 Thread netsql
http://www.javalobby.org/java/forums/t44901.html .V --- Broadband interface (RIA) + mail box saftey = http://Struts_User_List.roomity.com";>Roomity.com *Your* clubs, no sign up to read, ad sup

Re: Using a struts action as a welcome-file

2005-09-04 Thread Lilianne E. Blaze
Hello, Assuming you want to have /index.ext as a welcome file, and have .ext mapped to Struts, just add index.ext to welcome-file as you have done, then create an empty file index.ext in every folder you want it to work. Greetings, Lilianne E. Blaze Jim Kennedy wrote: I'm trying to use a s

How to define in Action and ActionForms for DisplayTag?

2005-09-04 Thread 梁炳場
Should I read data from sql resultset and assign data to sessionScope.details? If yes, but I do not know how to define sessionScope.details in Action class and ActionForm class? Thanks - To unsubscribe, e-mail: [EMAI

Using a struts action as a welcome-file

2005-09-04 Thread Jim Kennedy
I'm trying to use a struts action as my only welcome-file in web.xml. I assumed this to be straightforward, but apparently it does not seem to be. Index.jsp works and index.html works, but not something like (index.xyz) where xyz is mapped to ActionServlet. Here's a snippet of web.xml: