RE: set a value from a form to a form

2002-09-11 Thread Miguel Angel Mulero Martinez

If you put that after the submit that you loose the data, is because in the
reset() you erase it. Don't erase the data in the reset() and all will be
OK. You can too make a set() that don't make anything, so the value will
be unchanged.



-Mensaje original-
De: Michael C. Lee Jr. [mailto:[EMAIL PROTECTED]]
Enviado el: miércoles, 11 de septiembre de 2002 8:16
Para: Struts Users Mailing List
Asunto: Re: set a value from a form to a form

You do understand me! :)
I use a hidden field now. I was trying to get away from that though so the
user will not see it. I may have to put it in the session.
Any ideas?
thanks,
Mike

- Original Message -
From: John Yu [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, September 10, 2002 10:09 PM
Subject: Re: set a value from a form to a form


 Mike,

 If I understand you correctly, you want to retain the value when the form
 is submitted. One option is to use bean:message to display the value and
 use html:hidden to retain the value for form submission.

 html:form ...
Prop1: bean:message name=myForm property=prop1/
html:hidden name=myForm property=prop1/
...
 /html:form

 The value is *not* retained in a bean. It's just resubmitted as an URI
 parameter. If you let Struts do the auto formbean population, you will get
 it in the actionform object.

 Bean created by bean:define in the request scope will disappear
because
 whenever you submit the form, that's a complete new request.


 At 06:36 am 11-09-2002, you wrote:
 I have a form object that populates html fields. The problem is, I want
to
 display some of the form data and have it uneditable. When I submit the
 form loses all the data that is not in an html:.. tag.
 I've tried...
  bean:define id=userRole name=userForm property=userRole
  scope=request toScope=request/
 but this doesnt seem to work
 thanks,
 Mike

 --
 John Yu   Scioworks Technologies
 e: [EMAIL PROTECTED] w: +(65) 873 5989
 w: http://www.scioworks.com   m: +(65) 9782 9610

 Scioworks Camino - Don't develop Struts Apps without it!
 Copyright (c) 2002 John Yu/Scioworks Technologies. All rights reserved.


 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: struts brief

2002-09-11 Thread Michael Delamere

you´re early :-) !

try this link:

http://jakarta.apache.org/struts/resources/articles.html

or this:

http://www.theserverside.com/resources/strutsreview.jsp

Regards,

Michael


- Original Message -
From: Sutiwan Kariya [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, September 11, 2002 8:23 AM
Subject: struts brief



 Hi All,
 I gotta brief the struts framework to junior developer team in next 2 hrs,
 Do you know where I can see the struts document or article about struts
 (include struts diagram)
 I remember that I've seen good article somewhere but ah i cannot find
 it.

 Help me pls..


 Sutiwan W.




 
 This E-mail and any files transmitted with it are confidential
 and intended for the sole use of the individual or entity
 to whom they are addressed. If you have received this
 E-mail in error please notify the system manager.  This E-mail
 message has been swept for the presence of computer
 viruses.
 


 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
mailto:[EMAIL PROTECTED]



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: struts brief

2002-09-11 Thread David Griffiths

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
 
Have a look at:

http://www-106.ibm.com/developerworks/library/j-struts/?dwzone=java

Sutiwan Kariya wrote:

|Hi All,
|I gotta brief the struts framework to junior developer team in next 2 hrs,
|Do you know where I can see the struts document or article about struts
|(include struts diagram)
|I remember that I've seen good article somewhere but ah i cannot find
|it.
|
|Help me pls..
|
|
|Sutiwan W.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6-2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iEYEARECAAYFAj1+5lAACgkQeTFnnPxLxeVtiwCeKct4B0wes3hxKijfGrzEHshJ
bkUAoMpql6yOpiEjvmFpicPyx06tomkg
=y/iP
-END PGP SIGNATURE-



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Session Values for Action.LOCALE_KEY Change

2002-09-11 Thread micael

Hi, Dave,

First, thanks for taking the time to address this.  You can do what you 
said you cannot do with struts.  I do it.  The code is simple enough.  It 
is (where the page with this code returns a checkbox choice of nine 
languages as the value of the locale parameter):

/
%
String language = null;
String localeValue = request.getParameter(locale);

if(localeValue != null) {
 language = localeValue.substring(0, 2);
 response.setContentType(text/html;charset=utf-8);
 Locale newLocale = new Locale(language);
 session.setAttribute(Action.LOCALE_KEY, newLocale);
}
%
template:insert template=../template/template_work.jsp
   template:put name=title content=../title/language_title.jsp/
   template:put name=navigation 
content=../navigation/standard_navigation.jsp/
   template:put name=content content=../content/language_content.jsp/
/template:insert
///

I appreciate the fact that you endorse, as I do, the standard struts 
presentation tier patterns (Intercepting Filter, Front Controller, View 
Helper, Composite View (used here), Service to Worker, and Dispatcher View) 
so ably outlined in Core J2EE Patterns by Alur, Crupi, and Malks.  However, 
there are times when the best practices are not possible do to other 
constraints, and this is one of those times.  I actually have it working 
fine now by running two sessions.  When the first session comes into 
index.jsp (Tomcat 4.0.2) I forward to a language.jsp page (with the above 
code).  This creates, or reasons I yet don't understand, a new session for 
the page.  Then, when I navigate throughout the site, it stays at the 
latter session id.  Any return to index.jsp returns to the first session 
id.  I am not kidding here, as that wag from Miami Dave Whatshisname 
says!  But, a return to the other pages returns you back to the second 
session id.  It really does, honest.  So, what I did what to copy the 
index.jsp page functionality into another page called home.jsp, and a 
return to home now looks like a return to index.jsp but is a return to 
home.jsp, and that has the second session id.  Why, I don't know yet.  But, 
I do know it changes my language and keeps it changed, unless I go back to 
index.jsp, which has the initial language all along.  Weird, huh?  Do you 
have an explanation.  Whatever the explanation is, it is doing what I want 
it to do now.  Thanks again.

At 11:02 PM 9/10/2002 -0600, you wrote:
You can't start up your server, hit the page in one language, change the 
language setting in your browser, and hit the page again and expect it to 
change languages.  Struts sets the language in the session the first time 
you hit the site and not after that.  This may be causing your strange 
problems.

Also, sometimes even after restarting tomcat my page wouldn't change 
languages so I think it reloaded my old session from disk or something.
Generally, I've found that stopping the server and then changing your 
language works but not always.

I would not allow direct access to your index.jsp files.  Create an 
index.jsp that redirects to a struts action (through the controller) that 
forwards to index2.jsp (your real index page).  That way, you're going 
through the controller for every request and can do some common security 
or logging there.

Dave


From: micael [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Re: Session Values for Action.LOCALE_KEY Change
Date: Tue, 10 Sep 2002 16:04:55 -0700

The problem was that there were different sessions.  So, I solved my 
problem temporarily by creating a home.jsp in the same session as the 
other pages, which is a different session for reasons I don't yet 
understand from index.jsp.  Additionally, if I set my browser for 
Italian, now the index.jsp page always is in English, but when I go to 
the other pages they pick up the default value.  What is going on 
here?   I do not send the index.jsp page to the controller.

At 03:56 PM 9/10/2002 -0600, you wrote:
Do you directly link to the index.jsp or go through the controller servlet?
You say the locale in the session is different on index.jsp, verify that 
you're in the same session between pages.

Hope that helps,
Dave


From: micael [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Session Values for Action.LOCALE_KEY Change
Date: Tue, 10 Sep 2002 14:13:28 -0700

I set the session locale in a language.jsp page with:
   session.setAttribute(Action.LOCALE_KEY, new Locale(language));
where language is a return from a form parameter locale via:
String localeValue = request.getParameter(locale);
String language = localeValue.substring(0, 2);
This works on all pages, except the index.jsp page.  I can set the 
language variable to ko and the entire site will stay on Korean, but 
when I go to the index.jsp page, it is back to English.  If I go from 
the 

JDO example - rozpakowywac Commanderem

2002-09-11 Thread Dariusz Wojtas

Wednesday, September 11, 2002, 6:55:25 AM, you wrote:
JM Sorry for the delay.  I've decided to post this on our website.

JM Please feel free to download and try it out.

JM  http://www.open-tools.org/struts-atlanta/downloads/DBMessageResources

JM If for some reason the site goes down, just send me an email and I'll get it
JM to you.




JM James Mitchell
JM Software Engineer\Struts Evangelist
JM Struts-Atlanta, the Open Minded Developer Network
JM http://www.open-tools.org/struts-atlanta




 -Original Message-
 From: James Mitchell [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, September 10, 2002 3:06 PM
 To: Struts Users Mailing List
 Subject: [Announce] [New Extension] ApplicationResources.properties from
 Database


 For anyone interested, I have finished implementing DBMessageResources
 which allows you to keep the key-value pairs (from your
 ApplicationResources.properties) in a single database table.

 You can load your property files into a table (generic schema is provided)
 and with this extension, by only modifying message-resources in the
 struts-config.xml your application will run WITHOUT ANY code changes. (See
 the readme.txt file included)

 This extension uses OJB (http://jakarta.apache.org/ojb) O/R mapping for
 database configuration and connection pool management.

 I have included a modified version of the (1.1b2) struts-example to
 demonstrate.

 I have tested this with Struts 1.1b2, and I'm sure it will work with 1.1b1
 (If anyone requires a 1.0.x compatible, I can look at that also)

 I will get this project available as soon as I work through some
 cvs issues
 on sf.net:

 If anyone is REALLY itching to get their hands on it sooner, send me a
 email.

 For those who were waiting, thanks for your patience.


 James Mitchell
 Software Engineer\Struts Evangelist
 Struts-Atlanta, the Open Minded Developer Network
 http://www.open-tools.org/struts-atlanta


 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]




JM --
JM To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
JM For additional commands, e-mail: mailto:[EMAIL PROTECTED]




-- 
Best regards,
 Dariusz Wojtas mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: WYSIWYG for Struts?

2002-09-11 Thread MULLAGIRI Madhavi

James,

The tool is quite good, 
but there is no provision 
for incorporating comments
before each form/action tag.

As the config file grows, 
comments become important.

Madhavi





-Original Message-
From: James Holmes [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 10, 2002 6:21 PM
To: Struts Users Mailing List
Subject: Re: WYSIWYG for Struts?


Struts Console is avery useful tool for managing the
Struts config file:

http://www.jamesholmes.com/struts/

-james
[EMAIL PROTECTED]


--- Dan Walker [EMAIL PROTECTED] wrote:
 What page design tools are you using with Struts
 (Frontpage, etc.)?  Does any 
 product really handle Struts custom tags well?
 
 Thanks.
 -Dan
 
 --
 To unsubscribe, e-mail:  
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 


__
Yahoo! - We Remember
9-11: A tribute to the more than 3,000 lives lost
http://dir.remember.yahoo.com/tribute

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: set a value from a form to a form

2002-09-11 Thread John Yu

Mike,

Using hidden fields is the general practice as it allows you to 
distribute the conversation state of the session to the clients and makes 
your app more scalable.

Use session with care. You need to consider multi-threading and 
concurrent-request issues if the data is stored in the session.


At 02:15 pm 11-09-2002, you wrote:
You do understand me! :)
I use a hidden field now. I was trying to get away from that though so the
user will not see it. I may have to put it in the session.
Any ideas?
thanks,
Mike

- Original Message -
From: John Yu [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, September 10, 2002 10:09 PM
Subject: Re: set a value from a form to a form


  Mike,
 
  If I understand you correctly, you want to retain the value when the form
  is submitted. One option is to use bean:message to display the value and
  use html:hidden to retain the value for form submission.
 
  html:form ...
 Prop1: bean:message name=myForm property=prop1/
 html:hidden name=myForm property=prop1/
 ...
  /html:form
 
  The value is *not* retained in a bean. It's just resubmitted as an URI
  parameter. If you let Struts do the auto formbean population, you will get
  it in the actionform object.
 
  Bean created by bean:define in the request scope will disappear
because
  whenever you submit the form, that's a complete new request.
 
 
  At 06:36 am 11-09-2002, you wrote:
  I have a form object that populates html fields. The problem is, I want
to
  display some of the form data and have it uneditable. When I submit the
  form loses all the data that is not in an html:.. tag.
  I've tried...
   bean:define id=userRole name=userForm property=userRole
   scope=request toScope=request/
  but this doesnt seem to work
  thanks,
  Mike
 

-- 
John Yu   Scioworks Technologies
e: [EMAIL PROTECTED] w: +(65) 873 5989
w: http://www.scioworks.com   m: +(65) 9782 9610

Scioworks Camino - Don't develop Struts Apps without it!
Copyright (c) 2002 John Yu/Scioworks Technologies. All rights reserved.


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Possible memory leak in Tomcat 4.1.10

2002-09-11 Thread Billy Ng

Good pointer, I will do it.  Thanks, Craig!

Billy Ng

- Original Message -
From: Craig R. McClanahan [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, September 10, 2002 8:16 PM
Subject: Re: Possible memory leak in Tomcat 4.1.10


 What you observe is what I would expect to see on pretty much any
 container, on any JVM, if you are measuring memory allocated to the JVM
 process.

 The reason this happens is that the JVM expands its heap dynamically as
 necessary, but most JVMs are *not* programmed to return memory to the OS.
 Instead, the memory will be available in Java's heap, for the creation of
 new Java objects as needed.

 What you really want to check for, when looking for memory leaks, is
 repeated accesses to the same URLs.  If memory goes up continuously, you
 probably have a leak.  If not, you're probably OK.

 Doing just one or two requests tells you basically nothing useful.

 Craig


 On Tue, 10 Sep 2002, Billy Ng wrote:

  Date: Tue, 10 Sep 2002 18:53:08 -0700
  From: Billy Ng [EMAIL PROTECTED]
  Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
  To: Struts Users Mailing List [EMAIL PROTECTED]
  Subject: Possible memory leak in Tomcat 4.1.10
 
  Hi folks,
 
  I am trying to find what is causing the memory leak in my app.  I
  changed to use the Tomcat 4.1.10.  By only hitting the Tomcat's servlet
  and jsp exampes, the free memory is already going down and never back
  up.  I heard the Tomcat 4.0.4 has memory leak problem, but I do not hear
  anything about the 4.1.10.  I am wondering if anyone experienced the
  same problem before.  If you are using any version of Tomcat that you
  feel it is stable, please let me know.
 
  Thanks!
 
  Billy Ng
 


 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Back Button Shown 'Page Expired' on IE ..... What really happens? ....

2002-09-11 Thread Axel Stahlhut

I encountered this problem/strange behaviour because simply the cache of IE
was full. Deleting the Temporary Internet Files solved it.
Maybe that helps.

Axel

- Original Message -
From: Trieu, Danny [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Tuesday, September 10, 2002 8:55 PM
Subject: RE: Back Button Shown 'Page Expired' on IE . What really
happens? 


 No, this has nothing to do with no-cache setting.  Even with Struts
setting
 for the controller setting to be no-cache, I still sometime see this
happens
 on form submittion.  Yes, I do understand that you can set no-cache on
 response header, or html meta data setting, but I don't understand why it
 happens sometime with form submittion, especially file upload.

 Thanks,

 danny

 -Original Message-
 From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, September 10, 2002 11:43 AM
 To: Struts Users Mailing List
 Subject: Re: Back Button Shown 'Page Expired' on IE . What really
 happens? 


 Hi,
 check if u have following lines in your html
 meta http-equiv=Pragma content=no-cache
 meta http-equiv=Cache-Control content=no-cache
 meta http-equiv=Expires content=-1
 or following code in your jsp
 %response.setHeader(Cache-Control,no-store);%
 if yes, then it tells the browser that is should not
 load the page from cache and load a fresh page , and
 so u get that message
 Ashish
 --- Trieu, Danny [EMAIL PROTECTED] wrote:
  Browser diplay messages saying the page has been
  expired when I hit the back
  button after I submitted a form.  Can someone point
  out what happens?
 
  Thanks,
 
  Danny.
 


 =
 A$HI$H

 __
 Yahoo! - We Remember
 9-11: A tribute to the more than 3,000 lives lost
 http://dir.remember.yahoo.com/tribute

 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]

 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
mailto:[EMAIL PROTECTED]





--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




struts 1.0.2 logging - destination fd

2002-09-11 Thread rob

I've taken a quick look through the archives and haven't found
what I was looking for but;

Where does jakarta-struts log to by default?  I've checked my
container logs (tomcat 3.2.4) but I can't think of where else
the output from the logging would be going.  I'm using
debug/verbosity level 2 in web.xml.

My apologies for the simple question, perhaps it's simplicity
indicates that it should be on one of the various FAQ's.

Thanks

Rob


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: [XML] Struts with Stxx (was RE: Struts - vs XSLT (ASP.NET v.Stru ts))

2002-09-11 Thread Jeff Pennal

I'm glad you've been enjoying stxx so far.

As for the struts 1.1 compatibility, the has not been a lot of movement 
in that area because as the main developer of this application, I've 
been involved in moving my wife and myself from Vancouver, BC, Canada to 
Prague in the Czech Republic for the last couple of month.

As for why it was implemented as a sub-app and not a plug-in. The reason 
is that the architecture of stxx works best as a sub-application, a 
plug-in would not be functionality compatible with stxx 1.0.

In the meantime, if you have any issues or suggestions for the 
experimental stxx 1.1 version (which is feature complete), I'd like to 
hear them.

Thanks,
Jeff

ps. OpenRoad was the host for this project, not the developer.

Jerry Jalenak wrote:
 I've just started looking at using XML/XSLT as the 'view' component for our
 web apps.  I like Stxx and it's integration with struts.  Has anyone
 successfully integrated the 'experimental' Stxx 1.1 version with Struts
 1.1b2?  It looks like the folks over at Openroad aren't spending alot of
 time to bring Stxx up to Struts 1.1 compatibility.  Also, can anyone explain
 why they integrated it as a sub-app and not a plug-in?  It seems that Stxx
 would (could?) work just like tiles or validator..
 
 
 Jerry
 
 
-Original Message-
From: Ted Husted [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 04, 2002 8:48 PM
To: Struts Users Mailing List
Subject: Re: Struts - vs XSLT (ASP.NET v. Struts)


As alluded, the stxx extension does a nice job of this by integrating 
with Struts. Though, I'd say the idea of a completely 
seperate servlet 
(a la Velocity) sounds cleaner.

http://jakarta.apache.org/struts/resources/views.html

The Expresso/Struts framework also supports XML/XSL directly.

http://www.jcorporate.com/

XML/XSL is going to win out in the long-run, but we're all still 
transitioning. To date, the major complaint has been 
performance, but, 
as mentioned, the new parsers are addressing that.

A speed-optimized servlet that used an external configuration file to 
specify the stylesheets (a la stxx) would be a definite winner. 
Especially if it could be used with or without Struts (like 
Velocity and 
JSPs).

-Ted.

neal wrote:


Alright, so if the purpose of Struts and ASP.NET is:

1. To seperate code from content
2. Make the presentation layer completely declarative

The why not just write a servlet that instead for forward 

to display JSPs,

looks up a different XSLT for display based upon the action 

class being

requested ... and instead of having to pass all your data to the
presentation servlet in beans ... you just transform your 

XML data using

that XSLT.  Seems to achieve the same goals and 

architecturally removes a

layer if you're going to use XML at all.  (Just servlet and 

XSL instead of

Servlet, JSP, and XSL).

??

Any thoughts??
Neal


--
To unsubscribe, e-mail:   

mailto:[EMAIL PROTECTED]

For additional commands, e-mail: 

mailto:[EMAIL PROTECTED]



-- 
Ted Husted, Husted dot Com, Fairport NY US
co-author, Java Web Development with Struts
Order it today:
http://husted.com/struts/book.html


--
To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]


 
 This transmission (and any information attached to it) may be confidential and is 
intended solely for the use of the individual or entity to which it is addressed. If 
you are not the intended recipient or the person responsible for delivering the 
transmission to the intended recipient, be advised that you have received this 
transmission in error and that any use, dissemination, forwarding, printing, or 
copying of this information is strictly prohibited. If you have received this 
transmission in error, please immediately notify LabOne at (800)388-4675.
 
 
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]
 



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Struts 1.1 Final release

2002-09-11 Thread Vikas Sangwan
Title: Struts 1.1 Final release






Hi,


Can somebody tell me, when can we expect production release od Struts 1.1 ?


Thanks in advance.


Vikas.




--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


RE: Struts 1.1 Final release

2002-09-11 Thread Rene Eigenheer

even if I'm not involved in the develoment, I found the answer ;-)))
 
http://jakarta.apache.org/struts/kickstart.html#release
http://jakarta.apache.org/struts/kickstart.html#release 

-Original Message-
From: Vikas Sangwan [mailto:[EMAIL PROTECTED]]
Sent: Mittwoch, 11. September 2002 10:40
To: Struts Users Mailing List
Subject: Struts 1.1 Final release



Hi, 

Can somebody tell me, when can we expect production release od Struts 1.1 ? 

Thanks in advance. 

Vikas. 


attachment: winmail.dat
--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


RE: Struts 1.1 Final release

2002-09-11 Thread Andrew Hill

I believe this has been answered a few million times, but since searching
the archive can be a tiresome experience (seriously. The archive search
really does suck!) I shall repeat my previous answer.

snip
The 12th of April 2156 at 15:28 in the afternoon.
Or perhaps even sooner if its ready before then... ;-)
/snip

hehe

For more info you can take a look at the faq:
http://jakarta.apache.org/struts/kickstart.html#release



-Original Message-
From: Vikas Sangwan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 16:40
To: Struts Users Mailing List
Subject: Struts 1.1 Final release



Hi,
Can somebody tell me, when can we expect production release od Struts 1.1 ?
Thanks in advance.
Vikas.


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: NullPointerException while extending DynaValidatorForm

2002-09-11 Thread Robert Taylor

Depending on which version of Struts you are using, you may
need to set the dynamic attribute of the form-bean element to true.

I'm assuming you are explicitely creating the form to convey that
the NPE is not because the form is null. If this is not the case,
you should allow Struts to create the form.

robert


 -Original Message-
 From: Jan Fetyko [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, September 10, 2002 11:32 AM
 To: struts
 Subject: Re: NullPointerException while extending DynaValidatorForm


 Looks like nobody has a recommendation on how to resolve issue described
 below ( at least till now).
 Is this working at all OR is this still a bug in the Beta version ?
 So, should I stick with the old forms for now ?

 Jf

 -

  Hi all,
 
  I have a problem setting values of a form in my action.
  The form extends the org.apache.struts.validator.DynaValidatorForm.
  The struts-config.xml defines all the properties of the form except 2,
  that are defined in the actual Java source of the form.
 
  This is the error I'm getting :
 
  java.lang.NullPointerException
  at
 
 org.apache.struts.action.DynaActionForm.getDynaProperty(DynaAction
 Form.java:551)
 
 
 
  In struts config I have :
 
  form-bean name=CustomerForm type=com.forms.CustomerForm
  form-property name=cid type=java.lang.String/
  /form-bean
 
  The action is trying to set the property of the form :
 
  form = new CustomerForm();
  CustomerForm cf = (CustomerForm) form;
  cf.set(cid, customer.getCid()); // THIS iS WHERE IT ERRORS OUT.
 
 
 
  Any ideas what I'm doing wrong ?
 
  Jf
 


 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: presence of a message

2002-09-11 Thread Galbreath, Mark

Yes, and to find out how, try [EMAIL PROTECTED]

-Original Message-
From: Mark Silva [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 10, 2002 7:00 PM
To: Struts Users Mailing List
Subject: presence of a message


hello all,

i want to test for the presence of a message in the message bean, so i don't
get an error if its not there.  is there a special way to do this?

thanks,
mark

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Apple Web Objects

2002-09-11 Thread Joel Rees

Haven't had any personal experience with it, but --

 Noting the spirit of open comment and criticism on
 Struts-alternative products in the J2EE community, I
 was mildly surprised to search the archives of
 theserverside and the Struts users list and find no
 reference to 'Apple Web Objects'.

It's expensive? Wait. Looking at Idea, it's only a little expensive.

 I was wondering if anyone had come across them in
 their travels. Their WYSIWYG approach is attractive,
 throwing away servlets and jsps does worry me but if
 it is still Java then it is still preferable to .Net,
 right? I may even be able to keep my EJBs ... 

It's funny. I've heard people complain about it, but what they said made
me wonder if there was anything they wouldn't complain about.

I think I've heard that it shares a lot with Apple's Cocoa IDE, which is
kind of fun, and very MVC, although it doesn't do nearly as much
hand-holding for you as, say, Delphi. How much you'd gain if you
succeeded in perverting it for Tomcat/Struts, I have no way of guessing.

 At US$1500 for a licence, is it worth looking into
 further?

I thought it was $700.

-- 
Joel Rees [EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: No action instance for path /action could not be created. (solved)

2002-09-11 Thread rob

The reason it was biting me was because the struts.jar was in the
CLASSPATH of the user who was starting the servlet container.

Better explanation here.  So not obvious.

http://w6.metronet.com/~wjm/tomcat/2001/Feb/msg00096.html

rob wrote:
 This seems to be a fairly common problem and I have gone through
 the archives prior to posting this but have yet to discover a
 solution.
 
 I'm getting that common error Error 500 No action instance for path
 /login could be created.  The difficulty I'm having is that the
 application was and is running perfectly fine on a tomcat 4.x
 servlet container.  The error I'm observing are occuring under a
 tomcat 3.x servlet container.
 
 I'm kind of desperate here, solutions would be good.
 
 Thanks
 
 Rob
 
 
 struts-config.xml
 !-- Struts Login Form Bean --
 form-bean  name=LoginFormtype=web.LoginForm/
 
 !-- Struts Login Global Forward --
 forward name=login   path=/do/login/
 
 !-- Struts Login Action Mapping --
 !-- leading slash on path is present --
 action path=/login
 type=web.LoginAction
 name=LoginForm
 input=/WEB-INF/pages/login.jsp
 scope=request
 
 forward name=error   path=/WEB-INF/pages/login.jsp/
 
 /action
 
 web.xml
 !-- struts action servlet mapping --
 servlet-mapping
 servlet-nameaction/servlet-name
 url-pattern/do/*/url-pattern
 /servlet-mapping
 
 login.jsp
 !-- start form tag --
 !-- does not require prepended /do/ because I use --
 !-- path servlet mapping --
 html:form action=login
 
 WEB-INF/classes (shown to contain LoginAction.class)
 % ls -l webapps/manager/WEB-INF/classes/web/
 total 6
 -rw-r--r--  1 rtr  users  1565 Sep 11 18:58 LoginAction.class
 -rw-r--r--  1 rtr  users   735 Sep 11 18:58 LoginForm.class
 
 LoginAction.java
 /* shown to indicate class is public */
 /* shown to indicate class extends Action */
 % grep 'public class' LoginAction.java
 public class LoginAction extends Action
 
 
 -- 
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 
 



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




How to access the file mappings in struts-config.xml from a none struts servlet

2002-09-11 Thread Forrester, Tom


Does anyone know if there is a way that I can obtain a file mapping that
resides in the struts-config.xml, from a servlet that is outside of the
struts framework? This is using Struts1.01

Best wishes

Tom Forrester




Thales Defence Information Systems DISCLAIMER: The information in this
message is confidential and may be legally privileged. It is intended solely
for the addressee.  Access to this message by anyone else is unauthorised.
If you are not the intended recipient, any disclosure, copying, or
distribution of the message, or any action or omission taken by you in
reliance on it, is prohibited and may be unlawful.  Please immediately
contact the sender if you have received this message in error. Thank you.

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




[Velocity] Problems with multiple subapps and message resources....

2002-09-11 Thread Michael Delamere

Hi all,

I was contemplating on wether to send this to struts or to velocity and
opted for this one because there is virtually no traffic at velocity-user
today.  I would really appreciate it if people could share their experiences
on this matter

And yes, I´ve searched google, the struts-user archives and the
velocity-user archives and read the user-guide :-).

The poblem is as follows.

I´m using stuts1.1b2 with multiple subapps and the velocity template engine.
Now I have defined a resource file for each subapp and would like to output
the fields in my velocity templates.  Unfortunately this isn´t happening and
I´m getting the following messages:

# Message resource has loaded?
4037 [main] INFO util.PropertyMessageResources  - Initializing,
config='com.morelogs.ims.resources.shop.ShopResources', returnNull=true

# Velocity error I think
[ERROR] Message resources are not available.
 Velocity   [warn] org.apache.velocity.runtime.exception.ReferenceException:
reference : template = /shop/../WEB-INF/shop/templates/ShowProduct.vm [line
1,column 5] : $msg.get(label.showcart.pageheader) is not a valid
reference.

I had a look at the example from the velocity-struts-tools but that seems to
be based on struts1.0.1 without multiple application support.  I assume that
it may have something to do with that because I´m virtually doing it exactly
as it was done there and it won´t work.

Hase anyone had more experience with this which they are willing to share?

Thanks,

Michael




--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Null String in Error Message

2002-09-11 Thread Sanjeev

Hi ,

When I display the error message in JSP page using html:errors
property=propertyName/, a null string is getting appended at the beginning of
the error message. eg; null custom error message

How do I get rid of this null string?

I am using Jboss as application server and catalina as servlet engine.

Thanks in advance,
Sanjeev.




--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




passing parameters

2002-09-11 Thread Craig Longman


i'm very new to struts.  i've been using systems that are more script
oriented, but find that struts is a better fit for keeping things in the
webpage simple, so i'm delving in to try and understand it.

the first that threw me for a loop was the apparent total lack of
support for hashtables, other than simply iterating through them.  much
of my thinking and code is going to have to change to accommodate that. 
if i've mis-read the documents that my searches produced and hashtables
are in fact well supported, someone please correct me.

the first problem i'm having, is figuring out how to call some of my
code in an attempt to have it do the work hashtables used to do.  for
example, i have a system that produces a 'where am i' menu for the user,
something like:

  home - search - results - detail

this is done dynamically.  what i need to have happen, is for each page
to be able to invoke a method and pass in the name of the current page,
the return value will then be an object representing the 'current page'.
but how does one accomplish this?  can one even accomplish it without
writing custom tags?

any help would be greatly appreciated.

-- 

CraigL-Thx();
Be Developer ID: 5852




signature.asc
Description: This is a digitally signed message part


RE: Null String in Error Message

2002-09-11 Thread Kidd, Polly

the answer is here:
http://www.scioworks.net/devnews/strutsDistilled/updates/update-020906/htmlE
rrorsHasNulls.html

-Original Message-
From: Sanjeev [mailto:[EMAIL PROTECTED]]
Sent: 11 September 2002 12:31
To: Struts Users Mailing List
Subject: Null String in Error Message


Hi ,

When I display the error message in JSP page using html:errors
property=propertyName/, a null string is getting appended at the
beginning of
the error message. eg; null custom error message

How do I get rid of this null string?

I am using Jboss as application server and catalina as servlet engine.

Thanks in advance,
Sanjeev.




--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Possible memory leak in Tomcat 4.1.10

2002-09-11 Thread Galbreath, Mark

From the 4.1 Release Notes posted 9/5/02:


JAVAC leaking memory:


The Java compiler leaks memory each time a class is compiled. Web
applications
containing hundreds of JSP files may as a result trigger out of memory
errors 
once a significant number of pages have been accessed. The memory can only
be 
freed by stopping Tomcat and then restarting it.

The JSP command line compiler (JSPC) can also be used to precompile the
JSPs.



Probably not the problem you are having, however, since the Tomcat example
JSPs are precompiled.

Mark

-Original Message-
From: Billy Ng [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 10, 2002 10:10 PM
To: Struts Users Mailing List; Rosdi bin Kasim
Subject: Re: Possible memory leak in Tomcat 4.1.10


I have already mailed to Tomcat mailing list before.  I mailed here because
there are some Struts users might experience this before.  Sorry, I am using
Linux and the top command.  I just keep track on the free memory reading
evey time I hit the servlet.

Billy Ng

- Original Message -
From: Rosdi bin Kasim [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, September 10, 2002 6:46 PM
Subject: Re: Possible memory leak in Tomcat 4.1.10


 Probably it is better if you ask this in Tomcat mailing list.
 Btw, how do you know how much memory your tomcat is holding at a time?.. I
 would like to check it here too, I am running Tomcat on Win98 though...
:-)


 - Original Message -
 From: Billy Ng [EMAIL PROTECTED]
 To: Struts Users Mailing List [EMAIL PROTECTED]
 Sent: Wednesday, September 11, 2002 9:53 AM
 Subject: Possible memory leak in Tomcat 4.1.10


 Hi folks,

 I am trying to find what is causing the memory leak in my app.  I changed
to
 use the Tomcat 4.1.10.  By only hitting the Tomcat's servlet and jsp
 exampes, the free memory is already going down and never back up.  I heard
 the Tomcat 4.0.4 has memory leak problem, but I do not hear anything about
 the 4.1.10.  I am wondering if anyone experienced the same problem before.
 If you are using any version of Tomcat that you feel it is stable, please
 let me know.

 Thanks!

 Billy Ng



 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
mailto:[EMAIL PROTECTED]



--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




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

2002-09-11 Thread Andrew Hill

Ok, so its not Friday, but Im always in the mood for tech-nostalgia... ;-)

I remember teaching myself C back in 1990 on my Amiga 2000 (using the
Lattice compiler  a copy of KR).
Laughing at the poor MAC+ users I knew with their clunky one button mice and
tiny black  white displays. (If I recall rightly the multitasking in the
MacOS back then wasnt even preemtive?)
Ah the good ol Amiga. A far more worthy home for the Motorola 68000...
Keep the faith! Amiga shall return!

Wonder if it will be back in time to run Struts1.1 final? hehe

-Original Message-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 19:43
To: 'Struts Users Mailing List'
Subject: RE: [ALT-TECH] Apple Web Objects


.NET is a framework, not a programming language, and you can use Java to
develop within it (albeit JDK 1.1 at this time).  In fact, it will not be
long before you can use any language to develop within it, and look for a
Linux version in the near future.

dating-myselfI taught myself C on a Mac Plus (which I personally upgraded
from a Fat Mac) using Symantec's Think C 5.0/dating-myself, but I've
lost touch with Apple technology over the years (though I've bought my kids
IMacs and I still have a MacIIsi and Centris 610), but I'm sure it's worth
investigating.

Mark

-Original Message-
From: Adrian Brown [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 10, 2002 8:59 PM

Noting the spirit of open comment and criticism on
Struts-alternative products in the J2EE community, I
was mildly surprised to search the archives of
theserverside and the Struts users list and find no
reference to 'Apple Web Objects'.

I was wondering if anyone had come across them in
their travels. Their WYSIWYG approach is attractive,
throwing away servlets and jsps does worry me but if
it is still Java then it is still preferable to .Net,
right? I may even be able to keep my EJBs ...

At US$1500 for a licence, is it worth looking into
further?


Home page:
http://www.apple.com/webobjects

Flashy pic:
http://developer.apple.com/techpubs/webobjects/WebObjectsOverview/WOHTML/ind
ex.html

Thanks,

Adrian

http://mobile.yahoo.com.au - Yahoo! Messenger for SMS
- Now send  receive IMs on your mobile via SMS

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




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
as games machines and nothing more ;)

Macs only have one mouse button because that's all you need.  If you
find you need more then you're using a clunky interface :)

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: [Announce] [New Extension] ApplicationResources.properties from Database

2002-09-11 Thread Galbreath, Mark

Cool.  I wrote a generic class to turn any key-value properties strings in a
database table into a java.util.Properties object.  If anybody's interested,
I can make that available as well.

Mark

-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 12:55 AM
To: Struts Users Mailing List
Subject: RE: [Announce] [New Extension] ApplicationResources.properties
from Database


Sorry for the delay.  I've decided to post this on our website.

Please feel free to download and try it out.

 http://www.open-tools.org/struts-atlanta/downloads/DBMessageResources

If for some reason the site goes down, just send me an email and I'll get it
to you.




James Mitchell
Software Engineer\Struts Evangelist
Struts-Atlanta, the Open Minded Developer Network
http://www.open-tools.org/struts-atlanta




 -Original Message-
 From: James Mitchell [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, September 10, 2002 3:06 PM
 To: Struts Users Mailing List
 Subject: [Announce] [New Extension] ApplicationResources.properties from
 Database


 For anyone interested, I have finished implementing DBMessageResources
 which allows you to keep the key-value pairs (from your
 ApplicationResources.properties) in a single database table.

 You can load your property files into a table (generic schema is provided)
 and with this extension, by only modifying message-resources in the
 struts-config.xml your application will run WITHOUT ANY code changes. (See
 the readme.txt file included)

 This extension uses OJB (http://jakarta.apache.org/ojb) O/R mapping for
 database configuration and connection pool management.

 I have included a modified version of the (1.1b2) struts-example to
 demonstrate.

 I have tested this with Struts 1.1b2, and I'm sure it will work with 1.1b1
 (If anyone requires a 1.0.x compatible, I can look at that also)

 I will get this project available as soon as I work through some
 cvs issues
 on sf.net:

 If anyone is REALLY itching to get their hands on it sooner, send me a
 email.

 For those who were waiting, thanks for your patience.


 James Mitchell
 Software Engineer\Struts Evangelist
 Struts-Atlanta, the Open Minded Developer Network
 http://www.open-tools.org/struts-atlanta


 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]




--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: [SHOW=N=TELL] struts brief

2002-09-11 Thread Galbreath, Mark

http://www.dirtroad.net/computer-programmer

Mark

-Original Message-
From: Sutiwan Kariya [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 2:24 AM
To: [EMAIL PROTECTED]
Subject: struts brief



Hi All,
I gotta brief the struts framework to junior developer team in next 2 hrs,
Do you know where I can see the struts document or article about struts
(include struts diagram)
I remember that I've seen good article somewhere but ah i cannot find
it.

Help me pls..


Sutiwan W.





This E-mail and any files transmitted with it are confidential
and intended for the sole use of the individual or entity
to whom they are addressed. If you have received this 
E-mail in error please notify the system manager.  This E-mail
message has been swept for the presence of computer
viruses.



--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Struts 1.1 Final release

2002-09-11 Thread Galbreath, Mark

lamer

-Original Message-
From: Vikas Sangwan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 4:40 AM
To: Struts Users Mailing List
Subject: Struts 1.1 Final release



Hi, 

Can somebody tell me, when can we expect production release od Struts 1.1 ? 

Thanks in advance. 

Vikas. 




RE: Null String in Error Message

2002-09-11 Thread Divakar Satyanarayan

Sanjeev,

 Please look at the way you have added error object in your validate method
of ActionForm bean. The error name you mention there shold match with the
property name 
you specify in the tag

 For instance..

   public ActionErrors validate(ActionMapping mapping,
HttpServletRequest request)
{
ActionErrors errors = new ActionErrors();
if ((book.getTitle() == null) || (book.getTitle().length()  3))
   { errors.add(title, new ActionError(error.book.title)); }

if (book.getPages()  1)
   { errors.add(page, new ActionError(error.book.page)); }
return errors;
}

 You've defined page as error   when you want to display that error you
need to mention 
html:errors property=page

Even if there is single mjistake in the property name you will get Null
string like instead of page you specify Page. Please remember the property
name is case sensitive.

Regards,
Divakar


 -Original Message-
 From: Sanjeev [SMTP:[EMAIL PROTECTED]]
 Sent: Wednesday, September 11, 2002 5:01 PM
 To:   Struts Users Mailing List
 Subject:  Null String in Error Message
 
 Hi ,
 
 When I display the error message in JSP page using html:errors
 property=propertyName/, a null string is getting appended at the
 beginning of
 the error message. eg; null custom error message
 
 How do I get rid of this null string?
 
 I am using Jboss as application server and catalina as servlet engine.
 
 Thanks in advance,
 Sanjeev.
 
 
 
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 
DISCLAIMER: Information contained and transmitted by this E-MAIL is
proprietary to Mascot Systems Limited and is intended for use only by the
individual or entity to which it is addressed, and may contain information
that is privileged, confidential or exempt from disclosure under applicable
law. If this is a forwarded message, the content of this E-MAIL may not have
been sent with the authority of the Company. If you are not the intended
recipient, an agent of the intended recipient or a person responsible for
delivering the information to the named recipient, you are notified that any
use, distribution, transmission, printing, copying or dissemination of this
information in any way or in any manner is strictly prohibited. If you have
received this communication in error, please delete this mail  notify us
immediately at [EMAIL PROTECTED] Before opening attachments,
please scan for viruses. 



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: passing parameters

2002-09-11 Thread Galbreath, Mark

Go to www.amazon.com.

Search for books, Mastering Jakarta Struts.

Click checkout.

Purchase book.

Read it, learn it, live it.

Mark

-Original Message-
From: Craig Longman [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 6:58 AM
To: struts-user
Subject: passing parameters



i'm very new to struts.  i've been using systems that are more script
oriented, but find that struts is a better fit for keeping things in the
webpage simple, so i'm delving in to try and understand it.

the first that threw me for a loop was the apparent total lack of
support for hashtables, other than simply iterating through them.  much
of my thinking and code is going to have to change to accommodate that. 
if i've mis-read the documents that my searches produced and hashtables
are in fact well supported, someone please correct me.

the first problem i'm having, is figuring out how to call some of my
code in an attempt to have it do the work hashtables used to do.  for
example, i have a system that produces a 'where am i' menu for the user,
something like:

  home - search - results - detail

this is done dynamically.  what i need to have happen, is for each page
to be able to invoke a method and pass in the name of the current page,
the return value will then be an object representing the 'current page'.
but how does one accomplish this?  can one even accomplish it without
writing custom tags?

any help would be greatly appreciated.

-- 

CraigL-Thx();
Be Developer ID: 5852


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




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

2002-09-11 Thread Andrew Hill

ohhh now your asking for it!

Meet the guru a few too many times did we? hehe

Actually the OS was not too bad for the time. Pre-emtive multitasking, gui,
etc... (bit touchy though as it didnt have anything in the way of memory
protection to stop different processes playing with memory that didnt belong
to them). And of course much of the magic of the Amiga was in its hardware
which was marvellous for the time, and at the cost made it very much the
premier games machine. (Also found a lot of use in TV production ,
especially after the video toaster came out)

And hey! I remember typing up some essays on my Amiga once so nyah! Wasnt
used entirely for games. I must have spent at least five of the thousands of
hours I used it for serious stuff and anyway it had the best games so its
little wonder gamers loved it :-P

Useability of the Amiga was better than many systems (such as the ancient
DOS boxes) , though certainly not to the same level as the MAC. Have to
agree that one button is all you need. A second one can be useful at times
(ie: paint software / cad / games etc...) but whoever came up with the idea
of context menus deserves a good flogging.

-Original Message-
From: Mark Kaye [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 20:00
To: Struts Users Mailing List
Subject: RE: [OT][ALT-TECH] Apple Web Objects


 -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
as games machines and nothing more ;)

Macs only have one mouse button because that's all you need.  If you
find you need more then you're using a clunky interface :)

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




AW: [Announce] [New Extension] ApplicationResources.properties fr om Database

2002-09-11 Thread Juraj Lenharcik

I would be interessted; Whats about XMLRessources? ;-)

-Ursprüngliche Nachricht-
Von: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 11. September 2002 14:07
An: 'Struts Users Mailing List'
Betreff: RE: [Announce] [New Extension] ApplicationResources.properties
fr om Database


Cool.  I wrote a generic class to turn any key-value properties strings in a
database table into a java.util.Properties object.  If anybody's interested,
I can make that available as well.

Mark

-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 12:55 AM
To: Struts Users Mailing List
Subject: RE: [Announce] [New Extension] ApplicationResources.properties
from Database


Sorry for the delay.  I've decided to post this on our website.

Please feel free to download and try it out.

 http://www.open-tools.org/struts-atlanta/downloads/DBMessageResources

If for some reason the site goes down, just send me an email and I'll get it
to you.




James Mitchell
Software Engineer\Struts Evangelist
Struts-Atlanta, the Open Minded Developer Network
http://www.open-tools.org/struts-atlanta




 -Original Message-
 From: James Mitchell [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, September 10, 2002 3:06 PM
 To: Struts Users Mailing List
 Subject: [Announce] [New Extension] ApplicationResources.properties from
 Database


 For anyone interested, I have finished implementing DBMessageResources
 which allows you to keep the key-value pairs (from your
 ApplicationResources.properties) in a single database table.

 You can load your property files into a table (generic schema is provided)
 and with this extension, by only modifying message-resources in the
 struts-config.xml your application will run WITHOUT ANY code changes. (See
 the readme.txt file included)

 This extension uses OJB (http://jakarta.apache.org/ojb) O/R mapping for
 database configuration and connection pool management.

 I have included a modified version of the (1.1b2) struts-example to
 demonstrate.

 I have tested this with Struts 1.1b2, and I'm sure it will work with 1.1b1
 (If anyone requires a 1.0.x compatible, I can look at that also)

 I will get this project available as soon as I work through some
 cvs issues
 on sf.net:

 If anyone is REALLY itching to get their hands on it sooner, send me a
 email.

 For those who were waiting, thanks for your patience.


 James Mitchell
 Software Engineer\Struts Evangelist
 Struts-Atlanta, the Open Minded Developer Network
 http://www.open-tools.org/struts-atlanta


 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]




--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




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

2002-09-11 Thread Galbreath, Mark

Aaahhh, yes...I had a Commie 64 in the mid-80s which I used to teach
myself BASIC (remember the cassette I/O?).  But the Amiga 2000!  Video
Toaster or Death!!!  And I, too, had (still have!) a copy of KR as my C
bible  Those were happy days...college, beer, cracking, phreaking, no
ANI or digital switches, errnever mind

-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 8:03 AM

Ok, so its not Friday, but Im always in the mood for tech-nostalgia... ;-)

I remember teaching myself C back in 1990 on my Amiga 2000 (using the
Lattice compiler  a copy of KR).
Laughing at the poor MAC+ users I knew with their clunky one button mice and
tiny black  white displays. (If I recall rightly the multitasking in the
MacOS back then wasnt even preemtive?)
Ah the good ol Amiga. A far more worthy home for the Motorola 68000...
Keep the faith! Amiga shall return!

Wonder if it will be back in time to run Struts1.1 final? hehe

-Original Message-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 19:43

.NET is a framework, not a programming language, and you can use Java to
develop within it (albeit JDK 1.1 at this time).  In fact, it will not be
long before you can use any language to develop within it, and look for a
Linux version in the near future.

dating-myselfI taught myself C on a Mac Plus (which I personally upgraded
from a Fat Mac) using Symantec's Think C 5.0/dating-myself, but I've
lost touch with Apple technology over the years (though I've bought my kids
IMacs and I still have a MacIIsi and Centris 610), but I'm sure it's worth
investigating.

Mark

-Original Message-
From: Adrian Brown [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 10, 2002 8:59 PM

Noting the spirit of open comment and criticism on
Struts-alternative products in the J2EE community, I
was mildly surprised to search the archives of
theserverside and the Struts users list and find no
reference to 'Apple Web Objects'.

I was wondering if anyone had come across them in
their travels. Their WYSIWYG approach is attractive,
throwing away servlets and jsps does worry me but if
it is still Java then it is still preferable to .Net,
right? I may even be able to keep my EJBs ...

At US$1500 for a licence, is it worth looking into
further?

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




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

2002-09-11 Thread Galbreath, Mark

The Mac had (still has) two mice buttons - the second was activated by
holding the cloverleaf key.

-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 8:20 AM

ohhh now your asking for it!

Meet the guru a few too many times did we? hehe

Actually the OS was not too bad for the time. Pre-emtive multitasking, gui,
etc... (bit touchy though as it didnt have anything in the way of memory
protection to stop different processes playing with memory that didnt belong
to them). And of course much of the magic of the Amiga was in its hardware
which was marvellous for the time, and at the cost made it very much the
premier games machine. (Also found a lot of use in TV production ,
especially after the video toaster came out)

And hey! I remember typing up some essays on my Amiga once so nyah! Wasnt
used entirely for games. I must have spent at least five of the thousands of
hours I used it for serious stuff and anyway it had the best games so its
little wonder gamers loved it :-P

Useability of the Amiga was better than many systems (such as the ancient
DOS boxes) , though certainly not to the same level as the MAC. Have to
agree that one button is all you need. A second one can be useful at times
(ie: paint software / cad / games etc...) but whoever came up with the idea
of context menus deserves a good flogging.

-Original Message-
From: Mark Kaye [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 20:00
To: Struts Users Mailing List
Subject: RE: [OT][ALT-TECH] Apple Web Objects


 -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
as games machines and nothing more ;)

Macs only have one mouse button because that's all you need.  If you
find you need more then you're using a clunky interface :)

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: [Announce] [New Extension] ApplicationResources.properties fr om Database

2002-09-11 Thread Galbreath, Mark

Okay, I put the source in www.dirtroad.net/computer-programmer.  Open source
- hope you find it useful.

Mark

-Original Message-
From: Juraj Lenharcik [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 8:16 AM
To: 'Struts Users Mailing List'
Subject: AW: [Announce] [New Extension] ApplicationResources.properties
fr om Database


I would be interessted; Whats about XMLRessources? ;-)

-Ursprüngliche Nachricht-
Von: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 11. September 2002 14:07
An: 'Struts Users Mailing List'
Betreff: RE: [Announce] [New Extension] ApplicationResources.properties
fr om Database


Cool.  I wrote a generic class to turn any key-value properties strings in a
database table into a java.util.Properties object.  If anybody's interested,
I can make that available as well.

Mark

-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 12:55 AM
To: Struts Users Mailing List
Subject: RE: [Announce] [New Extension] ApplicationResources.properties
from Database


Sorry for the delay.  I've decided to post this on our website.

Please feel free to download and try it out.

 http://www.open-tools.org/struts-atlanta/downloads/DBMessageResources

If for some reason the site goes down, just send me an email and I'll get it
to you.




James Mitchell
Software Engineer\Struts Evangelist
Struts-Atlanta, the Open Minded Developer Network
http://www.open-tools.org/struts-atlanta




 -Original Message-
 From: James Mitchell [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, September 10, 2002 3:06 PM
 To: Struts Users Mailing List
 Subject: [Announce] [New Extension] ApplicationResources.properties from
 Database


 For anyone interested, I have finished implementing DBMessageResources
 which allows you to keep the key-value pairs (from your
 ApplicationResources.properties) in a single database table.

 You can load your property files into a table (generic schema is provided)
 and with this extension, by only modifying message-resources in the
 struts-config.xml your application will run WITHOUT ANY code changes. (See
 the readme.txt file included)

 This extension uses OJB (http://jakarta.apache.org/ojb) O/R mapping for
 database configuration and connection pool management.

 I have included a modified version of the (1.1b2) struts-example to
 demonstrate.

 I have tested this with Struts 1.1b2, and I'm sure it will work with 1.1b1
 (If anyone requires a 1.0.x compatible, I can look at that also)

 I will get this project available as soon as I work through some
 cvs issues
 on sf.net:

 If anyone is REALLY itching to get their hands on it sooner, send me a
 email.

 For those who were waiting, thanks for your patience.


 James Mitchell
 Software Engineer\Struts Evangelist
 Struts-Atlanta, the Open Minded Developer Network
 http://www.open-tools.org/struts-atlanta


 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]




--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




AW: [Announce] [New Extension] ApplicationResources.properties fr om Database

2002-09-11 Thread Juraj Lenharcik

I had some OCR Exceptions on unpacking the zip...

-Ursprüngliche Nachricht-
Von: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 11. September 2002 14:34
An: 'Struts Users Mailing List'
Betreff: RE: [Announce] [New Extension] ApplicationResources.properties
fr om Database


Okay, I put the source in www.dirtroad.net/computer-programmer.  Open source
- hope you find it useful.

Mark

-Original Message-
From: Juraj Lenharcik [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 8:16 AM
To: 'Struts Users Mailing List'
Subject: AW: [Announce] [New Extension] ApplicationResources.properties
fr om Database


I would be interessted; Whats about XMLRessources? ;-)

-Ursprüngliche Nachricht-
Von: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 11. September 2002 14:07
An: 'Struts Users Mailing List'
Betreff: RE: [Announce] [New Extension] ApplicationResources.properties
fr om Database


Cool.  I wrote a generic class to turn any key-value properties strings in a
database table into a java.util.Properties object.  If anybody's interested,
I can make that available as well.

Mark

-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 12:55 AM
To: Struts Users Mailing List
Subject: RE: [Announce] [New Extension] ApplicationResources.properties
from Database


Sorry for the delay.  I've decided to post this on our website.

Please feel free to download and try it out.

 http://www.open-tools.org/struts-atlanta/downloads/DBMessageResources

If for some reason the site goes down, just send me an email and I'll get it
to you.




James Mitchell
Software Engineer\Struts Evangelist
Struts-Atlanta, the Open Minded Developer Network
http://www.open-tools.org/struts-atlanta




 -Original Message-
 From: James Mitchell [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, September 10, 2002 3:06 PM
 To: Struts Users Mailing List
 Subject: [Announce] [New Extension] ApplicationResources.properties from
 Database


 For anyone interested, I have finished implementing DBMessageResources
 which allows you to keep the key-value pairs (from your
 ApplicationResources.properties) in a single database table.

 You can load your property files into a table (generic schema is provided)
 and with this extension, by only modifying message-resources in the
 struts-config.xml your application will run WITHOUT ANY code changes. (See
 the readme.txt file included)

 This extension uses OJB (http://jakarta.apache.org/ojb) O/R mapping for
 database configuration and connection pool management.

 I have included a modified version of the (1.1b2) struts-example to
 demonstrate.

 I have tested this with Struts 1.1b2, and I'm sure it will work with 1.1b1
 (If anyone requires a 1.0.x compatible, I can look at that also)

 I will get this project available as soon as I work through some
 cvs issues
 on sf.net:

 If anyone is REALLY itching to get their hands on it sooner, send me a
 email.

 For those who were waiting, thanks for your patience.


 James Mitchell
 Software Engineer\Struts Evangelist
 Struts-Atlanta, the Open Minded Developer Network
 http://www.open-tools.org/struts-atlanta


 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]




--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




AW: [Announce] [New Extension] ApplicationResources.properties fr om Database

2002-09-11 Thread Juraj Lenharcik

with this link:
http://www.open-tools.org/struts-atlanta/downloads/DBMessageResources

-Ursprüngliche Nachricht-
Von: Juraj Lenharcik [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 11. September 2002 14:34
An: 'Struts Users Mailing List'
Betreff: AW: [Announce] [New Extension] ApplicationResources.properties
fr om Database


I had some OCR Exceptions on unpacking the zip...

-Ursprüngliche Nachricht-
Von: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 11. September 2002 14:34
An: 'Struts Users Mailing List'
Betreff: RE: [Announce] [New Extension] ApplicationResources.properties
fr om Database


Okay, I put the source in www.dirtroad.net/computer-programmer.  Open source
- hope you find it useful.

Mark

-Original Message-
From: Juraj Lenharcik [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 8:16 AM
To: 'Struts Users Mailing List'
Subject: AW: [Announce] [New Extension] ApplicationResources.properties
fr om Database


I would be interessted; Whats about XMLRessources? ;-)

-Ursprüngliche Nachricht-
Von: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 11. September 2002 14:07
An: 'Struts Users Mailing List'
Betreff: RE: [Announce] [New Extension] ApplicationResources.properties
fr om Database


Cool.  I wrote a generic class to turn any key-value properties strings in a
database table into a java.util.Properties object.  If anybody's interested,
I can make that available as well.

Mark

-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 12:55 AM
To: Struts Users Mailing List
Subject: RE: [Announce] [New Extension] ApplicationResources.properties
from Database


Sorry for the delay.  I've decided to post this on our website.

Please feel free to download and try it out.

 http://www.open-tools.org/struts-atlanta/downloads/DBMessageResources

If for some reason the site goes down, just send me an email and I'll get it
to you.




James Mitchell
Software Engineer\Struts Evangelist
Struts-Atlanta, the Open Minded Developer Network
http://www.open-tools.org/struts-atlanta




 -Original Message-
 From: James Mitchell [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, September 10, 2002 3:06 PM
 To: Struts Users Mailing List
 Subject: [Announce] [New Extension] ApplicationResources.properties from
 Database


 For anyone interested, I have finished implementing DBMessageResources
 which allows you to keep the key-value pairs (from your
 ApplicationResources.properties) in a single database table.

 You can load your property files into a table (generic schema is provided)
 and with this extension, by only modifying message-resources in the
 struts-config.xml your application will run WITHOUT ANY code changes. (See
 the readme.txt file included)

 This extension uses OJB (http://jakarta.apache.org/ojb) O/R mapping for
 database configuration and connection pool management.

 I have included a modified version of the (1.1b2) struts-example to
 demonstrate.

 I have tested this with Struts 1.1b2, and I'm sure it will work with 1.1b1
 (If anyone requires a 1.0.x compatible, I can look at that also)

 I will get this project available as soon as I work through some
 cvs issues
 on sf.net:

 If anyone is REALLY itching to get their hands on it sooner, send me a
 email.

 For those who were waiting, thanks for your patience.


 James Mitchell
 Software Engineer\Struts Evangelist
 Struts-Atlanta, the Open Minded Developer Network
 http://www.open-tools.org/struts-atlanta


 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]




--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: [Announce] [New Extension] ApplicationResources.properties fr om Database

2002-09-11 Thread James Mitchell

I've already started on this.  I'll let you know.

James Mitchell
Software Engineer\Struts Evangelist
Struts-Atlanta, the Open Minded Developer Network
http://www.open-tools.org/struts-atlanta




 -Original Message-
 From: Juraj Lenharcik [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, September 11, 2002 8:16 AM
 To: 'Struts Users Mailing List'
 Subject: AW: [Announce] [New Extension] ApplicationResources.properties
 fr om Database


 I would be interessted; Whats about XMLRessources? ;-)

 -Ursprüngliche Nachricht-
 Von: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
 Gesendet: Mittwoch, 11. September 2002 14:07
 An: 'Struts Users Mailing List'
 Betreff: RE: [Announce] [New Extension] ApplicationResources.properties
 fr om Database


 Cool.  I wrote a generic class to turn any key-value properties
 strings in a
 database table into a java.util.Properties object.  If anybody's
 interested,
 I can make that available as well.

 Mark

 -Original Message-
 From: James Mitchell [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, September 11, 2002 12:55 AM
 To: Struts Users Mailing List
 Subject: RE: [Announce] [New Extension] ApplicationResources.properties
 from Database


 Sorry for the delay.  I've decided to post this on our website.

 Please feel free to download and try it out.

  http://www.open-tools.org/struts-atlanta/downloads/DBMessageResources

 If for some reason the site goes down, just send me an email and
 I'll get it
 to you.




 James Mitchell
 Software Engineer\Struts Evangelist
 Struts-Atlanta, the Open Minded Developer Network
 http://www.open-tools.org/struts-atlanta




  -Original Message-
  From: James Mitchell [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, September 10, 2002 3:06 PM
  To: Struts Users Mailing List
  Subject: [Announce] [New Extension] ApplicationResources.properties from
  Database
 
 
  For anyone interested, I have finished implementing DBMessageResources
  which allows you to keep the key-value pairs (from your
  ApplicationResources.properties) in a single database table.
 
  You can load your property files into a table (generic schema
 is provided)
  and with this extension, by only modifying message-resources in the
  struts-config.xml your application will run WITHOUT ANY code
 changes. (See
  the readme.txt file included)
 
  This extension uses OJB (http://jakarta.apache.org/ojb) O/R mapping for
  database configuration and connection pool management.
 
  I have included a modified version of the (1.1b2) struts-example to
  demonstrate.
 
  I have tested this with Struts 1.1b2, and I'm sure it will work
 with 1.1b1
  (If anyone requires a 1.0.x compatible, I can look at that also)
 
  I will get this project available as soon as I work through some
  cvs issues
  on sf.net:
 
  If anyone is REALLY itching to get their hands on it sooner, send me a
  email.
 
  For those who were waiting, thanks for your patience.
 
 
  James Mitchell
  Software Engineer\Struts Evangelist
  Struts-Atlanta, the Open Minded Developer Network
  http://www.open-tools.org/struts-atlanta
 
 
  --
  To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
 
 


 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]

 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]

 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: NullPointerException while extending DynaValidatorForm

2002-09-11 Thread Jan Fetyko

How do I allow Struts to create the form ?
Sorry, but I'm lost here ( and there :(( ).

Jf

Robert Taylor wrote:

Depending on which version of Struts you are using, you may
need to set the dynamic attribute of the form-bean element to true.

I'm assuming you are explicitely creating the form to convey that
the NPE is not because the form is null. If this is not the case,
you should allow Struts to create the form.

robert


  

-Original Message-
From: Jan Fetyko [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 10, 2002 11:32 AM
To: struts
Subject: Re: NullPointerException while extending DynaValidatorForm


Looks like nobody has a recommendation on how to resolve issue described
below ( at least till now).
Is this working at all OR is this still a bug in the Beta version ?
So, should I stick with the old forms for now ?

Jf

-



Hi all,

I have a problem setting values of a form in my action.
The form extends the org.apache.struts.validator.DynaValidatorForm.
The struts-config.xml defines all the properties of the form except 2,
that are defined in the actual Java source of the form.

This is the error I'm getting :

java.lang.NullPointerException
at

  

org.apache.struts.action.DynaActionForm.getDynaProperty(DynaAction
Form.java:551)



In struts config I have :

form-bean name=CustomerForm type=com.forms.CustomerForm
form-property name=cid type=java.lang.String/
/form-bean

The action is trying to set the property of the form :

form = new CustomerForm();
CustomerForm cf = (CustomerForm) form;
cf.set(cid, customer.getCid()); // THIS iS WHERE IT ERRORS OUT.



Any ideas what I'm doing wrong ?

Jf

  

--
To unsubscribe, e-mail:


mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


  



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




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

2002-09-11 Thread Brian Hickey

More fodder...

The Amiga was the first machine and OS to use flat memory addressing. It
had the best graphics of its time.

As for WebObjects, it is one of the two branches of history that the top
(IMHO) Java developers come from. The other is Smalltalk.



- Original Message -
From: Andrew Hill [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, September 11, 2002 8:20 AM
Subject: RE: [OT][ALT-TECH] Apple Web Objects


 ohhh now your asking for it!

 Meet the guru a few too many times did we? hehe

 Actually the OS was not too bad for the time. Pre-emtive multitasking,
gui,
 etc... (bit touchy though as it didnt have anything in the way of memory
 protection to stop different processes playing with memory that didnt
belong
 to them). And of course much of the magic of the Amiga was in its hardware
 which was marvellous for the time, and at the cost made it very much the
 premier games machine. (Also found a lot of use in TV production ,
 especially after the video toaster came out)

 And hey! I remember typing up some essays on my Amiga once so nyah! Wasnt
 used entirely for games. I must have spent at least five of the thousands
of
 hours I used it for serious stuff and anyway it had the best games so its
 little wonder gamers loved it :-P

 Useability of the Amiga was better than many systems (such as the ancient
 DOS boxes) , though certainly not to the same level as the MAC. Have to
 agree that one button is all you need. A second one can be useful at times
 (ie: paint software / cad / games etc...) but whoever came up with the
idea
 of context menus deserves a good flogging.

 -Original Message-
 From: Mark Kaye [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, September 11, 2002 20:00
 To: Struts Users Mailing List
 Subject: RE: [OT][ALT-TECH] Apple Web Objects


  -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
 as games machines and nothing more ;)

 Macs only have one mouse button because that's all you need.  If you
 find you need more then you're using a clunky interface :)

 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]


 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
mailto:[EMAIL PROTECTED]




--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Security and Struts

2002-09-11 Thread alex hun

if it fits into my project requirement. i will be the guine pig then wink..thanks
all.

Darren Hill wrote:

 Nice .. thanks Todd.

 Anyone ever use this with Struts?

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: September 10, 2002 12:41 PM
 To: Struts Users Mailing List
 Subject: Re: RE: Security and Struts

 Darren,

 Have you looked at the SecurityFilter project by Max Cooper?  Not sure what
 all you need to achieve but this project provides a fairly extensible
 Security module.  You can find it at:
 http://securityfilter.sourceforge.net/

 Regards,
 Todd G. Nist
 
  From: Darren Hill [EMAIL PROTECTED]
  Date: 2002/09/10 Tue PM 12:23:53 EDT
  To: 'Struts Users Mailing List' [EMAIL PROTECTED]
  Subject: RE: Security and Struts
 
  Michael ... I've tried the same and thought it was a little messy.
 
  I was hope to find an example to uses roles 'n' such.
 
  -Original Message-
  From: Michael Lee [mailto:[EMAIL PROTECTED]]
  Sent: September 10, 2002 11:13 AM
  To: Struts Users Mailing List
  Subject: Re: Security and Struts
 
 
  They have a good login example in the example war in the struts/webapps
 dir.
  That's the way I've done it in the past. The way I'm currently doing it is
  to use container managed security. This means NOT using struts for
  authorization/authentication (for J2EE security). Since your using JSP
 your
  probably gonna do form base authentication so just post your form to
  action=j_security_check and make sure your form username and password
  fields are j_username and j_password appropriately. Check your container
  documentation for how to hook this into its security model.
  I'm currently actually having a problem with this in that I need for the
  user information to be stored in the session at login. I may just put a
 tag
  at the top of every page but that seems to get rid of the 'niceties' of
  using J2EE security. I want to set the locale based upon the loaded user
  object. Problem is, it goes right to the requested jsp page after login
  without loading the user and his preferences. Not sure how I'm going to
  handle this but in the mean time, that is how I handle security.
  Mike
 
 
  - Original Message -
  From: Darren Hill [EMAIL PROTECTED]
  To: 'Struts Users Mailing List' [EMAIL PROTECTED]
  Sent: Tuesday, September 10, 2002 10:24 AM
  Subject: Security and Struts
 
 
   Hey all,
  
   I'm looking for a job document and example about best practices in
   implementing security in struts.
   I've got the general idea about placing all my JSP's under WEB-INF, but
 a
   doc/example might really solidify it for me.  Thanks in advance.
  
   Darren.
  
   --
   To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
   For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
  
 
  --
  To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
 
  --
  To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 

 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]

 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




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

2002-09-11 Thread Kevin A. Smith

Smalltalk, eh? I think that more than a few of the top Java names (Steele, Gosling) 
have a Lispish background, too.

-Original Message-
From: Brian Hickey [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 8:51 AM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: Re: [OT][ALT-TECH] Apple Web Objects


More fodder...

The Amiga was the first machine and OS to use flat memory addressing. It
had the best graphics of its time.

As for WebObjects, it is one of the two branches of history that the top
(IMHO) Java developers come from. The other is Smalltalk.



- Original Message -
From: Andrew Hill [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, September 11, 2002 8:20 AM
Subject: RE: [OT][ALT-TECH] Apple Web Objects


 ohhh now your asking for it!

 Meet the guru a few too many times did we? hehe

 Actually the OS was not too bad for the time. Pre-emtive multitasking,
gui,
 etc... (bit touchy though as it didnt have anything in the way of memory
 protection to stop different processes playing with memory that didnt
belong
 to them). And of course much of the magic of the Amiga was in its hardware
 which was marvellous for the time, and at the cost made it very much the
 premier games machine. (Also found a lot of use in TV production ,
 especially after the video toaster came out)

 And hey! I remember typing up some essays on my Amiga once so nyah! Wasnt
 used entirely for games. I must have spent at least five of the thousands
of
 hours I used it for serious stuff and anyway it had the best games so its
 little wonder gamers loved it :-P

 Useability of the Amiga was better than many systems (such as the ancient
 DOS boxes) , though certainly not to the same level as the MAC. Have to
 agree that one button is all you need. A second one can be useful at times
 (ie: paint software / cad / games etc...) but whoever came up with the
idea
 of context menus deserves a good flogging.

 -Original Message-
 From: Mark Kaye [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, September 11, 2002 20:00
 To: Struts Users Mailing List
 Subject: RE: [OT][ALT-TECH] Apple Web Objects


  -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
 as games machines and nothing more ;)

 Macs only have one mouse button because that's all you need.  If you
 find you need more then you're using a clunky interface :)

 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]


 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
mailto:[EMAIL PROTECTED]




--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




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

2002-09-11 Thread Brian Hickey

And so do I... LISP isn't OO


- Original Message -
From: Kevin A. Smith [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, September 11, 2002 8:51 AM
Subject: RE: [OT][ALT-TECH] Apple Web Objects


Smalltalk, eh? I think that more than a few of the top Java names (Steele,
Gosling) have a Lispish background, too.

-Original Message-
From: Brian Hickey [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 8:51 AM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: Re: [OT][ALT-TECH] Apple Web Objects


More fodder...

The Amiga was the first machine and OS to use flat memory addressing. It
had the best graphics of its time.

As for WebObjects, it is one of the two branches of history that the top
(IMHO) Java developers come from. The other is Smalltalk.



- Original Message -
From: Andrew Hill [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, September 11, 2002 8:20 AM
Subject: RE: [OT][ALT-TECH] Apple Web Objects


 ohhh now your asking for it!

 Meet the guru a few too many times did we? hehe

 Actually the OS was not too bad for the time. Pre-emtive multitasking,
gui,
 etc... (bit touchy though as it didnt have anything in the way of memory
 protection to stop different processes playing with memory that didnt
belong
 to them). And of course much of the magic of the Amiga was in its hardware
 which was marvellous for the time, and at the cost made it very much the
 premier games machine. (Also found a lot of use in TV production ,
 especially after the video toaster came out)

 And hey! I remember typing up some essays on my Amiga once so nyah! Wasnt
 used entirely for games. I must have spent at least five of the thousands
of
 hours I used it for serious stuff and anyway it had the best games so its
 little wonder gamers loved it :-P

 Useability of the Amiga was better than many systems (such as the ancient
 DOS boxes) , though certainly not to the same level as the MAC. Have to
 agree that one button is all you need. A second one can be useful at times
 (ie: paint software / cad / games etc...) but whoever came up with the
idea
 of context menus deserves a good flogging.

 -Original Message-
 From: Mark Kaye [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, September 11, 2002 20:00
 To: Struts Users Mailing List
 Subject: RE: [OT][ALT-TECH] Apple Web Objects


  -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
 as games machines and nothing more ;)

 Macs only have one mouse button because that's all you need.  If you
 find you need more then you're using a clunky interface :)

 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]


 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
mailto:[EMAIL PROTECTED]




--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]




--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: [Dan] Security and Struts

2002-09-11 Thread Darren Hill

Thanks Dan,

I just started yesterday, trying to start a struts app, using security
filter with JBoss 3.0.  I think I'll need to understand JBoss a little
further in order to get this to work correctly as I am getting a problem
with the REALM not being set-up correctly.

Do you have a quick example.war you could send?

Darren.

-Original Message-
From: Dan Payne [mailto:[EMAIL PROTECTED]]
Sent: September 10, 2002 6:51 PM
To: Struts Users Mailing List
Subject: RE: RE: Security and Struts


Darren,

I'm currently using the security filter in my Struts based app in
conjunction with a JDBC realm.  It works seemlessly.  My only qualm at this
point is I can't get the security filter to work with MD5 digesting,
although Max Cooper is looking into it and may add support in the near
future.  Otherwise I would definitely recommend it.  Let me know if you have
any additional, specific questions.

-Dan

-Original Message-
From: Darren Hill [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 10, 2002 11:44 AM
To: 'Struts Users Mailing List'
Subject: RE: RE: Security and Struts


Nice .. thanks Todd.

Anyone ever use this with Struts?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: September 10, 2002 12:41 PM
To: Struts Users Mailing List
Subject: Re: RE: Security and Struts


Darren,

Have you looked at the SecurityFilter project by Max Cooper?  Not sure what
all you need to achieve but this project provides a fairly extensible
Security module.  You can find it at:
http://securityfilter.sourceforge.net/

Regards,
Todd G. Nist

 From: Darren Hill [EMAIL PROTECTED]
 Date: 2002/09/10 Tue PM 12:23:53 EDT
 To: 'Struts Users Mailing List' [EMAIL PROTECTED]
 Subject: RE: Security and Struts

 Michael ... I've tried the same and thought it was a little messy.

 I was hope to find an example to uses roles 'n' such.

 -Original Message-
 From: Michael Lee [mailto:[EMAIL PROTECTED]]
 Sent: September 10, 2002 11:13 AM
 To: Struts Users Mailing List
 Subject: Re: Security and Struts


 They have a good login example in the example war in the struts/webapps
dir.
 That's the way I've done it in the past. The way I'm currently doing it is
 to use container managed security. This means NOT using struts for
 authorization/authentication (for J2EE security). Since your using JSP
your
 probably gonna do form base authentication so just post your form to
 action=j_security_check and make sure your form username and password
 fields are j_username and j_password appropriately. Check your container
 documentation for how to hook this into its security model.
 I'm currently actually having a problem with this in that I need for the
 user information to be stored in the session at login. I may just put a
tag
 at the top of every page but that seems to get rid of the 'niceties' of
 using J2EE security. I want to set the locale based upon the loaded user
 object. Problem is, it goes right to the requested jsp page after login
 without loading the user and his preferences. Not sure how I'm going to
 handle this but in the mean time, that is how I handle security.
 Mike


 - Original Message -
 From: Darren Hill [EMAIL PROTECTED]
 To: 'Struts Users Mailing List' [EMAIL PROTECTED]
 Sent: Tuesday, September 10, 2002 10:24 AM
 Subject: Security and Struts


  Hey all,
 
  I'm looking for a job document and example about best practices in
  implementing security in struts.
  I've got the general idea about placing all my JSP's under WEB-INF, but
a
  doc/example might really solidify it for me.  Thanks in advance.
 
  Darren.
 
  --
  To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 

 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]

 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
mailto:[EMAIL PROTECTED]




--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]



--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: NullPointerException while extending DynaValidatorForm

2002-09-11 Thread Robert Taylor

Define a set up action mapping which is called prior to displaying your
page.

action path=/showSomePage
type=com.companyname.SomeAction
name=customerForm
validate=false
scope=request

  forward name=success
   path=/somePage.jsp
   redirect=false/

/action

In the corresponding Action class for the mapping do the following:
public ActionForward execute(ActionMapping mapping,
 ActionForm form,
 HttpServletRequest request,
 HttpServletResponse response)
throws Exception {

DynaBean bean = (DynaBean) form;
Customer customer = // get customer somehow

bean.set(cid, customer.getCid());

return mapping.findForward(success);

}


When Struts encounters the /showSomePage it will create the form, invoke
SomeAction (which will populate the form), and then forward to somePage.jsp
where the form will reside in the request scope.

HTH,

robert

 -Original Message-
 From: Jan Fetyko [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, September 11, 2002 7:45 AM
 To: Struts Users Mailing List
 Subject: Re: NullPointerException while extending DynaValidatorForm


 How do I allow Struts to create the form ?
 Sorry, but I'm lost here ( and there :(( ).

 Jf

 Robert Taylor wrote:

 Depending on which version of Struts you are using, you may
 need to set the dynamic attribute of the form-bean element to true.
 
 I'm assuming you are explicitely creating the form to convey that
 the NPE is not because the form is null. If this is not the case,
 you should allow Struts to create the form.
 
 robert
 
 
 
 
 -Original Message-
 From: Jan Fetyko [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, September 10, 2002 11:32 AM
 To: struts
 Subject: Re: NullPointerException while extending DynaValidatorForm
 
 
 Looks like nobody has a recommendation on how to resolve issue described
 below ( at least till now).
 Is this working at all OR is this still a bug in the Beta version ?
 So, should I stick with the old forms for now ?
 
 Jf
 
 
 -
 
 
 
 Hi all,
 
 I have a problem setting values of a form in my action.
 The form extends the org.apache.struts.validator.DynaValidatorForm.
 The struts-config.xml defines all the properties of the form except 2,
 that are defined in the actual Java source of the form.
 
 This is the error I'm getting :
 
 java.lang.NullPointerException
 at
 
 
 
 org.apache.struts.action.DynaActionForm.getDynaProperty(DynaAction
 Form.java:551)
 
 
 
 In struts config I have :
 
 form-bean name=CustomerForm type=com.forms.CustomerForm
 form-property name=cid type=java.lang.String/
 /form-bean
 
 The action is trying to set the property of the form :
 
 form = new CustomerForm();
 CustomerForm cf = (CustomerForm) form;
 cf.set(cid, customer.getCid()); // THIS iS WHERE IT ERRORS OUT.
 
 
 
 Any ideas what I'm doing wrong ?
 
 Jf
 
 
 
 --
 To unsubscribe, e-mail:
 
 
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 
 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]






--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Session Values for Action.LOCALE_KEY Change

2002-09-11 Thread David Graham

I was talking about struts not seeing the change to your browser's language 
setting.  Of course you can change the language in struts with the code 
you've given.  I don't know what's causing your problem but it is rather 
strange.

Dave

Hi, Dave,

First, thanks for taking the time to address this.  You can do what you 
said you cannot do with struts.  I do it.  The code is simple enough.  It 
is (where the page with this code returns a checkbox choice of nine 
languages as the value of the locale parameter):

/
%
String language = null;
String localeValue = request.getParameter(locale);

if(localeValue != null) {
 language = localeValue.substring(0, 2);
 response.setContentType(text/html;charset=utf-8);
 Locale newLocale = new Locale(language);
 session.setAttribute(Action.LOCALE_KEY, newLocale);
}
%
template:insert template=../template/template_work.jsp
   template:put name=title content=../title/language_title.jsp/
   template:put name=navigation 
content=../navigation/standard_navigation.jsp/
   template:put name=content content=../content/language_content.jsp/
/template:insert
///

I appreciate the fact that you endorse, as I do, the standard struts 
presentation tier patterns (Intercepting Filter, Front Controller, View 
Helper, Composite View (used here), Service to Worker, and Dispatcher View) 
so ably outlined in Core J2EE Patterns by Alur, Crupi, and Malks.  However, 
there are times when the best practices are not possible do to other 
constraints, and this is one of those times.  I actually have it working 
fine now by running two sessions.  When the first session comes into 
index.jsp (Tomcat 4.0.2) I forward to a language.jsp page (with the above 
code).  This creates, or reasons I yet don't understand, a new session for 
the page.  Then, when I navigate throughout the site, it stays at the 
latter session id.  Any return to index.jsp returns to the first session 
id.  I am not kidding here, as that wag from Miami Dave Whatshisname says!  
But, a return to the other pages returns you back to the second session id. 
  It really does, honest.  So, what I did what to copy the index.jsp page 
functionality into another page called home.jsp, and a return to home now 
looks like a return to index.jsp but is a return to home.jsp, and that has 
the second session id.  Why, I don't know yet.  But, I do know it changes 
my language and keeps it changed, unless I go back to index.jsp, which has 
the initial language all along.  Weird, huh?  Do you have an explanation.  
Whatever the explanation is, it is doing what I want it to do now.  Thanks 
again.

At 11:02 PM 9/10/2002 -0600, you wrote:
You can't start up your server, hit the page in one language, change the 
language setting in your browser, and hit the page again and expect it to 
change languages.  Struts sets the language in the session the first time 
you hit the site and not after that.  This may be causing your strange 
problems.

Also, sometimes even after restarting tomcat my page wouldn't change 
languages so I think it reloaded my old session from disk or something.
Generally, I've found that stopping the server and then changing your 
language works but not always.

I would not allow direct access to your index.jsp files.  Create an 
index.jsp that redirects to a struts action (through the controller) that 
forwards to index2.jsp (your real index page).  That way, you're going 
through the controller for every request and can do some common security 
or logging there.

Dave


From: micael [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Re: Session Values for Action.LOCALE_KEY Change
Date: Tue, 10 Sep 2002 16:04:55 -0700

The problem was that there were different sessions.  So, I solved my 
problem temporarily by creating a home.jsp in the same session as the 
other pages, which is a different session for reasons I don't yet 
understand from index.jsp.  Additionally, if I set my browser for 
Italian, now the index.jsp page always is in English, but when I go to 
the other pages they pick up the default value.  What is going on here?   
I do not send the index.jsp page to the controller.

At 03:56 PM 9/10/2002 -0600, you wrote:
Do you directly link to the index.jsp or go through the controller 
servlet?
You say the locale in the session is different on index.jsp, verify that 
you're in the same session between pages.

Hope that helps,
Dave


From: micael [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Session Values for Action.LOCALE_KEY Change
Date: Tue, 10 Sep 2002 14:13:28 -0700

I set the session locale in a language.jsp page with:
   session.setAttribute(Action.LOCALE_KEY, new Locale(language));
where language is a return from a form parameter locale via:
String localeValue = request.getParameter(locale);
String language = 

sites powered by struts

2002-09-11 Thread Jefferson R. de O. e Silva

Hi guys,

I'm in a process of trying to convince my developement team to use the struts in a new 
project 
here. 

Can anyone tell me any site which is using struts ? There are some people here wanting
to see results

Thanks in advance

Jefferson

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: sites powered by struts

2002-09-11 Thread Naveen . Dhotre





here is one :
http://www.britannia-music.co.uk/Home.do

ta..

Naveen Dhotre,
Consultant
Uovo Fi SYSTEM

Main: +44 (0) 1 494 685 700, Fax: +44 (0) 1494 685 707
Email: [EMAIL PROTECTED],  Web:  http://www.uovo.com








Jefferson R. de O. e Silva [EMAIL PROTECTED] on 11/09/2002 14:36:48

Please respond to Struts Users Mailing List [EMAIL PROTECTED];
  Please respond to [EMAIL PROTECTED]





  
  
  
 To:  [EMAIL PROTECTED]  
  
 cc:  (bcc: Naveen Dhotre/Uovo/UK)
  
  
  
 Subject: sites powered by struts 
  







Hi guys,

I'm in a process of trying to convince my developement team to use the struts in
a new project
here.

Can anyone tell me any site which is using struts ? There are some people here
wanting
to see results

Thanks in advance

Jefferson

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]






--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




AW: sites powered by struts

2002-09-11 Thread Juraj Lenharcik

try this:
https://egovernment.100world.com/ewodemo-lhh/viewMrIndex.do

https://egovernment.100world.com/ewodemo-erl/viewMrIndex.do

-Ursprüngliche Nachricht-
Von: Jefferson R. de O. e Silva [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 11. September 2002 15:37
An: [EMAIL PROTECTED]
Betreff: sites powered by struts


Hi guys,

I'm in a process of trying to convince my developement team to use the
struts in a new project 
here. 

Can anyone tell me any site which is using struts ? There are some people
here wanting
to see results

Thanks in advance

Jefferson

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: sites powered by struts

2002-09-11 Thread Nick Sharples


[EMAIL PROTECTED] writes:
  here is one :
  http://www.britannia-music.co.uk/Home.do
  
  ta..
  
  Naveen Dhotre,
  Consultant
  Uovo Fi SYSTEM
  
  Main: +44 (0) 1 494 685 700, Fax: +44 (0) 1494 685 707
  Email: [EMAIL PROTECTED],  Web:  http://www.uovo.com

Does anyone know what the server this site is, because it really does
fly.

Cheers.

..Nick

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: sites powered by struts

2002-09-11 Thread Tiago Nodari


 I think in the Struts resource page there is a list of sites

 If you want to see an application and look at the code look at the 
Roller Weblogger (http://www.rollerweblogger.org/), you can donwload the 
source and there is a link to article explaining the application

At 10:36 AM 9/11/2002 -0300, you wrote:
Hi guys,

I'm in a process of trying to convince my developement team to use the 
struts in a new project
here.

Can anyone tell me any site which is using struts ? There are some people 
here wanting
to see results

Thanks in advance

Jefferson

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: sites powered by struts

2002-09-11 Thread Naveen . Dhotre





The site www.britannia-music.co.uk is running Apache/1.3.26 (Unix) mod_ssl/2.8.9
OpenSSL/0.9.5a Resin/1.2.7 on Linux


Naveen Dhotre,
Consultant
Uovo Fi SYSTEM

Main: +44 (0) 1 494 685 700, Fax: +44 (0) 1494 685 707
Email: [EMAIL PROTECTED],  Web:  http://www.uovo.com








Nick Sharples [EMAIL PROTECTED] on 11/09/2002 14:54:07

Please respond to Struts Users Mailing List [EMAIL PROTECTED];
  Please respond to [EMAIL PROTECTED]





  
  
  
 To:  Struts Users Mailing List 
  [EMAIL PROTECTED]
  
 cc:  (bcc: Naveen Dhotre/Uovo/UK)
  
  
  
 Subject: Re: sites powered by struts 
  








[EMAIL PROTECTED] writes:
  here is one :
  http://www.britannia-music.co.uk/Home.do
 
  ta..
 
  Naveen Dhotre,
  Consultant
  Uovo Fi SYSTEM
 
  Main: +44 (0) 1 494 685 700, Fax: +44 (0) 1494 685 707
  Email: [EMAIL PROTECTED],  Web:  http://www.uovo.com

Does anyone know what the server this site is, because it really does
fly.

Cheers.

..Nick

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]






--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: sites powered by struts

2002-09-11 Thread Jin Bal

I have worked on the underlying software for this site(quite a while ago
now) and I believe it uses Resin although that could well have changed now
- Original Message -
From: Nick Sharples [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, September 11, 2002 2:54 PM
Subject: Re: sites powered by struts



 [EMAIL PROTECTED] writes:
   here is one :
   http://www.britannia-music.co.uk/Home.do
  
   ta..
  
   Naveen Dhotre,
   Consultant
   Uovo Fi SYSTEM
  
   Main: +44 (0) 1 494 685 700, Fax: +44 (0) 1494 685 707
   Email: [EMAIL PROTECTED],  Web:  http://www.uovo.com

 Does anyone know what the server this site is, because it really does
 fly.

 Cheers.

 ..Nick

 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




AW: sites powered by struts

2002-09-11 Thread Juraj Lenharcik

wow Resin/1.2.7 :-)

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 11. September 2002 15:56
An: Struts Users Mailing List; [EMAIL PROTECTED]
Betreff: Re: sites powered by struts






The site www.britannia-music.co.uk is running Apache/1.3.26 (Unix)
mod_ssl/2.8.9
OpenSSL/0.9.5a Resin/1.2.7 on Linux


Naveen Dhotre,
Consultant
Uovo Fi SYSTEM

Main: +44 (0) 1 494 685 700, Fax: +44 (0) 1494 685 707
Email: [EMAIL PROTECTED],  Web:  http://www.uovo.com








Nick Sharples [EMAIL PROTECTED] on 11/09/2002 14:54:07

Please respond to Struts Users Mailing List
[EMAIL PROTECTED];
  Please respond to [EMAIL PROTECTED]
 

 

 



  
  
  
 To:  Struts Users Mailing List 
  [EMAIL PROTECTED]
  
 cc:  (bcc: Naveen Dhotre/Uovo/UK)
  
  
  
 Subject: Re: sites powered by struts 
  








[EMAIL PROTECTED] writes:
  here is one :
  http://www.britannia-music.co.uk/Home.do
 
  ta..
 
  Naveen Dhotre,
  Consultant
  Uovo Fi SYSTEM
 
  Main: +44 (0) 1 494 685 700, Fax: +44 (0) 1494 685 707
  Email: [EMAIL PROTECTED],  Web:  http://www.uovo.com

Does anyone know what the server this site is, because it really does
fly.

Cheers.

..Nick

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]






--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: set a value from a form to a form

2002-09-11 Thread Michael Lee

?I haven't used hidden fields in over 4 years and have never had a problem.
You definately have to be careful with what you stick in the session, I
agree. I don't think it makes the app less scaleable as long as you use a
session object responsibly.  I've been using sessions since they've been
around and have never had a problem. I like the end user to see as little as
possible when it comes to controlling variables. I make an exception when I
want to give them access to something pertinent (the URL for mapquest is a
good example). This is a potential security hole (of which I have been able
to take advantage of before, not maliciously of course, just as a matter of
curiosity).

You can get the value you need from your form bean out of the request. The
problem is you lose scope unless you put it in the session. The more I think
about it the more I'm realising it's either the session or a hidden field
because there is no way to get data between requests outside of those
mechanisms. A request is just that, a request per page
hmmm...
So it's session if you don't want the user to see anything or hidden fields
if you don't want to put the data in the session for some reason.
thanks, I've always just stuck this stuff in the session but I may have a
valid case for a hidden field.
Mike

- Original Message -
From: John Yu [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, September 11, 2002 3:21 AM
Subject: Re: set a value from a form to a form


 Mike,

 Using hidden fields is the general practice as it allows you to
 distribute the conversation state of the session to the clients and
makes
 your app more scalable.

 Use session with care. You need to consider multi-threading and
 concurrent-request issues if the data is stored in the session.


 At 02:15 pm 11-09-2002, you wrote:
 You do understand me! :)
 I use a hidden field now. I was trying to get away from that though so
the
 user will not see it. I may have to put it in the session.
 Any ideas?
 thanks,
 Mike
 
 - Original Message -
 From: John Yu [EMAIL PROTECTED]
 To: Struts Users Mailing List [EMAIL PROTECTED]
 Sent: Tuesday, September 10, 2002 10:09 PM
 Subject: Re: set a value from a form to a form
 
 
   Mike,
  
   If I understand you correctly, you want to retain the value when the
form
   is submitted. One option is to use bean:message to display the value
and
   use html:hidden to retain the value for form submission.
  
   html:form ...
  Prop1: bean:message name=myForm property=prop1/
  html:hidden name=myForm property=prop1/
  ...
   /html:form
  
   The value is *not* retained in a bean. It's just resubmitted as an URI
   parameter. If you let Struts do the auto formbean population, you will
get
   it in the actionform object.
  
   Bean created by bean:define in the request scope will disappear
 because
   whenever you submit the form, that's a complete new request.
  
  
   At 06:36 am 11-09-2002, you wrote:
   I have a form object that populates html fields. The problem is, I
want
 to
   display some of the form data and have it uneditable. When I submit
the
   form loses all the data that is not in an html:.. tag.
   I've tried...
bean:define id=userRole name=userForm property=userRole
scope=request toScope=request/
   but this doesnt seem to work
   thanks,
   Mike
  

 --
 John Yu   Scioworks Technologies
 e: [EMAIL PROTECTED] w: +(65) 873 5989
 w: http://www.scioworks.com   m: +(65) 9782 9610

 Scioworks Camino - Don't develop Struts Apps without it!
 Copyright (c) 2002 John Yu/Scioworks Technologies. All rights reserved.


 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: passing parameters

2002-09-11 Thread Craig Longman

On Wed, 2002-09-11 at 08:15, Galbreath, Mark wrote:
 Go to www.amazon.com.
 
 Search for books, Mastering Jakarta Struts.
 
 Click checkout.
 
 Purchase book.
 
 Read it, learn it, live it.

thats great. thanks.



-- 

CraigL-Thx();
Be Developer ID: 5852




signature.asc
Description: This is a digitally signed message part


Re: Struts 1.1 Final release

2002-09-11 Thread Michael Lee

Be nice
There are no ship dates for jakarta stuff. It is released when it meets a
certain level of quality/features.
You can help it meet the ship date! It's open source!
I'm going to ask my bosses if I can release some of my code here as examples
(modified to protect our interests of course). Lots of good examples.

- Original Message -
From: Andrew Hill [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, September 11, 2002 4:50 AM
Subject: RE: Struts 1.1 Final release


 I believe this has been answered a few million times, but since
searching
 the archive can be a tiresome experience (seriously. The archive search
 really does suck!) I shall repeat my previous answer.

 snip
 The 12th of April 2156 at 15:28 in the afternoon.
 Or perhaps even sooner if its ready before then... ;-)
 /snip

 hehe

 For more info you can take a look at the faq:
 http://jakarta.apache.org/struts/kickstart.html#release



 -Original Message-
 From: Vikas Sangwan [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, September 11, 2002 16:40
 To: Struts Users Mailing List
 Subject: Struts 1.1 Final release



 Hi,
 Can somebody tell me, when can we expect production release od Struts 1.1
?
 Thanks in advance.
 Vikas.


 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Apple Web Objects

2002-09-11 Thread David Blevins

Hi Adrian,

Just wanted to add a note about WebObjects and EJBs.  Apple has been
using OpenEJB to support EJBs since WebObjects 5.1.  So, you can write
all the EJB 1.1 beans that you want and they will interoperate from
WebObjects' EOF and other parts of WebObjects.

If you look at the WebObjects' Tech Spec page, OpenEJB, OpenORB, and
Tyrex are listed, but they don't give URLs, so here they are:
http://openejb.sourceforge.net
http://openorb.sourceforge.net/
http://tyrex.sourceforge.net/

Regards,
David

 -Original Message-
 From: Adrian Brown [mailto:[EMAIL PROTECTED]] 
 Sent: Tuesday, September 10, 2002 7:59 PM
 To: Struts Users Mailing List
 Subject: Apple Web Objects
 
 
 Noting the spirit of open comment and criticism on 
 Struts-alternative products in the J2EE community, I was 
 mildly surprised to search the archives of theserverside and 
 the Struts users list and find no reference to 'Apple Web Objects'.
 
 I was wondering if anyone had come across them in
 their travels. Their WYSIWYG approach is attractive,
 throwing away servlets and jsps does worry me but if
 it is still Java then it is still preferable to .Net,
 right? I may even be able to keep my EJBs ... 
 
 At US$1500 for a licence, is it worth looking into
 further?
 
 
 Home page:
 http://www.apple.com/webobjects
 
 Flashy pic: 
 http://developer.apple.com/techpubs/webobjects/WebObjectsOverv
iew/WOHTML/index.html

Thanks,

Adrian

http://mobile.yahoo.com.au - Yahoo! Messenger for SMS
- Now send  receive IMs on your mobile via SMS

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: sites powered by struts

2002-09-11 Thread Michael Lee

Go to the 'Powered by Struts' section
http://jakarta.apache.org/struts/doc-1.0.2/userGuide/resources.html

I personally have 2 systems in production on it and am working on a third.
Mike

- Original Message -
From: [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Wednesday, September 11, 2002 9:45 AM
Subject: Re: sites powered by struts






 here is one :
 http://www.britannia-music.co.uk/Home.do

 ta..

 Naveen Dhotre,
 Consultant
 Uovo Fi SYSTEM

 Main: +44 (0) 1 494 685 700, Fax: +44 (0) 1494 685 707
 Email: [EMAIL PROTECTED],  Web:  http://www.uovo.com








 Jefferson R. de O. e Silva [EMAIL PROTECTED] on 11/09/2002 14:36:48

 Please respond to Struts Users Mailing List
[EMAIL PROTECTED];
   Please respond to [EMAIL PROTECTED]








  To:  [EMAIL PROTECTED]

  cc:  (bcc: Naveen Dhotre/Uovo/UK)



  Subject: sites powered by struts








 Hi guys,

 I'm in a process of trying to convince my developement team to use the
struts in
 a new project
 here.

 Can anyone tell me any site which is using struts ? There are some people
here
 wanting
 to see results

 Thanks in advance

 Jefferson

 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
mailto:[EMAIL PROTECTED]






 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: JDO example - rozpakowywac Commanderem

2002-09-11 Thread James Mitchell

Was there a question in there I missed?

James Mitchell
Software Engineer\Struts Evangelist
Struts-Atlanta, the Open Minded Developer Network
http://www.open-tools.org/struts-atlanta




 -Original Message-
 From: Dariusz Wojtas [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, September 11, 2002 3:19 AM
 To: Struts Users Mailing List
 Subject: JDO example - rozpakowywac Commanderem


 Wednesday, September 11, 2002, 6:55:25 AM, you wrote:
 JM Sorry for the delay.  I've decided to post this on our website.

 JM Please feel free to download and try it out.

 JM  http://www.open-tools.org/struts-atlanta/downloads/DBMessageResources

 JM If for some reason the site goes down, just send me an email
 and I'll get it
 JM to you.




 JM James Mitchell
 JM Software Engineer\Struts Evangelist
 JM Struts-Atlanta, the Open Minded Developer Network
 JM http://www.open-tools.org/struts-atlanta




  -Original Message-
  From: James Mitchell [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, September 10, 2002 3:06 PM
  To: Struts Users Mailing List
  Subject: [Announce] [New Extension]
 ApplicationResources.properties from
  Database
 
 
  For anyone interested, I have finished implementing DBMessageResources
  which allows you to keep the key-value pairs (from your
  ApplicationResources.properties) in a single database table.
 
  You can load your property files into a table (generic schema
 is provided)
  and with this extension, by only modifying message-resources in the
  struts-config.xml your application will run WITHOUT ANY code
 changes. (See
  the readme.txt file included)
 
  This extension uses OJB (http://jakarta.apache.org/ojb) O/R mapping for
  database configuration and connection pool management.
 
  I have included a modified version of the (1.1b2) struts-example to
  demonstrate.
 
  I have tested this with Struts 1.1b2, and I'm sure it will
 work with 1.1b1
  (If anyone requires a 1.0.x compatible, I can look at that also)
 
  I will get this project available as soon as I work through some
  cvs issues
  on sf.net:
 
  If anyone is REALLY itching to get their hands on it sooner, send me a
  email.
 
  For those who were waiting, thanks for your patience.
 
 
  James Mitchell
  Software Engineer\Struts Evangelist
  Struts-Atlanta, the Open Minded Developer Network
  http://www.open-tools.org/struts-atlanta
 
 
  --
  To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
 
 


 JM --
 JM To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
JM For additional commands, e-mail:
mailto:[EMAIL PROTECTED]




--
Best regards,
 Dariusz Wojtas mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Question for using struts as our standard MVC framework

2002-09-11 Thread Khan, Manuchehar A (ACF)

Hello Folks. I work for Govt and we have major policy meeting for using
struts as our stantard framework. 
One developer in our team took the Sun pet store example and created a
framework that is basically a router/controller with xml configuration files
to define handlers and views. And that controller works fine..
He claims that strut has not followed sun standards and guidelines and
struts is not reliable. It can only support maximum 100 users and next year
struts team is coming up with new version based in JSTL and will trash all
releases.
I need some inputs from people here to make solid arguments for changing to
struts. 
Thanks...



-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 10:34 AM
To: Struts Users Mailing List; Dariusz Wojtas
Subject: RE: JDO example - rozpakowywac Commanderem


Was there a question in there I missed?

James Mitchell
Software Engineer\Struts Evangelist
Struts-Atlanta, the Open Minded Developer Network
http://www.open-tools.org/struts-atlanta




 -Original Message-
 From: Dariusz Wojtas [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, September 11, 2002 3:19 AM
 To: Struts Users Mailing List
 Subject: JDO example - rozpakowywac Commanderem


 Wednesday, September 11, 2002, 6:55:25 AM, you wrote:
 JM Sorry for the delay.  I've decided to post this on our website.

 JM Please feel free to download and try it out.

 JM  http://www.open-tools.org/struts-atlanta/downloads/DBMessageResources

 JM If for some reason the site goes down, just send me an email
 and I'll get it
 JM to you.




 JM James Mitchell
 JM Software Engineer\Struts Evangelist
 JM Struts-Atlanta, the Open Minded Developer Network
 JM http://www.open-tools.org/struts-atlanta




  -Original Message-
  From: James Mitchell [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, September 10, 2002 3:06 PM
  To: Struts Users Mailing List
  Subject: [Announce] [New Extension]
 ApplicationResources.properties from
  Database
 
 
  For anyone interested, I have finished implementing DBMessageResources
  which allows you to keep the key-value pairs (from your
  ApplicationResources.properties) in a single database table.
 
  You can load your property files into a table (generic schema
 is provided)
  and with this extension, by only modifying message-resources in the
  struts-config.xml your application will run WITHOUT ANY code
 changes. (See
  the readme.txt file included)
 
  This extension uses OJB (http://jakarta.apache.org/ojb) O/R mapping for
  database configuration and connection pool management.
 
  I have included a modified version of the (1.1b2) struts-example to
  demonstrate.
 
  I have tested this with Struts 1.1b2, and I'm sure it will
 work with 1.1b1
  (If anyone requires a 1.0.x compatible, I can look at that also)
 
  I will get this project available as soon as I work through some
  cvs issues
  on sf.net:
 
  If anyone is REALLY itching to get their hands on it sooner, send me a
  email.
 
  For those who were waiting, thanks for your patience.
 
 
  James Mitchell
  Software Engineer\Struts Evangelist
  Struts-Atlanta, the Open Minded Developer Network
  http://www.open-tools.org/struts-atlanta
 
 
  --
  To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
 
 


 JM --
 JM To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
JM For additional commands, e-mail:
mailto:[EMAIL PROTECTED]




--
Best regards,
 Dariusz Wojtas mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]



--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




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.  WebObjects is an IDE/application server/set of libraries.
You can code in either Java or Objective C but originally it was
Objective C only.  The Apple online store is a WebObjects app written in
Objective C.

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




[OT][Sockets] SocketException connection reset by peer

2002-09-11 Thread Morycz, Felicia V

I have a struts front-end that communicates to a CICS backend using TCP/IP
Sockets.  My communications are simple, but I am getting a SocketException,
connection reset by peer.

Here are my communications

1.  write a string to the output stream and flush
2.  buffered read a string
3.  write a string to the output stream and flush
4.  buffered read a string

I get the connection reset by peer SocketException on step 4.  When the CICS
backend goes to read what I wrote in step 3, it doesn't find it yet.  We
must hard code a delay on the read on the CICS backend for step 3, and then
we are successful.

Why?

This CICS backend has other front ends that can communicate successfully
without needing the delay.

I am trying to learn more about socket communications.  Please let me know
if you have any suggestions on what I could try next.  Any suggested reading
material?  I have gone through the API docs for sockets and the Sun
tutorial.

I am using Tomcat 4.1, Struts 1.1-b2 and JDK 1.4.

Regards,

Felicia


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




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

2002-09-11 Thread John Owen

Maybe I can generate some nostalgia as well :

My family got an Apple II+ when I was about 8. Immediately, I began toying
around with it to play games (sometimes educational) and eventually (around
age 9 or 10) I stumbled upon Nibble, Byte and Compute magazines. I would
badger my Dad to take me to the local library to get the latest issues. When
we went to big cities like Seattle, New York and Chicago, I would make sure
we went by the big libraries so that I could Xerox as many source listings
as humanly possible. I didn't have a hard drive (duh) and I would code in
BASIC under Apple's Pro-Dos. Some of the listings were in assembler and I
could never get my folks to buy me one. I figured out that I could drop into
a command-line assembler (lol, actually probably just an interface to
machine code) by crashing Pro-Dos during boot - then I could enter those
listings. I could never figure out how to save work as I went, so I had to
code them exactly right so that I could save them at the end or I would just
be wasting time. Many of the listings had errors or parts left to be
implemented later and I took those as challenges, since there was no
guarantee that I would see the next issue soon enough to be of use.

By age 11, I had learned Pascal and had become an expert at hex-editing
Apple II applications. ;) A few years later I got an Apple IIGS for
Christmas, I think. I dorked around with it until I got to college and
upgraded to a Mac IIsi (that's where you REALLY date yourself Mark ;) ). I
messed around with Pascal until I learned c later that year and eventually
migrated to c++, assembler. I picked up on Java about 3-4 years ago and only
over the last 2 years have I gotten to really work with it professionally.

John
- Original Message -
From: Andrew Hill [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, September 11, 2002 7:02 AM
Subject: RE: [OT][ALT-TECH] Apple Web Objects


 Ok, so its not Friday, but Im always in the mood for tech-nostalgia... ;-)

 I remember teaching myself C back in 1990 on my Amiga 2000 (using the
 Lattice compiler  a copy of KR).
 Laughing at the poor MAC+ users I knew with their clunky one button mice
and
 tiny black  white displays. (If I recall rightly the multitasking in the
 MacOS back then wasnt even preemtive?)
 Ah the good ol Amiga. A far more worthy home for the Motorola 68000...
 Keep the faith! Amiga shall return!

 Wonder if it will be back in time to run Struts1.1 final? hehe

 -Original Message-
 From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, September 11, 2002 19:43
 To: 'Struts Users Mailing List'
 Subject: RE: [ALT-TECH] Apple Web Objects


 .NET is a framework, not a programming language, and you can use Java to
 develop within it (albeit JDK 1.1 at this time).  In fact, it will not be
 long before you can use any language to develop within it, and look for a
 Linux version in the near future.

 dating-myselfI taught myself C on a Mac Plus (which I personally
upgraded
 from a Fat Mac) using Symantec's Think C 5.0/dating-myself, but I've
 lost touch with Apple technology over the years (though I've bought my
kids
 IMacs and I still have a MacIIsi and Centris 610), but I'm sure it's worth
 investigating.

 Mark

 -Original Message-
 From: Adrian Brown [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, September 10, 2002 8:59 PM

 Noting the spirit of open comment and criticism on
 Struts-alternative products in the J2EE community, I
 was mildly surprised to search the archives of
 theserverside and the Struts users list and find no
 reference to 'Apple Web Objects'.

 I was wondering if anyone had come across them in
 their travels. Their WYSIWYG approach is attractive,
 throwing away servlets and jsps does worry me but if
 it is still Java then it is still preferable to .Net,
 right? I may even be able to keep my EJBs ...

 At US$1500 for a licence, is it worth looking into
 further?


 Home page:
 http://www.apple.com/webobjects

 Flashy pic:

http://developer.apple.com/techpubs/webobjects/WebObjectsOverview/WOHTML/ind
 ex.html

 Thanks,

 Adrian

 http://mobile.yahoo.com.au - Yahoo! Messenger for SMS
 - Now send  receive IMs on your mobile via SMS

 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]

 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]


 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




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 was an LC475 (LC68030) followed by
a 7200.  I then worked for Apple for a year during which time I bought
myself an 8600 on employee purchase :D.

Before Macs I had been an Atari ST and Sinclair Spectrum guy.  I now
almost exclusively use a PC :(.  Which is a shame.  I am seriously
considering a new Mac and OS X.

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




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

2002-09-11 Thread Darren Hill

As far as I can tell its not Friday ... but I do wish it was.

-Original Message-
From: Mark Kaye [mailto:[EMAIL PROTECTED]]
Sent: September 11, 2002 10:43 AM
To: Struts Users Mailing List
Subject: RE: [OT][ALT-TECH] Apple Web Objects


 -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 was an LC475 (LC68030) followed by
a 7200.  I then worked for Apple for a year during which time I bought
myself an 8600 on employee purchase :D.

Before Macs I had been an Atari ST and Sinclair Spectrum guy.  I now
almost exclusively use a PC :(.  Which is a shame.  I am seriously
considering a new Mac and OS X.

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Struts 1.1 Final release

2002-09-11 Thread Donald Ball

On 9/11/2002 at 10:06 AM Michael Lee wrote:

Be nice
There are no ship dates for jakarta stuff. It is released when it meets a
certain level of quality/features.
You can help it meet the ship date! It's open source!

It might have been more helpful to point the user towards the real release
plan:

http://jakarta.apache.org/struts/proposals/release-plan-1.1b2.html

not the there is no release date page (which is, imho, a total cop-out).

- donald


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




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

2002-09-11 Thread Chappell, Simon P

As an ex ZX81/ZX Spectrum/Atari ST kinda guy, I can seriously recommend the new Macs 
especially with OS X. I have even gotten as far as to get the struts example 
application to work, under JBoss, on it. (How's that for keeping the conversation 
on-topic? :-)

Simon

-Original Message-
From: Mark Kaye [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 9:43 AM
To: Struts Users Mailing List
Subject: RE: [OT][ALT-TECH] Apple Web Objects


 -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 was an LC475 (LC68030) followed by
a 7200.  I then worked for Apple for a year during which time I bought
myself an 8600 on employee purchase :D.

Before Macs I had been an Atari ST and Sinclair Spectrum guy.  I now
almost exclusively use a PC :(.  Which is a shame.  I am seriously
considering a new Mac and OS X.

--
To unsubscribe, e-mail:   
mailto:struts-user-[EMAIL PROTECTED]
For 
additional commands, 
e-mail: mailto:[EMAIL PROTECTED]



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Question for using struts as our standard MVC framework

2002-09-11 Thread James Mitchell

Sounds like a political argument more than anything else.

I could list 100 reasons to choose Struts, but it wouldn't change the mind
of someone who 'wants' to use what they have builtespecially if they
have a long standing history as defending champion in the Vi(m)  vs.
(X)Emacs debate.

I wish you luck in your endeavor.



James Mitchell
Software Engineer\Struts Evangelist
Struts-Atlanta, the Open Minded Developer Network
http://www.open-tools.org/struts-atlanta

P.S. Tell them to stop being so ignorant and pickup FUC#ING book.
Hmmmlike the STRUTS book by Chuck Cavaness ;)


 -Original Message-
 From: Khan, Manuchehar A (ACF) [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, September 11, 2002 10:37 AM
 To: 'Struts Users Mailing List'
 Subject: Question for using struts as our standard MVC framework


 Hello Folks. I work for Govt and we have major policy meeting for using
 struts as our stantard framework.
 One developer in our team took the Sun pet store example and created a
 framework that is basically a router/controller with xml
 configuration files
 to define handlers and views. And that controller works fine..
 He claims that strut has not followed sun standards and guidelines and
 struts is not reliable. It can only support maximum 100 users and
 next year
 struts team is coming up with new version based in JSTL and will trash all
 releases.
 I need some inputs from people here to make solid arguments for
 changing to
 struts.
 Thanks...



 -Original Message-
 From: James Mitchell [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, September 11, 2002 10:34 AM
 To: Struts Users Mailing List; Dariusz Wojtas
 Subject: RE: JDO example - rozpakowywac Commanderem


 Was there a question in there I missed?

 James Mitchell
 Software Engineer\Struts Evangelist
 Struts-Atlanta, the Open Minded Developer Network
 http://www.open-tools.org/struts-atlanta




  -Original Message-
  From: Dariusz Wojtas [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, September 11, 2002 3:19 AM
  To: Struts Users Mailing List
  Subject: JDO example - rozpakowywac Commanderem
 
 
  Wednesday, September 11, 2002, 6:55:25 AM, you wrote:
  JM Sorry for the delay.  I've decided to post this on our website.
 
  JM Please feel free to download and try it out.
 
  JM
 http://www.open-tools.org/struts-atlanta/downloads/DBMessageResources
 
  JM If for some reason the site goes down, just send me an email
  and I'll get it
  JM to you.
 
 
 
 
  JM James Mitchell
  JM Software Engineer\Struts Evangelist
  JM Struts-Atlanta, the Open Minded Developer Network
  JM http://www.open-tools.org/struts-atlanta
 
 
 
 
   -Original Message-
   From: James Mitchell [mailto:[EMAIL PROTECTED]]
   Sent: Tuesday, September 10, 2002 3:06 PM
   To: Struts Users Mailing List
   Subject: [Announce] [New Extension]
  ApplicationResources.properties from
   Database
  
  
   For anyone interested, I have finished implementing
 DBMessageResources
   which allows you to keep the key-value pairs (from your
   ApplicationResources.properties) in a single database table.
  
   You can load your property files into a table (generic schema
  is provided)
   and with this extension, by only modifying message-resources in the
   struts-config.xml your application will run WITHOUT ANY code
  changes. (See
   the readme.txt file included)
  
   This extension uses OJB (http://jakarta.apache.org/ojb) O/R
 mapping for
   database configuration and connection pool management.
  
   I have included a modified version of the (1.1b2) struts-example to
   demonstrate.
  
   I have tested this with Struts 1.1b2, and I'm sure it will
  work with 1.1b1
   (If anyone requires a 1.0.x compatible, I can look at that also)
  
   I will get this project available as soon as I work through some
   cvs issues
   on sf.net:
  
   If anyone is REALLY itching to get their hands on it sooner,
 send me a
   email.
  
   For those who were waiting, thanks for your patience.
  
  
   James Mitchell
   Software Engineer\Struts Evangelist
   Struts-Atlanta, the Open Minded Developer Network
   http://www.open-tools.org/struts-atlanta
  
  
   --
   To unsubscribe, e-mail:
   mailto:[EMAIL PROTECTED]
   For additional commands, e-mail:
   mailto:[EMAIL PROTECTED]
  
  
 
 
  JM --
  JM To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 JM For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]




 --
 Best regards,
  Dariusz Wojtas mailto:[EMAIL PROTECTED]


 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]



 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]

 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]




--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




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

2002-09-11 Thread John Owen

I converted to x86 when the P3 came out. Man, my IIsi with a LaserWriter
cost $4k with a school discount in 1990. Talk about expensive!

I also left out some of my background. Between 10-15, I was in a talented
and gifted program where I did BASIC programming on TRS-80s. There was a
guy who was a sophomore in high school who was a wizard with that thing. He
made a really cool game that was action/puzzle related with like 20 levels.

John
- Original Message -
From: Mark Kaye [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, September 11, 2002 9:42 AM
Subject: RE: [OT][ALT-TECH] Apple Web Objects


 -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 was an LC475 (LC68030) followed by
a 7200.  I then worked for Apple for a year during which time I bought
myself an 8600 on employee purchase :D.

Before Macs I had been an Atari ST and Sinclair Spectrum guy.  I now
almost exclusively use a PC :(.  Which is a shame.  I am seriously
considering a new Mac and OS X.

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




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

2002-09-11 Thread Bryan Hilterbrand

Next we'll be talking about teletypes and punched paper tape.  Ahhh, the
good, old days.

Bryan

P.S. My first computer was an Apple ][+ (you have to use the brackets...),
and it saw me through the latter half of high school and college.  I bought
a daisywheel printer, and my teachers were in awe of my typing abilities.

- Original Message -
From: John Owen [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Wednesday, September 11, 2002 8:41 AM
Subject: Re: [OT][ALT-TECH] Apple Web Objects


Maybe I can generate some nostalgia as well :

My family got an Apple II+ when I was about 8. Immediately, I began toying
around with it to play games (sometimes educational) and eventually (around
age 9 or 10) I stumbled upon Nibble, Byte and Compute magazines. I would
badger my Dad to take me to the local library to get the latest issues. When
we went to big cities like Seattle, New York and Chicago, I would make sure
we went by the big libraries so that I could Xerox as many source listings
as humanly possible. I didn't have a hard drive (duh) and I would code in
BASIC under Apple's Pro-Dos. Some of the listings were in assembler and I
could never get my folks to buy me one. I figured out that I could drop into
a command-line assembler (lol, actually probably just an interface to
machine code) by crashing Pro-Dos during boot - then I could enter those
listings. I could never figure out how to save work as I went, so I had to
code them exactly right so that I could save them at the end or I would just
be wasting time. Many of the listings had errors or parts left to be
implemented later and I took those as challenges, since there was no
guarantee that I would see the next issue soon enough to be of use.

By age 11, I had learned Pascal and had become an expert at hex-editing
Apple II applications. ;) A few years later I got an Apple IIGS for
Christmas, I think. I dorked around with it until I got to college and
upgraded to a Mac IIsi (that's where you REALLY date yourself Mark ;) ). I
messed around with Pascal until I learned c later that year and eventually
migrated to c++, assembler. I picked up on Java about 3-4 years ago and only
over the last 2 years have I gotten to really work with it professionally.

John



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Additional logic:iterate helper tags wanted

2002-09-11 Thread Donald Ball

On 9/6/2002 at 4:46 PM Martin Cooper wrote:

If you're using a JSP 1.2 container (e.g. Tomcat 4.x, Resin 2.x), you can
do
this (and many other cool things) using the JSTL c:forEach tag:

  c:forEach items=items var=item varStatus=status
c:out value=${item}/
c:if test=${!status.last}
  ...is followed by...
/c:if
  /c:forEach

This is a great reason to start getting familiar with JSTL. :-)

(sorry for resurrecting an old thread, I neglected to post my thoughts
earlier)

This is what totally bugs me about JSP pages, I'm curious to see if anyone
else here shares my concerns. Early JSP pages freely mingled java code
(scriptlets) and html markup. This development style was quickly seen to be
poor for a few reasons:

* java coders and html designers had to edit the same files, causing no end
of confusion and synchronization problems

* the intermingling of logic and design makes pages messy and hard to
maintain

* it was difficult to reuse code from page to page, except by cutting and
pasting

Taglibs are offered as a solution for this, but I wonder how effective they
really are at solving these problems. Instead of writing % for (int i=0;
i... etc % you write c:forEach pre={$i}=0 ...  or what have you.
Okay, it's arguably nicer looking and easier to validate since it tends to
follow standard xml syntax rules instead of the % % hacks, but does it
really solve the aforementioned problems? Sure, disciplined developers can
reuse code more easily by writing (and debugging!) their own taglibs, but
the first two problems remain.

And in the end condition, when you can do anything using JSTL or whatever
other taglibs that you could have written in Java, haven't you just come up
with an xml grammar for the Java language? Which might be intellectually
interesting, but who wants to _program_ using a verbose syntax like xml?
(If you wanted to use lisp, go ahead and use lisp. :))

I'm obviously not a jsp devotee. I think xslt is the natural bridge between
the model objects and the html view. But millions of jsp coders can't be
all wrong, right? What benefits am I glossing over or disregarding? 

- donald


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: syntax question regarding html:link

2002-09-11 Thread Karr, David

 -Original Message-
 From: John Muhlestein [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, September 10, 2002 4:07 PM
 To: '[EMAIL PROTECTED]'
 Subject: syntax question regarding html:link
 
 I want to make a hyperlink which references a value in my
 ApplicationResource file.  
 Is this the proper syntax?
 Is there a better way?
 
 html:link href=bean:message key='other.site.url' /Other
 URL/html:link

It might be better to put URLs in your struts-config.xml file, and display
properties in your properties file.  You could achieve this by defining a
global forward for your URL and then doing this instead:

  html:link forward=other.siteOther URL/html:link

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Problem with muiltpage form and validation framework

2002-09-11 Thread joe lul

First, thanks David Winterfeldt for the validation
package!

I have two one page jsp forms.  The actions are using
(declarative) DynaValidatorForm.  I'm using no
javascript (like in David's example)

First page starts:

html:form action=signup focus=firstName
html:hidden property=page value=1/

Second page form starts:

html:form action=signup focus=parentFirstName
html:hidden property=page value=2/

validation.xml entries look like this:
field property=firstName 
 depends=required,mask
 page=1

With the page=1 in the xml file, validation just
doesn't happen.  If I take page=1 out, it does (but
I can't control which fields are validated of course).

Thanks for your help,

S



__
Yahoo! - We Remember
9-11: A tribute to the more than 3,000 lives lost
http://dir.remember.yahoo.com/tribute

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Question for using struts as our standard MVC framework

2002-09-11 Thread David Graham

1. Struts is maintained and supported by many developers and users, his 
framework is maintained by your small group (or even only him).  This is the 
standard open source argument that OS projects are better because there are 
many people working on it.

2. Many developers are already familiar with struts so new team members 
don't need training in a proprietary framework.  Struts is becoming so 
popular that it's darn near a standard in java web development.

4.  Because struts is open source, you can modify the code to fit your 
needs.  Although, a better/easier approach would be to extend the framework 
which is pretty easy.

5.  To my knowledge, the struts team trys to maintain backwards 
compatibility for new releases and would not trash existing projects.

6.  You can use JSTL tags alongside struts tags with no problems.

7.  Ask for proof that struts is unreliable and can only support 100 users.  
Ask for the specific resources/test data he used to reach those figures.  In 
my experience with struts, I've found it both reliable and scalable.

Dave

 
  Hello Folks. I work for Govt and we have major policy meeting for using
  struts as our stantard framework.
  One developer in our team took the Sun pet store example and created a
  framework that is basically a router/controller with xml
  configuration files
  to define handlers and views. And that controller works fine..
  He claims that strut has not followed sun standards and guidelines and
  struts is not reliable. It can only support maximum 100 users and
  next year
  struts team is coming up with new version based in JSTL and will trash 
all
  releases.
  I need some inputs from people here to make solid arguments for
  changing to
  struts.
  Thanks...
 
 
 
  -Original Message-
  From: James Mitchell [mailto:[EMAIL PROTECTED]]
  Sent: Wednesday, September 11, 2002 10:34 AM
  To: Struts Users Mailing List; Dariusz Wojtas
  Subject: RE: JDO example - rozpakowywac Commanderem
 
 
  Was there a question in there I missed?
 
  James Mitchell
  Software Engineer\Struts Evangelist
  Struts-Atlanta, the Open Minded Developer Network
  http://www.open-tools.org/struts-atlanta
 
 
 
 
   -Original Message-
   From: Dariusz Wojtas [mailto:[EMAIL PROTECTED]]
   Sent: Wednesday, September 11, 2002 3:19 AM
   To: Struts Users Mailing List
   Subject: JDO example - rozpakowywac Commanderem
  
  
   Wednesday, September 11, 2002, 6:55:25 AM, you wrote:
   JM Sorry for the delay.  I've decided to post this on our website.
  
   JM Please feel free to download and try it out.
  
   JM
  http://www.open-tools.org/struts-atlanta/downloads/DBMessageResources
  
   JM If for some reason the site goes down, just send me an email
   and I'll get it
   JM to you.
  
  
  
  
   JM James Mitchell
   JM Software Engineer\Struts Evangelist
   JM Struts-Atlanta, the Open Minded Developer Network
   JM http://www.open-tools.org/struts-atlanta
  
  
  
  
-Original Message-
From: James Mitchell [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 10, 2002 3:06 PM
To: Struts Users Mailing List
Subject: [Announce] [New Extension]
   ApplicationResources.properties from
Database
   
   
For anyone interested, I have finished implementing
  DBMessageResources
which allows you to keep the key-value pairs (from your
ApplicationResources.properties) in a single database table.
   
You can load your property files into a table (generic schema
   is provided)
and with this extension, by only modifying message-resources in 
the
struts-config.xml your application will run WITHOUT ANY code
   changes. (See
the readme.txt file included)
   
This extension uses OJB (http://jakarta.apache.org/ojb) O/R
  mapping for
database configuration and connection pool management.
   
I have included a modified version of the (1.1b2) struts-example to
demonstrate.
   
I have tested this with Struts 1.1b2, and I'm sure it will
   work with 1.1b1
(If anyone requires a 1.0.x compatible, I can look at that also)
   
I will get this project available as soon as I work through some
cvs issues
on sf.net:
   
If anyone is REALLY itching to get their hands on it sooner,
  send me a
email.
   
For those who were waiting, thanks for your patience.
   
   
James Mitchell
Software Engineer\Struts Evangelist
Struts-Atlanta, the Open Minded Developer Network
http://www.open-tools.org/struts-atlanta
   
   
--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]
   
   
  
  
   JM --
   JM To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
  JM For additional commands, e-mail:
  mailto:[EMAIL PROTECTED]
 
 
 
 
  --
  Best regards,
   Dariusz Wojtas mailto:[EMAIL PROTECTED]
 
 
  --
  To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
  

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

2002-09-11 Thread Eddie Bush

[EMAIL PROTECTED] wrote:

I would agree, I am a recent OS X convert  (Windows is absolute crap, w2k
is digestable..
Linux was my OS of choice, until OS X)
Now we just need JDK 1.4  !
I am wondering why the Java Apple team, is so slow at getting a release
out.

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 
say OS X is so much better than Linux?  I'm very curious!

Oh yeah.. and Tomcat, JBoss, and STRUTS runs wonderfully on OS X

mark

Regards,

Eddie



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Apple Web Objects

2002-09-11 Thread Schneider, Eric

Adrian,

I've used WebObjects since it's 3.5 release (1998ish).  Over the last 18
months or so, I've had various consulting gigs, many porting from a
WebObjects to J2EE app servers.

The meat and potatoes of WebObjects is EOF (object mapping framework) and
WOF (dynamic html generation framework).  EOF is an extremely powerful O/R
mapping framework that has been around way before the internet boom started.
It was originally written in Objective C and later ported to Java.  One of
EOF's major criticisms is it's learning curve.  You really need some time to
get your head around it.

I suppose WOF is comparable to struts.  Same idea, but very different
design.  Actually, the only people I ever heard complain about the
limitations of struts are WebObjects developers.  Once you are familiar with
WOF, you can get a lot done quickly.

Another major criticism is it's IDEs (ProjectBuilder and WOBuilder).  If you
spend enough time under the covers, you quickly realize that Apple spent
most of it's time developing is frameworksand a lot less time on it's
IDEs.  In most organizations, it's the 'higher ups' that make decision on
which app server to use.  These are the type of people that are impressed
auto method selection features with IDEs instead of the stuff that's behind
it.  

I would suggest looking to WO a little further.  Depending on your
situation, it can be a very productive tool.

One a side note, my experiences porting WebObjects applications to J2EE has
been sobering.  I've often been astonished the amount of code that has to be
written to solve the same problem.  :-|

Cheers,
Eric

 -Original Message-
 From: David Blevins [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, September 11, 2002 10:20 AM
 To: 'Struts Users Mailing List'
 Subject: RE: Apple Web Objects
 
 
 Hi Adrian,
 
 Just wanted to add a note about WebObjects and EJBs.  Apple has been
 using OpenEJB to support EJBs since WebObjects 5.1.  So, you can write
 all the EJB 1.1 beans that you want and they will interoperate from
 WebObjects' EOF and other parts of WebObjects.
 
 If you look at the WebObjects' Tech Spec page, OpenEJB, OpenORB, and
 Tyrex are listed, but they don't give URLs, so here they are:
 http://openejb.sourceforge.net
 http://openorb.sourceforge.net/
 http://tyrex.sourceforge.net/
 
 Regards,
 David
 
  -Original Message-
  From: Adrian Brown [mailto:[EMAIL PROTECTED]] 
  Sent: Tuesday, September 10, 2002 7:59 PM
  To: Struts Users Mailing List
  Subject: Apple Web Objects
  
  
  Noting the spirit of open comment and criticism on 
  Struts-alternative products in the J2EE community, I was 
  mildly surprised to search the archives of theserverside and 
  the Struts users list and find no reference to 'Apple Web Objects'.
  
  I was wondering if anyone had come across them in
  their travels. Their WYSIWYG approach is attractive,
  throwing away servlets and jsps does worry me but if
  it is still Java then it is still preferable to .Net,
  right? I may even be able to keep my EJBs ... 
  
  At US$1500 for a licence, is it worth looking into
  further?
  
  
  Home page:
  http://www.apple.com/webobjects
  
  Flashy pic: 
  http://developer.apple.com/techpubs/webobjects/WebObjectsOverv
 iew/WOHTML/index.html
 
 Thanks,
 
 Adrian
 
http://mobile.yahoo.com.au - Yahoo! Messenger for SMS
- Now send  receive IMs on your mobile via SMS

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]


**
This message, including any attachments, contains confidential information intended 
for a specific individual and purpose, and is protected by law.  If you are not the 
intended recipient, please contact sender immediately by reply e-mail and destroy all 
copies.  You are hereby notified that any disclosure, copying, or distribution of this 
message, or the taking of any action based on it, is strictly prohibited.
TIAA-CREF
**

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




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 portion for
Struts.  I have velstruts working and it seems OK, but will I be losing
out on some flexibility by going down this route?

I am aware of the Velocity Struts (veltag) integration where velocity
type language can be used within a JSP page.  This is something I would
like to avoid as it strikes me as being a touch confusing.  My main
concern is to have a clean seperation of view and model.  Velocity
_feels_ like it gives me this (with velstruts not veltag), although I'm
not sure why in particular.

Thoughts anyone?  Are there any velstruts users here?

Rgds,

M

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




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 
 say OS X is so much better than Linux?  I'm very curious!

I'd guess that one of the main reasons is because it has all the
benefits of Linux but with a polished UI.  No Linux windows manager has
come close to either Windows (sic) or Mac OS in terms of usability IMO.

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Question for using struts as our standard MVC framework

2002-09-11 Thread JEWeaver


I showed/demoed the Struts framework to a client which had just begun j2ee
applications this summer.

A developer there had created a nice textbook model 2 architecture
framework for a trial application.  So after reviewing Struts their
question was why use that instead of this?  I was just giving them a tour
of some of the key open source tools available at the time, and my company
really had no vested interest in whether they used Struts or not, so I
think we ended up giving them a pretty neutral set of pros and cons
(below).

We have two Struts based applications in production for a different client,
and both support many more than 100 users.  I have no idea what the
technical justification would be that Struts is limited to 100 users.  One
old argument was that Struts put a lot of stuff in the session objects.  I
never saw that this was in fact the case.  You *can* put a lot of stuff on
the session with Struts, but you don't have to, and you can do the same in
any other servlet architecture.

I'm not sure what Sun standards or guidelines Stuts has violated - it is a
pretty well recommended architectural approach to servlet apps (but nor
would I care - I care about getting sound apps to production, not whether
or not they are Sun or MS compliant.  Those guys can go whistle).  I'm sure
Mclanahan

On the roll your own framework side:
- You wrote it, you know it, so it may be easier to trouble-shoot /
maintain and to add features as needed to the framework itself.
- It can have just the features you need and not stuff you don't - which
means it may be easier for your application developers to learn.

On the Struts side:
- It has already figured out how to do most of what you need for a model-2
application architecture, which can save time as you move forward.  In this
particular client's case, for example, the model-2 framework they had
written did not have the nice custom tag library or support for forms
spanning multiple pages.  We ended up using some of the Struts tag library
with their framework, btw.
- When you run into trouble, there is a well established community to go to
for help - this offsets somewhat the trouble-shooting pro of rolling your
own.
- You will find java developers that are familiar with Struts out there,
which can somewhat offset the easier to teach/learn of the roll your own
approach.

So my position is probably less pro-struts than others who will probably
respond to this post.  In this particular situation, recommending to a
client that they extend their own model-2 architecute vs. use Struts, the
key factor would be a close look at Struts features and a determination as
to how many of those features that client would be likely to use.  I would
also be likely to look at their proficiency level:  whether or not they had
a small group of developers that I thought could likely create and maintain
a reasonably well-factored framework on their own.

Jim Weaver
Software Developer - ThoughtWorks


   
   
  Khan, Manuchehar
   
  A (ACF) To:   'Struts Users Mailing List' 
[EMAIL PROTECTED] 
  [EMAIL PROTECTED]cc: 
   
  v   Subject:  Question for using struts as 
our standard MVC framework  
   
   
  09/11/2002 07:36 
   
  AM   
   
  Please respond to
   
  Struts Users
   
  Mailing List
   
   
   
   
   




Hello Folks. I work for Govt and we have major policy meeting for using
struts as our stantard framework.
One developer in our team took the Sun pet store example and created a
framework that is basically a router/controller with xml configuration
files
to define handlers and views. And that controller works fine..
He claims that strut has not followed sun standards and 

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: Another question

2002-09-11 Thread Chappell, Simon P

I've done that before and liked it enough that I am planning to that with the system 
that I'm working on now. I personally think it's ok. Other opinions may ensue! :-)

Simon

-
Simon P. Chappell [EMAIL PROTECTED]
Java Programming Specialist  www.landsend.com
Lands' End, Inc.   (608) 935-4526


-Original Message-
From: Mark Kaye [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 10:31 AM
To: [EMAIL PROTECTED]
Subject: Another question


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]



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




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

2002-09-11 Thread Chappell, Simon P

In my never so humble opinion, i would use an OS X workstation over Linux as a 
workstation about 10 times out of 10. At this point, I would still use either Linux or 
OpenBSD for my servers. I have no experience with Apple servers, so I would use 
Linux/OBSD because I know that they can do what I need.

The reasons for liking OS X over Linux have nothing to do with Linux being bad. I have 
three very solid years of using Linux for Java development under my belt, so I have a 
great respect for it, but I just plain like OS X better.

Simon

-Original Message-
From: Mark Kaye [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 10:25 AM
To: Struts Users Mailing List
Subject: RE: [OT][ALT-TECH] Apple Web Objects


 -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 
 say OS X is so much better than Linux?  I'm very curious!

I'd guess that one of the main reasons is because it has all the
benefits of Linux but with a polished UI.  No Linux windows manager has
come close to either Windows (sic) or Mac OS in terms of usability IMO.

--
To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Another question [ensuing options ;)]

2002-09-11 Thread James Mitchell

There are many ways to do this.

index.html - (javascript) document.location.href='goToMyInitialAction.do'
index.html - META HTTP-EQUIV=Refresh CONTENT=1;
URL=goToMyInitialAction.do
index.jsp  - request.sendRedirect
index.jsp  - jsp:forward...
index.jsp  - logic:forward...

There are more, but I think you get an ideait's really about your
choice, there's no standard.


James Mitchell
Software Engineer\Struts Evangelist
Struts-Atlanta, the Open Minded Developer Network
http://www.open-tools.org/struts-atlanta




 -Original Message-
 From: Mark Kaye [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, September 11, 2002 11:31 AM
 To: [EMAIL PROTECTED]
 Subject: Another question


 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]




--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




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

2002-09-11 Thread Mark_StGodard


Here here... plus the Genie Effect is too kewl  :)
Eye-candy + BSD = OS X
(I too have used Linux for a Java dev platform for years, and like them
both)
mark





Chappell, Simon P [EMAIL PROTECTED] on 09/11/2002 10:42:05 AM

Please respond to Struts Users Mailing List
   [EMAIL PROTECTED]

To:Struts Users Mailing List [EMAIL PROTECTED]
cc:

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


In my never so humble opinion, i would use an OS X workstation over Linux
as a workstation about 10 times out of 10. At this point, I would still use
either Linux or OpenBSD for my servers. I have no experience with Apple
servers, so I would use Linux/OBSD because I know that they can do what I
need.

The reasons for liking OS X over Linux have nothing to do with Linux being
bad. I have three very solid years of using Linux for Java development
under my belt, so I have a great respect for it, but I just plain like OS X
better.

Simon

-Original Message-
From: Mark Kaye [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 10:25 AM
To: Struts Users Mailing List
Subject: RE: [OT][ALT-TECH] Apple Web Objects


 -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
 say OS X is so much better than Linux?  I'm very curious!

I'd guess that one of the main reasons is because it has all the
benefits of Linux but with a polished UI.  No Linux windows manager has
come close to either Windows (sic) or Mac OS in terms of usability IMO.

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]



--
To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]








--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Another question

2002-09-11 Thread Eddie Bush

accepted?  I think it's probably a best practice.  That's the 
impression I get.  You can either do it through index.html or index.jsp 
-- makes no difference.

Regards,

Eddie

Mark Kaye wrote:

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]




hardware composition

2002-09-11 Thread Vincent Stoessel

Hello All,
I am putting together specs for what will be JBoss/Struts-on-Tomcat/DB 
platform.

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 boxes
and have them communicate via the network?

What are some of the hardware configurations that you folks are using
that are giving good results? Where are the bottlenecks?
Thanks
-- 
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com



smime.p7s
Description: S/MIME Cryptographic Signature


Re: struts 1.0.2 logging - destination fd

2002-09-11 Thread Craig R. McClanahan

Struts 1.0.2 logs via calls to ServletContext.log(), so it goes to
whatever logging destination your container has set up for that.

Craig


On Wed, 11 Sep 2002, rob wrote:

 Date: Wed, 11 Sep 2002 17:53:45 +1000
 From: rob [EMAIL PROTECTED]
 Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: struts 1.0.2 logging - destination fd

 I've taken a quick look through the archives and haven't found
 what I was looking for but;

 Where does jakarta-struts log to by default?  I've checked my
 container logs (tomcat 3.2.4) but I can't think of where else
 the output from the logging would be going.  I'm using
 debug/verbosity level 2 in web.xml.

 My apologies for the simple question, perhaps it's simplicity
 indicates that it should be on one of the various FAQ's.

 Thanks

 Rob


 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]




--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Tomcat 4.1.10

2002-09-11 Thread Craig R. McClanahan



On Wed, 11 Sep 2002, Miguel Angel Mulero Martinez wrote:

 Date: Wed, 11 Sep 2002 11:04:05 +0200
 From: Miguel Angel Mulero Martinez [EMAIL PROTECTED]
 Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
 To: Lista de correo Struts [EMAIL PROTECTED]
 Subject: Tomcat 4.1.10

 There is out the new stable release of tomcat. I tried it and Tomcat don't
 found any of my classes (under WEB-INF/lib or WEB-INF/classes), so they
 don't find the struts.jar file. I tried the examples that come with tomcat,
 and there are a lot that don't work too.


If the standard examples coming with Tomcat don't work, that means there
is something wrong with your installation -- try it again.  If you
continue to have problems, I'd suggest seeking assistance on the
TOMCAT-USER list first.  Don't even bother trying Struts apps until you
know that the Tomcat installation basically works (i.e. the exapmles run).

 Anyone has tried it? I'm under Win2000.

 Thanks!!

Craig


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




[OT] Re: hardware composition

2002-09-11 Thread David Graham

I think this kind of off topic post should be prefixed with [OT].  That's 
the convention I've noticed others using on this list and I use that to 
filter OT posts to a different location.

As far as putting JBoss and Tomcat on the same machine there is no definite 
answer.  It depends on your expected load.

Dave


From: Vincent Stoessel [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users [EMAIL PROTECTED]
Subject: hardware composition
Date: Wed, 11 Sep 2002 11:51:55 -0400

Hello All,
I am putting together specs for what will be JBoss/Struts-on-Tomcat/DB 
platform.

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 boxes
and have them communicate via the network?

What are some of the hardware configurations that you folks are using
that are giving good results? Where are the bottlenecks?
Thanks
--
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com
 smime.p7s 




_
Chat with friends online, try MSN Messenger: http://messenger.msn.com


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: How to access the file mappings in struts-config.xml from a none struts servlet

2002-09-11 Thread Craig R. McClanahan



On Wed, 11 Sep 2002, Forrester, Tom wrote:

 Date: Wed, 11 Sep 2002 11:58:05 +0100
 From: Forrester, Tom [EMAIL PROTECTED]
 Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
 To: '[EMAIL PROTECTED]' [EMAIL PROTECTED]
 Subject: How to access the file mappings in struts-config.xml from a none
  struts servlet


 Does anyone know if there is a way that I can obtain a file mapping that
 resides in the struts-config.xml, from a servlet that is outside of the
 struts framework? This is using Struts1.01


Two basic approaches are available:

* Perform your own XML parse of the /WEB-INF/struts-config.xml file,
  and extract what you need.

* Nearly everything in struts-config.xml gets translated into a set of
  JavaBeans that are accessible via findXxx() methods in ActionServlet,
  so see if you can find one (pun intended :-) that gives you the info
  you seek.

In addition, some of the info is stored in collection beans as servlet
context attributes.  You'll need to be more specific about what you're
trying to look up before we can point you to a specific destination.

(For Struts 1.1 users, the entire contents of struts-config.xml ends up
being translated into a tree of beans rooted at
org.apache.struts.config.ApplicationConfig -- and this whole tree of
objects is exposed to each request flowing through the controller under
key Action.APPLICATION_KEY.)

 Best wishes

 Tom Forrester

Craig


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: sites powered by struts

2002-09-11 Thread Dan Payne

Yep.

I'm the guy behind www.specialolympicstexas.org.  It's running on a RH Linux
box with Struts and MySQL.  There's still a bevy of features in development,
but there is still quite a bit up there to surf around in.

-Dan

-Original Message-
From: Jefferson R. de O. e Silva [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 8:37 AM
To: [EMAIL PROTECTED]
Subject: sites powered by struts


Hi guys,

I'm in a process of trying to convince my developement team to use the
struts in a new project
here.

Can anyone tell me any site which is using struts ? There are some people
here wanting
to see results

Thanks in advance

Jefferson

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: sites powered by struts

2002-09-11 Thread Darren Hill

Ouch ... do I see a .jsp in the address ... ;)

-Original Message-
From: Dan Payne [mailto:[EMAIL PROTECTED]]
Sent: September 11, 2002 12:05 PM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: RE: sites powered by struts


Yep.

I'm the guy behind www.specialolympicstexas.org.  It's running on a RH Linux
box with Struts and MySQL.  There's still a bevy of features in development,
but there is still quite a bit up there to surf around in.

-Dan

-Original Message-
From: Jefferson R. de O. e Silva [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 8:37 AM
To: [EMAIL PROTECTED]
Subject: sites powered by struts


Hi guys,

I'm in a process of trying to convince my developement team to use the
struts in a new project
here.

Can anyone tell me any site which is using struts ? There are some people
here wanting
to see results

Thanks in advance

Jefferson

--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]



--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Struts 1.1: Newbie question concerning special characters

2002-09-11 Thread Eric . Lewis

Hi all

I'm just starting out using Struts 1.1 by fooling around with the example
application.

I noticed two things:
- A minor bug: When I try to register, the Cancel button doesn't work,
because the Javascript function insists I have to fill out the form.
- A major concern: When I edit the full name (or any other field) to contain
special characters like German umlauts, they are shown incorrectly. Is this
a problem of the example or a Struts problem in general?

Best regards,
Eric


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Another question

2002-09-11 Thread rob

If you keep your pages above WEB-INF/ it's necessary infact.  I have
one page ctxtroot/index.jsp that does nothing but forward the request
to ctxtroot/WEB-INF/pages/login.jsp.

Rob

Eddie Bush wrote:
 accepted?  I think it's probably a best practice.  That's the 
 impression I get.  You can either do it through index.html or index.jsp 
 -- makes no difference.
 
 Regards,
 
 Eddie
 
 Mark Kaye wrote:
 
 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]
 
 



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Apple Web Objects

2002-09-11 Thread Sig1

 
 As I remember from Apple's developer conference (WWDC) - the integration
between EJB and EOF wasn't exactly complete or very usable. The impression I
got was that OpenEJB was added so that WebObjects appeared to be in the J2EE
camp - so one could make a case for WebObjects if management was pushing for
industry standards or was questioning the vendor lockin issues. Thus there
integration was minimal and their IDE where not up to speed, with WebObjects
you are locked into Apple's dev tools and build system - granted where there
is a strong will there is a way... Basically, if you are using WO you
shouldn't be doing EJB/servlets - EJB and WO are completely different and
don't mesh well (or at least in a way one can easily understand). WO does it
own load balancing, own CMP, etc. and thus doesn't mesh with WO.
 I found some of the presenters at WWDC very ant-EJB and JSP/servlets (one
presenter spent a good deal of time deriding EJB/servlets as overly
complicated). During QA I asked if it was possible to have a hybrid EJB/EOF
application - answer was basically no. Furthermore, you can't mix and match
jsp with that custom editor used to build forms. 
 As for there ability to turn a WebObjects application into a J2EE application
- they wrap the WO application in a servlet which with the way they do it,
means you can't do load balancing among other things.
 WO is a black box and the documentation isn't there for the more advanced
features - furthermore, new WebObject's releases have the habit of breaking WO
applications. Unlike the J2EE platform, you don't have specifications,
roadmaps etc. - just the whims of Apple. According to a rep, most WO users are
still using release 4.5 or older as they have substantial Object-C code (it
was only a couple of years ago that Apple ported WebObjects to Java). 
 Also, when using WO, you have to use their 'foundation classes' like NSArray
etc. The foundation classes are analogous to the Java Collections but are not
anywhere as complete.
 Don't get me wrong, WO is a very interesting and great tool/platform. It was
vastly superior to anything several years ago but it hasn't kept pace. The
vendor lockin with respect to tools and deployment environment poses a severe
limitation. You maybe able to deploy your WO application in tomcat but without
Apple's tools editing/changing it isn't easy if even possible. The windows
tools tend to lag behind that of the Mac tools and Apple provides you with
special database drivers (unless you want to write your own). So there are
prefered databases and prefered platforms etc. As of May they still weren't
supporting Oracle 9i (only 8i). 
  In my opinion the negative aspects of WO far outweight any benefit unless
you are already supporting WO applications.
 -Ryan
 Note, Struts is not a natural fit for WO.



On Wed, 11 Sep 2002 09:20:21 -0500 David Blevins [EMAIL PROTECTED] wrote:

 Hi Adrian,
 
 Just wanted to add a note about WebObjects and
 EJBs.  Apple has been
 using OpenEJB to support EJBs since WebObjects
 5.1.  So, you can write
 all the EJB 1.1 beans that you want and they
 will interoperate from
 WebObjects' EOF and other parts of WebObjects.
 
 If you look at the WebObjects' Tech Spec
 page, OpenEJB, OpenORB, and
 Tyrex are listed, but they don't give URLs, so
 here they are:
 http://openejb.sourceforge.net
 http://openorb.sourceforge.net/
 http://tyrex.sourceforge.net/
 
 Regards,
 David
 
  -Original Message-
  From: Adrian Brown
 [mailto:[EMAIL PROTECTED]] 
  Sent: Tuesday, September 10, 2002 7:59 PM
  To: Struts Users Mailing List
  Subject: Apple Web Objects
  
  
  Noting the spirit of open comment and
 criticism on 
  Struts-alternative products in the J2EE
 community, I was 
  mildly surprised to search the archives of
 theserverside and 
  the Struts users list and find no reference
 to 'Apple Web Objects'.
  
  I was wondering if anyone had come across
 them in
  their travels. Their WYSIWYG approach is
 attractive,
  throwing away servlets and jsps does worry me
 but if
  it is still Java then it is still preferable
 to .Net,
  right? I may even be able to keep my EJBs ...
 
  
  At US$1500 for a licence, is it worth looking
 into
  further?
  
  
  Home page:
  http://www.apple.com/webobjects
  
  Flashy pic: 
 
 http://developer.apple.com/techpubs/webobjects/WebObjectsOverv
 iew/WOHTML/index.html
 
 Thanks,
 
 Adrian
 
 http://mobile.yahoo.com.au - Yahoo! Messenger
 for SMS
 - Now send  receive IMs on your mobile via SMS
 
 --
 To unsubscribe, e-mail:
 
 For additional commands, e-mail:
 
 
 
 --
 To unsubscribe, e-mail:   
 For additional commands, e-mail: 
 
 


--
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 boxes and have them communicate via the network?
 
 What are some of the hardware configurations that you folks 
 are using that are giving good results? Where are the 
 bottlenecks? Thanks

Ahh, very tricky question.  It all depends on the load you are
expecting.  So you need to take a guess at the number of concurrent
users, how often a user action will result in an EJB call, etc.  Areas
of concern to you should be:

1) EJB calls, a client will use RMI (and a JNDI lookup) in order to call
methods on a remote EJB.  This is a network hit.  Jboss can do 'in JVM'
EJB calling, so if Jboss is running in the same VM as the servlet
container it will not go via the network layer.  I suggest you read up
the Jboss docs about that.
2) SQL calls.  If the database is remote all statements will cause a
network hit.

Personally, if I had a system that was going to be hit hard by users I
would split all three and possibly look at clustering portions dependant
on the bottlenecks.  Exactly where the bottlenecks will occur is
dependant upon your application and impossible to gauge here.

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Struts in the real world

2002-09-11 Thread Smith, Johnathan M.

My firm is thinking about using struts for a banking system

I would like to know if anyone has a system in struts with over 100,000 hits
a day and also with more then 100 users at a time?

I would also like to know if anyone has it running in WAS4 on SUN

--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: [Dan] Security and Struts

2002-09-11 Thread Dan Payne

Darren,

No I don't have an example.war file for you although I *might* be able to do
that tonight.  However, below I've included the web.xml and
securityfilter-config.xml entries for the app.

Also, the securityfilter mailing list at
http://lists.sourceforge.net/lists/listinfo/securityfilter-user doesn't
appear to be real active but the author of the securityfilter (Max Cooper)
does read and reply, and I've yet to have a question go unanswered from
either him or someone else on the list.

Let me know if there is anything else I can do for you.

web.xml (relevant portion only)
---
!-- Security Filter Configuration --
filter
filter-nameSecurity Filter/filter-name
filter-classorg.securityfilter.filter.SecurityFilter/filter-class
init-param
 param-nameconfig/param-name
 param-value/WEB-INF/securityfilter-config.xml/param-value
 descriptionConfiguration file location (this is the default
value)/description
/init-param
init-param
 param-namevalidate/param-name
 param-valuetrue/param-value
 descriptionValidate config file if set to true/description
/init-param
/filter


!-- map all requests to the SecurityFilter, control what it does with
configuration settings --
filter-mapping
filter-nameSecurity Filter/filter-name
url-pattern/*/url-pattern
/filter-mapping



securityfilter-config.xml (complete)

?xml version=1.0 encoding=ISO-8859-1 ?

!DOCTYPE securityfilter-config PUBLIC
-//SecurityFilter.org//DTD Security Filter 
Configuration//EN

http://www.securityfilter.org/dtd/securityfilter-config_1_0.dtd;

securityfilter-config


security-constraint
web-resource-collection
web-resource-nameEmail List Subscription 
Services/web-resource-name
url-pattern/emailLists/subscribe.do/url-pattern
/web-resource-collection
auth-constraint
role-nameuser/role-name
/auth-constraint
/security-constraint


login-config
auth-methodFORM/auth-method
form-login-config
form-login-page/users/login/index.jsp/form-login-page
form-error-page/users/login/error.jsp/form-error-page
form-default-page/home.do/form-default-page
/form-login-config
/login-config


!-- start with a Catalina realm adapter to wrap the Catalina realm
definied below --
realm className=org.securityfilter.realm.catalina.CatalinaRealmAdapter/

realm className=org.apache.catalina.realm.JDBCRealm
realm-param name=name value=JDBC Security Realm/
realm-param name=driverName value=org.gjt.mm.mysql.Driver/
realm-param name=debug value=99/
realm-param name=connectionURL
value=jdbc:mysql://localhost:3306/foo?user=fooamp;password=pass/
realm-param name=userTable value=users/
realm-param name=userNameCol value=username/
realm-param name=userCredCol value=password/
realm-param name=userRoleTable value=roles/
realm-param name=roleNameCol value=role/
/realm


/securityfilter-config

-Original Message-
From: Darren Hill [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 8:11 AM
To: 'Struts Users Mailing List'
Subject: RE: [Dan] Security and Struts


Thanks Dan,

I just started yesterday, trying to start a struts app, using security
filter with JBoss 3.0.  I think I'll need to understand JBoss a little
further in order to get this to work correctly as I am getting a problem
with the REALM not being set-up correctly.

Do you have a quick example.war you could send?

Darren.

-Original Message-
From: Dan Payne [mailto:[EMAIL PROTECTED]]
Sent: September 10, 2002 6:51 PM
To: Struts Users Mailing List
Subject: RE: RE: Security and Struts


Darren,

I'm currently using the security filter in my Struts based app in
conjunction with a JDBC realm.  It works seemlessly.  My only qualm at this
point is I can't get the security filter to work with MD5 digesting,
although Max Cooper is looking into it and may add support in the near
future.  Otherwise I would definitely recommend it.  Let me know if you have
any additional, specific questions.

-Dan

-Original Message-
From: Darren Hill [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 10, 2002 11:44 AM
To: 'Struts Users Mailing List'
Subject: RE: RE: Security and Struts


Nice .. thanks Todd.

Anyone 

  1   2   3   >