Struts in Action: 12.10.1 Multipage validations

2004-03-11 Thread Dean A. Hoover
This section of the book sounds interesting, but
it would be nice if there were an example somewhere.
Can someone point me to one?
Dean Hoover

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


RE: Struts in Action: 12.10.1 Multipage validations

2004-03-11 Thread Anderson, James H [IT]
I'm not guaranteeing that this is the best way to do it, but it works for me ;-)

  validator name=date1LEdate2
classname=portfolio.CustomValidators
   method=date1LEdate2
 methodParams=java.lang.Object,
   org.apache.commons.validator.ValidatorAction,
   org.apache.commons.validator.Field,
   org.apache.struts.action.ActionErrors,
   javax.servlet.http.HttpServletRequest
  msg=errors.daterange
  /validator

private static final String dateTimeFormat = MM/dd/-HH:mm:ss;

/*
 * This validator must be associated with date2 (the later date),
 * not date1. (This is so that date1 has already been validated.)
 * date1 and date2 must use the same datePattern and
 * they must have already been validated as valid dates,
 */

public static boolean date1LEdate2( Object bean,

ValidatorAction va,
Field 
field,

ActionErrors errors,

HttpServletRequest request )
{

String date2Property = field.getProperty();
String dateStr2 = ValidatorUtil.getValueAsString(bean,date2Property);
String date1Property = field.getVarValue(date1);
String dateStr1 = ValidatorUtil.getValueAsString(bean,date1Property);

String datePattern = null;
try {
datePattern = field.getVarValue(datePatternStrict);
} catch (Exception e1) {
try {
datePattern = field.getVarValue(datePattern);
} catch (Exception e2) {}
}
if (datePattern == null) {
errors.add( field.getKey(), new 
ActionMessage(errors.validator.config) );
return false;
}
boolean returnVal;
try {
SimpleDateFormat formatter = new SimpleDateFormat(datePattern);
Date date1 = formatter.parse(dateStr1, new ParsePosition(0));
Date date2 = formatter.parse(dateStr2, new ParsePosition(0));
returnVal = date1.compareTo(date2) = 0 ? true : false;
} catch (Exception e) {
System.out.println(e);
e.printStackTrace();
returnVal = false;
}

if ( returnVal == false ) {
errors.add( field.getKey(), new 
ActionMessage(errors.daterange, date1Property, date2Property) );
}

return returnVal;
}

-Original Message-
From: Dean A. Hoover [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 11, 2004 1:12 PM
To: [EMAIL PROTECTED]
Subject: Struts in Action: 12.10.1 Multipage validations


This section of the book sounds interesting, but
it would be nice if there were an example somewhere.
Can someone point me to one?

Dean Hoover


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


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



Struts and Action errors

2004-01-15 Thread Vinicius Carvalho
	Hi there! I'm a newbie to Struts, and this question may be a little silly, 
sorry.
	How exactly do I use action errors? How do I render them? In my app, I 
control the session via RequestProcessor using processPreProcess method. If 
the session is invalid, I create a new error using
ActionErrors errors = new ActionErrors();
errors.add(sessionExpired,  new ActionError(errors.sessionExpired);

Well, and then I redirect the user to the desired login page, and there I have

html:errors property=sessionExpired/

But nothing is shown. Also, in my actionForms, in the validate method, I 
add errors using the same syntax and none are shown either.
In the Actions classes, the examples created by Websphere, I see that 
everytime those actionErrors are saved using a method called saveErrors, 
but this method is not static and belongs to Action class, the other 
modules does not access it.

Any help?

Thanks

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


SV: Struts and Action errors

2004-01-15 Thread Claus Weng Madsen - TELMORE
Hi there

Use the saveErrors method in Action, before forwarding to jsp.

Med venlig hilsen

Claus Weng Madsen, Teamleder
TELMORE A/S
Carl Gustavsgade 3, 2630 Taastrup
Telefon 70218700, Mobil 30242875
www.telmore.dk 


-Oprindelig meddelelse-
Fra: Vinicius Carvalho [mailto:[EMAIL PROTECTED] 
Sendt: 15. januar 2004 12:24
Til: [EMAIL PROTECTED]
Emne: Struts and Action errors


Hi there! I'm a newbie to Struts, and this question may be a
little silly, 
sorry.
How exactly do I use action errors? How do I render them? In my
app, I 
control the session via RequestProcessor using processPreProcess method.
If 
the session is invalid, I create a new error using
ActionErrors errors = new ActionErrors(); errors.add(sessionExpired,
new ActionError(errors.sessionExpired);

Well, and then I redirect the user to the desired login page, and there
I have

html:errors property=sessionExpired/

But nothing is shown. Also, in my actionForms, in the validate method, I

add errors using the same syntax and none are shown either.
In the Actions classes, the examples created by Websphere, I see that 
everytime those actionErrors are saved using a method called saveErrors,

but this method is not static and belongs to Action class, the other 
modules does not access it.

Any help?

Thanks


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


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



Re: SV: Struts and Action errors

2004-01-15 Thread Vinicius Carvalho
Ok, I got it. But what about the other questions? if I'm in a ActionForm, 
or a requestprocessor ...
At 10:18 15/1/2004, you wrote:
Hi there

Use the saveErrors method in Action, before forwarding to jsp.

Med venlig hilsen

Claus Weng Madsen, Teamleder
TELMORE A/S
Carl Gustavsgade 3, 2630 Taastrup
Telefon 70218700, Mobil 30242875
www.telmore.dk
-Oprindelig meddelelse-
Fra: Vinicius Carvalho [mailto:[EMAIL PROTECTED]
Sendt: 15. januar 2004 12:24
Til: [EMAIL PROTECTED]
Emne: Struts and Action errors
Hi there! I'm a newbie to Struts, and this question may be a
little silly,
sorry.
How exactly do I use action errors? How do I render them? In my
app, I
control the session via RequestProcessor using processPreProcess method.
If
the session is invalid, I create a new error using
ActionErrors errors = new ActionErrors(); errors.add(sessionExpired,
new ActionError(errors.sessionExpired);
Well, and then I redirect the user to the desired login page, and there
I have
But nothing is shown. Also, in my actionForms, in the validate method, I 
add errors using the same syntax and none are shown either. In the Actions 
classes, the examples created by Websphere, I see that everytime those 
actionErrors are saved using a method called saveErrors, but this method 
is not static and belongs to Action class, the other modules does not 
access it. Any help? Thanks 
- To 
unsubscribe, e-mail: [EMAIL PROTECTED] For 
additional commands, e-mail: [EMAIL PROTECTED] 
- To 
unsubscribe, e-mail: [EMAIL PROTECTED] For 
additional commands, e-mail: [EMAIL PROTECTED]


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


RE: Struts and Action errors

2004-01-15 Thread Richard Hightower
Did you put the messages in the resource bundle?


-Original Message-
From: Vinicius Carvalho [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 15, 2004 4:24 AM
To: [EMAIL PROTECTED]
Subject: Struts and Action errors


Hi there! I'm a newbie to Struts, and this question may be a little silly,
sorry.
How exactly do I use action errors? How do I render them? In my app, I
control the session via RequestProcessor using processPreProcess method. If
the session is invalid, I create a new error using
ActionErrors errors = new ActionErrors();
errors.add(sessionExpired,  new ActionError(errors.sessionExpired);

Well, and then I redirect the user to the desired login page, and there I
have

html:errors property=sessionExpired/

But nothing is shown. Also, in my actionForms, in the validate method, I
add errors using the same syntax and none are shown either.
In the Actions classes, the examples created by Websphere, I see that
everytime those actionErrors are saved using a method called saveErrors,
but this method is not static and belongs to Action class, the other
modules does not access it.

Any help?

Thanks


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


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



Re: SV: Struts and Action errors

2004-01-15 Thread Daniel H. F. e Silva
Hi Vinicius,

  I think you are a bit lost regarding Struts. Take a look at www.reumann.net.
Very good tutorials. They will help you to understand better how to use Struts
properly.
  By the way, i'd like to invite you to a very good struts chatroom. Point your
IRC client to irc.darkmyst.org and join #struts_users channel. You'll find great
guys there (and a girl too!), that have strong Struts experience. See you there!

Regards,
 Daniel Silva


--- Vinicius Carvalho [EMAIL PROTECTED] wrote:
 Ok, I got it. But what about the other questions? if I'm in a ActionForm, 
 or a requestprocessor ...
 At 10:18 15/1/2004, you wrote:
 Hi there
 
 Use the saveErrors method in Action, before forwarding to jsp.
 
 Med venlig hilsen
 
 Claus Weng Madsen, Teamleder
 TELMORE A/S
 Carl Gustavsgade 3, 2630 Taastrup
 Telefon 70218700, Mobil 30242875
 www.telmore.dk
 
 
 -Oprindelig meddelelse-
 Fra: Vinicius Carvalho [mailto:[EMAIL PROTECTED]
 Sendt: 15. januar 2004 12:24
 Til: [EMAIL PROTECTED]
 Emne: Struts and Action errors
 
 
  Hi there! I'm a newbie to Struts, and this question may be a
 little silly,
 sorry.
  How exactly do I use action errors? How do I render them? In my
 app, I
 control the session via RequestProcessor using processPreProcess method.
 If
 the session is invalid, I create a new error using
 ActionErrors errors = new ActionErrors(); errors.add(sessionExpired,
 new ActionError(errors.sessionExpired);
 
 Well, and then I redirect the user to the desired login page, and there
 I have
 
 But nothing is shown. Also, in my actionForms, in the validate method, I 
 add errors using the same syntax and none are shown either. In the Actions 
 classes, the examples created by Websphere, I see that everytime those 
 actionErrors are saved using a method called saveErrors, but this method 
 is not static and belongs to Action class, the other modules does not 
 access it. Any help? Thanks 
 - To 
 unsubscribe, e-mail: [EMAIL PROTECTED] For 
 additional commands, e-mail: [EMAIL PROTECTED] 
 - To 
 unsubscribe, e-mail: [EMAIL PROTECTED] For 
 additional commands, e-mail: [EMAIL PROTECTED]
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


__
Do you Yahoo!?
Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus

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



struts double action execution!?

2003-10-13 Thread Otto, Frank
Hello,
 
I have a difficult problem. My action was executed twice and I don't know why.
 
There is a global forward in my main.jsp:
 
%@ taglib uri=/WEB-INF/struts-logic.tld prefix=logic % 
logic:forward name=startpage/ 
 
 
struts-config.xml:
 
struts-config 
  global-forwards 
forward 
  name=startpage 
  path=/action/welcome / 

   ... 
  /global-forwards 

  action-mappings 
  
action 
  path=/welcome 
  type=test.actions.CWelcomeAction 
  name=loginForm 
  scope=request 
  validate=false 
  forward 
name=Success path=dos.Welcome /
/action 

... 
  /action-mappings 

 
tiles-def.xml:
 
tiles-definitions 
   definition name=dos.DefaultLayout page=/pages/layouts/dosDefaultLayout.jsp 
put name=header value=/pages/header/empty.jsp/ 
put name=agb value=/pages/submenu/common/agb.jsp/ 
   /definition 

   definition name=dos.WelcomeLayout extends=dos.DefaultLayout
put name=header value=/pages/header/startpage.jsp/ 
  put name=mainmenu_top value=/pages/mainmenu_top/emptymain.jsp/ 
  put name=mainmenu_bottom value=/pages/mainmenu_bottom/welcomemain.jsp/ 
  put name=submenu value=/pages/submenu/main/login.jsp/ 
put name=navigation value=/pages/navigation/empty.jsp/ 
   /definition 

   definition name=dos.Welcome extends=dos.WelcomeLayout 
put name=caption value=/pages/captions/main/welcome.jsp/ 
  put name=content value=/pages/mainpage/main/welcome.jsp/ 
   /definition 
... 
/tiles-definitions
 
 
That was written in the log-file:
 
DEBUG 2003-10-09 08:50:46,204 - Get module name for path /action 
DEBUG 2003-10-09 08:50:46,204 - Module name found: default 
DEBUG 2003-10-09 08:50:46,205 - Processing a 'GET' for path '/welcome' 
DEBUG 2003-10-09 08:50:46,205 -  Looking for ActionForm bean instance in scope 
'request' under attribute key 'loginForm' 
DEBUG 2003-10-09 08:50:46,205 -  Creating new ActionForm instance of type 
'test.forms.main.CLoginForm' 
DEBUG 2003-10-09 08:50:46,205 -  -- [EMAIL PROTECTED] 
DEBUG 2003-10-09 08:50:46,205 -  Storing ActionForm bean instance in scope 'request' 
under attribute key 'loginForm' 
DEBUG 2003-10-09 08:50:46,206 -  Populating bean properties from this request 
DEBUG 2003-10-09 08:50:46,206 - BeanUtils.populate([EMAIL PROTECTED], {}) 
DEBUG 2003-10-09 08:50:46,206 -  Looking for Action instance for class 
test.actions.CWelcomeAction 
DEBUG 2003-10-09 08:50:46,206 -   Returning existing Action instance 
DEBUG 2003-10-09 08:50:46,206 - Begin   CWelcomeAction.execute() 
DEBUG 2003-10-09 08:50:46,206 - dispatch: 
ActionConfig[path=/welcome,name=loginForm,scope=request,type=test.actions.CWelcome 
Action 
... 
DEBUG 2003-10-09 08:50:46,211 - End CWelcomeAction.execute() 
DEBUG 2003-10-09 08:50:46,211 - processForwardConfig(dos.Welcome, false) 
DEBUG 2003-10-09 08:50:46,212 - uri=/pages/layouts/dosDefaultLayout.jsp doInclud 
e=false 
DEBUG 2003-10-09 08:50:46,214 - insert page='/pages/header/startpage.jsp'. 
DEBUG 2003-10-09 08:50:46,219 - insert page='/pages/mainmenu_bottom/welcomemain. 
jsp'. 
DEBUG 2003-10-09 08:50:46,226 - insert page='/pages/submenu/main/login.jsp'. 
DEBUG 2003-10-09 08:50:46,230 - insert page='/pages/submenu/common/agb.jsp'. 
DEBUG 2003-10-09 08:50:46,236 - insert page='/pages/navigation/empty.jsp'. 
DEBUG 2003-10-09 08:50:46,238 - insert page='/pages/captions/main/welcome.jsp'. 
DEBUG 2003-10-09 08:50:46,240 - insert page='/pages/mainpage/main/welcome.jsp'. 
DEBUG 2003-10-09 08:50:46,242 -   'dos.Welcome' - processed as definition 

THE SECOND ONE:
DEBUG 2003-10-09 08:50:46,522 - Get module name for path /action 
DEBUG 2003-10-09 08:50:46,522 - Module name found: default 
DEBUG 2003-10-09 08:50:46,523 - Processing a 'GET' for path '/welcome' 
DEBUG 2003-10-09 08:50:46,523 -  Looking for ActionForm bean instance in scope ' 
request' under attribute key 'loginForm' 
DEBUG 2003-10-09 08:50:46,523 -  Creating new ActionForm instance of type 
'test.forms.main.CLoginForm' 
DEBUG 2003-10-09 08:50:46,526 -  -- [EMAIL PROTECTED] 
a1d3 
DEBUG 2003-10-09 08:50:46,526 -  Storing ActionForm bean instance in scope 'requ 
est' under attribute key 'loginForm' 
DEBUG 2003-10-09 08:50:46,526 -  Populating bean properties from this request 
DEBUG 2003-10-09 08:50:46,526 - BeanUtils.populate(test.forms.main 
[EMAIL PROTECTED], {}) 
DEBUG 2003-10-09 08:50:46,526 -  Looking for Action instance for class 
test.actions.CWelcomeAction 
DEBUG 2003-10-09 08:50:46,526 -   Returning existing Action instance 
DEBUG 2003-10-09 08:50:46,526 - Begin   CWelcomeAction.execute() 
DEBUG 2003-10-09 08:50:46,526 - dispatch: ActionConfig[path=/welcome,name=loginF 
orm,scope=request,type=test.actions.CWelcome 
Action 
... 
DEBUG 2003-10-09 08:50:46,548 - End CWelcomeAction.execute() 
DEBUG 2003-10-09 08:50:46,550 - processForwardConfig(dos.Welcome, false) 
DEBUG 2003-10-09 08:50:46,551 - 

RE: struts double action execution!?

2003-10-13 Thread Nicholson, Robb
We had this problem briefly as well. Make sure you don't have a button that
looks like this on your JSP...

html:submit ...  onclick=submit()/



-Original Message-
From: Otto, Frank [mailto:[EMAIL PROTECTED]
Sent: Monday, October 13, 2003 4:55 AM
To: '[EMAIL PROTECTED]'
Subject: struts double action execution!?


Hello,
 
I have a difficult problem. My action was executed twice and I don't know
why.
 
There is a global forward in my main.jsp:
 
%@ taglib uri=/WEB-INF/struts-logic.tld prefix=logic % 
logic:forward name=startpage/ 
 
 
struts-config.xml:
 
struts-config 
  global-forwards 
forward 
  name=startpage 
  path=/action/welcome / 

   ... 
  /global-forwards 

  action-mappings 
  
action 
  path=/welcome 
  type=test.actions.CWelcomeAction 
  name=loginForm 
  scope=request 
  validate=false 
  forward 
name=Success path=dos.Welcome /
/action 

... 
  /action-mappings 

 
tiles-def.xml:
 
tiles-definitions 
   definition name=dos.DefaultLayout
page=/pages/layouts/dosDefaultLayout.jsp 
put name=header value=/pages/header/empty.jsp/ 
put name=agb value=/pages/submenu/common/agb.jsp/ 
   /definition 

   definition name=dos.WelcomeLayout extends=dos.DefaultLayout

put name=header value=/pages/header/startpage.jsp/ 
  put name=mainmenu_top value=/pages/mainmenu_top/emptymain.jsp/ 
  put name=mainmenu_bottom
value=/pages/mainmenu_bottom/welcomemain.jsp/ 
  put name=submenu value=/pages/submenu/main/login.jsp/ 
put name=navigation value=/pages/navigation/empty.jsp/

   /definition 

   definition name=dos.Welcome extends=dos.WelcomeLayout 
put name=caption
value=/pages/captions/main/welcome.jsp/ 
  put name=content value=/pages/mainpage/main/welcome.jsp/ 
   /definition 
... 
/tiles-definitions
 
 
That was written in the log-file:
 
DEBUG 2003-10-09 08:50:46,204 - Get module name for path /action 
DEBUG 2003-10-09 08:50:46,204 - Module name found: default 
DEBUG 2003-10-09 08:50:46,205 - Processing a 'GET' for path '/welcome' 
DEBUG 2003-10-09 08:50:46,205 -  Looking for ActionForm bean instance in
scope 'request' under attribute key 'loginForm' 
DEBUG 2003-10-09 08:50:46,205 -  Creating new ActionForm instance of type
'test.forms.main.CLoginForm' 
DEBUG 2003-10-09 08:50:46,205 -  -- [EMAIL PROTECTED] 
DEBUG 2003-10-09 08:50:46,205 -  Storing ActionForm bean instance in scope
'request' under attribute key 'loginForm' 
DEBUG 2003-10-09 08:50:46,206 -  Populating bean properties from this
request 
DEBUG 2003-10-09 08:50:46,206 -
BeanUtils.populate([EMAIL PROTECTED], {}) 
DEBUG 2003-10-09 08:50:46,206 -  Looking for Action instance for class
test.actions.CWelcomeAction 
DEBUG 2003-10-09 08:50:46,206 -   Returning existing Action instance 
DEBUG 2003-10-09 08:50:46,206 - Begin   CWelcomeAction.execute() 
DEBUG 2003-10-09 08:50:46,206 - dispatch:
ActionConfig[path=/welcome,name=loginForm,scope=request,type=test.actions.CW
elcome 
Action 
... 
DEBUG 2003-10-09 08:50:46,211 - End CWelcomeAction.execute() 
DEBUG 2003-10-09 08:50:46,211 - processForwardConfig(dos.Welcome, false) 
DEBUG 2003-10-09 08:50:46,212 - uri=/pages/layouts/dosDefaultLayout.jsp
doInclud 
e=false 
DEBUG 2003-10-09 08:50:46,214 - insert page='/pages/header/startpage.jsp'. 
DEBUG 2003-10-09 08:50:46,219 - insert
page='/pages/mainmenu_bottom/welcomemain. 
jsp'. 
DEBUG 2003-10-09 08:50:46,226 - insert page='/pages/submenu/main/login.jsp'.

DEBUG 2003-10-09 08:50:46,230 - insert page='/pages/submenu/common/agb.jsp'.

DEBUG 2003-10-09 08:50:46,236 - insert page='/pages/navigation/empty.jsp'. 
DEBUG 2003-10-09 08:50:46,238 - insert
page='/pages/captions/main/welcome.jsp'. 
DEBUG 2003-10-09 08:50:46,240 - insert
page='/pages/mainpage/main/welcome.jsp'. 
DEBUG 2003-10-09 08:50:46,242 -   'dos.Welcome' - processed as definition 

THE SECOND ONE:
DEBUG 2003-10-09 08:50:46,522 - Get module name for path /action 
DEBUG 2003-10-09 08:50:46,522 - Module name found: default 
DEBUG 2003-10-09 08:50:46,523 - Processing a 'GET' for path '/welcome' 
DEBUG 2003-10-09 08:50:46,523 -  Looking for ActionForm bean instance in
scope ' 
request' under attribute key 'loginForm' 
DEBUG 2003-10-09 08:50:46,523 -  Creating new ActionForm instance of type
'test.forms.main.CLoginForm' 
DEBUG 2003-10-09 08:50:46,526 -  -- [EMAIL PROTECTED] 
a1d3 
DEBUG 2003-10-09 08:50:46,526 -  Storing ActionForm bean instance in scope
'requ 
est' under attribute key 'loginForm' 
DEBUG 2003-10-09 08:50:46,526 -  Populating bean properties from this
request 
DEBUG 2003-10-09 08:50:46,526 - BeanUtils.populate(test.forms.main 
[EMAIL PROTECTED], {}) 
DEBUG 2003-10-09 08:50:46,526 -  Looking for Action instance for class
test.actions.CWelcomeAction 
DEBUG 2003-10-09 08:50:46,526 -   Returning existing Action instance 
DEBUG 2003-10-09 08:50:46,526 - Begin   CWelcomeAction.execute() 
DEBUG 2003-10-09 08:50:46,526

AW: struts double action execution!?

2003-10-13 Thread Otto, Frank
Thanks for your answer.

I have found the mistake. I had a # in my table-tag.

table background=#
...
/table

I don't know why struts execute the action twice, but without the # it functions.

-Ursprüngliche Nachricht-
Von: Nicholson, Robb [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 13. Oktober 2003 15:36
An: 'Struts Users Mailing List'
Betreff: RE: struts double action execution!?


We had this problem briefly as well. Make sure you don't have a button that
looks like this on your JSP...

html:submit ...  onclick=submit()/



-Original Message-
From: Otto, Frank [mailto:[EMAIL PROTECTED]
Sent: Monday, October 13, 2003 4:55 AM
To: '[EMAIL PROTECTED]'
Subject: struts double action execution!?


Hello,
 
I have a difficult problem. My action was executed twice and I don't know
why.
 
There is a global forward in my main.jsp:
 
%@ taglib uri=/WEB-INF/struts-logic.tld prefix=logic % 
logic:forward name=startpage/ 
 
 
struts-config.xml:
 
struts-config 
  global-forwards 
forward 
  name=startpage 
  path=/action/welcome / 

   ... 
  /global-forwards 

  action-mappings 
  
action 
  path=/welcome 
  type=test.actions.CWelcomeAction 
  name=loginForm 
  scope=request 
  validate=false 
  forward 
name=Success path=dos.Welcome /
/action 

... 
  /action-mappings 

 
tiles-def.xml:
 
tiles-definitions 
   definition name=dos.DefaultLayout
page=/pages/layouts/dosDefaultLayout.jsp 
put name=header value=/pages/header/empty.jsp/ 
put name=agb value=/pages/submenu/common/agb.jsp/ 
   /definition 

   definition name=dos.WelcomeLayout extends=dos.DefaultLayout

put name=header value=/pages/header/startpage.jsp/ 
  put name=mainmenu_top value=/pages/mainmenu_top/emptymain.jsp/ 
  put name=mainmenu_bottom
value=/pages/mainmenu_bottom/welcomemain.jsp/ 
  put name=submenu value=/pages/submenu/main/login.jsp/ 
put name=navigation value=/pages/navigation/empty.jsp/

   /definition 

   definition name=dos.Welcome extends=dos.WelcomeLayout 
put name=caption
value=/pages/captions/main/welcome.jsp/ 
  put name=content value=/pages/mainpage/main/welcome.jsp/ 
   /definition 
... 
/tiles-definitions
 
 
That was written in the log-file:
 
DEBUG 2003-10-09 08:50:46,204 - Get module name for path /action 
DEBUG 2003-10-09 08:50:46,204 - Module name found: default 
DEBUG 2003-10-09 08:50:46,205 - Processing a 'GET' for path '/welcome' 
DEBUG 2003-10-09 08:50:46,205 -  Looking for ActionForm bean instance in
scope 'request' under attribute key 'loginForm' 
DEBUG 2003-10-09 08:50:46,205 -  Creating new ActionForm instance of type
'test.forms.main.CLoginForm' 
DEBUG 2003-10-09 08:50:46,205 -  -- [EMAIL PROTECTED] 
DEBUG 2003-10-09 08:50:46,205 -  Storing ActionForm bean instance in scope
'request' under attribute key 'loginForm' 
DEBUG 2003-10-09 08:50:46,206 -  Populating bean properties from this
request 
DEBUG 2003-10-09 08:50:46,206 -
BeanUtils.populate([EMAIL PROTECTED], {}) 
DEBUG 2003-10-09 08:50:46,206 -  Looking for Action instance for class
test.actions.CWelcomeAction 
DEBUG 2003-10-09 08:50:46,206 -   Returning existing Action instance 
DEBUG 2003-10-09 08:50:46,206 - Begin   CWelcomeAction.execute() 
DEBUG 2003-10-09 08:50:46,206 - dispatch:
ActionConfig[path=/welcome,name=loginForm,scope=request,type=test.actions.CW
elcome 
Action 
... 
DEBUG 2003-10-09 08:50:46,211 - End CWelcomeAction.execute()
DEBUG 2003-10-09 08:50:46,211 - processForwardConfig(dos.Welcome, false) 
DEBUG 2003-10-09 08:50:46,212 - uri=/pages/layouts/dosDefaultLayout.jsp
doInclud 
e=false 
DEBUG 2003-10-09 08:50:46,214 - insert page='/pages/header/startpage.jsp'. 
DEBUG 2003-10-09 08:50:46,219 - insert
page='/pages/mainmenu_bottom/welcomemain. 
jsp'. 
DEBUG 2003-10-09 08:50:46,226 - insert page='/pages/submenu/main/login.jsp'.

DEBUG 2003-10-09 08:50:46,230 - insert page='/pages/submenu/common/agb.jsp'.

DEBUG 2003-10-09 08:50:46,236 - insert page='/pages/navigation/empty.jsp'. 
DEBUG 2003-10-09 08:50:46,238 - insert
page='/pages/captions/main/welcome.jsp'. 
DEBUG 2003-10-09 08:50:46,240 - insert
page='/pages/mainpage/main/welcome.jsp'. 
DEBUG 2003-10-09 08:50:46,242 -   'dos.Welcome' - processed as definition 

THE SECOND ONE:
DEBUG 2003-10-09 08:50:46,522 - Get module name for path /action 
DEBUG 2003-10-09 08:50:46,522 - Module name found: default 
DEBUG 2003-10-09 08:50:46,523 - Processing a 'GET' for path '/welcome' 
DEBUG 2003-10-09 08:50:46,523 -  Looking for ActionForm bean instance in
scope ' 
request' under attribute key 'loginForm' 
DEBUG 2003-10-09 08:50:46,523 -  Creating new ActionForm instance of type
'test.forms.main.CLoginForm' 
DEBUG 2003-10-09 08:50:46,526 -  -- [EMAIL PROTECTED] 
a1d3 
DEBUG 2003-10-09 08:50:46,526 -  Storing ActionForm bean instance in scope
'requ 
est' under attribute key 'loginForm' 
DEBUG 2003-10-09 08:50:46,526 -  Populating bean

RE: struts double action execution!?

2003-10-13 Thread Mark Galbreath
I didn't know table had a background attribute.  But any HTML attribute
value should be ignored by Struts.  Even using html:table shouldn't cause
a 2x submit.


-Original Message-
From: Otto, Frank [mailto:[EMAIL PROTECTED]
Sent: Monday, October 13, 2003 9:41 AM
To: 'Struts Users Mailing List'
Subject: AW: struts double action execution!?


Thanks for your answer.

I have found the mistake. I had a # in my table-tag.

table background=#
...
/table

I don't know why struts execute the action twice, but without the # it
functions.

-Ursprüngliche Nachricht-
Von: Nicholson, Robb [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 13. Oktober 2003 15:36
An: 'Struts Users Mailing List'
Betreff: RE: struts double action execution!?


We had this problem briefly as well. Make sure you don't have a button that
looks like this on your JSP...

html:submit ...  onclick=submit()/



-Original Message-
From: Otto, Frank [mailto:[EMAIL PROTECTED]
Sent: Monday, October 13, 2003 4:55 AM
To: '[EMAIL PROTECTED]'
Subject: struts double action execution!?


Hello,

I have a difficult problem. My action was executed twice and I don't know
why.

There is a global forward in my main.jsp:

%@ taglib uri=/WEB-INF/struts-logic.tld prefix=logic %
logic:forward name=startpage/


struts-config.xml:

struts-config
  global-forwards
forward
  name=startpage
  path=/action/welcome /

   ...
  /global-forwards

  action-mappings

action
  path=/welcome
  type=test.actions.CWelcomeAction
  name=loginForm
  scope=request
  validate=false
  forward
name=Success path=dos.Welcome /
/action

...
  /action-mappings


tiles-def.xml:

tiles-definitions
   definition name=dos.DefaultLayout
page=/pages/layouts/dosDefaultLayout.jsp
put name=header value=/pages/header/empty.jsp/
put name=agb value=/pages/submenu/common/agb.jsp/
   /definition

   definition name=dos.WelcomeLayout extends=dos.DefaultLayout

put name=header value=/pages/header/startpage.jsp/
  put name=mainmenu_top value=/pages/mainmenu_top/emptymain.jsp/
  put name=mainmenu_bottom
value=/pages/mainmenu_bottom/welcomemain.jsp/
  put name=submenu value=/pages/submenu/main/login.jsp/
put name=navigation value=/pages/navigation/empty.jsp/

   /definition

   definition name=dos.Welcome extends=dos.WelcomeLayout
put name=caption
value=/pages/captions/main/welcome.jsp/
  put name=content value=/pages/mainpage/main/welcome.jsp/
   /definition
...
/tiles-definitions


That was written in the log-file:

DEBUG 2003-10-09 08:50:46,204 - Get module name for path /action
DEBUG 2003-10-09 08:50:46,204 - Module name found: default
DEBUG 2003-10-09 08:50:46,205 - Processing a 'GET' for path '/welcome'
DEBUG 2003-10-09 08:50:46,205 -  Looking for ActionForm bean instance in
scope 'request' under attribute key 'loginForm'
DEBUG 2003-10-09 08:50:46,205 -  Creating new ActionForm instance of type
'test.forms.main.CLoginForm'
DEBUG 2003-10-09 08:50:46,205 -  -- [EMAIL PROTECTED]
DEBUG 2003-10-09 08:50:46,205 -  Storing ActionForm bean instance in scope
'request' under attribute key 'loginForm'
DEBUG 2003-10-09 08:50:46,206 -  Populating bean properties from this
request
DEBUG 2003-10-09 08:50:46,206 -
BeanUtils.populate([EMAIL PROTECTED], {})
DEBUG 2003-10-09 08:50:46,206 -  Looking for Action instance for class
test.actions.CWelcomeAction
DEBUG 2003-10-09 08:50:46,206 -   Returning existing Action instance
DEBUG 2003-10-09 08:50:46,206 - Begin   CWelcomeAction.execute()
DEBUG 2003-10-09 08:50:46,206 - dispatch:
ActionConfig[path=/welcome,name=loginForm,scope=request,type=test.actions.CW
elcome
Action
...
DEBUG 2003-10-09 08:50:46,211 - End CWelcomeAction.execute()
DEBUG 2003-10-09 08:50:46,211 - processForwardConfig(dos.Welcome, false)
DEBUG 2003-10-09 08:50:46,212 - uri=/pages/layouts/dosDefaultLayout.jsp
doInclud
e=false
DEBUG 2003-10-09 08:50:46,214 - insert page='/pages/header/startpage.jsp'.
DEBUG 2003-10-09 08:50:46,219 - insert
page='/pages/mainmenu_bottom/welcomemain.
jsp'.
DEBUG 2003-10-09 08:50:46,226 - insert page='/pages/submenu/main/login.jsp'.

DEBUG 2003-10-09 08:50:46,230 - insert page='/pages/submenu/common/agb.jsp'.

DEBUG 2003-10-09 08:50:46,236 - insert page='/pages/navigation/empty.jsp'.
DEBUG 2003-10-09 08:50:46,238 - insert
page='/pages/captions/main/welcome.jsp'.
DEBUG 2003-10-09 08:50:46,240 - insert
page='/pages/mainpage/main/welcome.jsp'.
DEBUG 2003-10-09 08:50:46,242 -   'dos.Welcome' - processed as definition

THE SECOND ONE:
DEBUG 2003-10-09 08:50:46,522 - Get module name for path /action
DEBUG 2003-10-09 08:50:46,522 - Module name found: default
DEBUG 2003-10-09 08:50:46,523 - Processing a 'GET' for path '/welcome'
DEBUG 2003-10-09 08:50:46,523 -  Looking for ActionForm bean instance in
scope '
request' under attribute key 'loginForm'
DEBUG 2003-10-09 08:50:46,523 -  Creating new ActionForm instance of type

RE: struts double action execution!?

2003-10-13 Thread Andrew Hill
Yep. That table thing is almost certainly a red herring.

-Original Message-
From: Mark Galbreath [mailto:[EMAIL PROTECTED]
Sent: Monday, 13 October 2003 22:18
To: Struts Users Mailing List
Subject: RE: struts double action execution!?


I didn't know table had a background attribute.  But any HTML attribute
value should be ignored by Struts.  Even using html:table shouldn't cause
a 2x submit.


-Original Message-
From: Otto, Frank [mailto:[EMAIL PROTECTED]
Sent: Monday, October 13, 2003 9:41 AM
To: 'Struts Users Mailing List'
Subject: AW: struts double action execution!?


Thanks for your answer.

I have found the mistake. I had a # in my table-tag.

table background=#
...
/table

I don't know why struts execute the action twice, but without the # it
functions.

-Ursprüngliche Nachricht-
Von: Nicholson, Robb [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 13. Oktober 2003 15:36
An: 'Struts Users Mailing List'
Betreff: RE: struts double action execution!?


We had this problem briefly as well. Make sure you don't have a button that
looks like this on your JSP...

html:submit ...  onclick=submit()/



-Original Message-
From: Otto, Frank [mailto:[EMAIL PROTECTED]
Sent: Monday, October 13, 2003 4:55 AM
To: '[EMAIL PROTECTED]'
Subject: struts double action execution!?


Hello,

I have a difficult problem. My action was executed twice and I don't know
why.

There is a global forward in my main.jsp:

%@ taglib uri=/WEB-INF/struts-logic.tld prefix=logic %
logic:forward name=startpage/


struts-config.xml:

struts-config
  global-forwards
forward
  name=startpage
  path=/action/welcome /

   ...
  /global-forwards

  action-mappings

action
  path=/welcome
  type=test.actions.CWelcomeAction
  name=loginForm
  scope=request
  validate=false
  forward
name=Success path=dos.Welcome /
/action

...
  /action-mappings


tiles-def.xml:

tiles-definitions
   definition name=dos.DefaultLayout
page=/pages/layouts/dosDefaultLayout.jsp
put name=header value=/pages/header/empty.jsp/
put name=agb value=/pages/submenu/common/agb.jsp/
   /definition

   definition name=dos.WelcomeLayout extends=dos.DefaultLayout

put name=header value=/pages/header/startpage.jsp/
  put name=mainmenu_top value=/pages/mainmenu_top/emptymain.jsp/
  put name=mainmenu_bottom
value=/pages/mainmenu_bottom/welcomemain.jsp/
  put name=submenu value=/pages/submenu/main/login.jsp/
put name=navigation value=/pages/navigation/empty.jsp/

   /definition

   definition name=dos.Welcome extends=dos.WelcomeLayout
put name=caption
value=/pages/captions/main/welcome.jsp/
  put name=content value=/pages/mainpage/main/welcome.jsp/
   /definition
...
/tiles-definitions


That was written in the log-file:

DEBUG 2003-10-09 08:50:46,204 - Get module name for path /action
DEBUG 2003-10-09 08:50:46,204 - Module name found: default
DEBUG 2003-10-09 08:50:46,205 - Processing a 'GET' for path '/welcome'
DEBUG 2003-10-09 08:50:46,205 -  Looking for ActionForm bean instance in
scope 'request' under attribute key 'loginForm'
DEBUG 2003-10-09 08:50:46,205 -  Creating new ActionForm instance of type
'test.forms.main.CLoginForm'
DEBUG 2003-10-09 08:50:46,205 -  -- [EMAIL PROTECTED]
DEBUG 2003-10-09 08:50:46,205 -  Storing ActionForm bean instance in scope
'request' under attribute key 'loginForm'
DEBUG 2003-10-09 08:50:46,206 -  Populating bean properties from this
request
DEBUG 2003-10-09 08:50:46,206 -
BeanUtils.populate([EMAIL PROTECTED], {})
DEBUG 2003-10-09 08:50:46,206 -  Looking for Action instance for class
test.actions.CWelcomeAction
DEBUG 2003-10-09 08:50:46,206 -   Returning existing Action instance
DEBUG 2003-10-09 08:50:46,206 - Begin   CWelcomeAction.execute()
DEBUG 2003-10-09 08:50:46,206 - dispatch:
ActionConfig[path=/welcome,name=loginForm,scope=request,type=test.actions.CW
elcome
Action
...
DEBUG 2003-10-09 08:50:46,211 - End CWelcomeAction.execute()
DEBUG 2003-10-09 08:50:46,211 - processForwardConfig(dos.Welcome, false)
DEBUG 2003-10-09 08:50:46,212 - uri=/pages/layouts/dosDefaultLayout.jsp
doInclud
e=false
DEBUG 2003-10-09 08:50:46,214 - insert page='/pages/header/startpage.jsp'.
DEBUG 2003-10-09 08:50:46,219 - insert
page='/pages/mainmenu_bottom/welcomemain.
jsp'.
DEBUG 2003-10-09 08:50:46,226 - insert page='/pages/submenu/main/login.jsp'.

DEBUG 2003-10-09 08:50:46,230 - insert page='/pages/submenu/common/agb.jsp'.

DEBUG 2003-10-09 08:50:46,236 - insert page='/pages/navigation/empty.jsp'.
DEBUG 2003-10-09 08:50:46,238 - insert
page='/pages/captions/main/welcome.jsp'.
DEBUG 2003-10-09 08:50:46,240 - insert
page='/pages/mainpage/main/welcome.jsp'.
DEBUG 2003-10-09 08:50:46,242 -   'dos.Welcome' - processed as definition

THE SECOND ONE:
DEBUG 2003-10-09 08:50:46,522 - Get module name for path /action
DEBUG 2003-10-09 08:50:46,522 - Module name found: default
DEBUG 2003-10-09 08:50

RE: struts double action execution!?

2003-10-13 Thread Mark Galbreath
Yeah, wallaby-boy, I seem to remember a similar behavior when I was using
1.01 beta and using an image as an input to a submit tag.

Marconi

-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]
Sent: Monday, October 13, 2003 10:20 AM
To: Struts Users Mailing List
Subject: RE: struts double action execution!?


Yep. That table thing is almost certainly a red herring.

-Original Message-
From: Mark Galbreath [mailto:[EMAIL PROTECTED]
Sent: Monday, 13 October 2003 22:18
To: Struts Users Mailing List
Subject: RE: struts double action execution!?


I didn't know table had a background attribute.  But any HTML attribute
value should be ignored by Struts.  Even using html:table shouldn't cause
a 2x submit.


-Original Message-
From: Otto, Frank [mailto:[EMAIL PROTECTED]
Sent: Monday, October 13, 2003 9:41 AM
To: 'Struts Users Mailing List'
Subject: AW: struts double action execution!?


Thanks for your answer.

I have found the mistake. I had a # in my table-tag.

table background=#
...
/table

I don't know why struts execute the action twice, but without the # it
functions.

-Ursprüngliche Nachricht-
Von: Nicholson, Robb [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 13. Oktober 2003 15:36
An: 'Struts Users Mailing List'
Betreff: RE: struts double action execution!?


We had this problem briefly as well. Make sure you don't have a button that
looks like this on your JSP...

html:submit ...  onclick=submit()/



-Original Message-
From: Otto, Frank [mailto:[EMAIL PROTECTED]
Sent: Monday, October 13, 2003 4:55 AM
To: '[EMAIL PROTECTED]'
Subject: struts double action execution!?


Hello,

I have a difficult problem. My action was executed twice and I don't know
why.

There is a global forward in my main.jsp:

%@ taglib uri=/WEB-INF/struts-logic.tld prefix=logic %
logic:forward name=startpage/


struts-config.xml:

struts-config
  global-forwards
forward
  name=startpage
  path=/action/welcome /

   ...
  /global-forwards

  action-mappings

action
  path=/welcome
  type=test.actions.CWelcomeAction
  name=loginForm
  scope=request
  validate=false
  forward
name=Success path=dos.Welcome /
/action

...
  /action-mappings


tiles-def.xml:

tiles-definitions
   definition name=dos.DefaultLayout
page=/pages/layouts/dosDefaultLayout.jsp
put name=header value=/pages/header/empty.jsp/
put name=agb value=/pages/submenu/common/agb.jsp/
   /definition

   definition name=dos.WelcomeLayout extends=dos.DefaultLayout

put name=header value=/pages/header/startpage.jsp/
  put name=mainmenu_top value=/pages/mainmenu_top/emptymain.jsp/
  put name=mainmenu_bottom
value=/pages/mainmenu_bottom/welcomemain.jsp/
  put name=submenu value=/pages/submenu/main/login.jsp/
put name=navigation value=/pages/navigation/empty.jsp/

   /definition

   definition name=dos.Welcome extends=dos.WelcomeLayout
put name=caption
value=/pages/captions/main/welcome.jsp/
  put name=content value=/pages/mainpage/main/welcome.jsp/
   /definition
...
/tiles-definitions


That was written in the log-file:

DEBUG 2003-10-09 08:50:46,204 - Get module name for path /action
DEBUG 2003-10-09 08:50:46,204 - Module name found: default
DEBUG 2003-10-09 08:50:46,205 - Processing a 'GET' for path '/welcome'
DEBUG 2003-10-09 08:50:46,205 -  Looking for ActionForm bean instance in
scope 'request' under attribute key 'loginForm'
DEBUG 2003-10-09 08:50:46,205 -  Creating new ActionForm instance of type
'test.forms.main.CLoginForm'
DEBUG 2003-10-09 08:50:46,205 -  -- [EMAIL PROTECTED]
DEBUG 2003-10-09 08:50:46,205 -  Storing ActionForm bean instance in scope
'request' under attribute key 'loginForm'
DEBUG 2003-10-09 08:50:46,206 -  Populating bean properties from this
request
DEBUG 2003-10-09 08:50:46,206 -
BeanUtils.populate([EMAIL PROTECTED], {})
DEBUG 2003-10-09 08:50:46,206 -  Looking for Action instance for class
test.actions.CWelcomeAction
DEBUG 2003-10-09 08:50:46,206 -   Returning existing Action instance
DEBUG 2003-10-09 08:50:46,206 - Begin   CWelcomeAction.execute()
DEBUG 2003-10-09 08:50:46,206 - dispatch:
ActionConfig[path=/welcome,name=loginForm,scope=request,type=test.actions.CW
elcome
Action
...
DEBUG 2003-10-09 08:50:46,211 - End CWelcomeAction.execute()
DEBUG 2003-10-09 08:50:46,211 - processForwardConfig(dos.Welcome, false)
DEBUG 2003-10-09 08:50:46,212 - uri=/pages/layouts/dosDefaultLayout.jsp
doInclud
e=false
DEBUG 2003-10-09 08:50:46,214 - insert page='/pages/header/startpage.jsp'.
DEBUG 2003-10-09 08:50:46,219 - insert
page='/pages/mainmenu_bottom/welcomemain.
jsp'.
DEBUG 2003-10-09 08:50:46,226 - insert page='/pages/submenu/main/login.jsp'.

DEBUG 2003-10-09 08:50:46,230 - insert page='/pages/submenu/common/agb.jsp'.

DEBUG 2003-10-09 08:50:46,236 - insert page='/pages/navigation/empty.jsp'.
DEBUG 2003-10-09 08:50:46,238 - insert
page='/pages/captions/main

RE: struts double action execution!?

2003-10-13 Thread Andrew Hill
My encounter with the double submit problem was with having a submit button
with an onSubmit that also tried to submit. Worked sweet in ie5, but 6
respected both submissions...

-Original Message-
From: Mark Galbreath [mailto:[EMAIL PROTECTED]
Sent: Monday, 13 October 2003 22:54
To: Struts Users Mailing List
Subject: RE: struts double action execution!?


Yeah, wallaby-boy, I seem to remember a similar behavior when I was using
1.01 beta and using an image as an input to a submit tag.

Marconi

-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]
Sent: Monday, October 13, 2003 10:20 AM
To: Struts Users Mailing List
Subject: RE: struts double action execution!?


Yep. That table thing is almost certainly a red herring.

-Original Message-
From: Mark Galbreath [mailto:[EMAIL PROTECTED]
Sent: Monday, 13 October 2003 22:18
To: Struts Users Mailing List
Subject: RE: struts double action execution!?


I didn't know table had a background attribute.  But any HTML attribute
value should be ignored by Struts.  Even using html:table shouldn't cause
a 2x submit.


-Original Message-
From: Otto, Frank [mailto:[EMAIL PROTECTED]
Sent: Monday, October 13, 2003 9:41 AM
To: 'Struts Users Mailing List'
Subject: AW: struts double action execution!?


Thanks for your answer.

I have found the mistake. I had a # in my table-tag.

table background=#
...
/table

I don't know why struts execute the action twice, but without the # it
functions.

-Ursprüngliche Nachricht-
Von: Nicholson, Robb [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 13. Oktober 2003 15:36
An: 'Struts Users Mailing List'
Betreff: RE: struts double action execution!?


We had this problem briefly as well. Make sure you don't have a button that
looks like this on your JSP...

html:submit ...  onclick=submit()/



-Original Message-
From: Otto, Frank [mailto:[EMAIL PROTECTED]
Sent: Monday, October 13, 2003 4:55 AM
To: '[EMAIL PROTECTED]'
Subject: struts double action execution!?


Hello,

I have a difficult problem. My action was executed twice and I don't know
why.

There is a global forward in my main.jsp:

%@ taglib uri=/WEB-INF/struts-logic.tld prefix=logic %
logic:forward name=startpage/


struts-config.xml:

struts-config
  global-forwards
forward
  name=startpage
  path=/action/welcome /

   ...
  /global-forwards

  action-mappings

action
  path=/welcome
  type=test.actions.CWelcomeAction
  name=loginForm
  scope=request
  validate=false
  forward
name=Success path=dos.Welcome /
/action

...
  /action-mappings


tiles-def.xml:

tiles-definitions
   definition name=dos.DefaultLayout
page=/pages/layouts/dosDefaultLayout.jsp
put name=header value=/pages/header/empty.jsp/
put name=agb value=/pages/submenu/common/agb.jsp/
   /definition

   definition name=dos.WelcomeLayout extends=dos.DefaultLayout

put name=header value=/pages/header/startpage.jsp/
  put name=mainmenu_top value=/pages/mainmenu_top/emptymain.jsp/
  put name=mainmenu_bottom
value=/pages/mainmenu_bottom/welcomemain.jsp/
  put name=submenu value=/pages/submenu/main/login.jsp/
put name=navigation value=/pages/navigation/empty.jsp/

   /definition

   definition name=dos.Welcome extends=dos.WelcomeLayout
put name=caption
value=/pages/captions/main/welcome.jsp/
  put name=content value=/pages/mainpage/main/welcome.jsp/
   /definition
...
/tiles-definitions


That was written in the log-file:

DEBUG 2003-10-09 08:50:46,204 - Get module name for path /action
DEBUG 2003-10-09 08:50:46,204 - Module name found: default
DEBUG 2003-10-09 08:50:46,205 - Processing a 'GET' for path '/welcome'
DEBUG 2003-10-09 08:50:46,205 -  Looking for ActionForm bean instance in
scope 'request' under attribute key 'loginForm'
DEBUG 2003-10-09 08:50:46,205 -  Creating new ActionForm instance of type
'test.forms.main.CLoginForm'
DEBUG 2003-10-09 08:50:46,205 -  -- [EMAIL PROTECTED]
DEBUG 2003-10-09 08:50:46,205 -  Storing ActionForm bean instance in scope
'request' under attribute key 'loginForm'
DEBUG 2003-10-09 08:50:46,206 -  Populating bean properties from this
request
DEBUG 2003-10-09 08:50:46,206 -
BeanUtils.populate([EMAIL PROTECTED], {})
DEBUG 2003-10-09 08:50:46,206 -  Looking for Action instance for class
test.actions.CWelcomeAction
DEBUG 2003-10-09 08:50:46,206 -   Returning existing Action instance
DEBUG 2003-10-09 08:50:46,206 - Begin   CWelcomeAction.execute()
DEBUG 2003-10-09 08:50:46,206 - dispatch:
ActionConfig[path=/welcome,name=loginForm,scope=request,type=test.actions.CW
elcome
Action
...
DEBUG 2003-10-09 08:50:46,211 - End CWelcomeAction.execute()
DEBUG 2003-10-09 08:50:46,211 - processForwardConfig(dos.Welcome, false)
DEBUG 2003-10-09 08:50:46,212 - uri=/pages/layouts/dosDefaultLayout.jsp
doInclud
e=false
DEBUG 2003-10-09 08:50:46,214 - insert page='/pages/header/startpage.jsp'.
DEBUG 2003-10-09 08:50

Re: [FRIDAY] Funny legal signatures [WAS: RE: Struts in Action]

2003-07-25 Thread Adam Hardy
No, it's real. You see it all the time on ezines and quasi-spam 
newsletters. I never realised how ridiculous it was before - bit like 
Amazon, where it says Welcome Adam Hardy! If you are not Adam Hardy, 
please click here!

Andrew Hill wrote:
Hehe. Tongue in cheek surely? :-)

-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]
Sent: Friday, 25 July 2003 12:33
To: Struts Users Mailing List; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [FRIDAY] Funny legal signatures [WAS: RE: Struts in Action]


On Fri, 25 Jul 2003, Andrew Hill wrote:


Date: Fri, 25 Jul 2003 11:29:15 +0800
From: Andrew Hill [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED],
[EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED],
[EMAIL PROTECTED]
Subject: [FRIDAY] Funny legal signatures [WAS: RE: Struts in Action]
snip
If received in error, please destroy and notify sender
/snip
My favorite email message sentence along this line is actually slightly
different:
If you did not receive this email message, and you wish to receive future
messages, please reply so that I can add you to the distribution list.
Craig

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



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


Struts in Action

2003-07-24 Thread Chirag Mehta
I have just started developing a Struts Webapp and was wondering if
there was an actual Struts app in production online that I could have a
look at?

Also, does anyone suggest a good IDE to work on. Currently i have
Eclipse with plugins galore. Is that the best option?

Thanks

Chirag

--
NOTICE: If received in error, please destroy and notify sender.  Sender
does not waive confidentiality or privilege, and use is prohibited.


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

RE: Struts in Action

2003-07-24 Thread Mike Jasnowski
Struts Console seems very popular and plugs into a few IDE's (including
Eclipse)

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

As for other IDE's, I just switched to IntelliJ from Forte for Java and am
very happy.

-Original Message-
From: Chirag Mehta [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 24, 2003 1:24 PM
To: Struts Users Mailing List
Subject: Struts in Action


I have just started developing a Struts Webapp and was wondering if
there was an actual Struts app in production online that I could have a
look at?

Also, does anyone suggest a good IDE to work on. Currently i have
Eclipse with plugins galore. Is that the best option?

Thanks

Chirag

--
NOTICE: If received in error, please destroy and notify sender.  Sender
does not waive confidentiality or privilege, and use is prohibited.




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



Re: Struts in Action

2003-07-24 Thread Vic Cekvenich
baseBeans.com is done in Struts (via basicPortal). baseBeans.com cheat 
sheet page has a link to many Struts related resources, including the 
home page of Struts on Apache.

Eclipse is great.

btw: Struts in Action is also a name of a good Struts book.

.V

Chirag Mehta wrote:
I have just started developing a Struts Webapp and was wondering if
there was an actual Struts app in production online that I could have a
look at?
Also, does anyone suggest a good IDE to work on. Currently i have
Eclipse with plugins galore. Is that the best option?
Thanks

Chirag

--
NOTICE: If received in error, please destroy and notify sender.  Sender
does not waive confidentiality or privilege, and use is prohibited.




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


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


[FRIDAY] Funny legal signatures [WAS: RE: Struts in Action]

2003-07-24 Thread Andrew Hill
snip
If received in error, please destroy and notify sender
/snip

Wouldnt it be more logical if I notified you first and then destroyed you?
That way you would have a chance to say goodbye to everyone first.

I have to say thats a pretty strict rule! Id have thought accidentally
sending email to the wrong place might deserve a reprimand or such like -
but destruction? ouch!

;-

-Original Message-
From: Chirag Mehta [mailto:[EMAIL PROTECTED]
Sent: Friday, 25 July 2003 01:24
To: Struts Users Mailing List
Subject: Struts in Action


I have just started developing a Struts Webapp and was wondering if
there was an actual Struts app in production online that I could have a
look at?

Also, does anyone suggest a good IDE to work on. Currently i have
Eclipse with plugins galore. Is that the best option?

Thanks

Chirag

--
NOTICE: If received in error, please destroy and notify sender.  Sender
does not waive confidentiality or privilege, and use is prohibited.




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



RE: [FRIDAY] Funny legal signatures [WAS: RE: Struts in Action]

2003-07-24 Thread Shane Mingins
lol

-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED] 
Sent: Friday, 25 July 2003 3:29 p.m.
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: [FRIDAY] Funny legal signatures [WAS: RE: Struts in Action]

snip
If received in error, please destroy and notify sender
/snip

Wouldnt it be more logical if I notified you first and then destroyed you?
That way you would have a chance to say goodbye to everyone first.

I have to say thats a pretty strict rule! Id have thought accidentally
sending email to the wrong place might deserve a reprimand or such like -
but destruction? ouch!

;-

-Original Message-
From: Chirag Mehta [mailto:[EMAIL PROTECTED]
Sent: Friday, 25 July 2003 01:24
To: Struts Users Mailing List
Subject: Struts in Action


I have just started developing a Struts Webapp and was wondering if
there was an actual Struts app in production online that I could have a
look at?

Also, does anyone suggest a good IDE to work on. Currently i have
Eclipse with plugins galore. Is that the best option?

Thanks

Chirag

--
NOTICE: If received in error, please destroy and notify sender.  Sender
does not waive confidentiality or privilege, and use is prohibited.




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

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



Re: [FRIDAY] Funny legal signatures [WAS: RE: Struts in Action]

2003-07-24 Thread Craig R. McClanahan


On Fri, 25 Jul 2003, Andrew Hill wrote:

 Date: Fri, 25 Jul 2003 11:29:15 +0800
 From: Andrew Hill [EMAIL PROTECTED]
 Reply-To: Struts Users Mailing List [EMAIL PROTECTED],
  [EMAIL PROTECTED]
 To: Struts Users Mailing List [EMAIL PROTECTED],
  [EMAIL PROTECTED]
 Subject: [FRIDAY] Funny legal signatures [WAS: RE: Struts in Action]

 snip
 If received in error, please destroy and notify sender
 /snip


My favorite email message sentence along this line is actually slightly
different:

If you did not receive this email message, and you wish to receive future
messages, please reply so that I can add you to the distribution list.

Craig

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



RE: [FRIDAY] Funny legal signatures [WAS: RE: Struts in Action]

2003-07-24 Thread Andrew Hill
Hehe. Tongue in cheek surely? :-)

-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]
Sent: Friday, 25 July 2003 12:33
To: Struts Users Mailing List; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [FRIDAY] Funny legal signatures [WAS: RE: Struts in Action]




On Fri, 25 Jul 2003, Andrew Hill wrote:

 Date: Fri, 25 Jul 2003 11:29:15 +0800
 From: Andrew Hill [EMAIL PROTECTED]
 Reply-To: Struts Users Mailing List [EMAIL PROTECTED],
  [EMAIL PROTECTED]
 To: Struts Users Mailing List [EMAIL PROTECTED],
  [EMAIL PROTECTED]
 Subject: [FRIDAY] Funny legal signatures [WAS: RE: Struts in Action]

 snip
 If received in error, please destroy and notify sender
 /snip


My favorite email message sentence along this line is actually slightly
different:

If you did not receive this email message, and you wish to receive future
messages, please reply so that I can add you to the distribution list.

Craig

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

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



Re: Struts in Action

2003-07-24 Thread Sergey Smirnov
Chirag Mehta [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]

 Also, does anyone suggest a good IDE to work on. Currently i have
 Eclipse with plugins galore. Is that the best option?

Try Exadel Struts Studio - http://www.strutsStudio.com
It also orients to people who learns Struts.

Actually, there is a lot of GUI tools already exist (and will be created in
the nearest future) - from simple xml editors to advanced IDEs created
specially for Struts Framework. Which of them is the best option for you
depends of your needs




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



Struts In Action - Artimus 1.0 example - SQLException

2003-03-28 Thread Jeff Kilbride
Hi All,

I'm working my way through the Artimus example in Struts In Action. I was
able to create the resources and I can see the tables in my MySQL database.
The Add Article and Find articles by [Title | Author | Content]
functions work, but the Find articles by ID and List articles posted...
functions, as well as clicking on a found article link, all produce the same
SQLException:


java.sql.SQLException: Operation not allowed after ResultSet closed
at com.mysql.jdbc.ResultSet.checkClosed(ResultSet.java:3580)
at com.mysql.jdbc.ResultSet.next(ResultSet.java:2424)
at
org.apache.commons.scaffold.sql.ResultSetUtils.getCollection(Unknown Source)
at
org.apache.commons.scaffold.sql.StatementUtils.getCollection(Unknown Source)
at
org.apache.commons.scaffold.sql.StatementUtils.getCollection(Unknown Source)
at org.apache.commons.scaffold.sql.AccessBase.findCollection(Unknown
Source)
at org.apache.artimus.article.Access.findAll(Unknown Source)
at org.apache.artimus.CreateResources.execute(Unknown Source)
at org.apache.struts.scaffold.ProcessAction.executeLogic(Unknown
Source)
at org.apache.struts.scaffold.BaseHelperAction.executeLogic(Unknown
Source)
at org.apache.struts.scaffold.BaseAction.execute(Unknown Source)
at org.apache.struts.scaffold.BaseAction.perform(Unknown Source)
at
org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.ja
va:1787)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1586)
at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:165)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:103)
at
com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:9
6)
at com.caucho.server.http.Invocation.service(Invocation.java:315)
at
com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135)
at
com.caucho.server.http.QRequestDispatcher.forward(QRequestDispatcher.java:22
5)
at
com.caucho.server.http.QRequestDispatcher.forward(QRequestDispatcher.java:10
6)
at
com.caucho.server.http.QRequestDispatcher.forward(QRequestDispatcher.java:83
)
at
org.apache.struts.tiles.ActionComponentServlet.doForward(ActionComponentServ
let.java:389)
at
org.apache.struts.tiles.ActionComponentServlet.processActionForward(ActionCo
mponentServlet.java:109)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1596)
at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:165)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:103)
at
com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:9
6)
at com.caucho.server.http.Invocation.service(Invocation.java:315)
at
com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135)
at
com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:246)
at
com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:164)
at com.caucho.server.TcpConnection.run(TcpConnection.java:139)
at java.lang.Thread.run(Thread.java:536)


Has anyone seen this before?

Thanks,
--jeff



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



Re: Struts In Action - Artimus 1.0 example - SQLException

2003-03-28 Thread Navjot Singh
this error comes WHEN you try to read from the Result Set after result set
OR statement OR connection is closed for the query fired.

HTH

- Original Message -
From: Jeff Kilbride [EMAIL PROTECTED]
To: Struts User [EMAIL PROTECTED]
Sent: Saturday, March 29, 2003 9:11 AM
Subject: Struts In Action - Artimus 1.0 example - SQLException


 Hi All,

 I'm working my way through the Artimus example in Struts In Action. I
was
 able to create the resources and I can see the tables in my MySQL
database.
 The Add Article and Find articles by [Title | Author | Content]
 functions work, but the Find articles by ID and List articles
posted...
 functions, as well as clicking on a found article link, all produce the
same
 SQLException:

 
 java.sql.SQLException: Operation not allowed after ResultSet closed
 at com.mysql.jdbc.ResultSet.checkClosed(ResultSet.java:3580)
 at com.mysql.jdbc.ResultSet.next(ResultSet.java:2424)
 at
 org.apache.commons.scaffold.sql.ResultSetUtils.getCollection(Unknown
Source)
 at
 org.apache.commons.scaffold.sql.StatementUtils.getCollection(Unknown
Source)
 at
 org.apache.commons.scaffold.sql.StatementUtils.getCollection(Unknown
Source)
 at
org.apache.commons.scaffold.sql.AccessBase.findCollection(Unknown
 Source)
 at org.apache.artimus.article.Access.findAll(Unknown Source)
 at org.apache.artimus.CreateResources.execute(Unknown Source)
 at org.apache.struts.scaffold.ProcessAction.executeLogic(Unknown
 Source)
 at
org.apache.struts.scaffold.BaseHelperAction.executeLogic(Unknown
 Source)
 at org.apache.struts.scaffold.BaseAction.execute(Unknown Source)
 at org.apache.struts.scaffold.BaseAction.perform(Unknown Source)
 at

org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.ja
 va:1787)
 at
 org.apache.struts.action.ActionServlet.process(ActionServlet.java:1586)
 at
 org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:165)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:103)
 at

com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:9
 6)
 at com.caucho.server.http.Invocation.service(Invocation.java:315)
 at
 com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135)
 at

com.caucho.server.http.QRequestDispatcher.forward(QRequestDispatcher.java:22
 5)
 at

com.caucho.server.http.QRequestDispatcher.forward(QRequestDispatcher.java:10
 6)
 at

com.caucho.server.http.QRequestDispatcher.forward(QRequestDispatcher.java:83
 )
 at

org.apache.struts.tiles.ActionComponentServlet.doForward(ActionComponentServ
 let.java:389)
 at

org.apache.struts.tiles.ActionComponentServlet.processActionForward(ActionCo
 mponentServlet.java:109)
 at
 org.apache.struts.action.ActionServlet.process(ActionServlet.java:1596)
 at
 org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:165)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:103)
 at

com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:9
 6)
 at com.caucho.server.http.Invocation.service(Invocation.java:315)
 at
 com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135)
 at
 com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:246)
 at
 com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:164)
 at com.caucho.server.TcpConnection.run(TcpConnection.java:139)
 at java.lang.Thread.run(Thread.java:536)
 

 Has anyone seen this before?

 Thanks,
 --jeff



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




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



Re: Struts In Action - Artimus 1.0 example - SQLException

2003-03-28 Thread Jeff Kilbride
Ok, so this is a problem with either the Artimus example code or Scaffold?
Any ideas for tracking it down?

Thanks,
--jeff

- Original Message -
From: Navjot Singh [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, March 28, 2003 7:46 PM
Subject: Re: Struts In Action - Artimus 1.0 example - SQLException


 this error comes WHEN you try to read from the Result Set after result set
 OR statement OR connection is closed for the query fired.

 HTH

 - Original Message -
 From: Jeff Kilbride [EMAIL PROTECTED]
 To: Struts User [EMAIL PROTECTED]
 Sent: Saturday, March 29, 2003 9:11 AM
 Subject: Struts In Action - Artimus 1.0 example - SQLException


  Hi All,
 
  I'm working my way through the Artimus example in Struts In Action. I
 was
  able to create the resources and I can see the tables in my MySQL
 database.
  The Add Article and Find articles by [Title | Author | Content]
  functions work, but the Find articles by ID and List articles
 posted...
  functions, as well as clicking on a found article link, all produce the
 same
  SQLException:
 
  
  java.sql.SQLException: Operation not allowed after ResultSet closed
  at com.mysql.jdbc.ResultSet.checkClosed(ResultSet.java:3580)
  at com.mysql.jdbc.ResultSet.next(ResultSet.java:2424)
  at
  org.apache.commons.scaffold.sql.ResultSetUtils.getCollection(Unknown
 Source)
  at
  org.apache.commons.scaffold.sql.StatementUtils.getCollection(Unknown
 Source)
  at
  org.apache.commons.scaffold.sql.StatementUtils.getCollection(Unknown
 Source)
  at
 org.apache.commons.scaffold.sql.AccessBase.findCollection(Unknown
  Source)
  at org.apache.artimus.article.Access.findAll(Unknown Source)
  at org.apache.artimus.CreateResources.execute(Unknown Source)
  at org.apache.struts.scaffold.ProcessAction.executeLogic(Unknown
  Source)
  at
 org.apache.struts.scaffold.BaseHelperAction.executeLogic(Unknown
  Source)
  at org.apache.struts.scaffold.BaseAction.execute(Unknown Source)
  at org.apache.struts.scaffold.BaseAction.perform(Unknown Source)
  at
 

org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.ja
  va:1787)
  at
  org.apache.struts.action.ActionServlet.process(ActionServlet.java:1586)
  at
  org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:165)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:103)
  at
 

com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:9
  6)
  at
com.caucho.server.http.Invocation.service(Invocation.java:315)
  at
  com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135)
  at
 

com.caucho.server.http.QRequestDispatcher.forward(QRequestDispatcher.java:22
  5)
  at
 

com.caucho.server.http.QRequestDispatcher.forward(QRequestDispatcher.java:10
  6)
  at
 

com.caucho.server.http.QRequestDispatcher.forward(QRequestDispatcher.java:83
  )
  at
 

org.apache.struts.tiles.ActionComponentServlet.doForward(ActionComponentServ
  let.java:389)
  at
 

org.apache.struts.tiles.ActionComponentServlet.processActionForward(ActionCo
  mponentServlet.java:109)
  at
  org.apache.struts.action.ActionServlet.process(ActionServlet.java:1596)
  at
  org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:165)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:103)
  at
 

com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:9
  6)
  at
com.caucho.server.http.Invocation.service(Invocation.java:315)
  at
  com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135)
  at
  com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:246)
  at
 
com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:164)
  at com.caucho.server.TcpConnection.run(TcpConnection.java:139)
  at java.lang.Thread.run(Thread.java:536)
  
 
  Has anyone seen this before?
 
  Thanks,
  --jeff
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 


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



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



Re: Struts In Action - Artimus 1.0 example - SQLException

2003-03-28 Thread Navjot Singh
can't say buddy as i don't have these examples with right now.

but try to look in here (in order), you will find the cause.

org.apache.artimus.article.Access.findAll()
org.apache.commons.scaffold.sql.AccessBase.findCollection()
org.apache.commons.scaffold.sql.ResultSetUtils.getCollection()

-navjot

- Original Message -
From: Jeff Kilbride [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Saturday, March 29, 2003 9:34 AM
Subject: Re: Struts In Action - Artimus 1.0 example - SQLException


 Ok, so this is a problem with either the Artimus example code or Scaffold?
 Any ideas for tracking it down?

 Thanks,
 --jeff

 - Original Message -
 From: Navjot Singh [EMAIL PROTECTED]
 To: Struts Users Mailing List [EMAIL PROTECTED]
 Sent: Friday, March 28, 2003 7:46 PM
 Subject: Re: Struts In Action - Artimus 1.0 example - SQLException


  this error comes WHEN you try to read from the Result Set after result
set
  OR statement OR connection is closed for the query fired.
 
  HTH
 
  - Original Message -
  From: Jeff Kilbride [EMAIL PROTECTED]
  To: Struts User [EMAIL PROTECTED]
  Sent: Saturday, March 29, 2003 9:11 AM
  Subject: Struts In Action - Artimus 1.0 example - SQLException
 
 
   Hi All,
  
   I'm working my way through the Artimus example in Struts In Action.
I
  was
   able to create the resources and I can see the tables in my MySQL
  database.
   The Add Article and Find articles by [Title | Author | Content]
   functions work, but the Find articles by ID and List articles
  posted...
   functions, as well as clicking on a found article link, all produce
the
  same
   SQLException:
  
   
   java.sql.SQLException: Operation not allowed after ResultSet closed
   at com.mysql.jdbc.ResultSet.checkClosed(ResultSet.java:3580)
   at com.mysql.jdbc.ResultSet.next(ResultSet.java:2424)
   at
   org.apache.commons.scaffold.sql.ResultSetUtils.getCollection(Unknown
  Source)
   at
   org.apache.commons.scaffold.sql.StatementUtils.getCollection(Unknown
  Source)
   at
   org.apache.commons.scaffold.sql.StatementUtils.getCollection(Unknown
  Source)
   at
  org.apache.commons.scaffold.sql.AccessBase.findCollection(Unknown
   Source)
   at org.apache.artimus.article.Access.findAll(Unknown Source)
   at org.apache.artimus.CreateResources.execute(Unknown Source)
   at
org.apache.struts.scaffold.ProcessAction.executeLogic(Unknown
   Source)
   at
  org.apache.struts.scaffold.BaseHelperAction.executeLogic(Unknown
   Source)
   at org.apache.struts.scaffold.BaseAction.execute(Unknown
Source)
   at org.apache.struts.scaffold.BaseAction.perform(Unknown
Source)
   at
  
 

org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.ja
   va:1787)
   at
  
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1586)
   at
   org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)
   at
javax.servlet.http.HttpServlet.service(HttpServlet.java:165)
   at
javax.servlet.http.HttpServlet.service(HttpServlet.java:103)
   at
  
 

com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:9
   6)
   at
 com.caucho.server.http.Invocation.service(Invocation.java:315)
   at
  
com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135)
   at
  
 

com.caucho.server.http.QRequestDispatcher.forward(QRequestDispatcher.java:22
   5)
   at
  
 

com.caucho.server.http.QRequestDispatcher.forward(QRequestDispatcher.java:10
   6)
   at
  
 

com.caucho.server.http.QRequestDispatcher.forward(QRequestDispatcher.java:83
   )
   at
  
 

org.apache.struts.tiles.ActionComponentServlet.doForward(ActionComponentServ
   let.java:389)
   at
  
 

org.apache.struts.tiles.ActionComponentServlet.processActionForward(ActionCo
   mponentServlet.java:109)
   at
  
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1596)
   at
   org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)
   at
javax.servlet.http.HttpServlet.service(HttpServlet.java:165)
   at
javax.servlet.http.HttpServlet.service(HttpServlet.java:103)
   at
  
 

com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:9
   6)
   at
 com.caucho.server.http.Invocation.service(Invocation.java:315)
   at
  
com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135)
   at
   com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:246)
   at
  
 com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:164)
   at com.caucho.server.TcpConnection.run(TcpConnection.java:139)
   at java.lang.Thread.run(Thread.java:536)
   
  
   Has anyone seen this before?
  
   Thanks

Re: Struts In Action - Artimus 1.0 example - SQLException

2003-03-28 Thread Jeff Kilbride
Not sure it's worth the time trying to debug. Just using it as an example.
I'm using the war file downloaded from the book's site with no modifications
to the Artimus or Scaffold code. Scaffold seems pretty interesting, but I'm
wondering if this is a flaw. I'd be surprised if anybody else working
through this example didn't run into the same thing. Its so annoying when
sample code doesn't work!   :(

Thanks anyway!
--jeff

- Original Message -
From: Navjot Singh [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Friday, March 28, 2003 8:49 PM
Subject: Re: Struts In Action - Artimus 1.0 example - SQLException


 can't say buddy as i don't have these examples with right now.

 but try to look in here (in order), you will find the cause.

 org.apache.artimus.article.Access.findAll()
 org.apache.commons.scaffold.sql.AccessBase.findCollection()
 org.apache.commons.scaffold.sql.ResultSetUtils.getCollection()

 -navjot



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



Struts console action mapping attribute question.

2003-03-20 Thread Mick . Knutson
What is the Configuration class attribute of an action mapping in the struts console?
I see it adds a className= but I have no idea what this is used for in Struts 1.1rc1




Thank You

Mick Knutson

Sr. Designer - Project Trust
aUBS AG, Financial - Zürich
Office: +41 (0)1/234.42.75
Internal: 48194
Mobile: 079.726.14.26

Visit our website at http://www.ubswarburg.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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



Re: Struts console action mapping attribute question.

2003-03-20 Thread David Graham
Check the struts-config.xml DTD.

David



From: [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Struts console action mapping attribute question.
Date: Thu, 20 Mar 2003 16:43:48 +0100
What is the Configuration class attribute of an action mapping in the 
struts console?
I see it adds a className= but I have no idea what this is used for in 
Struts 1.1rc1



Thank You

Mick Knutson

Sr. Designer - Project Trust
aUBS AG, Financial - Zürich
Office: +41 (0)1/234.42.75
Internal: 48194
Mobile: 079.726.14.26
Visit our website at http://www.ubswarburg.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_
Tired of spam? Get advanced junk mail protection with MSN 8. 
http://join.msn.com/?page=features/junkmail

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


Final Accessor/Mutators in Struts Forms/Action Classes

2003-03-14 Thread Ted Husted
It's mainly a matter of whether you are writing classes for a 
toolkit/framework or for personal consumption.

If it's just an ordinary class in your application, you can always make 
it unfinal later and recompile.

If it's something your posting for lots of other people outside the 
immediate team to use, better to leave it subclassable. (In which case, 
also remember to add serializable to the signature, since leaving that 
out chokes some containers.)

-T.

--
Ted Husted,
Struts in Action http://husted.com/struts/book.html
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Final Accessor/Mutators in Struts Forms/Action Classes

2003-03-13 Thread Curley, John

Hi, All:

Just like to get people's opinion on this small issue.

Now, I have been told that accessors and mutators should be declared final
(since these methods are not normally intended to be overridden).  By doing
this, you take away the polymorphic nature of the method and allow a Java
compiler to inline the method if the compiler chooses.

Obviously, this would make the code more efficient.  But again, if the
methods are not called that frequently, the code savings are most likely
insignificant.

Now, when viewing the Form beans in Struts I haven't seen this done.

Is there any harm in declaring accessor/mutators this way

public final int getAssociateTotal()
{
 return associateTotal;
}

public final void setAssociateTotal(int associateTotal)
{
this.associateTotal = associateTotal;
}

In regular Java classes, I almost always did this.  I wouldn't do this in an
EJB since I know that the App Server will sub class the classes we write
(Remote, Home, Bean) and may want to override these methods.

However, do you think this would be a problem in something Struts related,
such as an Action or Form?

Just a side question that went off in my head.  I understand in the grand
scheme of things, it's probably not a showstopper.  :-)

John

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



What is UserDirectory?? (Question about Struts In Action by Husted)

2003-03-04 Thread Frankioski
In Listing 1.2 on page 20 in the book, RegisterAction.java has a line of source code 
that reads:

UserDirectory.getInstance().setUser(user,password1);

My question is: What is UserDirectory, and what does that line do?  I cannot find 
anything about UserDirectory in any Java API.

Thanks.

__
The NEW Netscape 7.0 browser is now available. Upgrade now! 
http://channels.netscape.com/ns/browsers/download.jsp 

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/

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



Re: What is UserDirectory?? (Question about Struts In Action by Husted)

2003-03-04 Thread David Graham
This question is probably better suited for whatever site the book has setup 
for support.  However great Ted's book may be, not everyone has a copy :-).

David



From: [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: What is UserDirectory??  (Question about Struts In Action by 
Husted)
Date: Tue, 04 Mar 2003 20:12:41 -0500

In Listing 1.2 on page 20 in the book, RegisterAction.java has a line of 
source code that reads:

UserDirectory.getInstance().setUser(user,password1);

My question is: What is UserDirectory, and what does that line do?  I 
cannot find anything about UserDirectory in any Java API.

Thanks.

__
The NEW Netscape 7.0 browser is now available. Upgrade now! 
http://channels.netscape.com/ns/browsers/download.jsp

Get your own FREE, personal Netscape Mail account today at 
http://webmail.netscape.com/

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


_
Protect your PC - get McAfee.com VirusScan Online  
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

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


J2EE and Tomcat and struts (Question re Struts in Action by Husted)

2003-03-04 Thread Frankioski
The book has no discussion about installing J2EE when installing Tomcat.  Yet, on page 
20, Listing 1.2, RegisterAction.java imports the package javax.servlet.http.*.  Is'nt 
that package part of J2EE?  How is this going to compile and work if no J2EE is 
installed?  I haven't gotten far enough to compile this yet because I am still stuck 
on trying to figure out what is UserDirectory (in the same listing).
I would appreciate an explanation.
Thanks.

__
The NEW Netscape 7.0 browser is now available. Upgrade now! 
http://channels.netscape.com/ns/browsers/download.jsp 

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/

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



RE: J2EE and Tomcat and struts (Question re Struts in Action by Husted)

2003-03-04 Thread Jonathan
Tomcat is an implementation of the servlet spec that is part 
of the J2EE architecture.  You should be able to include the
jar files that are in tomcat as part of your classpath in
order to compile your servlets.

Jon.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: 05 March 2003 01:21
To: [EMAIL PROTECTED]
Subject: J2EE and Tomcat and struts (Question re Struts in Action by
Husted)

The book has no discussion about installing J2EE when installing Tomcat.
Yet, on page 20, Listing 1.2, RegisterAction.java imports the package
javax.servlet.http.*.  Is'nt that package part of J2EE?  How is this
going to compile and work if no J2EE is installed?  I haven't gotten far
enough to compile this yet because I am still stuck on trying to figure
out what is UserDirectory (in the same listing).
I would appreciate an explanation.
Thanks.

__
The NEW Netscape 7.0 browser is now available. Upgrade now!
http://channels.netscape.com/ns/browsers/download.jsp 

Get your own FREE, personal Netscape Mail account today at
http://webmail.netscape.com/

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



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



Re: What is UserDirectory?? (Question about Struts In Action by Husted)

2003-03-04 Thread alexj
As it's write on the book it's an helper class who provide an action to
store the
key user name and password into a file.

An helper class abstract the logic for an action. But as you can read
on manning web site on errata part :

The test doesn't mention that the UserDirectory source code is available in
the download. The following should be added as the second paragraph of page
20:

  We will also focus only on the Struts source files you need to create.
For example, the UserDirectory class is part of the application's business
logic. The Struts framework interacts with this class, but the UserDirectory
is not part of the Struts layer. (You would need this class whether you used
Struts or not.) If you are interested, the source code for UserDirectory is
provided in the WEB-INF/classes folder of the register application.

--
Alexandre Jaquet
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, March 05, 2003 2:12 AM
Subject: What is UserDirectory?? (Question about Struts In Action by
Husted)


 In Listing 1.2 on page 20 in the book, RegisterAction.java has a line of
source code that reads:

 UserDirectory.getInstance().setUser(user,password1);

 My question is: What is UserDirectory, and what does that line do?  I
cannot find anything about UserDirectory in any Java API.

 Thanks.

 __
 The NEW Netscape 7.0 browser is now available. Upgrade now!
http://channels.netscape.com/ns/browsers/download.jsp

 Get your own FREE, personal Netscape Mail account today at
http://webmail.netscape.com/

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





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



RE: J2EE and Tomcat and struts (Question re Struts in Action by Husted)

2003-03-04 Thread James Mitchell
From the bottom of page 20:

The UserDirectory is a helper class that will record usernames and
passwords into a standard properties file. Otherwise, the failure
ActionForward is
returned at (e).

Ted (perhaps mistakingly) over-looked adding the source for that class.
I can't seem to find it in the e-book or any of the review chapters.

The import you refer to is part of the J2EE Servlet API.  Typically
named 'servlet.jar', you can find this in Tomcat's lib directory or you
can grab a copy yourself.

Typcial locations for Tomcat:
Tomcat 3.2.x - %TOMCAT_HOME%/lib
Tomcat 3.3.x - %TOMCAT_HOME%/lib/common
Tomcat 4.0.x - %TOMCAT_HOME%/common/lib
Tomcat 4.1.x - %TOMCAT_HOME%/common/lib
Tomcat 5.0.x - %TOMCAT_HOME%/common/lib


To get the nightly source or binary distributions, go to:
 Binary
  http://cvs.apache.org/builds/jakarta-servletapi-4/nightly/

 Source
  http://cvs.apache.org/builds/jakarta-servletapi-4/nightly/src/

--
James Mitchell
Web Developer/Struts Evangelist
http://jakarta.apache.org/struts/

People demand freedom of speech to make up for the freedom of thought
which they avoid.
- Soren Aabye Kierkegaard (1813-1855)




 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, March 04, 2003 8:21 PM
 To: [EMAIL PROTECTED]
 Subject: J2EE and Tomcat and struts (Question re Struts in 
 Action by Husted)
 
 
 The book has no discussion about installing J2EE when 
 installing Tomcat.  Yet, on page 20, Listing 1.2, 
 RegisterAction.java imports the package javax.servlet.http.*. 
  Is'nt that package part of J2EE?  How is this going to 
 compile and work if no J2EE is installed?  I haven't gotten 
 far enough to compile this yet because I am still stuck on 
 trying to figure out what is UserDirectory (in the same listing).
 I would appreciate an explanation.
 Thanks.
 
 __
 The NEW Netscape 7.0 browser is now available. Upgrade now! 
 http://channels.netscape.com/ns/browsers/downl oad.jsp 
 
 Get 
 your own FREE, personal Netscape Mail account 
 today at http://webmail.netscape.com/
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


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



RE: design question about action chainning(As quoted in :Struts in action...by Ted Husted et al..)

2003-02-03 Thread shirishchandra . sakhare
Hi Ted,
This explanatation has set to rest most of my doubts about action 
chainning..And I think the way Most of us use actions(One action to serve the 
request like save action)and another to display the page (like getAccountsList 
Action )is not action chainning but action relay which is perfectly alright.
Also I have understood what u mean by actions becoming API rather than being 
distinations..And this has really helped me to find some of trouble spots in 
our application...

Thanks very very much...For all others as well who have contributed to this 
discussion and helped me (and hopefully a couple others )to better understand 
the very core of struts architecture..

regards,
Shirish

-Original Message-
From: husted [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 31, 2003 7:07 PM
To: struts-user
Cc: husted
Subject: design question about action chainning(As quoted in :Struts in
action...by Ted Husted et al..)


The best example of waht I'm calling an Action relay is how Struts 
handles validation. If validation fails, the request is forwarded to the 
input property, which could be another Action. This is done to complete 
the response, rather than continue with processing the action.

This same technique is often used after a lookup, where one Action does 
the lookup but another Action is used to complete the response, usually 
to setup any tools the page might need to render.

In an Action chain, control is not forwarded simply to complete the 
response but to continue processing. One action doesn't do some 
similar activity because that's the another actions job. The 
request/response transaction begins to be distributed between several 
Action, and this is where Action stop being destinations and start 
becoming an API.

Most often, whatever processing the Action in a chain are supposed to be 
doing can be refactored into base actions or utility classes, so the 
funcationality can be reused using standard object-orientated techniques.

-Ted.


-- 
Ted Husted,
Struts in Action http://husted.com/struts/book.html


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



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




Re: design question about action chainning(As quoted in :Struts in action...by Ted Husted et al..)

2003-01-31 Thread shirishchandra . sakhare
Hi,
I agree with u that u can have another layer of abstraction(like helper beans) 
between action and Service layer.So that same code ecan be reused.
But this some disadvangates.
Firstly U are then not really using the power of Struts Configuration file 
which allows you to use logical mappings in Action classes And to change the 
Flow,U can just change the config file (So long as all required parametzers are 
being passed in new flow  as well..).Because in our project, we had this 
requirement many a times.After we had done one release, the business gusy will 
come up with a suggestion some thing like, After AccountDetails PAge, can we go 
to AccountList üpage instead of Summary page etc etc .And because of Reusable 
actions, this was just a matter of changing the struts config file and in one 
of cases may be make the new caller pass a few more parameters.But there was no 
code duplication.

So as i said in my original mail,If your services are not tied to actions, then 
in that case I don't see any problem in action chainning.ANd it seems to me the 
best thing to really harness the power of Struts..Or is there any other 
preformance or design issue which i have missed?

Any comments:-))??


regards,
Shirish

-Original Message-
From: batien.duong [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 30, 2003 5:09 PM
To: struts-user
Subject: Re: design question about action chainning(As quoted in :Struts
in action...by Ted Husted et al..)


We achieve what you describe as a chain of actions for re-use with helper
beans and follow Struts design principal as Ted described. The helper beans
can be ready in cache or service pool for reuse. Look at
http://myportal.myb2cb2b.com/com.dbgroups.ppf/model/web/dao.html

Hope this may help.
BaTien

- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, January 30, 2003 3:34 AM
Subject: design question about action chainning(As quoted in :Struts in
action...by Ted Husted et al..)


 Hi All,
 I have a very basic design question about struts action design..We have
been
 developing a fairly large and complex web application involving struts and
 struts has proved to be a great help :-))  But after reading the book by
Mr.
 Husted et al., Struts in action,I have some basic questions about the
way we
 have done our project and the way it is described in the book.
 TO quote Mr. Husted...(Section 8.4 Chaining Actions .Note at the end of
 Section8.4.1. Starting fresh..)
 
 Speaking  as a Software architect,chainning actions in any way is not
something
 that I like to do.Ideally you should be able to call the business objects
from
 any Action where they are needed.Wanting to forward control to another
action
 implies that the Business  object my be too tightly coupled.Or it may
imply
 that the actions should descend from a common super class with hotspots
that
 sub classes should overrideThere are occasions when chainning actions
makes
 sense-for example if the other action is being used to render the response
in
 lieu of a presentation page.But valid use cases are rare.The best general
 practice is to stay with one-request ,one action regimen.
 *


 And also after searching the  archives for action chainnign , I found
another
 reply from Mr. Husted which says..
 
 Wanting to chain actions is a warning sign that there is too much business
 logic is creeping into the Actions and they are becoming the API, rather
than
 an adaptor for the API. (Struts should not *be* your application, it
should be
 a gateway *to* your application.)



 *


 I have a high regard for Mr. Ted Husted and that's why I would like to
clarify
 some of my doubts about the design strategy he has advocated in his book
from
 the exüperienced users of this list and Mr Husted himself if possible.
 I dont understand what is the disadvantage in Chainning actions?HAs it
some
 thing to do with performance?I totally agree that the business objects
shuld
 not be tightly coupled with actions and should be callable from any where
.But
 even after following this principal, most of the time you will end up
chainning
 actions if u really want reusable actions.Example can be loging process of
a
 user.So the request for loging form a user can result in 2 actions being
 called.1:CheckLogin(which checks user credentials) It forwards control to
 2:getUserAccountList which gets the list of accounts for the user.

 So now the getUserAccountList  action I can call from any where else by
passing
 right params and it becomes reusable.But if i had done all of this(check
log in
 and then get accunts)in login action, i need to write another action to
get
 account for another page.And I am using calls

RE: design question about action chainning(As quoted in :Struts in action...by Ted Husted et al..)

2003-01-31 Thread shirishchandra . sakhare
Hi,
Does this mean that using action forwards To point another action is not action 
chainning?So we can call this action relay and its in line with Struts design 
principles?
 And as u said,We have really abstracted away all error handling etc to 
Abstract Action class.But the point is if we go withoput action chainning(or if 
we call it action relay),then to get the same page from different work flows,U 
may need to copy the same code to call service in muiltiple action classes.

my question  is what is the real disadvantage of using Atomic actions , if the 
are designed proper struts way(USing struts techniques so that they are not 
dealing with HTTP but directly getting objects from form beans..As u rightly 
said...)And then forward from one atomic action to another to complete a work 
flow..

regards
Shirish

-Original Message-
From: husted [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 31, 2003 12:34 PM
To: struts-user
Cc: husted
Subject: RE: design question about action chainning(As quoted in :Struts
in action...by Ted Husted et al..)


Derek Richardson writes:

 But you still have to duplicate code in the actions, right? Even if
 that code is as simple as:
 
 Service service = Service.getService(SERVICE_KEY);
 Foo[] foos = service.getFoos();
 request.setAttribute(FOO_KEY, foos);
 
 Action chaining allows this code to be written once and used many 
 times. Thus you get reuse of presentation code, not just business
 logic.

Personally, I would put utility code like this in a super class and make 
it available to whatever Action wanted to call it. Actions are 
instantiated once, and there is no performance penalty for have a deep 
hierarchy.

So there would be something like

setService(request)

that any Action could call.

The BaseAction in Scaffold makes good use of this technique for error 
handling and such.

What happens with true Action chaining (not to be confused with a simple 
Action relay) is that instead of using Java calls to create our 
presentation API, we start to use HTTP to make the API calls instead. 
IMHO, this is a step backward. The point of Struts is to get us up and 
out of HTTP and into an object-orientated domain, where we can write 
proper programs. (Rather than an endless chain of kludges.)

-Ted.



-- 
Ted Husted,
Struts in Action http://husted.com/struts/book.html


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



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




RE: design question about action chainning(As quoted in :Struts in action...by Ted Husted et al..)

2003-01-31 Thread Greg.Reddin
Ted, can you (or someone else) clarify the difference b/t action chaining and 
action relay?

Thanks,
Greg

 -Original Message-
 From: Ted Husted [mailto:[EMAIL PROTECTED]]
 Sent: Friday, January 31, 2003 5:34 AM
 To: [EMAIL PROTECTED]
 Subject: RE: design question about action chainning(As quoted 
 in :Struts
 in action...by Ted Husted et al..)
 
 
 Derek Richardson writes:
 
  But you still have to duplicate code in the actions, right? Even if
  that code is as simple as:
  
  Service service = Service.getService(SERVICE_KEY);
  Foo[] foos = service.getFoos();
  request.setAttribute(FOO_KEY, foos);
  
  Action chaining allows this code to be written once and used many 
  times. Thus you get reuse of presentation code, not just business
  logic.
 
 Personally, I would put utility code like this in a super 
 class and make 
 it available to whatever Action wanted to call it. Actions are 
 instantiated once, and there is no performance penalty for 
 have a deep 
 hierarchy.
 
 So there would be something like
 
 setService(request)
 
 that any Action could call.
 
 The BaseAction in Scaffold makes good use of this technique for error 
 handling and such.
 
 What happens with true Action chaining (not to be confused 
 with a simple 
 Action relay) is that instead of using Java calls to create our 
 presentation API, we start to use HTTP to make the API calls instead. 
 IMHO, this is a step backward. The point of Struts is to get 
 us up and 
 out of HTTP and into an object-orientated domain, where we can write 
 proper programs. (Rather than an endless chain of kludges.)
 
 -Ted.
 
 
 
 -- 
 Ted Husted,
 Struts in Action http://husted.com/struts/book.html
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 

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




Re: design question about action chainning(As quoted in :Struts in action...by Ted Husted et al..)

2003-01-31 Thread BaTien Duong
We think Struts power lies in its simple and rigorous design process. If you
combine Struts-Tiles, you will have the display Action for the whole page
and actions for all included tiles. Actions are controllers that can have
parameters set in the configuration file. With careful design of helper
beans (ActionForm is a helper bean) and class structures for both actions
and helper beans, which we call processing containers, you can bring the set
parameters to your business processes that change per action.

An example may help to illustrate this simple but powerful process inherent
in Struts that makes it so popular. A user may initially be authenticated
via username and password that you assign as authenticationLevel1. When the
user requests a certain action such as money transfer and/or sending a
legal-binding contract, you may decide to further challenge the user
identity with a personalized token (what user has). Struts-Tiles action
allows you to do this at individual action level. In this example, you just
assign the action at authenticationLevel2. Your controller will send the
further challenge before serving the requested action. It remembers the user
requestURL so if the challenge passed, it serves what user asked, etc. The
same concept can apply to the required communication level for each action
so you can appropriately serve each request based on what user wants, etc.
You don't have to be 1 size fit all.

We love this simple and rigorous process and do not want to break its design
principal. Have a good day and good weekend. :-)

BaTien

- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, January 31, 2003 1:44 AM
Subject: Re: design question about action chainning(As quoted in :Struts in
action...by Ted Husted et al..)


 Hi,
 I agree with u that u can have another layer of abstraction(like helper
beans)
 between action and Service layer.So that same code ecan be reused.
 But this some disadvangates.
 Firstly U are then not really using the power of Struts Configuration file
 which allows you to use logical mappings in Action classes And to change
the
 Flow,U can just change the config file (So long as all required
parametzers are
 being passed in new flow  as well..).Because in our project, we had this
 requirement many a times.After we had done one release, the business gusy
will
 come up with a suggestion some thing like, After AccountDetails PAge, can
we go
 to AccountList üpage instead of Summary page etc etc .And because of
Reusable
 actions, this was just a matter of changing the struts config file and in
one
 of cases may be make the new caller pass a few more parameters.But there
was no
 code duplication.

 So as i said in my original mail,If your services are not tied to actions,
then
 in that case I don't see any problem in action chainning.ANd it seems to
me the
 best thing to really harness the power of Struts..Or is there any other
 preformance or design issue which i have missed?

 Any comments:-))??


 regards,
 Shirish

 -Original Message-
 From: batien.duong [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, January 30, 2003 5:09 PM
 To: struts-user
 Subject: Re: design question about action chainning(As quoted in :Struts
 in action...by Ted Husted et al..)


 We achieve what you describe as a chain of actions for re-use with helper
 beans and follow Struts design principal as Ted described. The helper
beans
 can be ready in cache or service pool for reuse. Look at
 http://myportal.myb2cb2b.com/com.dbgroups.ppf/model/web/dao.html

 Hope this may help.
 BaTien

 - Original Message -
 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Thursday, January 30, 2003 3:34 AM
 Subject: design question about action chainning(As quoted in :Struts in
 action...by Ted Husted et al..)


  Hi All,
  I have a very basic design question about struts action design..We have
 been
  developing a fairly large and complex web application involving struts
and
  struts has proved to be a great help :-))  But after reading the book by
 Mr.
  Husted et al., Struts in action,I have some basic questions about the
 way we
  have done our project and the way it is described in the book.
  TO quote Mr. Husted...(Section 8.4 Chaining Actions .Note at the end of
  Section8.4.1. Starting fresh..)
  
  Speaking  as a Software architect,chainning actions in any way is not
 something
  that I like to do.Ideally you should be able to call the business
objects
 from
  any Action where they are needed.Wanting to forward control to another
 action
  implies that the Business  object my be too tightly coupled.Or it may
 imply
  that the actions should descend from a common super class with hotspots
 that
  sub classes should overrideThere are occasions when chainning
actions
 makes
  sense-for example if the other action is being used to render the
response
 in
  lieu of a presentation

design question about action chainning(As quoted in :Struts in action...byTed Husted et al..)

2003-01-31 Thread Ted Husted
The best example of waht I'm calling an Action relay is how Struts 
handles validation. If validation fails, the request is forwarded to the 
input property, which could be another Action. This is done to complete 
the response, rather than continue with processing the action.

This same technique is often used after a lookup, where one Action does 
the lookup but another Action is used to complete the response, usually 
to setup any tools the page might need to render.

In an Action chain, control is not forwarded simply to complete the 
response but to continue processing. One action doesn't do some 
similar activity because that's the another actions job. The 
request/response transaction begins to be distributed between several 
Action, and this is where Action stop being destinations and start 
becoming an API.

Most often, whatever processing the Action in a chain are supposed to be 
doing can be refactored into base actions or utility classes, so the 
funcationality can be reused using standard object-orientated techniques.

-Ted.


--
Ted Husted,
Struts in Action http://husted.com/struts/book.html


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



Re: design question about action chainning(As quoted in :Struts in action...byTed Husted et al..)

2003-01-31 Thread Brian Lee
Isn't the action becoming part of an API a good thing?

Having reusable action classes that can be strung together through 
struts-config is pretty useful in that you don't have to have as much 
coding. You can then have a work pipeline of sorts without having to create 
extra action classes or modify more code.

BAL

From: Ted Husted [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: design question about action chainning(As quoted in :Struts in 
action...by Ted Husted et al..)
Date: Fri, 31 Jan 2003 13:06:30 -0500

The best example of waht I'm calling an Action relay is how Struts handles 
validation. If validation fails, the request is forwarded to the input 
property, which could be another Action. This is done to complete the 
response, rather than continue with processing the action.

This same technique is often used after a lookup, where one Action does the 
lookup but another Action is used to complete the response, usually to 
setup any tools the page might need to render.

In an Action chain, control is not forwarded simply to complete the 
response but to continue processing. One action doesn't do some similar 
activity because that's the another actions job. The request/response 
transaction begins to be distributed between several Action, and this is 
where Action stop being destinations and start becoming an API.

Most often, whatever processing the Action in a chain are supposed to be 
doing can be refactored into base actions or utility classes, so the 
funcationality can be reused using standard object-orientated techniques.

-Ted.


--
Ted Husted,
Struts in Action http://husted.com/struts/book.html


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


_
Add photos to your messages with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail


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



RE: design question about action chainning(As quoted in :Struts in action...by Ted Husted et al..)

2003-01-31 Thread Derek Richardson
Ted, will you give me your opinion on my post of Mon 1/27/2003 5:21 PM with a 
subject of RE: Two ActionForms colliding on property name? I am wondering whether 
you see my splitting of actions into post-actions and pre-actions as action relays or 
action chaining.

To use the input attribute in validation to point to a previous action, the input 
element needs to point to what I call a pre-action but not the post-action. So this 
requires a separation between pre-actions and post-actions.

I am not arbitrarily partioning the request/response transaction; I am drawing a 
well-defined line between processing necessary to complete the last user/system 
interaction and processing necessary to initiate the next user/system interaction.

Overall, I am not grokking your division between completing the response and 
continuing processing. Perhaps because, in my mind, completing the response requires 
continued processing and why continue processing if not to complete the response 
(unless it is to complete the request, as in my post-action).

 -Original Message-
 From: Ted Husted [mailto:[EMAIL PROTECTED]]
 Sent: Friday, January 31, 2003 1:07 PM
 To: Struts Users Mailing List
 Subject: design question about action chainning(As quoted in 
 :Struts in
 action...by Ted Husted et al..)
 
 
 The best example of waht I'm calling an Action relay is how Struts 
 handles validation. If validation fails, the request is 
 forwarded to the 
 input property, which could be another Action. This is done 
 to complete 
 the response, rather than continue with processing the action.
 
 This same technique is often used after a lookup, where one 
 Action does 
 the lookup but another Action is used to complete the 
 response, usually 
 to setup any tools the page might need to render.
 
 In an Action chain, control is not forwarded simply to complete the 
 response but to continue processing. One action doesn't do some 
 similar activity because that's the another actions job. The 
 request/response transaction begins to be distributed between several 
 Action, and this is where Action stop being destinations and start 
 becoming an API.
 
 Most often, whatever processing the Action in a chain are 
 supposed to be 
 doing can be refactored into base actions or utility classes, so the 
 funcationality can be reused using standard object-orientated 
 techniques.
 
 -Ted.
 
 
 -- 
 Ted Husted,
 Struts in Action http://husted.com/struts/book.html
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 

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




design question about action chainning(As quoted in :Struts in action...by Ted Husted et al..)

2003-01-30 Thread shirishchandra . sakhare
Hi All,
I have a very basic design question about struts action design..We have been 
developing a fairly large and complex web application involving struts and 
struts has proved to be a great help :-))  But after reading the book by Mr. 
Husted et al., Struts in action,I have some basic questions about the way we 
have done our project and the way it is described in the book.
TO quote Mr. Husted...(Section 8.4 Chaining Actions .Note at the end of 
Section8.4.1. Starting fresh..)

Speaking  as a Software architect,chainning actions in any way is not something 
that I like to do.Ideally you should be able to call the business objects from 
any Action where they are needed.Wanting to forward control to another action 
implies that the Business  object my be too tightly coupled.Or it may imply 
that the actions should descend from a common super class with hotspots that 
sub classes should overrideThere are occasions when chainning actions makes 
sense-for example if the other action is being used to render the response in 
lieu of a presentation page.But valid use cases are rare.The best general 
practice is to stay with one-request ,one action regimen.
*


And also after searching the  archives for action chainnign , I found another 
reply from Mr. Husted which says..

Wanting to chain actions is a warning sign that there is too much business 
logic is creeping into the Actions and they are becoming the API, rather than 
an adaptor for the API. (Struts should not *be* your application, it should be 
a gateway *to* your application.)

*


I have a high regard for Mr. Ted Husted and that's why I would like to clarify 
some of my doubts about the design strategy he has advocated in his book from 
the exüperienced users of this list and Mr Husted himself if possible.
I dont understand what is the disadvantage in Chainning actions?HAs it some 
thing to do with performance?I totally agree that the business objects shuld 
not be tightly coupled with actions and should be callable from any where .But 
even after following this principal, most of the time you will end up chainning 
actions if u really want reusable actions.Example can be loging process of a 
user.So the request for loging form a user can result in 2 actions being 
called.1:CheckLogin(which checks user credentials) It forwards control to 
2:getUserAccountList which gets the list of accounts for the user. 

So now the getUserAccountList  action I can call from any where else by passing 
right params and it becomes reusable.But if i had done all of this(check log in 
and then get accunts)in login action, i need to write another action to get 
account for another page.And I am using calls to different 
services(LoginService and AccountService..)which are still reusable from any 
action here..
So the chainning of actions this way has perfectly solved all the 
problems...And instead of this being a rare iuse case, most of the time , this 
is the pattern u will have for any use case.(Update some thing and get some 
data to screen...)So what is the advantage of following  one-request ,one 
action regimen?

Also I didnt understand what he means by (Struts should not *be* your 
application, it should be a gateway *to* your application.)As I see it,the 
service layer handles the business logic .But Ultimately the actions end up 
delegating the requests to service and so doing error handling as well as 
handling flow control(Some thing like if this error, go to page 1, for that 
request go to page 2..)So they are very much part of the application...Infact 
they handle the application flow.Is this right or Am i missing some thing very 
bascic here?
This is important as We have the next phase of development starting next week 
and we are in the process of evaluating our architecture and finding any 
flaws..So any help will be highly appreciated...

Sory for being tooo verbose.But i couldn't have exlained it any other way.

regards,
Shirish

Shirish Sakhare
Application Developer
(CEFS PROJECT)
(CEFS) Corporate Employee Financial Services

UBS AG
Stauffacherstrasse 41
P.O. Box, CH-8004 Zürich
Tel: +41-1-235 56 31
Fax: +41-1-235 54 21
Personal Mail Id:[EMAIL PROTECTED]
 


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




RE: design question about action chainning(As quoted in :Struts in action...by Ted Husted et al..)

2003-01-30 Thread Greg.Reddin
You've stated it correctly when you said that Actions are your flow controllers.  In 
the case of your login/getAccounts example, you should have a business object that 
handles login, and a business object that gets accounts.  You would then have a login 
action (use case controller) that would use both business objects, assuming the login 
was successful.  You would also have a displayAccounts action (use case controller) 
that uses the accounts business object very similar to the way the login action uses 
it.

So, my understanding is that the Actions you define are your use case controllers.  
They basically give you all the options you have with your application, but the logic 
of the application itself resides in the business objects.  You may have lots of 
actins with some repeated code in a few, or you may be able to define just a few 
parameterized actions that handle all your use cases somewhat generically.

Now, the case you've defined is that the outcome of one use case causes another use 
case to be executed.  While I probably wouldn't check for a login that way, I'm not 
yet convinced that the approach itself is inherently bad.  

BTW, I don't see actions as handling errors so much as responding to them, and 
acting as an adapter layer between your application's error handling and Struts.  You 
should probably have some error-handling mechanism in your business layer and the 
Action classes will interpret what comes out of the business layer and translate it 
into Struts errors.

Greg

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, January 30, 2003 4:34 AM
 To: [EMAIL PROTECTED]
 Subject: design question about action chainning(As quoted in 
 :Struts in
 action...by Ted Husted et al..)
 
 
 Hi All,
 I have a very basic design question about struts action 
 design..We have been 
 developing a fairly large and complex web application 
 involving struts and 
 struts has proved to be a great help :-))  But after reading 
 the book by Mr. 
 Husted et al., Struts in action,I have some basic questions 
 about the way we 
 have done our project and the way it is described in the book.
 TO quote Mr. Husted...(Section 8.4 Chaining Actions .Note at 
 the end of 
 Section8.4.1. Starting fresh..)
 
 Speaking  as a Software architect,chainning actions in any 
 way is not something 
 that I like to do.Ideally you should be able to call the 
 business objects from 
 any Action where they are needed.Wanting to forward control 
 to another action 
 implies that the Business  object my be too tightly 
 coupled.Or it may imply 
 that the actions should descend from a common super class 
 with hotspots that 
 sub classes should overrideThere are occasions when 
 chainning actions makes 
 sense-for example if the other action is being used to render 
 the response in 
 lieu of a presentation page.But valid use cases are rare.The 
 best general 
 practice is to stay with one-request ,one action regimen.
 *
 
 
 And also after searching the  archives for action chainnign , 
 I found another 
 reply from Mr. Husted which says..
 
 Wanting to chain actions is a warning sign that there is too 
 much business 
 logic is creeping into the Actions and they are becoming the 
 API, rather than 
 an adaptor for the API. (Struts should not *be* your 
 application, it should be 
 a gateway *to* your application.)
 **
 **
 *
 
 
 I have a high regard for Mr. Ted Husted and that's why I 
 would like to clarify 
 some of my doubts about the design strategy he has advocated 
 in his book from 
 the exüperienced users of this list and Mr Husted himself if possible.
 I dont understand what is the disadvantage in Chainning 
 actions?HAs it some 
 thing to do with performance?I totally agree that the 
 business objects shuld 
 not be tightly coupled with actions and should be callable 
 from any where .But 
 even after following this principal, most of the time you 
 will end up chainning 
 actions if u really want reusable actions.Example can be 
 loging process of a 
 user.So the request for loging form a user can result in 2 
 actions being 
 called.1:CheckLogin(which checks user credentials) It 
 forwards control to 
 2:getUserAccountList which gets the list of accounts for the user. 
 
 So now the getUserAccountList  action I can call from any 
 where else by passing 
 right params and it becomes reusable.But if i had done all of 
 this(check log in 
 and then get accunts)in login action, i need to write another 
 action to get 
 account for another page.And I am using calls to different 
 services(LoginService and AccountService..)which are still 
 reusable from any 
 action here..
 So

Re: design question about action chainning(As quoted in :Struts in action...by Ted Husted et al..)

2003-01-30 Thread BaTien Duong
We achieve what you describe as a chain of actions for re-use with helper
beans and follow Struts design principal as Ted described. The helper beans
can be ready in cache or service pool for reuse. Look at
http://myportal.myb2cb2b.com/com.dbgroups.ppf/model/web/dao.html

Hope this may help.
BaTien

- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, January 30, 2003 3:34 AM
Subject: design question about action chainning(As quoted in :Struts in
action...by Ted Husted et al..)


 Hi All,
 I have a very basic design question about struts action design..We have
been
 developing a fairly large and complex web application involving struts and
 struts has proved to be a great help :-))  But after reading the book by
Mr.
 Husted et al., Struts in action,I have some basic questions about the
way we
 have done our project and the way it is described in the book.
 TO quote Mr. Husted...(Section 8.4 Chaining Actions .Note at the end of
 Section8.4.1. Starting fresh..)
 
 Speaking  as a Software architect,chainning actions in any way is not
something
 that I like to do.Ideally you should be able to call the business objects
from
 any Action where they are needed.Wanting to forward control to another
action
 implies that the Business  object my be too tightly coupled.Or it may
imply
 that the actions should descend from a common super class with hotspots
that
 sub classes should overrideThere are occasions when chainning actions
makes
 sense-for example if the other action is being used to render the response
in
 lieu of a presentation page.But valid use cases are rare.The best general
 practice is to stay with one-request ,one action regimen.
 *


 And also after searching the  archives for action chainnign , I found
another
 reply from Mr. Husted which says..
 
 Wanting to chain actions is a warning sign that there is too much business
 logic is creeping into the Actions and they are becoming the API, rather
than
 an adaptor for the API. (Struts should not *be* your application, it
should be
 a gateway *to* your application.)



 *


 I have a high regard for Mr. Ted Husted and that's why I would like to
clarify
 some of my doubts about the design strategy he has advocated in his book
from
 the exüperienced users of this list and Mr Husted himself if possible.
 I dont understand what is the disadvantage in Chainning actions?HAs it
some
 thing to do with performance?I totally agree that the business objects
shuld
 not be tightly coupled with actions and should be callable from any where
.But
 even after following this principal, most of the time you will end up
chainning
 actions if u really want reusable actions.Example can be loging process of
a
 user.So the request for loging form a user can result in 2 actions being
 called.1:CheckLogin(which checks user credentials) It forwards control to
 2:getUserAccountList which gets the list of accounts for the user.

 So now the getUserAccountList  action I can call from any where else by
passing
 right params and it becomes reusable.But if i had done all of this(check
log in
 and then get accunts)in login action, i need to write another action to
get
 account for another page.And I am using calls to different
 services(LoginService and AccountService..)which are still reusable from
any
 action here..
 So the chainning of actions this way has perfectly solved all the
 problems...And instead of this being a rare iuse case, most of the time ,
this
 is the pattern u will have for any use case.(Update some thing and get
some
 data to screen...)So what is the advantage of following  one-request ,one
 action regimen?

 Also I didnt understand what he means by (Struts should not *be* your
 application, it should be a gateway *to* your application.)As I see it,the
 service layer handles the business logic .But Ultimately the actions end
up
 delegating the requests to service and so doing error handling as well as
 handling flow control(Some thing like if this error, go to page 1, for
that
 request go to page 2..)So they are very much part of the
application...Infact
 they handle the application flow.Is this right or Am i missing some thing
very
 bascic here?
 This is important as We have the next phase of development starting next
week
 and we are in the process of evaluating our architecture and finding any
 flaws..So any help will be highly appreciated...

 Sory for being tooo verbose.But i couldn't have exlained it any other way.

 regards,
 Shirish
 
 Shirish Sakhare
 Application Developer
 (CEFS PROJECT)
 (CEFS) Corporate Employee Financial Services

 UBS AG
 Stauffacherstrasse 41
 P.O. Box

RE: design question about action chainning(As quoted in :Struts in action...by Ted Husted et al..)

2003-01-30 Thread Derek Richardson
But you still have to duplicate code in the actions, right? Even if that code is as 
simple as:

Service service = Service.getService(SERVICE_KEY);
Foo[] foos = service.getFoos();
request.setAttribute(FOO_KEY, foos);

Action chaining allows this code to be written once and used many times. Thus you get 
reuse of presentation code, not just business logic.

 -Original Message-
 From: BaTien Duong [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, January 30, 2003 11:09 AM
 To: Struts Users Mailing List
 Subject: Re: design question about action chainning(As quoted 
 in :Struts
 in action...by Ted Husted et al..)
 
 
 We achieve what you describe as a chain of actions for re-use 
 with helper
 beans and follow Struts design principal as Ted described. 
 The helper beans
 can be ready in cache or service pool for reuse. Look at
 http://myportal.myb2cb2b.com/com.dbgroups.ppf/model/web/dao.html
 
 Hope this may help.
 BaTien
 
 - Original Message -
 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Thursday, January 30, 2003 3:34 AM
 Subject: design question about action chainning(As quoted in 
 :Struts in
 action...by Ted Husted et al..)
 
 
  Hi All,
  I have a very basic design question about struts action 
 design..We have
 been
  developing a fairly large and complex web application 
 involving struts and
  struts has proved to be a great help :-))  But after 
 reading the book by
 Mr.
  Husted et al., Struts in action,I have some basic 
 questions about the
 way we
  have done our project and the way it is described in the book.
  TO quote Mr. Husted...(Section 8.4 Chaining Actions .Note 
 at the end of
  Section8.4.1. Starting fresh..)
  
  Speaking  as a Software architect,chainning actions in any 
 way is not
 something
  that I like to do.Ideally you should be able to call the 
 business objects
 from
  any Action where they are needed.Wanting to forward control 
 to another
 action
  implies that the Business  object my be too tightly 
 coupled.Or it may
 imply
  that the actions should descend from a common super class 
 with hotspots
 that
  sub classes should overrideThere are occasions when 
 chainning actions
 makes
  sense-for example if the other action is being used to 
 render the response
 in
  lieu of a presentation page.But valid use cases are 
 rare.The best general
  practice is to stay with one-request ,one action regimen.
  *
 
 
  And also after searching the  archives for action chainnign 
 , I found
 another
  reply from Mr. Husted which says..
  
  Wanting to chain actions is a warning sign that there is 
 too much business
  logic is creeping into the Actions and they are becoming 
 the API, rather
 than
  an adaptor for the API. (Struts should not *be* your application, it
 should be
  a gateway *to* your application.)
 
 **
 **
 
  *
 
 
  I have a high regard for Mr. Ted Husted and that's why I 
 would like to
 clarify
  some of my doubts about the design strategy he has 
 advocated in his book
 from
  the exüperienced users of this list and Mr Husted himself 
 if possible.
  I dont understand what is the disadvantage in Chainning 
 actions?HAs it
 some
  thing to do with performance?I totally agree that the 
 business objects
 shuld
  not be tightly coupled with actions and should be callable 
 from any where
 .But
  even after following this principal, most of the time you 
 will end up
 chainning
  actions if u really want reusable actions.Example can be 
 loging process of
 a
  user.So the request for loging form a user can result in 2 
 actions being
  called.1:CheckLogin(which checks user credentials) It 
 forwards control to
  2:getUserAccountList which gets the list of accounts for the user.
 
  So now the getUserAccountList  action I can call from any 
 where else by
 passing
  right params and it becomes reusable.But if i had done all 
 of this(check
 log in
  and then get accunts)in login action, i need to write 
 another action to
 get
  account for another page.And I am using calls to different
  services(LoginService and AccountService..)which are still 
 reusable from
 any
  action here..
  So the chainning of actions this way has perfectly solved all the
  problems...And instead of this being a rare iuse case, most 
 of the time ,
 this
  is the pattern u will have for any use case.(Update some 
 thing and get
 some
  data to screen...)So what is the advantage of following  
 one-request ,one
  action regimen?
 
  Also I didnt understand what he means by (Struts should not 
 *be* your
  application, it should be a gateway *to* your 
 application.)As I see it,the
  service layer handles the business logic .But Ultimately 
 the actions end
 up
  delegating

Can anybody make a recommendation between Struts in Action and StrutsKick Start

2003-01-15 Thread Denis Wang
Thanks a lot!
Denis


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




Re: Can anybody make a recommendation between Struts in Action and Struts Kick Start

2003-01-15 Thread Puneet Agarwal
Even I was into the same dilemma which one to buy...
I then read a lot of reviews and decided that I want Struts in Action first,
and I have ordered it from Amazon.com, am waiting for the book now a
days..it will take almost 15 days for me to receive the book.

I chose this one only because somewhere I read that this book consolidates
the general problems put-up in this forum.
Regards
Puneet

- Original Message -
From: Denis Wang [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, January 15, 2003 1:42 PM
Subject: Can anybody make a recommendation between Struts in Action and
Struts Kick Start


 Thanks a lot!
 Denis


 --
 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: Can anybody make a recommendation between Struts in Action and Struts Kick Start

2003-01-15 Thread Durham David Cntr 805CSS/SCBE
I've read Struts in Action.  It seems to me that it is dummied a bit, but still a very 
good book.  I don't know about Struts Kick Start.  Has anyone read Programming Jakarta 
Struts from O'Reilly?




 -Original Message-
 From: Puneet Agarwal [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, January 15, 2003 8:51 AM
 To: Struts Users Mailing List
 Subject: Re: Can anybody make a recommendation between Struts 
 in Action
 and Struts Kick Start
 
 
 Even I was into the same dilemma which one to buy...
 I then read a lot of reviews and decided that I want Struts 
 in Action first,
 and I have ordered it from Amazon.com, am waiting for the book now a
 days..it will take almost 15 days for me to receive the book.
 
 I chose this one only because somewhere I read that this book 
 consolidates
 the general problems put-up in this forum.
 Regards
 Puneet
 
 - Original Message -
 From: Denis Wang [EMAIL PROTECTED]
 To: Struts Users Mailing List [EMAIL PROTECTED]
 Sent: Wednesday, January 15, 2003 1:42 PM
 Subject: Can anybody make a recommendation between Struts in 
 Action and
 Struts Kick Start
 
 
  Thanks a lot!
  Denis
 
 
  --
  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]




S in Action Vs S Kick Start [Was: Can anybody make a recommendation between Struts in Action and Struts Kick Start]

2003-01-15 Thread Puneet Agarwal
But Struts Kick Start is going for reprint in February and they are making
changes too...
Not the right time to buy this one now...

- Original Message -
From: Durham David Cntr 805CSS/SCBE [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]; Puneet
Agarwal [EMAIL PROTECTED]
Sent: Wednesday, January 15, 2003 3:11 PM
Subject: RE: Can anybody make a recommendation between Struts in Action and
Struts Kick Start


I've read Struts in Action.  It seems to me that it is dummied a bit, but
still a very good book.  I don't know about Struts Kick Start.  Has anyone
read Programming Jakarta Struts from O'Reilly?




 -Original Message-
 From: Puneet Agarwal [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, January 15, 2003 8:51 AM
 To: Struts Users Mailing List
 Subject: Re: Can anybody make a recommendation between Struts
 in Action
 and Struts Kick Start


 Even I was into the same dilemma which one to buy...
 I then read a lot of reviews and decided that I want Struts
 in Action first,
 and I have ordered it from Amazon.com, am waiting for the book now a
 days..it will take almost 15 days for me to receive the book.

 I chose this one only because somewhere I read that this book
 consolidates
 the general problems put-up in this forum.
 Regards
 Puneet

 - Original Message -
 From: Denis Wang [EMAIL PROTECTED]
 To: Struts Users Mailing List [EMAIL PROTECTED]
 Sent: Wednesday, January 15, 2003 1:42 PM
 Subject: Can anybody make a recommendation between Struts in
 Action and
 Struts Kick Start


  Thanks a lot!
  Denis
 
 
  --
  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: S in Action Vs S Kick Start [Was: Can anybody make a recommendation between Struts in Action and Struts Kick Start]

2003-01-15 Thread Mark Galbreath
Read it?  I helped edit it - see the acknowledgements at the beginning of
the book.  It's the best of the lot.

Mark

- Original Message -
From: Durham David Cntr 805CSS/SCBE [EMAIL PROTECTED]
Sent: Wednesday, January 15, 2003 3:11 PM

Has anyone read Programming Jakarta Struts from O'Reilly?



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




RE: S in Action Vs S Kick Start [Was: Can anybody make a recommendation between Struts in Action and Struts Kick Start]

2003-01-15 Thread Jacques-Olivier Goussard
I use it. It's really comprehensive. When I evaluated the
available books, it seemed from far the best.

 -Original Message-
 From: Mark Galbreath [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, January 15, 2003 10:48 AM
 To: 'Struts Users Mailing List'
 Subject: RE: S in Action Vs S Kick Start [Was: Can anybody make a
 recommendation between Struts in Action and Struts Kick Start]
 
 
 Read it?  I helped edit it - see the acknowledgements at the 
 beginning of
 the book.  It's the best of the lot.
 
 Mark
 
 - Original Message -
 From: Durham David Cntr 805CSS/SCBE [EMAIL PROTECTED]
 Sent: Wednesday, January 15, 2003 3:11 PM
 
 Has anyone read Programming Jakarta Struts from O'Reilly?
 
 
 
 --
 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: S in Action Vs S Kick Start [Was: Can anybody make a recommendation between Struts in Action and Struts Kick Start]

2003-01-15 Thread Sri Sankaran
he says strutting proudly ...oops pardon the pun.

Sri

-Original Message-
From: Mark Galbreath [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, January 15, 2003 10:48 AM
To: 'Struts Users Mailing List'
Subject: RE: S in Action Vs S Kick Start [Was: Can anybody make a recommendation 
between Struts in Action and Struts Kick Start]


Read it?  I helped edit it - see the acknowledgements at the beginning of the book.  
It's the best of the lot.

Mark

- Original Message -
From: Durham David Cntr 805CSS/SCBE [EMAIL PROTECTED]
Sent: Wednesday, January 15, 2003 3:11 PM

Has anyone read Programming Jakarta Struts from O'Reilly?



--
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: S in Action Vs S Kick Start [Was: Can anybody make a recommendationbetween Struts in Action and Struts Kick Start]

2003-01-15 Thread Kevin . Bedell


This is Kevin - one of the co-authors of Kick Start.

The reprint we've been discussing is primarily because stocks have run low.
Any changes will be very minimal.

I'd expect that maybe 3-4 pages will have modifications and that each will
be minor. I have only a single modification and I believe that James
mentioned having 2-3.

If there were interest, I'm sure James Turner and I could prepare  single
e-mail message containing these minor changes and post it to the list.

Kevin
http://www.strutskickstart.com



   

   

 Puneet Agarwal  To: Struts Users Mailing List 
[EMAIL PROTECTED]
 [EMAIL PROTECTED]   cc: (bcc: Kevin 
Bedell/Systems/USHO/SunLife)
 01/15/2003 10:42 AM   Subject:  S in Action Vs S Kick Start 
[Was: Can anybody make a recommendation between   
 Please respond to Struts   Struts in Action and Struts Kick 
Start]   
 Users Mailing List   

   

   





But Struts Kick Start is going for reprint in February and they are
making
changes too...
Not the right time to buy this one now...

- Original Message -
From: Durham David Cntr 805CSS/SCBE [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]; Puneet
Agarwal [EMAIL PROTECTED]
Sent: Wednesday, January 15, 2003 3:11 PM
Subject: RE: Can anybody make a recommendation between Struts in Action and
Struts Kick Start


I've read Struts in Action.  It seems to me that it is dummied a bit, but
still a very good book.  I don't know about Struts Kick Start.  Has anyone
read Programming Jakarta Struts from O'Reilly?




 -Original Message-
 From: Puneet Agarwal [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, January 15, 2003 8:51 AM
 To: Struts Users Mailing List
 Subject: Re: Can anybody make a recommendation between Struts
 in Action
 and Struts Kick Start


 Even I was into the same dilemma which one to buy...
 I then read a lot of reviews and decided that I want Struts
 in Action first,
 and I have ordered it from Amazon.com, am waiting for the book now a
 days..it will take almost 15 days for me to receive the book.

 I chose this one only because somewhere I read that this book
 consolidates
 the general problems put-up in this forum.
 Regards
 Puneet

 - Original Message -
 From: Denis Wang [EMAIL PROTECTED]
 To: Struts Users Mailing List [EMAIL PROTECTED]
 Sent: Wednesday, January 15, 2003 1:42 PM
 Subject: Can anybody make a recommendation between Struts in
 Action and
 Struts Kick Start


  Thanks a lot!
  Denis
 
 
  --
  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]





---
This e-mail message (including attachments, if any) is intended for the use
of the individual or entity to which it is addressed and may contain
information that is privileged, proprietary , confidential and exempt from
disclosure.  If you are not the intended recipient, you are notified that
any dissemination, distribution or copying of this communication is
strictly prohibited.  If you have received this communication in error,
please notify the sender and erase this e-mail message immediately.
---




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




RE: S in Action Vs S Kick Start [Was: Can anybody make a recommendation between Struts in Action and Struts Kick Start]

2003-01-15 Thread Sterin, Ilya
Struts Kick Start is wonderful, Struts in Action is the Struts bible.  Both
are complementary to each other, I'd suggest getting both.

Ilya

-Original Message-
From: Puneet Agarwal
To: Struts Users Mailing List
Sent: 1/15/03 8:42 AM
Subject: S in Action Vs S Kick Start [Was: Can anybody make a recommendation
between Struts in Action and Struts Kick Start]

But Struts Kick Start is going for reprint in February and they are
making
changes too...
Not the right time to buy this one now...

- Original Message -
From: Durham David Cntr 805CSS/SCBE [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED];
Puneet
Agarwal [EMAIL PROTECTED]
Sent: Wednesday, January 15, 2003 3:11 PM
Subject: RE: Can anybody make a recommendation between Struts in Action
and
Struts Kick Start


I've read Struts in Action.  It seems to me that it is dummied a bit,
but
still a very good book.  I don't know about Struts Kick Start.  Has
anyone
read Programming Jakarta Struts from O'Reilly?




 -Original Message-
 From: Puneet Agarwal [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, January 15, 2003 8:51 AM
 To: Struts Users Mailing List
 Subject: Re: Can anybody make a recommendation between Struts
 in Action
 and Struts Kick Start


 Even I was into the same dilemma which one to buy...
 I then read a lot of reviews and decided that I want Struts
 in Action first,
 and I have ordered it from Amazon.com, am waiting for the book now a
 days..it will take almost 15 days for me to receive the book.

 I chose this one only because somewhere I read that this book
 consolidates
 the general problems put-up in this forum.
 Regards
 Puneet

 - Original Message -
 From: Denis Wang [EMAIL PROTECTED]
 To: Struts Users Mailing List [EMAIL PROTECTED]
 Sent: Wednesday, January 15, 2003 1:42 PM
 Subject: Can anybody make a recommendation between Struts in
 Action and
 Struts Kick Start


  Thanks a lot!
  Denis
 
 
  --
  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: S in Action Vs S Kick Start [Was: Can anybody make a recommendation between Struts in Action and Struts Kick Start]

2003-01-15 Thread Chappell, Simon P
For SERIOUS Struts development (the kind that Mark does! ;-) a developer/team needs a 
couple of books on Struts. This is because each excels in different areas: one has 
better tag coverage, one is more reference suitable, one is more a tutorial. Each are 
good and if you are SERIOUS about Struts development buy more than one, goodness, buy 
them all if you can. (I'm saying this because of experience, not because I wrote any 
of them ... well I reviewed a couple, but let's not mention that)

Simon

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


-Original Message-
From: Sterin, Ilya [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 15, 2003 10:05 AM
To: 'Puneet Agarwal '; 'Struts Users Mailing List '
Subject: RE: S in Action Vs S Kick Start [Was: Can anybody make a
recommendation between Struts in Action and Struts Kick Start]


Struts Kick Start is wonderful, Struts in Action is the Struts 
bible.  Both
are complementary to each other, I'd suggest getting both.

Ilya

-Original Message-
From: Puneet Agarwal
To: Struts Users Mailing List
Sent: 1/15/03 8:42 AM
Subject: S in Action Vs S Kick Start [Was: Can anybody make a 
recommendation
between Struts in Action and Struts Kick Start]

But Struts Kick Start is going for reprint in February and they are
making
changes too...
Not the right time to buy this one now...

- Original Message -
From: Durham David Cntr 805CSS/SCBE [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED];
Puneet
Agarwal [EMAIL PROTECTED]
Sent: Wednesday, January 15, 2003 3:11 PM
Subject: RE: Can anybody make a recommendation between Struts in Action
and
Struts Kick Start


I've read Struts in Action.  It seems to me that it is dummied a bit,
but
still a very good book.  I don't know about Struts Kick Start.  Has
anyone
read Programming Jakarta Struts from O'Reilly?




 -Original Message-
 From: Puneet Agarwal [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, January 15, 2003 8:51 AM
 To: Struts Users Mailing List
 Subject: Re: Can anybody make a recommendation between Struts
 in Action
 and Struts Kick Start


 Even I was into the same dilemma which one to buy...
 I then read a lot of reviews and decided that I want Struts
 in Action first,
 and I have ordered it from Amazon.com, am waiting for the book now a
 days..it will take almost 15 days for me to receive the book.

 I chose this one only because somewhere I read that this book
 consolidates
 the general problems put-up in this forum.
 Regards
 Puneet

 - Original Message -
 From: Denis Wang [EMAIL PROTECTED]
 To: Struts Users Mailing List [EMAIL PROTECTED]
 Sent: Wednesday, January 15, 2003 1:42 PM
 Subject: Can anybody make a recommendation between Struts in
 Action and
 Struts Kick Start


  Thanks a lot!
  Denis
 
 
  --
  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: S in Action Vs S Kick Start [Was: Can anybody make a recommendation between Struts in Action and Struts Kick Start]

2003-01-15 Thread Sterin, Ilya
Well, finally, I've been trying to say that for the past two weeks:-)  This
pertains not only to Struts books, but any books out there.  Each usually
has better coverage of one area than the other, and vice versa.

Ilya

-Original Message-
From: Chappell, Simon P
To: Struts Users Mailing List
Sent: 1/15/03 9:15 AM
Subject: RE: S in Action Vs S Kick Start [Was: Can anybody make a
recommendation between Struts in Action and Struts Kick Start]

For SERIOUS Struts development (the kind that Mark does! ;-) a
developer/team needs a couple of books on Struts. This is because each
excels in different areas: one has better tag coverage, one is more
reference suitable, one is more a tutorial. Each are good and if you are
SERIOUS about Struts development buy more than one, goodness, buy them
all if you can. (I'm saying this because of experience, not because I
wrote any of them ... well I reviewed a couple, but let's not mention
that)

Simon

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


-Original Message-
From: Sterin, Ilya [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 15, 2003 10:05 AM
To: 'Puneet Agarwal '; 'Struts Users Mailing List '
Subject: RE: S in Action Vs S Kick Start [Was: Can anybody make a
recommendation between Struts in Action and Struts Kick Start]


Struts Kick Start is wonderful, Struts in Action is the Struts 
bible.  Both
are complementary to each other, I'd suggest getting both.

Ilya

-Original Message-
From: Puneet Agarwal
To: Struts Users Mailing List
Sent: 1/15/03 8:42 AM
Subject: S in Action Vs S Kick Start [Was: Can anybody make a 
recommendation
between Struts in Action and Struts Kick Start]

But Struts Kick Start is going for reprint in February and they are
making
changes too...
Not the right time to buy this one now...

- Original Message -
From: Durham David Cntr 805CSS/SCBE [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED];
Puneet
Agarwal [EMAIL PROTECTED]
Sent: Wednesday, January 15, 2003 3:11 PM
Subject: RE: Can anybody make a recommendation between Struts in Action
and
Struts Kick Start


I've read Struts in Action.  It seems to me that it is dummied a bit,
but
still a very good book.  I don't know about Struts Kick Start.  Has
anyone
read Programming Jakarta Struts from O'Reilly?




 -Original Message-
 From: Puneet Agarwal [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, January 15, 2003 8:51 AM
 To: Struts Users Mailing List
 Subject: Re: Can anybody make a recommendation between Struts
 in Action
 and Struts Kick Start


 Even I was into the same dilemma which one to buy...
 I then read a lot of reviews and decided that I want Struts
 in Action first,
 and I have ordered it from Amazon.com, am waiting for the book now a
 days..it will take almost 15 days for me to receive the book.

 I chose this one only because somewhere I read that this book
 consolidates
 the general problems put-up in this forum.
 Regards
 Puneet

 - Original Message -
 From: Denis Wang [EMAIL PROTECTED]
 To: Struts Users Mailing List [EMAIL PROTECTED]
 Sent: Wednesday, January 15, 2003 1:42 PM
 Subject: Can anybody make a recommendation between Struts in
 Action and
 Struts Kick Start


  Thanks a lot!
  Denis
 
 
  --
  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: Can anybody make a recommendation between Struts in Action and Struts Kick Start

2003-01-15 Thread Haseltine, Celeste
I have purchased and just received both Struts in Action and Struts Kick
Start.  For someone like me who is just moving into Struts, I have found
Struts Kick Start to be the best resource, due to it's extensive examples on
how to use the Struts tag libraries.  The one thing I don't like about it,
is that it does NOT differentiate which version of Struts the info being
discussed applies to.  Where as the Struts in Action book DOES clearly
stated during a discussion of a particular topic/feature, whether the
feature is available in both Struts 1.1 and 1.0, or only 1.1.  Since I am
working in Struts 1.02, and learning Struts at the same time, this has been
VERY useful.

Both books are excellent, and if you have the money to purchase both, I
would recommend it.  Some things are better presented in one book than the
other, and the ability to get two takes on a particular topic/aspect of
Struts really helps me understand/learn Struts.

Celeste

-Original Message-
From: Puneet Agarwal [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 15, 2003 8:51 AM
To: Struts Users Mailing List
Subject: Re: Can anybody make a recommendation between Struts in Action
and Struts Kick Start


Even I was into the same dilemma which one to buy...
I then read a lot of reviews and decided that I want Struts in Action first,
and I have ordered it from Amazon.com, am waiting for the book now a
days..it will take almost 15 days for me to receive the book.

I chose this one only because somewhere I read that this book consolidates
the general problems put-up in this forum.
Regards
Puneet

- Original Message -
From: Denis Wang [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, January 15, 2003 1:42 PM
Subject: Can anybody make a recommendation between Struts in Action and
Struts Kick Start


 Thanks a lot!
 Denis


 --
 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: S in Action Vs S Kick Start [Was: Can anybody make a recommendation between Struts in Action and Struts Kick Start]

2003-01-15 Thread Mark Galbreath
How dare you accuse me of such!

-Original Message-
From: Chappell, Simon P [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, January 15, 2003 11:16 AM

For SERIOUS ... (the kind that Mark does! ;-)

Simon



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




RE: S in Action Vs S Kick Start [Was: Can anybody make a recommendation between Struts in Action and Struts Kick Start]

2003-01-15 Thread Chappell, Simon P
Sorry. I forgot that you have to keep your reputation up ... or is it down!? ;-)

-Original Message-
From: Mark Galbreath [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 15, 2003 10:27 AM
To: 'Struts Users Mailing List'
Subject: RE: S in Action Vs S Kick Start [Was: Can anybody make a
recommendation between Struts in Action and Struts Kick Start]


How dare you accuse me of such!

-Original Message-
From: Chappell, Simon P [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, January 15, 2003 11:16 AM

For SERIOUS ... (the kind that Mark does! ;-)

Simon



--
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: S in Action Vs S Kick Start [Was: Can anybody make a recommendation between Struts in Action and Struts Kick Start]

2003-01-15 Thread Sterin, Ilya
Hey, that would be great:-)  Please do so, that way we won't have to
exchange our first print books for the new ones:-)

Ilya

-Original Message-
From: [EMAIL PROTECTED]
To: Struts Users Mailing List
Cc: Struts Users Mailing List
Sent: 1/15/03 8:58 AM
Subject: Re: S in Action Vs S Kick Start [Was: Can anybody make a
recommendation between Struts in Action and Struts Kick Start]



This is Kevin - one of the co-authors of Kick Start.

The reprint we've been discussing is primarily because stocks have run
low.
Any changes will be very minimal.

I'd expect that maybe 3-4 pages will have modifications and that each
will
be minor. I have only a single modification and I believe that James
mentioned having 2-3.

If there were interest, I'm sure James Turner and I could prepare
single
e-mail message containing these minor changes and post it to the list.

Kevin
http://www.strutskickstart.com



 

 

 Puneet Agarwal  To: Struts Users Mailing
List [EMAIL PROTECTED]
 [EMAIL PROTECTED]   cc: (bcc: Kevin
Bedell/Systems/USHO/SunLife)
 01/15/2003 10:42 AM   Subject:  S in Action Vs
S Kick Start [Was: Can anybody make a recommendation between   
 Please respond to Struts   Struts in Action and
Struts Kick Start]   
 Users Mailing List

 

 





But Struts Kick Start is going for reprint in February and they are
making
changes too...
Not the right time to buy this one now...

- Original Message -
From: Durham David Cntr 805CSS/SCBE [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED];
Puneet
Agarwal [EMAIL PROTECTED]
Sent: Wednesday, January 15, 2003 3:11 PM
Subject: RE: Can anybody make a recommendation between Struts in Action
and
Struts Kick Start


I've read Struts in Action.  It seems to me that it is dummied a bit,
but
still a very good book.  I don't know about Struts Kick Start.  Has
anyone
read Programming Jakarta Struts from O'Reilly?




 -Original Message-
 From: Puneet Agarwal [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, January 15, 2003 8:51 AM
 To: Struts Users Mailing List
 Subject: Re: Can anybody make a recommendation between Struts
 in Action
 and Struts Kick Start


 Even I was into the same dilemma which one to buy...
 I then read a lot of reviews and decided that I want Struts
 in Action first,
 and I have ordered it from Amazon.com, am waiting for the book now a
 days..it will take almost 15 days for me to receive the book.

 I chose this one only because somewhere I read that this book
 consolidates
 the general problems put-up in this forum.
 Regards
 Puneet

 - Original Message -
 From: Denis Wang [EMAIL PROTECTED]
 To: Struts Users Mailing List [EMAIL PROTECTED]
 Sent: Wednesday, January 15, 2003 1:42 PM
 Subject: Can anybody make a recommendation between Struts in
 Action and
 Struts Kick Start


  Thanks a lot!
  Denis
 
 
  --
  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]






---
This e-mail message (including attachments, if any) is intended for the
use
of the individual or entity to which it is addressed and may contain
information that is privileged, proprietary , confidential and exempt
from
disclosure.  If you are not the intended recipient, you are notified
that
any dissemination, distribution or copying of this communication is
strictly prohibited.  If you have received this communication in error,
please notify the sender and erase this e-mail message immediately.

---




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



RE: S in Action Vs S Kick Start [Was: Can anybody make a recommendation between Struts in Action and Struts Kick Start]

2003-01-15 Thread Chappell, Simon P
I want to know if Kevin and James will be ofering to sign our first editions?

-Original Message-
From: Sterin, Ilya [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 15, 2003 10:07 AM
To: '[EMAIL PROTECTED] '; 'Struts Users Mailing List '
Cc: 'Struts Users Mailing List '
Subject: RE: S in Action Vs S Kick Start [Was: Can anybody make a
recommendation between Struts in Action and Struts Kick Start]


Hey, that would be great:-)  Please do so, that way we won't have to
exchange our first print books for the new ones:-)

Ilya

-Original Message-
From: [EMAIL PROTECTED]
To: Struts Users Mailing List
Cc: Struts Users Mailing List
Sent: 1/15/03 8:58 AM
Subject: Re: S in Action Vs S Kick Start [Was: Can anybody make a
recommendation between Struts in Action and Struts Kick Start]



This is Kevin - one of the co-authors of Kick Start.

The reprint we've been discussing is primarily because stocks have run
low.
Any changes will be very minimal.

I'd expect that maybe 3-4 pages will have modifications and that each
will
be minor. I have only a single modification and I believe that James
mentioned having 2-3.

If there were interest, I'm sure James Turner and I could prepare
single
e-mail message containing these minor changes and post it to the list.

Kevin
http://www.strutskickstart.com



 

 

 Puneet Agarwal  To: Struts 
Users Mailing
List [EMAIL PROTECTED]
 [EMAIL PROTECTED]   cc: (bcc: Kevin
Bedell/Systems/USHO/SunLife)   
 
 01/15/2003 10:42 AM   Subject:  S in Action Vs
S Kick Start [Was: Can anybody make a recommendation between   
 Please respond to Struts   Struts in Action and
Struts Kick Start]   
 Users Mailing List

 

 





But Struts Kick Start is going for reprint in February and they are
making
changes too...
Not the right time to buy this one now...

- Original Message -
From: Durham David Cntr 805CSS/SCBE [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED];
Puneet
Agarwal [EMAIL PROTECTED]
Sent: Wednesday, January 15, 2003 3:11 PM
Subject: RE: Can anybody make a recommendation between Struts in Action
and
Struts Kick Start


I've read Struts in Action.  It seems to me that it is dummied a bit,
but
still a very good book.  I don't know about Struts Kick Start.  Has
anyone
read Programming Jakarta Struts from O'Reilly?




 -Original Message-
 From: Puneet Agarwal [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, January 15, 2003 8:51 AM
 To: Struts Users Mailing List
 Subject: Re: Can anybody make a recommendation between Struts
 in Action
 and Struts Kick Start


 Even I was into the same dilemma which one to buy...
 I then read a lot of reviews and decided that I want Struts
 in Action first,
 and I have ordered it from Amazon.com, am waiting for the book now a
 days..it will take almost 15 days for me to receive the book.

 I chose this one only because somewhere I read that this book
 consolidates
 the general problems put-up in this forum.
 Regards
 Puneet

 - Original Message -
 From: Denis Wang [EMAIL PROTECTED]
 To: Struts Users Mailing List [EMAIL PROTECTED]
 Sent: Wednesday, January 15, 2003 1:42 PM
 Subject: Can anybody make a recommendation between Struts in
 Action and
 Struts Kick Start


  Thanks a lot!
  Denis
 
 
  --
  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]





---
-
---
This e-mail message (including attachments, if any) is intended for the
use
of the individual or entity to which it is addressed and may contain
information that is privileged, proprietary , confidential and exempt
from
disclosure.  If you are not the intended recipient, you are notified
that
any dissemination, distribution or copying of this communication is
strictly prohibited.  If you have received this communication in error,
please notify the sender and erase this e-mail message immediately.
---
-
---




--
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: S in Action Vs S Kick Start [Was: Can anybody make a recommendationbetween Struts in Action and Struts Kick Start]

2003-01-15 Thread Kevin . Bedell


Sure -

Send it to me with a BASASE (Big A-- Self Addressed Stamped Envelope) and
I'll turn it around right away.

:-)






   

   

 Chappell, Simon P   To: Struts Users Mailing List 
[EMAIL PROTECTED]
 [EMAIL PROTECTED]   cc: (bcc: Kevin 
Bedell/Systems/USHO/SunLife)
 mSubject:  RE: S in Action Vs S Kick 
Start [Was: Can anybody make a recommendation   
 01/15/2003 11:57 AM between Struts in Action and Struts 
Kick Start]   
 Please respond to Struts 

 Users Mailing List   

   

   





I want to know if Kevin and James will be ofering to sign our first
editions?

-Original Message-
From: Sterin, Ilya [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 15, 2003 10:07 AM
To: '[EMAIL PROTECTED] '; 'Struts Users Mailing List '
Cc: 'Struts Users Mailing List '
Subject: RE: S in Action Vs S Kick Start [Was: Can anybody make a
recommendation between Struts in Action and Struts Kick Start]


Hey, that would be great:-)  Please do so, that way we won't have to
exchange our first print books for the new ones:-)

Ilya

-Original Message-
From: [EMAIL PROTECTED]
To: Struts Users Mailing List
Cc: Struts Users Mailing List
Sent: 1/15/03 8:58 AM
Subject: Re: S in Action Vs S Kick Start [Was: Can anybody make a
recommendation between Struts in Action and Struts Kick Start]



This is Kevin - one of the co-authors of Kick Start.

The reprint we've been discussing is primarily because stocks have run
low.
Any changes will be very minimal.

I'd expect that maybe 3-4 pages will have modifications and that each
will
be minor. I have only a single modification and I believe that James
mentioned having 2-3.

If there were interest, I'm sure James Turner and I could prepare
single
e-mail message containing these minor changes and post it to the list.

Kevin
http://www.strutskickstart.com







 Puneet Agarwal  To: Struts
Users Mailing
List [EMAIL PROTECTED]
 [EMAIL PROTECTED]   cc: (bcc: Kevin
Bedell/Systems/USHO/SunLife)

 01/15/2003 10:42 AM   Subject:  S in Action Vs
S Kick Start [Was: Can anybody make a recommendation between
 Please respond to Struts   Struts in Action and
Struts Kick Start]
 Users Mailing List









But Struts Kick Start is going for reprint in February and they are
making
changes too...
Not the right time to buy this one now...

- Original Message -
From: Durham David Cntr 805CSS/SCBE [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED];
Puneet
Agarwal [EMAIL PROTECTED]
Sent: Wednesday, January 15, 2003 3:11 PM
Subject: RE: Can anybody make a recommendation between Struts in Action
and
Struts Kick Start


I've read Struts in Action.  It seems to me that it is dummied a bit,
but
still a very good book.  I don't know about Struts Kick Start.  Has
anyone
read Programming Jakarta Struts from O'Reilly?




 -Original Message-
 From: Puneet Agarwal [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, January 15, 2003 8:51 AM
 To: Struts Users Mailing List
 Subject: Re: Can anybody make a recommendation between Struts
 in Action
 and Struts Kick Start


 Even I was into the same dilemma which one to buy...
 I then read a lot of reviews and decided that I want Struts
 in Action first,
 and I have ordered it from Amazon.com, am waiting for the book now a
 days..it will take almost 15 days for me to receive the book.

 I chose this one only because somewhere I read that this book
 consolidates
 the general problems put-up in this forum.
 Regards
 Puneet

 - Original Message -
 From: Denis Wang [EMAIL PROTECTED]
 To: Struts Users Mailing List [EMAIL PROTECTED]
 Sent: Wednesday, January 15, 2003 1:42 PM
 Subject: Can anybody make a recommendation between Struts in
 Action and
 Struts Kick Start


  Thanks a lot!
  Denis
 
 
  --
  To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
  For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 


 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED

RE: S in Action Vs S Kick Start [Was: Can anybody make a recommendation between Struts in Action and Struts Kick Start]

2003-01-15 Thread Chappell, Simon P
I'm feeling the love! Didn't you guys make small fortunes from the book yet?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 15, 2003 11:23 AM
To: Struts Users Mailing List
Cc: Struts Users Mailing List
Subject: RE: S in Action Vs S Kick Start [Was: Can anybody make a
recommendation between Struts in Action and Struts Kick Start]




Sure -

Send it to me with a BASASE (Big A-- Self Addressed Stamped 
Envelope) and
I'll turn it around right away.

:-)






   
   
 
   
   
 
 Chappell, Simon P   To: Struts 
Users Mailing List [EMAIL PROTECTED]   
 
 [EMAIL PROTECTED]   cc: (bcc: Kevin 
Bedell/Systems/USHO/SunLife)   
 
 mSubject:  RE: S 
in Action Vs S Kick Start [Was: Can anybody make a 
recommendation   
 01/15/2003 11:57 AM between 
Struts in Action and Struts Kick Start]
   
 Please respond to Struts 
   
 
 Users Mailing List   
   
 
   
   
 
   
   
 




I want to know if Kevin and James will be ofering to sign our first
editions?

-Original Message-
From: Sterin, Ilya [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 15, 2003 10:07 AM
To: '[EMAIL PROTECTED] '; 'Struts Users Mailing List '
Cc: 'Struts Users Mailing List '
Subject: RE: S in Action Vs S Kick Start [Was: Can anybody make a
recommendation between Struts in Action and Struts Kick Start]


Hey, that would be great:-)  Please do so, that way we won't have to
exchange our first print books for the new ones:-)

Ilya

-Original Message-
From: [EMAIL PROTECTED]
To: Struts Users Mailing List
Cc: Struts Users Mailing List
Sent: 1/15/03 8:58 AM
Subject: Re: S in Action Vs S Kick Start [Was: Can anybody make a
recommendation between Struts in Action and Struts Kick Start]



This is Kevin - one of the co-authors of Kick Start.

The reprint we've been discussing is primarily because stocks have run
low.
Any changes will be very minimal.

I'd expect that maybe 3-4 pages will have modifications and that each
will
be minor. I have only a single modification and I believe that James
mentioned having 2-3.

If there were interest, I'm sure James Turner and I could prepare
single
e-mail message containing these minor changes and post it to the list.

Kevin
http://www.strutskickstart.com







 Puneet Agarwal  To: Struts
Users Mailing
List [EMAIL PROTECTED]
 [EMAIL PROTECTED]   cc: (bcc: Kevin
Bedell/Systems/USHO/SunLife)

 01/15/2003 10:42 AM   Subject:  S in 
Action Vs
S Kick Start [Was: Can anybody make a recommendation between
 Please respond to Struts   Struts in Action and
Struts Kick Start]
 Users Mailing List









But Struts Kick Start is going for reprint in February and they are
making
changes too...
Not the right time to buy this one now...

- Original Message -
From: Durham David Cntr 805CSS/SCBE [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED];
Puneet
Agarwal [EMAIL PROTECTED]
Sent: Wednesday, January 15, 2003 3:11 PM
Subject: RE: Can anybody make a recommendation between Struts 
in Action
and
Struts Kick Start


I've read Struts in Action.  It seems to me that it is dummied a bit,
but
still a very good book.  I don't know about Struts Kick Start.  Has
anyone
read Programming Jakarta Struts from O'Reilly?




 -Original Message-
 From: Puneet Agarwal [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, January 15, 2003 8:51 AM
 To: Struts Users Mailing List
 Subject: Re: Can anybody make a recommendation between Struts
 in Action
 and Struts Kick Start


 Even I was into the same dilemma which one to buy...
 I then read a lot of reviews and decided that I want Struts
 in Action first,
 and I have ordered it from Amazon.com, am waiting for the book now a
 days..it will take almost 15 days for me to receive the book.

 I chose this one only because somewhere I read that this book
 consolidates
 the general problems put-up in this forum.
 Regards
 Puneet

 - Original Message -
 From: Denis Wang [EMAIL PROTECTED

RE: S in Action Vs S Kick Start [Was: Can anybody make a recommendationbetween Struts in Action and Struts Kick Start]

2003-01-15 Thread Kevin . Bedell


All told in the end I believe with any luck we'll make an hourly rate
similar that of a gas station attendent. The gas station attendant, though,
gets free coffee - we purchased our own.

Few people write technical books to make tons of cash. Very few authors
support themselves writing. It's a perverse attraction probably not unlike
the one that makes you want to climb mountains - and at times it seems as
painful.

In the end you just want to feel good about the job you did - and people on
this list have made James and I feel great. Thanks!





   

   

 Chappell, Simon P   To: Struts Users Mailing List 
[EMAIL PROTECTED]
 [EMAIL PROTECTED]   cc: (bcc: Kevin 
Bedell/Systems/USHO/SunLife)
 mSubject:  RE: S in Action Vs S Kick 
Start [Was: Can anybody make a recommendation   
 01/15/2003 12:30 PM between Struts in Action and Struts 
Kick Start]   
 Please respond to Struts 

 Users Mailing List   

   

   





I'm feeling the love! Didn't you guys make small fortunes from the book
yet?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 15, 2003 11:23 AM
To: Struts Users Mailing List
Cc: Struts Users Mailing List
Subject: RE: S in Action Vs S Kick Start [Was: Can anybody make a
recommendation between Struts in Action and Struts Kick Start]




Sure -

Send it to me with a BASASE (Big A-- Self Addressed Stamped
Envelope) and
I'll turn it around right away.

:-)












 Chappell, Simon P   To: Struts
Users Mailing List [EMAIL PROTECTED]

 [EMAIL PROTECTED]   cc: (bcc: Kevin
Bedell/Systems/USHO/SunLife)

 mSubject:  RE: S
in Action Vs S Kick Start [Was: Can anybody make a
recommendation
 01/15/2003 11:57 AM between
Struts in Action and Struts Kick Start]

 Please respond to Struts


 Users Mailing List












I want to know if Kevin and James will be ofering to sign our first
editions?

-Original Message-
From: Sterin, Ilya [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 15, 2003 10:07 AM
To: '[EMAIL PROTECTED] '; 'Struts Users Mailing List '
Cc: 'Struts Users Mailing List '
Subject: RE: S in Action Vs S Kick Start [Was: Can anybody make a
recommendation between Struts in Action and Struts Kick Start]


Hey, that would be great:-)  Please do so, that way we won't have to
exchange our first print books for the new ones:-)

Ilya

-Original Message-
From: [EMAIL PROTECTED]
To: Struts Users Mailing List
Cc: Struts Users Mailing List
Sent: 1/15/03 8:58 AM
Subject: Re: S in Action Vs S Kick Start [Was: Can anybody make a
recommendation between Struts in Action and Struts Kick Start]



This is Kevin - one of the co-authors of Kick Start.

The reprint we've been discussing is primarily because stocks have run
low.
Any changes will be very minimal.

I'd expect that maybe 3-4 pages will have modifications and that each
will
be minor. I have only a single modification and I believe that James
mentioned having 2-3.

If there were interest, I'm sure James Turner and I could prepare
single
e-mail message containing these minor changes and post it to the list.

Kevin
http://www.strutskickstart.com







 Puneet Agarwal  To: Struts
Users Mailing
List [EMAIL PROTECTED]
 [EMAIL PROTECTED]   cc: (bcc: Kevin
Bedell/Systems/USHO/SunLife)

 01/15/2003 10:42 AM   Subject:  S in
Action Vs
S Kick Start [Was: Can anybody make a recommendation between
 Please respond to Struts   Struts in Action and
Struts Kick Start]
 Users Mailing List









But Struts Kick Start is going for reprint in February and they are
making
changes too...
Not the right time to buy this one now...

- Original Message -
From: Durham David Cntr 805CSS/SCBE [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED];
Puneet
Agarwal [EMAIL PROTECTED]
Sent: Wednesday, January 15

RE: S in Action Vs S Kick Start [Was: Can anybody make a recommendation between Struts in Action and Struts Kick Start]

2003-01-15 Thread Chappell, Simon P
I kind of suspected that. :-(

I'm glad you did it anyway and it was worth it, for the record.

Simon

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 15, 2003 12:00 PM
To: Struts Users Mailing List
Cc: Struts Users Mailing List
Subject: RE: S in Action Vs S Kick Start [Was: Can anybody make a
recommendation between Struts in Action and Struts Kick Start]




All told in the end I believe with any luck we'll make an hourly rate
similar that of a gas station attendent. The gas station 
attendant, though,
gets free coffee - we purchased our own.

Few people write technical books to make tons of cash. Very few authors
support themselves writing. It's a perverse attraction 
probably not unlike
the one that makes you want to climb mountains - and at times 
it seems as
painful.

In the end you just want to feel good about the job you did - 
and people on
this list have made James and I feel great. Thanks!





   
   
 
   
   
 
 Chappell, Simon P   To: Struts 
Users Mailing List [EMAIL PROTECTED]   
 
 [EMAIL PROTECTED]   cc: (bcc: Kevin 
Bedell/Systems/USHO/SunLife)   
 
 mSubject:  RE: S 
in Action Vs S Kick Start [Was: Can anybody make a 
recommendation   
 01/15/2003 12:30 PM between 
Struts in Action and Struts Kick Start]
   
 Please respond to Struts 
   
 
 Users Mailing List   
   
 
   
   
 
   
   
 




I'm feeling the love! Didn't you guys make small fortunes from the book
yet?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 15, 2003 11:23 AM
To: Struts Users Mailing List
Cc: Struts Users Mailing List
Subject: RE: S in Action Vs S Kick Start [Was: Can anybody make a
recommendation between Struts in Action and Struts Kick Start]




Sure -

Send it to me with a BASASE (Big A-- Self Addressed Stamped
Envelope) and
I'll turn it around right away.

:-)












 Chappell, Simon P   To: Struts
Users Mailing List [EMAIL PROTECTED]

 [EMAIL PROTECTED]   cc: (bcc: Kevin
Bedell/Systems/USHO/SunLife)

 mSubject:  RE: S
in Action Vs S Kick Start [Was: Can anybody make a
recommendation
 01/15/2003 11:57 AM between
Struts in Action and Struts Kick Start]

 Please respond to Struts


 Users Mailing List












I want to know if Kevin and James will be ofering to sign our first
editions?

-Original Message-
From: Sterin, Ilya [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 15, 2003 10:07 AM
To: '[EMAIL PROTECTED] '; 'Struts Users Mailing List '
Cc: 'Struts Users Mailing List '
Subject: RE: S in Action Vs S Kick Start [Was: Can anybody make a
recommendation between Struts in Action and Struts Kick Start]


Hey, that would be great:-)  Please do so, that way we won't have to
exchange our first print books for the new ones:-)

Ilya

-Original Message-
From: [EMAIL PROTECTED]
To: Struts Users Mailing List
Cc: Struts Users Mailing List
Sent: 1/15/03 8:58 AM
Subject: Re: S in Action Vs S Kick Start [Was: Can anybody make a
recommendation between Struts in Action and Struts Kick Start]



This is Kevin - one of the co-authors of Kick Start.

The reprint we've been discussing is primarily because 
stocks have run
low.
Any changes will be very minimal.

I'd expect that maybe 3-4 pages will have modifications and that each
will
be minor. I have only a single modification and I believe that James
mentioned having 2-3.

If there were interest, I'm sure James Turner and I could prepare
single
e-mail message containing these minor changes and post it to 
the list.

Kevin
http://www.strutskickstart.com







 Puneet Agarwal  To: Struts
Users Mailing
List [EMAIL PROTECTED]
 [EMAIL PROTECTED]   cc: (bcc: Kevin
Bedell/Systems/USHO/SunLife)

 01/15/2003 10:42 AM   Subject:  S in
Action Vs
S Kick Start [Was: Can anybody make a recommendation between
 Please

RE: S in Action Vs S Kick Start [Was: Can anybody make a recommendation between Struts in Action and Struts Kick Start]

2003-01-15 Thread James Turner
 -Original Message-
 From: Chappell, Simon P [mailto:[EMAIL PROTECTED]] 
 Sent: Wednesday, January 15, 2003 11:58 AM
 To: Struts Users Mailing List
 Subject: RE: S in Action Vs S Kick Start [Was: Can anybody 
 make a recommendation between Struts in Action and Struts Kick Start]
 
 
 I want to know if Kevin and James will be ofering to sign our 
 first editions?

They're all first editions.  We're talking first and second printing.
Normally, there's no difference in content between printings of the same
edition, but SAMS is a bit more flexible.

I'd have to agree with the general comments that no book can serve all
masters.  SKS starts out with the idea that you're on a deadline trying
to learn how to use the thing so that you can get work done. SIA is very
much the complete technical specs to the beast.  I'd compare the
difference as between the KR Unix book and the 4.3BSD design book.
Both are worth having.

And as Kevin mentioned, we're all in this for beer and skittles money.
Our pay tends to be the positive feedback we receive from the readers
(and the occasional piece of Real Business we might land because someone
read the book and thinks of us for a job.)

James



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




RE: Struts in Action Unavailable at Amazon

2003-01-06 Thread Haseltine, Celeste
I ordered the Struts in Action book on Amazon in early Nov.  I did go on
backorder status, but I received my copy the week before Christmas.  Perhaps
they have a large number of people on backorder status as I was, and don't
want to accept new orders until they have filled all of their current
commitments(just a guess)

Celeste



-Original Message-
From: colin campbell [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 04, 2003 4:03 PM
To: Struts Users Mailing List
Subject: RE: Struts in Action Unavailable at Amazon



You lucky people, you should try amazon.co.uk (or any
other bookstore here).I have been promised that it
would be in stock since December .

Enjoy, Colin C 


 --- Sterin, Ilya [EMAIL PROTECTED] wrote: 
That's funny, it's available at most bookstores in
 US, Borders and BN, I've
 seen it everywhere.
 
 Ilya
 
 -Original Message-
 From: James Watkin
 [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, January 02, 2003 6:33 PM
 To: [EMAIL PROTECTED]
 Subject: FYI: Struts in Action Unavailable at
 Amazon
 
 
 I tried to place an order for Struts in Action
 just prior to Christmas.
 Here's Amazon's response:
 
 Greetings from Amazon.com.
 
 We are sorry to report that we will not be able to
 obtain the following
 item from your order:
 
Ted Husted, et al Struts in Action: Building Web
  Applications with the Leading Java
 Framework
 
 Though we had expected to be able to send this item
 to you, we've
 since found that it is not available from any of our
 sources at this
 time.  We realize this is disappointing news to
 hear, and we apologize
 for any inconvenience we have caused you.
 
 We have cancelled this item from your order.
 
 I'm going for the $22.47 E-book version available
 at:
 http://www.manning.com/ebook_buy.html?project=husted
 
 They also note: ebook purchasers who decide later
 to purchase the printed
 book online from Manning will receive a discount of
 $22.47 off the list
 price of the printed book.
 
 - Jim
 
 __
 James Watkin
 The Anderson School at UCLA
 [EMAIL PROTECTED]
 Voice: 1-310-825-5030
Fax: 1-310-825-4835
 __
 
 
 --
 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]
  

=


__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

--
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 in Action Unavailable at Amazon

2003-01-04 Thread colin campbell

You lucky people, you should try amazon.co.uk (or any
other bookstore here).I have been promised that it
would be in stock since December .

Enjoy, Colin C 


 --- Sterin, Ilya [EMAIL PROTECTED] wrote: 
That's funny, it's available at most bookstores in
 US, Borders and BN, I've
 seen it everywhere.
 
 Ilya
 
 -Original Message-
 From: James Watkin
 [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, January 02, 2003 6:33 PM
 To: [EMAIL PROTECTED]
 Subject: FYI: Struts in Action Unavailable at
 Amazon
 
 
 I tried to place an order for Struts in Action
 just prior to Christmas.
 Here's Amazon's response:
 
 Greetings from Amazon.com.
 
 We are sorry to report that we will not be able to
 obtain the following
 item from your order:
 
Ted Husted, et al Struts in Action: Building Web
  Applications with the Leading Java
 Framework
 
 Though we had expected to be able to send this item
 to you, we've
 since found that it is not available from any of our
 sources at this
 time.  We realize this is disappointing news to
 hear, and we apologize
 for any inconvenience we have caused you.
 
 We have cancelled this item from your order.
 
 I'm going for the $22.47 E-book version available
 at:
 http://www.manning.com/ebook_buy.html?project=husted
 
 They also note: ebook purchasers who decide later
 to purchase the printed
 book online from Manning will receive a discount of
 $22.47 off the list
 price of the printed book.
 
 - Jim
 
 __
 James Watkin
 The Anderson School at UCLA
 [EMAIL PROTECTED]
 Voice: 1-310-825-5030
Fax: 1-310-825-4835
 __
 
 
 --
 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]
  

=


__
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

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




Re: FYI: Struts in Action Unavailable at Amazon

2003-01-03 Thread Ted Husted
After several inquiries, my publisher has finally gotten Amazon to
update their database to reflect the true status of the book, Available
in 24 hours.

They do have copies in the warehouse, and a third reprinting is in the
works for when these run out.

Thanks for bringing this up =:0)

-Ted.



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




Re: FYI: Struts in Action Unavailable at Amazon

2003-01-03 Thread Vincent Stoessel
3rd printing huh?
Congrats to you all! Who says you can't make a living off of
open source?

Ted Husted wrote:

After several inquiries, my publisher has finally gotten Amazon to
update their database to reflect the true status of the book, Available
in 24 hours.

They do have copies in the warehouse, and a third reprinting is in the
works for when these run out.

Thanks for bringing this up =:0)

-Ted.



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


--
Vincent Stoessel
Linux Systems Developer
vincent xaymaca.com


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




FYI: Struts in Action Unavailable at Amazon

2003-01-02 Thread James Watkin
I tried to place an order for Struts in Action just prior to Christmas. 
Here's Amazon's response:

Greetings from Amazon.com.

We are sorry to report that we will not be able to obtain the following
item from your order:

  Ted Husted, et al Struts in Action: Building Web
Applications with the Leading Java Framework

Though we had expected to be able to send this item to you, we've
since found that it is not available from any of our sources at this
time.  We realize this is disappointing news to hear, and we apologize
for any inconvenience we have caused you.

We have cancelled this item from your order.

I'm going for the $22.47 E-book version available at:
http://www.manning.com/ebook_buy.html?project=husted

They also note: ebook purchasers who decide later to purchase the printed 
book online from Manning will receive a discount of $22.47 off the list 
price of the printed book.

- Jim

__
James Watkin
The Anderson School at UCLA
[EMAIL PROTECTED]
Voice: 1-310-825-5030
  Fax: 1-310-825-4835
__


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



RE: Struts in Action Unavailable at Amazon

2003-01-02 Thread Sterin, Ilya
That's funny, it's available at most bookstores in US, Borders and BN, I've
seen it everywhere.

Ilya

-Original Message-
From: James Watkin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 02, 2003 6:33 PM
To: [EMAIL PROTECTED]
Subject: FYI: Struts in Action Unavailable at Amazon


I tried to place an order for Struts in Action just prior to Christmas.
Here's Amazon's response:

Greetings from Amazon.com.

We are sorry to report that we will not be able to obtain the following
item from your order:

   Ted Husted, et al Struts in Action: Building Web
 Applications with the Leading Java Framework

Though we had expected to be able to send this item to you, we've
since found that it is not available from any of our sources at this
time.  We realize this is disappointing news to hear, and we apologize
for any inconvenience we have caused you.

We have cancelled this item from your order.

I'm going for the $22.47 E-book version available at:
http://www.manning.com/ebook_buy.html?project=husted

They also note: ebook purchasers who decide later to purchase the printed
book online from Manning will receive a discount of $22.47 off the list
price of the printed book.

- Jim

__
James Watkin
The Anderson School at UCLA
[EMAIL PROTECTED]
Voice: 1-310-825-5030
   Fax: 1-310-825-4835
__


--
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-config action-mapping how to set custom attribute

2002-12-17 Thread Steve Vanspall
Hi there

I was wondering if there is a way to set a custom attrbiute to an action
mapping, and then retieve it using the ActionMapping class.

I notice that the ActionMapping class has a getAttribute(String s) method,
but I am not sure if there is a way to set that attribute in the
struts-config file

Can anyone help me here?

Regards

Steve Vanspall


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




RE: Struts In Action on Slashdot

2002-12-03 Thread ROSSEL Olivier
 Woo hoo!  A Struts In Action book review on Slashdot!
 
 http://books.slashdot.org/books/02/11/25/1731249.shtml?tid=156

Shortly: The bible of web MVC :-)

Someone on IRC said that one of its chapters (that was already available)
is talking about an old flavour of the Validator. Is it true?

This e-mail is intended only for the above addressee. It may contain
privileged information. If you are not the addressee you must not copy,
distribute, disclose or use any of the information in it. If you have
received it in error please delete it and immediately notify the sender.
Security Notice: all e-mail, sent to or from this address, may be
accessed by someone other than the recipient, for system management and
security reasons. This access is controlled under Regulation of
Investigatory Powers Act 2000, Lawful Business Practises.

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




Review of Struts in Action and JSTL in Action

2002-12-03 Thread micael
Woo Hoo -- my review of both Struts in Action and JSTL in Action is on 
Amazon with pfeiffers, etc.

Micael

---

This electronic mail  transmission and any accompanying documents contain 
information belonging to the sender which may be confidential and legally 
privileged.  This information is intended only for the use of the 
individual or entity to whom this electronic mail transmission was sent as 
indicated above. If you are not the intended recipient, any disclosure, 
copying, distribution, or action taken in reliance on the contents of the 
information contained in this transmission is strictly prohibited.  If you 
have received this transmission in error, please delete the message.  Thank you 



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



Struts In Action on Slashdot

2002-12-03 Thread Craig R. McClanahan
Woo hoo!  A Struts In Action book review on Slashdot!

http://books.slashdot.org/books/02/11/25/1731249.shtml?tid=156

Craig



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




Re: [ANNOUNCE] Struts In Action now in print

2002-11-07 Thread Kevin . Bedell



Congratulations to you all and thanks for this contribution to the Struts
community!

Kevin




Ted Husted [EMAIL PROTECTED] on 11/07/2002 10:47:39 AM

Please respond to Struts Users Mailing List
   [EMAIL PROTECTED]

To:Struts Users Mailing List [EMAIL PROTECTED]
cc: (bcc: Kevin Bedell/Systems/USHO/SunLife)
Subject:[ANNOUNCE] Struts In Action now in print


The Manning book, Struts in Action, is now available for sale at
the publisher's website www.manning.com/husted and will arrive
at bookstores everywhere over the next few weeks. Struts solves
the most common problems of Web development by providing an open
source framework for building Web applications. As the only book
with full coverage of both Struts 1.0 and the upcoming Struts 1.1,
Struts in Action points out the differences between the two and
builds a case study that illustrates the transition from one to
the other. The authors of the Manning book are core members of the
Struts community who are intimately involved in the Struts
development process.

Manning makes this text available in either ebook edition for
$22.47 or print edition for $44.95 at www.manning.com/husted. If
you order the ebook from Manning's website first, you will receive
a special offer on the print edition. If you later purchase the
print edition from the publisher's website, Manning will deduct
the cost of the ebook from the print edition order - that's both
editions for $44.95! Please remember, to get this deal, you must
order the ebook first.

Struts in Action
By Ted N. Husted, Cedric Dumoulin, George Franciscus, David
Winterfeldt
ISBN 1930110502
Softbound, 664 pages, $44.95
Ebook, 2.5 Mb PDF, $22.47
www.manning.com/husted

###




--
To unsubscribe, e-mail:   
mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: 
mailto:struts-user-help;jakarta.apache.org







---
This e-mail message (including attachments, if any) is intended for the use
of the individual or entity to which it is addressed and may contain
information that is privileged, proprietary , confidential and exempt from
disclosure.  If you are not the intended recipient, you are notified that
any dissemination, distribution or copying of this communication is
strictly prohibited.  If you have received this communication in error,
please notify the sender and erase this e-mail message immediately.
---



--
To unsubscribe, e-mail:   mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org




Re: [ANNOUNCE] Struts In Action now in print

2002-11-07 Thread Eddie Bush
The sample chapters look very good Ted - nice job :-)  I'm sure the rest 
of the book is just as excellent!

--
Eddie Bush





--
To unsubscribe, e-mail:   mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org



RE: [ANNOUNCE] Struts In Action now in print

2002-11-07 Thread James Childers
Congratulations, Ted.

For those of you who do not know, Ted has been one of the most valuable contributors 
to the Struts community for a long, long time. He has showed both great knowledge and 
extreme patience when dealing with the user community, and Struts would not be the 
same without him.

I have no problems recommending the book sight-unseen based solely upon Ted's 
reputation.

-= James

 -Original Message-
 From: Ted Husted [mailto:husted;apache.org]
 Sent: Thursday, November 07, 2002 9:48 AM
 To: Struts Users Mailing List
 Subject: [ANNOUNCE] Struts In Action now in print
 
 
 The Manning book, Struts in Action, is now available for sale at 
 the publisher's website www.manning.com/husted and will arrive 
 at bookstores everywhere over the next few weeks. Struts solves 
 the most common problems of Web development by providing an open 
 source framework for building Web applications. As the only book 
 with full coverage of both Struts 1.0 and the upcoming Struts 1.1, 
 Struts in Action points out the differences between the two and 
 builds a case study that illustrates the transition from one to 
 the other. The authors of the Manning book are core members of the 
 Struts community who are intimately involved in the Struts 
 development process.  
 
 Manning makes this text available in either ebook edition for 
 $22.47 or print edition for $44.95 at www.manning.com/husted. If 
 you order the ebook from Manning's website first, you will receive 
 a special offer on the print edition. If you later purchase the 
 print edition from the publisher’s website, Manning will deduct 
 the cost of the ebook from the print edition order - that's both 
 editions for $44.95! Please remember, to get this deal, you must 
 order the ebook first. 
 
 Struts in Action 
 By Ted N. Husted, Cedric Dumoulin, George Franciscus, David 
 Winterfeldt 
 ISBN 1930110502 
 Softbound, 664 pages, $44.95 
 Ebook, 2.5 Mb PDF, $22.47 
 www.manning.com/husted 
 
 ###
 
 
 
 
 --
 To unsubscribe, e-mail:   
 mailto:struts-user-unsubscribe;jakarta.apache.org
 For additional commands, e-mail: 
 mailto:struts-user-help;jakarta.apache.org
 
 

--
To unsubscribe, e-mail:   mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org




RE: [ANNOUNCE] Struts In Action now in print

2002-11-07 Thread Hohlen, John
I purchased the e-book version of the book and I must say it is excellent!
It's very well written.

JOHN

-Original Message-
From: Eddie Bush [mailto:ekbush;swbell.net]
Sent: Thursday, November 07, 2002 11:07 AM
To: Struts Users Mailing List
Subject: Re: [ANNOUNCE] Struts In Action now in print


The sample chapters look very good Ted - nice job :-)  I'm sure the rest 
of the book is just as excellent!

-- 
Eddie Bush





--
To unsubscribe, e-mail:
mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail:
mailto:struts-user-help;jakarta.apache.org

--
To unsubscribe, e-mail:   mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org




Re: [ANNOUNCE] Struts In Action now in print

2002-11-07 Thread kiuma
Congratulations!!!

You have been my first approach to struts, I'll shurely buy your book!! 
(maybe in e-form)


--
To unsubscribe, e-mail:   mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org



Re: [ANNOUNCE] Struts In Action now in print

2002-11-07 Thread Adolfo Miguelez
Que capullos si compras primero el ebook ahora te llevas el book a mitad de 
precio o sea los 2 por 44 dolares. El problema es que yo ya prepedi el book.

From: Ted Husted [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: [ANNOUNCE] Struts In Action now in print
Date: Thu, 07 Nov 2002 10:47:39 -0500

The Manning book, Struts in Action, is now available for sale at
the publisher's website www.manning.com/husted and will arrive
at bookstores everywhere over the next few weeks. Struts solves
the most common problems of Web development by providing an open
source framework for building Web applications. As the only book
with full coverage of both Struts 1.0 and the upcoming Struts 1.1,
Struts in Action points out the differences between the two and
builds a case study that illustrates the transition from one to
the other. The authors of the Manning book are core members of the
Struts community who are intimately involved in the Struts
development process.

Manning makes this text available in either ebook edition for
$22.47 or print edition for $44.95 at www.manning.com/husted. If
you order the ebook from Manning's website first, you will receive
a special offer on the print edition. If you later purchase the
print edition from the publisher’s website, Manning will deduct
the cost of the ebook from the print edition order - that's both
editions for $44.95! Please remember, to get this deal, you must
order the ebook first.

Struts in Action
By Ted N. Husted, Cedric Dumoulin, George Franciscus, David
Winterfeldt
ISBN 1930110502
Softbound, 664 pages, $44.95
Ebook, 2.5 Mb PDF, $22.47
www.manning.com/husted

###




--
To unsubscribe, e-mail:   
mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: 
mailto:struts-user-help;jakarta.apache.org


_
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail


--
To unsubscribe, e-mail:   mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org



Re: [ANNOUNCE] Struts In Action now in print

2002-11-07 Thread Adolfo Miguelez
sorry, I mistaked the target address

:-O


From: Ted Husted [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: [ANNOUNCE] Struts In Action now in print
Date: Thu, 07 Nov 2002 10:47:39 -0500

The Manning book, Struts in Action, is now available for sale at
the publisher's website www.manning.com/husted and will arrive
at bookstores everywhere over the next few weeks. Struts solves
the most common problems of Web development by providing an open
source framework for building Web applications. As the only book
with full coverage of both Struts 1.0 and the upcoming Struts 1.1,
Struts in Action points out the differences between the two and
builds a case study that illustrates the transition from one to
the other. The authors of the Manning book are core members of the
Struts community who are intimately involved in the Struts
development process.

Manning makes this text available in either ebook edition for
$22.47 or print edition for $44.95 at www.manning.com/husted. If
you order the ebook from Manning's website first, you will receive
a special offer on the print edition. If you later purchase the
print edition from the publisher’s website, Manning will deduct
the cost of the ebook from the print edition order - that's both
editions for $44.95! Please remember, to get this deal, you must
order the ebook first.

Struts in Action
By Ted N. Husted, Cedric Dumoulin, George Franciscus, David
Winterfeldt
ISBN 1930110502
Softbound, 664 pages, $44.95
Ebook, 2.5 Mb PDF, $22.47
www.manning.com/husted

###




--
To unsubscribe, e-mail:   
mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: 
mailto:struts-user-help;jakarta.apache.org


_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
http://join.msn.com/?page=features/virus


--
To unsubscribe, e-mail:   mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org



RE: [ANNOUNCE] Struts In Action now in print

2002-11-07 Thread James Mitchell
Tan apenas imprima y sujete con grapa el libro.

James Mitchell
Software Engineer/Struts Evangelist
http://www.open-tools.org

Only two things are infinite, the universe and human stupidity, and I'm not
sure about the former.
- Albert Einstein (1879-1955)


 -Original Message-
 From: Adolfo Miguelez [mailto:pelly69;hotmail.com]
 Sent: Thursday, November 07, 2002 12:00 PM
 To: [EMAIL PROTECTED]
 Subject: Re: [ANNOUNCE] Struts In Action now in print


 sorry, I mistaked the target address

 :-O

 From: Ted Husted [EMAIL PROTECTED]
 Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
 To: Struts Users Mailing List [EMAIL PROTECTED]
 Subject: [ANNOUNCE] Struts In Action now in print
 Date: Thu, 07 Nov 2002 10:47:39 -0500
 
 The Manning book, Struts in Action, is now available for sale at
 the publisher's website www.manning.com/husted and will arrive
 at bookstores everywhere over the next few weeks. Struts solves
 the most common problems of Web development by providing an open
 source framework for building Web applications. As the only book
 with full coverage of both Struts 1.0 and the upcoming Struts 1.1,
 Struts in Action points out the differences between the two and
 builds a case study that illustrates the transition from one to
 the other. The authors of the Manning book are core members of the
 Struts community who are intimately involved in the Struts
 development process.
 
 Manning makes this text available in either ebook edition for
 $22.47 or print edition for $44.95 at www.manning.com/husted. If
 you order the ebook from Manning's website first, you will receive
 a special offer on the print edition. If you later purchase the
 print edition from the publisher’s website, Manning will deduct
 the cost of the ebook from the print edition order - that's both
 editions for $44.95! Please remember, to get this deal, you must
 order the ebook first.
 
 Struts in Action
 By Ted N. Husted, Cedric Dumoulin, George Franciscus, David
 Winterfeldt
 ISBN 1930110502
 Softbound, 664 pages, $44.95
 Ebook, 2.5 Mb PDF, $22.47
 www.manning.com/husted
 
 ###
 
 
 
 
 --
 To unsubscribe, e-mail:
 mailto:struts-user-unsubscribe;jakarta.apache.org
 For additional commands, e-mail:
 mailto:struts-user-help;jakarta.apache.org


 _
 MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
 http://join.msn.com/?page=features/virus


 --
 To unsubscribe, e-mail:
mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail:
mailto:struts-user-help;jakarta.apache.org



--
To unsubscribe, e-mail:   mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org




RE: [ANNOUNCE] Struts In Action now in print

2002-11-07 Thread Craig R. McClanahan


On Thu, 7 Nov 2002, James Childers wrote:

 Date: Thu, 7 Nov 2002 10:07:46 -0600
 From: James Childers [EMAIL PROTECTED]
 Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
 To: Struts Users Mailing List [EMAIL PROTECTED]
 Subject: RE: [ANNOUNCE] Struts In Action now in print

 Congratulations, Ted.

 For those of you who do not know, Ted has been one of the most valuable
 contributors to the Struts community for a long, long time. He has
 showed both great knowledge and extreme patience when dealing with the
 user community, and Struts would not be the same without him.


+1.  And that's no disrespect to the other committers as well, who have
also been incredibly cool to work with.

 I have no problems recommending the book sight-unseen based solely upon
 Ted's reputation.

It's good.  And the book also had valuable contributions from several
other key players (not necessarily counting my foreword as valuable :-).

 -= James

Craig


--
To unsubscribe, e-mail:   mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org




Re: [ANNOUNCE] Struts In Action now in print

2002-11-07 Thread Ted Husted
The best place to post any questions regarding the mechanics of 
the SIA book is the forum at the book's website at manning.com. I 
will be following up on any questions posted there.

I will also be spending more time at the JGuru Struts forum now, 
to help take the heat off this much-burdened mailing list =:0)

-Ted.



--
To unsubscribe, e-mail:   mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org




Re: [ANNOUNCE] Struts In Action now in print

2002-11-07 Thread Daniel Jaffa
Now that jguru wants money to search their archives are people still using
it as much
- Original Message -
From: Ted Husted [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, November 07, 2002 3:45 PM
Subject: Re: [ANNOUNCE] Struts In Action now in print


 The best place to post any questions regarding the mechanics of
 the SIA book is the forum at the book's website at manning.com. I
 will be following up on any questions posted there.

 I will also be spending more time at the JGuru Struts forum now,
 to help take the heat off this much-burdened mailing list =:0)

 -Ted.



 --
 To unsubscribe, e-mail:
mailto:struts-user-unsubscribe;jakarta.apache.org
 For additional commands, e-mail:
mailto:struts-user-help;jakarta.apache.org



--
To unsubscribe, e-mail:   mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org




Ted and the Crew Struts in Action Book

2002-11-05 Thread micael
Gang of Four Struts Version

Couldn't find out how to get to the private web forum on the book (Struts 
in Action) that is mentioned on page xxxii of the ebook.  So, thought I 
would toss a bit of errata in here and get information from whomever on how 
to access that page in time.  The first code on page 19 has a number of 
obvious faults, including two unnecessary this. references and six 
extraneous ;s.

Micael

---

This electronic mail  transmission and any accompanying documents contain 
information belonging to the sender which may be confidential and legally 
privileged.  This information is intended only for the use of the 
individual or entity to whom this electronic mail transmission was sent as 
indicated above. If you are not the intended recipient, any disclosure, 
copying, distribution, or action taken in reliance on the contents of the 
information contained in this transmission is strictly prohibited.  If you 
have received this transmission in error, please delete the message.  Thank you 



--
To unsubscribe, e-mail:   mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org



strange error not finding org/apache/struts/action/Action class

2002-07-18 Thread Emerson Cargnin - SICREDI Serviços

Have anyone seem this error

2002-07-18 17:14:06,737 DEBUG 
[org.apache.struts.action.RequestProcessor]  Looking for Action instance 
for class br.com.sicredi.cobranca.cliente.web.PesquisaPracaAction
2002-07-18 17:14:06,737 DEBUG 
[org.apache.struts.action.RequestProcessor]   Creating new Action instance
2002-07-18 17:14:07,326 ERROR 
[org.apache.struts.action.RequestProcessor] No action instance for path 
/PesquisaPraca could be created
java.lang.NoClassDefFoundError: org/apache/struts/action/Action
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:509)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
.
.
.



-- 
Emerson Cargnin - MSA
SICREDI - Tel : 3358-4860


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




RE: Struts without action and form classes

2002-07-10 Thread Robert Taylor

From what I understand, this is possible in 1.0x as well.

This example if from the Struts1.0 example app where the action mapping path
attribute
simply forwards to the tour.htm page which could just as easily be tour.jsp.

actionpath=/tour
forward=/tour.htm
/action


From the Struts1.0 and 1.1 DTD section on the 'action' element:

forward  Application-relative path of the servlet or JSP
resource
 that will process this request, instead of
instantiating
 and calling the Action class specified by type.
 Exactly one of forward, include, or type must be
 specified.


Using the above example, you can prototype all day long and then go back and
add the necessary supporting classes.

HTH,

robert

 -Original Message-
 From: Manfred Wolff [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, July 10, 2002 2:19 AM
 To: 'Struts Users Mailing List'
 Subject: AW: Struts without action and form classes


 Hi owen.

 Yes it is possible, but I think you need Struts 1.1b. See below:

   action path=/logonNative
   name=dummyForm
   parameter=/Logon/Logon.jsp
   scope=request
   type=org.apache.struts.actions.ForwardAction
   validate=false
   /action

 In Struts 1.1b you have sevaral custom Actions like DynamicAction and
 also ForwardAction. In the key parameter you specify your JSP, you
 want to forward. The dummyForm is a standard form with no attributes. I
 think it is not possible to specify an action without a form, because
 the html:form tag needs a form!

 I have made a static prototyp with 60 steps (clickable Prototyp) so that
 the customer may have a impression at the look and feel of the
 application.

 Nice feature, isn't it?

 Manfred

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]
 Im Auftrag von Struts Newsgroup
 Gesendet: Mittwoch, 10. Juli 2002 05:25
 An: [EMAIL PROTECTED]
 Betreff: Struts without action and form classes


 Subject: Struts without action and form classes
 From: Owen [EMAIL PROTECTED]
  ===
 Is it possible for demo purposes to have struts provide the Framework
 for a set of JSP files without the JSP files having associated Action
 and Form classes behind them?

 I've just created/designed some new JSP files for a new module in the
 application. Before I go ahead and start adding all the code behind the
 View I want to be able to make sure my application Flow and design are
 OK with the client. So all I want in the struts-config.xml file is a
 link to the jsp page.

 All help greatly appreciated.

 Owen Thomas


 --
 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: AW: Struts without action and form classes

2002-07-10 Thread Joe Germuska

At 8:19 AM +0200 2002/07/10, Manfred Wolff wrote:
Hi owen.

Yes it is possible, but I think you need Struts 1.1b. See below:

Actually, you don't need struts 1.1, because if all you want to do is
forward, you can do it like this:

action path=/loginNative forward=/Logon/Logon.jsp /

Here's the relevant snip from the struts-config_1_0.dtd:

  forward Context-relative path of the servlet or JSP resource that
  will process this request, instead of instantiating and
  calling the Action class specified by type.  Exactly one
  of forward, include, or type must be specified.

I think this kind of prototyping is one of the very nice things about
Struts.  A lot of times, prototypes get thrown away, but here, you
just elaborate upon it.

Joe




   action path=/logonNative
   name=dummyForm
   parameter=/Logon/Logon.jsp
   scope=request
   type=org.apache.struts.actions.ForwardAction
   validate=false
   /action

In Struts 1.1b you have sevaral custom Actions like DynamicAction and
also ForwardAction. In the key parameter you specify your JSP, you
want to forward. The dummyForm is a standard form with no attributes. I
think it is not possible to specify an action without a form, because
the html:form tag needs a form!

I have made a static prototyp with 60 steps (clickable Prototyp) so that
the customer may have a impression at the look and feel of the
application.

Nice feature, isn't it?

Manfred

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Im Auftrag von Struts Newsgroup
Gesendet: Mittwoch, 10. Juli 2002 05:25
An: [EMAIL PROTECTED]
Betreff: Struts without action and form classes


Subject: Struts without action and form classes
From: Owen [EMAIL PROTECTED]
  ===
Is it possible for demo purposes to have struts provide the Framework
for a set of JSP files without the JSP files having associated Action
and Form classes behind them?

I've just created/designed some new JSP files for a new module in the
application. Before I go ahead and start adding all the code behind the
View I want to be able to make sure my application Flow and design are
OK with the client. So all I want in the struts-config.xml file is a
link to the jsp page.

All help greatly appreciated.

Owen Thomas


--
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]


--
--
* Joe Germuska{ [EMAIL PROTECTED] }
It's pitiful, sometimes, if they've got it bad. Their eyes get
glazed, they go white, their hands tremble As I watch them I
often feel that a dope peddler is a gentleman compared with the man
who sells records.
--Sam Goody, 1956
tune in posse radio: http://www.live365.com/stations/289268

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




Struts without action and form classes

2002-07-09 Thread @Basebeans.com

Subject: Struts without action and form classes
From: Owen [EMAIL PROTECTED]
 ===
Is it possible for demo purposes to have struts provide the Framework 
for a set of JSP files without the JSP files having associated Action 
and Form classes behind them?

I've just created/designed some new JSP files for a new module in the 
application. Before I go ahead and start adding all the code behind the 
View I want to be able to make sure my application Flow and design are 
OK with the client. So all I want in the struts-config.xml file is a 
link to the jsp page.

All help greatly appreciated.

Owen Thomas


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




AW: Struts without action and form classes

2002-07-09 Thread Manfred Wolff

Hi owen.

Yes it is possible, but I think you need Struts 1.1b. See below:

  action path=/logonNative
  name=dummyForm
  parameter=/Logon/Logon.jsp
  scope=request
  type=org.apache.struts.actions.ForwardAction
  validate=false
  /action

In Struts 1.1b you have sevaral custom Actions like DynamicAction and
also ForwardAction. In the key parameter you specify your JSP, you
want to forward. The dummyForm is a standard form with no attributes. I
think it is not possible to specify an action without a form, because
the html:form tag needs a form!

I have made a static prototyp with 60 steps (clickable Prototyp) so that
the customer may have a impression at the look and feel of the
application.

Nice feature, isn't it?

Manfred

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Im Auftrag von Struts Newsgroup
Gesendet: Mittwoch, 10. Juli 2002 05:25
An: [EMAIL PROTECTED]
Betreff: Struts without action and form classes


Subject: Struts without action and form classes
From: Owen [EMAIL PROTECTED]
 ===
Is it possible for demo purposes to have struts provide the Framework 
for a set of JSP files without the JSP files having associated Action 
and Form classes behind them?

I've just created/designed some new JSP files for a new module in the 
application. Before I go ahead and start adding all the code behind the 
View I want to be able to make sure my application Flow and design are 
OK with the client. So all I want in the struts-config.xml file is a 
link to the jsp page.

All help greatly appreciated.

Owen Thomas


--
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]




Usage form struts-html:form action= attribute

2002-01-18 Thread Alex Paransky

Should the action attribute on struts-html:form tag be made to understand
relative as well as absolute URIs?  Currently, my .JSP code looks like this:

...
html:form action=/private/cart/cartHeaderSave.do ...
...

My action in struts-config.xml looks like this:

action
  path=/private/cart/cartHeaderSave
  ...

Since we are already executing in the context of /private/cart would it not
make more sense to have html:form look like this:

...
html:form action=cartHeaderSave.do ...
...

In any case, if the absolute path is required, one can always use the '/'
and go back to the current method.

Any comments?

-AP_
www: http://www.alexparansky.com


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




Struts : html:form action='

2001-12-10 Thread Krishnamoorthy

Hi All,
Could you pl. answer to this following question:
When I am trying to use the following
html:form action=/abc/xyz/login.do?TargetPage=kicha.jsp method=POST

  in the above form action I am getting a error ie; after the TargetPage if I am
using any
symbols such as (DOT . or SLASH / ) then it giving an error message.
I have also tried using URLEncoder.encode(URL Strings); then also I am facing
the same problem.
Please tell me how to solve this problem.
eg:
 %  String target =
(String)((request.getSession()).getAttribute(TARGET_PAGE));
   String targetUrlEncoder = (String)URLEncoder.encode(target);
   String actionTargetPage=/service/doLogin.do?TargetPage=+targetUrlEncoder;%

   html:form action=%=(String)actionTargetPage% method=POST

Thanks
Kicha


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




  1   2   >