RE: can anyone help me address this issue

2004-03-11 Thread Mu Mike
I really need to get some idea about this issue, any suggestions?

ThanksRegards


From: Mu Mike [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: can anyone help me address this issue
Date: Thu, 11 Mar 2004 05:12:16 +
I m using javascript doing dhtml, now  I have a table, every time 
a user changes the width of a specific column(by draging the border 
line), I will save the column index and the new width to variables 
in javascript.Now ,after doing many such changes, I need to submit 
those values saved in the vairables to the server side program by 
submiting a form, which has an action path designing what action 
should be called after it get the submitted value. Now, I m 
wondering how I should define such javasript variables and how I can 
submit these values by submiting a form? I m using struts, is there 
any possibility to implement this idea in struts?

ThanksRegards

_
 MSN Hotmail  http://www.hotmail.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_
 MSN Messenger:  http://messenger.msn.com/cn  

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


Re: can anyone help me address this issue

2004-03-11 Thread Niall Pemberton
Its not a struts issue - its a dhtml/javascript issue - maybe you should ask
the question on a dhtml/javascript list.

Niall

- Original Message - 
From: Mu Mike [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, March 11, 2004 12:16 PM
Subject: RE: can anyone help me address this issue


 I really need to get some idea about this issue, any suggestions?

 ThanksRegards


 From: Mu Mike [EMAIL PROTECTED]
 Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: can anyone help me address this issue
 Date: Thu, 11 Mar 2004 05:12:16 +
 
 I m using javascript doing dhtml, now  I have a table, every time
 a user changes the width of a specific column(by draging the border
 line), I will save the column index and the new width to variables
 in javascript.Now ,after doing many such changes, I need to submit
 those values saved in the vairables to the server side program by
 submiting a form, which has an action path designing what action
 should be called after it get the submitted value. Now, I m
 wondering how I should define such javasript variables and how I can
 submit these values by submiting a form? I m using struts, is there
 any possibility to implement this idea in struts?
 
 ThanksRegards
 
 _
  MSN Hotmail  http://www.hotmail.com
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 

 _
  MSN Messenger:  http://messenger.msn.com/cn


 -
 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: can anyone help me address this issue

2004-03-11 Thread McCormack, Chris
use onResize on the html element that is clicked to report its new value to a form 
variable. use an onChange for the form to auto submit itself. If you need to hide the 
submission of the form use an IFrame.

messy eugh, javascript is the pits.

Chris

-Original Message-
From: Mu Mike [mailto:[EMAIL PROTECTED]
Sent: 11 March 2004 12:16
To: [EMAIL PROTECTED]
Subject: RE: can anyone help me address this issue


I really need to get some idea about this issue, any suggestions?

ThanksRegards


From: Mu Mike [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: can anyone help me address this issue
Date: Thu, 11 Mar 2004 05:12:16 +

I m using javascript doing dhtml, now  I have a table, every time 
a user changes the width of a specific column(by draging the border 
line), I will save the column index and the new width to variables 
in javascript.Now ,after doing many such changes, I need to submit 
those values saved in the vairables to the server side program by 
submiting a form, which has an action path designing what action 
should be called after it get the submitted value. Now, I m 
wondering how I should define such javasript variables and how I can 
submit these values by submiting a form? I m using struts, is there 
any possibility to implement this idea in struts?

ThanksRegards

_
 MSN Hotmail  http://www.hotmail.com


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


_
 MSN Messenger:  http://messenger.msn.com/cn  


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


***
This e-mail and its attachments are confidential
and are intended for the above named recipient
only. If this has come to you in error, please 
notify the sender immediately and delete this 
e-mail from your system.
You must take no action based on this, nor must 
you copy or disclose it or any part of its contents 
to any person or organisation.
Statements and opinions contained in this email may 
not necessarily represent those of Littlewoods.
Please note that e-mail communications may be monitored.
The registered office of Littlewoods Limited and its
subsidiaries is 100 Old Hall Street, Liverpool, L70 1AB.
Registered number of Littlewoods Limited is 262152.



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



RE: can anyone help me address this issue

2004-03-11 Thread Mu Mike
Sorry,maybe I didnt make my question clear
my question is:
the java script variable is supposed to be an array of such a 
strutcture(although java doesnt have a struture, I just use it here to 
describe my idea,maybe I should use a class instead) ,I d like to know how 
I can submit such a value?

Structure[] javascriptvalue;

Structure{
int colIndex
int newWidth
}
ThanksRegards



From: McCormack, Chris [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: RE: can anyone help me address this issue
Date: Thu, 11 Mar 2004 12:24:43 -
use onResize on the html element that is clicked to report its new value 
to a form variable. use an onChange for the form to auto submit itself. If 
you need to hide the submission of the form use an IFrame.
messy eugh, javascript is the pits.

Chris

-Original Message-
From: Mu Mike [mailto:[EMAIL PROTECTED]
Sent: 11 March 2004 12:16
To: [EMAIL PROTECTED]
Subject: RE: can anyone help me address this issue
I really need to get some idea about this issue, any suggestions?

ThanksRegards

From: Mu Mike [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: can anyone help me address this issue
Date: Thu, 11 Mar 2004 05:12:16 +

I m using javascript doing dhtml, now  I have a table, every time
a user changes the width of a specific column(by draging the border
line), I will save the column index and the new width to variables
in javascript.Now ,after doing many such changes, I need to submit
those values saved in the vairables to the server side program by
submiting a form, which has an action path designing what action
should be called after it get the submitted value. Now, I m
wondering how I should define such javasript variables and how I can
submit these values by submiting a form? I m using struts, is there
any possibility to implement this idea in struts?

ThanksRegards

_
 MSN Hotmail  http://www.hotmail.com


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

_
 MSN Messenger:  http://messenger.msn.com/cn
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
***
This e-mail and its attachments are confidential
and are intended for the above named recipient
only. If this has come to you in error, please
notify the sender immediately and delete this
e-mail from your system.
You must take no action based on this, nor must
you copy or disclose it or any part of its contents
to any person or organisation.
Statements and opinions contained in this email may
not necessarily represent those of Littlewoods.
Please note that e-mail communications may be monitored.
The registered office of Littlewoods Limited and its
subsidiaries is 100 Old Hall Street, Liverpool, L70 1AB.
Registered number of Littlewoods Limited is 262152.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_
 MSN Hotmail  http://www.hotmail.com  

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


RE: can anyone help me address this issue

2004-03-11 Thread Robert Taylor
You can't send data structures over HTTP you can only send strings.

You could set those values as hidden form elements with a naming
convention that would enable your server side code to recognize
the elements in the request and create the appropriate server side
data structure. This is essentially what Chris has suggested.

robert

 -Original Message-
 From: Mu Mike [mailto:[EMAIL PROTECTED]
 Sent: Thursday, March 11, 2004 8:25 PM
 To: [EMAIL PROTECTED]
 Subject: RE: can anyone help me address this issue


 Sorry,maybe I didnt make my question clear
 my question is:

 the java script variable is supposed to be an array of such a
 strutcture(although java doesnt have a struture, I just use it here to
 describe my idea,maybe I should use a class instead) ,I d like to know how
 I can submit such a value?


 Structure[] javascriptvalue;

 Structure{
  int colIndex
  int newWidth
 }


 ThanksRegards



 From: McCormack, Chris [EMAIL PROTECTED]
 Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
 To: Struts Users Mailing List [EMAIL PROTECTED]
 Subject: RE: can anyone help me address this issue
 Date: Thu, 11 Mar 2004 12:24:43 -
 
 use onResize on the html element that is clicked to report its new value
 to a form variable. use an onChange for the form to auto submit itself. If
 you need to hide the submission of the form use an IFrame.
 
 messy eugh, javascript is the pits.
 
 Chris
 
 -Original Message-
 From: Mu Mike [mailto:[EMAIL PROTECTED]
 Sent: 11 March 2004 12:16
 To: [EMAIL PROTECTED]
 Subject: RE: can anyone help me address this issue
 
 
 I really need to get some idea about this issue, any suggestions?
 
 ThanksRegards
 
 
  From: Mu Mike [EMAIL PROTECTED]
  Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Subject: can anyone help me address this issue
  Date: Thu, 11 Mar 2004 05:12:16 +
  
  I m using javascript doing dhtml, now  I have a table, every time
  a user changes the width of a specific column(by draging the border
  line), I will save the column index and the new width to variables
  in javascript.Now ,after doing many such changes, I need to submit
  those values saved in the vairables to the server side program by
  submiting a form, which has an action path designing what action
  should be called after it get the submitted value. Now, I m
  wondering how I should define such javasript variables and how I can
  submit these values by submiting a form? I m using struts, is there
  any possibility to implement this idea in struts?
  
  ThanksRegards
  
  _
   MSN Hotmail  http://www.hotmail.com
  
  
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
 
 _
  MSN Messenger:  http://messenger.msn.com/cn
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 ***
 This e-mail and its attachments are confidential
 and are intended for the above named recipient
 only. If this has come to you in error, please
 notify the sender immediately and delete this
 e-mail from your system.
 You must take no action based on this, nor must
 you copy or disclose it or any part of its contents
 to any person or organisation.
 Statements and opinions contained in this email may
 not necessarily represent those of Littlewoods.
 Please note that e-mail communications may be monitored.
 The registered office of Littlewoods Limited and its
 subsidiaries is 100 Old Hall Street, Liverpool, L70 1AB.
 Registered number of Littlewoods Limited is 262152.
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 

 _
  MSN Hotmail  http://www.hotmail.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: can anyone help me address this issue

2004-03-11 Thread Michael McGrady
If you want to get really fancy, of course, you can convert binary to 
strings and back.

At 06:23 PM 3/11/2004, you wrote:
You can't send data structures over HTTP you can only send strings.

You could set those values as hidden form elements with a naming
convention that would enable your server side code to recognize
the elements in the request and create the appropriate server side
data structure. This is essentially what Chris has suggested.
robert

 -Original Message-
 From: Mu Mike [mailto:[EMAIL PROTECTED]
 Sent: Thursday, March 11, 2004 8:25 PM
 To: [EMAIL PROTECTED]
 Subject: RE: can anyone help me address this issue


 Sorry,maybe I didnt make my question clear
 my question is:

 the java script variable is supposed to be an array of such a
 strutcture(although java doesnt have a struture, I just use it here to
 describe my idea,maybe I should use a class instead) ,I d like to know how
 I can submit such a value?


 Structure[] javascriptvalue;

 Structure{
  int colIndex
  int newWidth
 }


 ThanksRegards



 From: McCormack, Chris [EMAIL PROTECTED]
 Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
 To: Struts Users Mailing List [EMAIL PROTECTED]
 Subject: RE: can anyone help me address this issue
 Date: Thu, 11 Mar 2004 12:24:43 -
 
 use onResize on the html element that is clicked to report its new value
 to a form variable. use an onChange for the form to auto submit itself. If
 you need to hide the submission of the form use an IFrame.
 
 messy eugh, javascript is the pits.
 
 Chris
 
 -Original Message-
 From: Mu Mike [mailto:[EMAIL PROTECTED]
 Sent: 11 March 2004 12:16
 To: [EMAIL PROTECTED]
 Subject: RE: can anyone help me address this issue
 
 
 I really need to get some idea about this issue, any suggestions?
 
 ThanksRegards
 
 
  From: Mu Mike [EMAIL PROTECTED]
  Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Subject: can anyone help me address this issue
  Date: Thu, 11 Mar 2004 05:12:16 +
  
  I m using javascript doing dhtml, now  I have a table, every time
  a user changes the width of a specific column(by draging the border
  line), I will save the column index and the new width to variables
  in javascript.Now ,after doing many such changes, I need to submit
  those values saved in the vairables to the server side program by
  submiting a form, which has an action path designing what action
  should be called after it get the submitted value. Now, I m
  wondering how I should define such javasript variables and how I can
  submit these values by submiting a form? I m using struts, is there
  any possibility to implement this idea in struts?
  
  ThanksRegards
  
  _
  ÏíÓÃÊÀ½çÉÏ×î´óµÄµç×ÓÓʼþϵͳ¡ª MSN Hotmail¡£  http://www.hotmail.com
  
  
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
 
 _
 ÓëÁª»úµÄÅóÓѽøÐн»Á÷£¬ÇëʹÓà MSN Messenger:  http://messenger.msn.com/cn
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 ***
 This e-mail and its attachments are confidential
 and are intended for the above named recipient
 only. If this has come to you in error, please
 notify the sender immediately and delete this
 e-mail from your system.
 You must take no action based on this, nor must
 you copy or disclose it or any part of its contents
 to any person or organisation.
 Statements and opinions contained in this email may
 not necessarily represent those of Littlewoods.
 Please note that e-mail communications may be monitored.
 The registered office of Littlewoods Limited and its
 subsidiaries is 100 Old Hall Street, Liverpool, L70 1AB.
 Registered number of Littlewoods Limited is 262152.
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 

 _
 ÏíÓÃÊÀ½çÉÏ×î´óµÄµç×ÓÓʼþϵͳ¡ª MSN Hotmail¡£  http://www.hotmail.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]


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


RE: can anyone help me address this issue

2004-03-11 Thread Andrew Hill
I sometimes have to do things like this. You can only submit strings in the
request, so what you want is a method of representing your information as a
string in a simple way.

In this case it should be quite easy as its just an array of a simple
structure of two ints so Id probably just have two delimiters, one for the
values in the structure, and one for the structures, so for example I might
submit the lot in a hidden field as something like:

1,32;2,48;3,10;4,50


Where I use a comma to delimit between the colIndex and newWidth values, and
a semicolon to seperate each instance of the structure. You can use any old
char as a delimiter so long as it wont be confused with the values. Since
these are ints and not strings life is easy in this case!

Over on the server side you have some code that parses this string to
reconstitute the values into some kind of java classes. You may even want to
do it in your action forms setter or getter - where you pass the string when
it is set and have a (differently named) getter that can return it as the
equivelent Structure[]

-Original Message-
From: Robert Taylor [mailto:[EMAIL PROTECTED]
Sent: Friday, 12 March 2004 10:24
To: Struts Users Mailing List
Subject: RE: can anyone help me address this issue


You can't send data structures over HTTP you can only send strings.

You could set those values as hidden form elements with a naming
convention that would enable your server side code to recognize
the elements in the request and create the appropriate server side
data structure. This is essentially what Chris has suggested.

robert

 -Original Message-
 From: Mu Mike [mailto:[EMAIL PROTECTED]
 Sent: Thursday, March 11, 2004 8:25 PM
 To: [EMAIL PROTECTED]
 Subject: RE: can anyone help me address this issue


 Sorry,maybe I didnt make my question clear
 my question is:

 the java script variable is supposed to be an array of such a
 strutcture(although java doesnt have a struture, I just use it here to
 describe my idea,maybe I should use a class instead) ,I d like to know how
 I can submit such a value?


 Structure[] javascriptvalue;

 Structure{
  int colIndex
  int newWidth
 }


 ThanksRegards



 From: McCormack, Chris [EMAIL PROTECTED]
 Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
 To: Struts Users Mailing List [EMAIL PROTECTED]
 Subject: RE: can anyone help me address this issue
 Date: Thu, 11 Mar 2004 12:24:43 -
 
 use onResize on the html element that is clicked to report its new value
 to a form variable. use an onChange for the form to auto submit itself. If
 you need to hide the submission of the form use an IFrame.
 
 messy eugh, javascript is the pits.
 
 Chris
 
 -Original Message-
 From: Mu Mike [mailto:[EMAIL PROTECTED]
 Sent: 11 March 2004 12:16
 To: [EMAIL PROTECTED]
 Subject: RE: can anyone help me address this issue
 
 
 I really need to get some idea about this issue, any suggestions?
 
 ThanksRegards
 
 
  From: Mu Mike [EMAIL PROTECTED]
  Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Subject: can anyone help me address this issue
  Date: Thu, 11 Mar 2004 05:12:16 +
  
  I m using javascript doing dhtml, now  I have a table, every time
  a user changes the width of a specific column(by draging the border
  line), I will save the column index and the new width to variables
  in javascript.Now ,after doing many such changes, I need to submit
  those values saved in the vairables to the server side program by
  submiting a form, which has an action path designing what action
  should be called after it get the submitted value. Now, I m
  wondering how I should define such javasript variables and how I can
  submit these values by submiting a form? I m using struts, is there
  any possibility to implement this idea in struts?
  
  ThanksRegards
  
  _
   MSN Hotmail  http://www.hotmail.com
  
  
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
 
 _
  MSN Messenger:  http://messenger.msn.com/cn
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 ***
 This e-mail and its attachments are confidential
 and are intended for the above named recipient
 only. If this has come to you in error, please
 notify the sender immediately and delete this
 e-mail from your system.
 You must take no action based on this, nor must
 you copy or disclose it or any part of its contents
 to any person or organisation.
 Statements and opinions contained in this email may
 not necessarily represent those of Littlewoods.
 Please note that e-mail communications may be monitored

can anyone help me address this issue

2004-03-10 Thread Mu Mike
I m using javascript doing dhtml, now  I have a table, every time a user 
changes the width of a specific column(by draging the border line), I will 
save the column index and the new width to variables in javascript.Now 
,after doing many such changes, I need to submit those values saved in the 
vairables to the server side program by submiting a form, which has an 
action path designing what action should be called after it get the 
submitted value. Now, I m wondering how I should define such javasript 
variables and how I can submit these values by submiting a form? I m using 
struts, is there any possibility to implement this idea in struts?

ThanksRegards

_
 MSN Hotmail  http://www.hotmail.com  

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


Can anyone help me out with this

2003-02-04 Thread jmattucci

This is driving me crazy. Originally in my index.jsp I had logic:forward
name=welcome/
and the page was never forwarded to welcome.do. I changed my tag to
logic:redirect name=welcome/
and the page was sent to welcome.do, but the page was blank. In my console
window I get
the message RequestProcessor-Processing a GET for path /welcome and no
other errors.
If I try the same web app in Netscape I get an error window with the
message The document contained no data What am I missing or doing wrong?


struts-config
!-- === Global Forward Definitions --

global-forwards
forward
name=welcome
path=/welcome.do/
/global-forwards

!-- === Action Mapping Definitions --

action-mappings
   action
path=/welcome
type=binary.solutions.BinaryAction/
/action-mappings

/struts-config
---




%@ taglib uri=/tags/struts-logic prefix=logic %
logic:forward name=welcome/

%--

Redirect default requests to Welcome action.

--%


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




*

This message is intended for the use of the individual or entity to which
it is addressed and may contain information that is confidential and
privileged and exempt from disclosure under applicable law.  If the reader
of this message is not the intended recipient, you are hereby notified that
any dissemination, distribution, or copying of this communication is
strictly prohibited.  If you have received this communication in error,
please contact the sender immediately and delete it from your system.
Thank you
*



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




Can anyone help me out with this

2003-02-04 Thread jmattucci

This is driving me crazy. Originally in my index.jsp I had logic:forward
name=welcome/
and the page was never forwarded to welcome.do. I changed my tag to
logic:redirect name=welcome/
and the page was sent to welcome.do, but the page was blank. In my console
window I get
the message RequestProcessor-Processing a GET for path /welcome and no
other errors.
If I try the same web app in Netscape I get an error window with the
message The document contained no data What am I missing or doing wrong?


struts-config
!-- === Global Forward Definitions --

global-forwards
forward
name=welcome
path=/welcome.do/
/global-forwards

!-- === Action Mapping Definitions --

action-mappings
   action
path=/welcome
type=binary.solutions.BinaryAction/
/action-mappings

/struts-config
---




%@ taglib uri=/tags/struts-logic prefix=logic %
logic:forward name=welcome/

%--

Redirect default requests to Welcome action.

--%


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





*

This message is intended for the use of the individual or entity to which
it is addressed and may contain information that is confidential and
privileged and exempt from disclosure under applicable law.  If the reader
of this message is not the intended recipient, you are hereby notified that
any dissemination, distribution, or copying of this communication is
strictly prohibited.  If you have received this communication in error,
please contact the sender immediately and delete it from your system.
Thank you
*



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




RE: Can anyone help me out with this

2003-02-04 Thread Jarnot Voytek Contr AU HQ/SC
what does binary.solutions.BinaryAction do?  post the code.

--
Voytek Jarnot
Quidquid latine dictum sit, altum viditur.


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, February 04, 2003 11:08 AM
 To: Struts Users Mailing List
 Subject: Can anyone help me out with this
 
 
 
 This is driving me crazy. Originally in my index.jsp I had 
 logic:forward
 name=welcome/
 and the page was never forwarded to welcome.do. I changed my tag to
 logic:redirect name=welcome/
 and the page was sent to welcome.do, but the page was blank. 
 In my console
 window I get
 the message RequestProcessor-Processing a GET for path /welcome and no
 other errors.
 If I try the same web app in Netscape I get an error window with the
 message The document contained no data What am I missing or 
 doing wrong?
 
 
 struts-config
 !-- === Global Forward 
 Definitions --
 
 global-forwards
 forward
 name=welcome
 path=/welcome.do/
 /global-forwards
 
 !-- === Action Mapping 
 Definitions --
 
 action-mappings
action
 path=/welcome
 type=binary.solutions.BinaryAction/
 /action-mappings
 
 /struts-config
 --
 -
 
 
 
 
 %@ taglib uri=/tags/struts-logic prefix=logic %
 logic:forward name=welcome/
 
 %--
 
 Redirect default requests to Welcome action.
 
 --%
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 **
 **
 *
 
 This message is intended for the use of the individual or 
 entity to which
 it is addressed and may contain information that is confidential and
 privileged and exempt from disclosure under applicable law.  
 If the reader
 of this message is not the intended recipient, you are hereby 
 notified that
 any dissemination, distribution, or copying of this communication is
 strictly prohibited.  If you have received this communication 
 in error,
 please contact the sender immediately and delete it from your system.
 Thank you
 **
 **
 *
 
 
 
 -
 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: Can anyone help me out with this

2003-02-04 Thread jmattucci

package binary.solutions;

import javax.servlet.*;
import javax.servlet.http.*;
import org.apache.struts.action.*;

public final class BinaryAction extends Action
{
  public ActionForward execute(ActionMapping mapping, ActionForm form,
HttpServletRequest
request, HttpServletResponse response) throws Exception
  {
 HitModel hm = new HitModel();
 hm.incrementHit();

 request.setAttribute(Constants.HIT_KEY, hm);
 //forward control to the specied URI
 return (mapping.findForward(Welcome));
  }
}


package binary.solutions;

import java.sql.*;

public final class HitModel
{
   private Connection conn;  public HitModel()
   {
try
{
  Class.forName(com.mysql.jdbc.Driver).newInstance();
  conn = DriverManager.getConnection
(jdbc:mysql://localhost/hittable);
}
catch(Exception exception)
  {

}
   }public synchronized void incrementHit()
{
  try
  {
Statement stmt = conn.createStatement();
  ResultSet rs = stmt.executeQuery(SELECT * FROM HITTABLE);

  rs.next();
  int hitCounter = rs.getInt(HIT);

  stmt.executeQuery(UPDATE HITTABLE SET HIT = +
String.valueOf(hitCounter));
  }
  catch(Exception e)
  {
e.printStackTrace();
  }

}

}


   
  
  Jarnot Voytek Contr  
  
  AU HQ/SC   To:   'Struts Users Mailing 
List' 
  Voytek.Jarnot@MAXW [EMAIL PROTECTED] 
  
  ELL.AF.MILcc:   
  
 Subject:  RE: Can anyone help me out 
with this  
  02/04/2003 12:15 PM  
  
  Please respond to
  
  Struts Users
  
  Mailing List
  
   
  
   
  




what does binary.solutions.BinaryAction do?  post the code.

--
Voytek Jarnot
Quidquid latine dictum sit, altum viditur.


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, February 04, 2003 11:08 AM
 To: Struts Users Mailing List
 Subject: Can anyone help me out with this



 This is driving me crazy. Originally in my index.jsp I had
 logic:forward
 name=welcome/
 and the page was never forwarded to welcome.do. I changed my tag to
 logic:redirect name=welcome/
 and the page was sent to welcome.do, but the page was blank.
 In my console
 window I get
 the message RequestProcessor-Processing a GET for path /welcome and no
 other errors.
 If I try the same web app in Netscape I get an error window with the
 message The document contained no data What am I missing or
 doing wrong?


 struts-config
 !-- === Global Forward
 Definitions --

 global-forwards
 forward
 name=welcome
 path=/welcome.do/
 /global-forwards

 !-- === Action Mapping
 Definitions --

 action-mappings
action
 path=/welcome
 type=binary.solutions.BinaryAction/
 /action-mappings

 /struts-config
 --
 -




 %@ taglib uri=/tags/struts-logic prefix=logic %
 logic:forward name=welcome/

 %--

 Redirect default requests to Welcome action.

 --%


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




 **
 **
 *

 This message is intended for the use of the individual or
 entity to which
 it is addressed and may contain information that is confidential and
 privileged and exempt from disclosure under applicable law.
 If the reader
 of this message is not the intended recipient, you are hereby
 notified that
 any dissemination, distribution, or copying of this communication is
 strictly

RE: Can anyone help me out with this

2003-02-04 Thread Jarnot Voytek Contr AU HQ/SC
you're returning mapping.findForward(Welcome) but there is no forward
named Welcome.

--
Voytek Jarnot
Quidquid latine dictum sit, altum viditur.


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, February 04, 2003 11:33 AM
 To: Struts Users Mailing List
 Subject: RE: Can anyone help me out with this
 
 
 
 package binary.solutions;
 
 import javax.servlet.*;
 import javax.servlet.http.*;
 import org.apache.struts.action.*;
 
 public final class BinaryAction extends Action
 {
   public ActionForward execute(ActionMapping mapping, 
 ActionForm form,
 HttpServletRequest
 request, HttpServletResponse response) throws Exception
   {
  HitModel hm = new HitModel();
  hm.incrementHit();
 
  request.setAttribute(Constants.HIT_KEY, hm);
  //forward control to the specied URI
  return (mapping.findForward(Welcome));
   }
 }
 
 
 package binary.solutions;
 
 import java.sql.*;
 
 public final class HitModel
 {
private Connection conn;  public HitModel()
{
 try
 {
   Class.forName(com.mysql.jdbc.Driver).newInstance();
   conn = DriverManager.getConnection
 (jdbc:mysql://localhost/hittable);
 }
 catch(Exception exception)
   {
 
 }
}public synchronized void incrementHit()
 {
   try
   {
 Statement stmt = conn.createStatement();
   ResultSet rs = stmt.executeQuery(SELECT * FROM HITTABLE);
 
   rs.next();
   int hitCounter = rs.getInt(HIT);
 
   stmt.executeQuery(UPDATE HITTABLE SET HIT = +
 String.valueOf(hitCounter));
   }
   catch(Exception e)
   {
 e.printStackTrace();
   }
 
 }
 
 }
 
 
   

   Jarnot Voytek Contr 

   AU HQ/SC   To:   
 'Struts Users Mailing List' 
   Voytek.Jarnot@MAXW 
 [EMAIL PROTECTED]   
   ELL.AF.MILcc:  

  Subject:  
 RE: Can anyone help me out with this  
   02/04/2003 12:15 PM 

   Please respond to   

   Struts Users   

   Mailing List   

   

   

 
 
 
 
 what does binary.solutions.BinaryAction do?  post the code.
 
 --
 Voytek Jarnot
 Quidquid latine dictum sit, altum viditur.
 
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, February 04, 2003 11:08 AM
  To: Struts Users Mailing List
  Subject: Can anyone help me out with this
 
 
 
  This is driving me crazy. Originally in my index.jsp I had
  logic:forward
  name=welcome/
  and the page was never forwarded to welcome.do. I changed my tag to
  logic:redirect name=welcome/
  and the page was sent to welcome.do, but the page was blank.
  In my console
  window I get
  the message RequestProcessor-Processing a GET for path 
 /welcome and no
  other errors.
  If I try the same web app in Netscape I get an error window with the
  message The document contained no data What am I missing or
  doing wrong?
 
 
  struts-config
  !-- === Global Forward
  Definitions --
 
  global-forwards
  forward
  name=welcome
  path=/welcome.do/
  /global-forwards
 
  !-- === Action Mapping
  Definitions --
 
  action-mappings
 action
  path=/welcome
  type=binary.solutions.BinaryAction/
  /action-mappings
 
  /struts-config
  --
  -
 
 
 
 
  %@ taglib uri=/tags/struts-logic prefix=logic %
  logic:forward name=welcome/
 
  %--
 
  Redirect default requests to Welcome action.
 
  --%
 
 
  
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED

RE: Can anyone help me out with this

2003-02-04 Thread jmattucci

So if I changed my global forward name = welcome to name = Welcome
it should work? Sorry I think I tried that already



   
  
  Jarnot Voytek Contr  
  
  AU HQ/SC   To:   'Struts Users Mailing 
List' 
  Voytek.Jarnot@MAXW [EMAIL PROTECTED] 
  
  ELL.AF.MILcc:   
  
 Subject:  RE: Can anyone help me out 
with this  
  02/04/2003 12:36 PM  
  
  Please respond to
  
  Struts Users
  
  Mailing List
  
   
  
   
  




you're returning mapping.findForward(Welcome) but there is no forward
named Welcome.

--
Voytek Jarnot
Quidquid latine dictum sit, altum viditur.


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, February 04, 2003 11:33 AM
 To: Struts Users Mailing List
 Subject: RE: Can anyone help me out with this



 package binary.solutions;

 import javax.servlet.*;
 import javax.servlet.http.*;
 import org.apache.struts.action.*;

 public final class BinaryAction extends Action
 {
   public ActionForward execute(ActionMapping mapping,
 ActionForm form,
 HttpServletRequest
 request, HttpServletResponse response) throws Exception
   {
  HitModel hm = new HitModel();
  hm.incrementHit();

  request.setAttribute(Constants.HIT_KEY, hm);
  //forward control to the specied URI
  return (mapping.findForward(Welcome));
   }
 }


 package binary.solutions;

 import java.sql.*;

 public final class HitModel
 {
private Connection conn;  public HitModel()
{
 try
 {
   Class.forName(com.mysql.jdbc.Driver).newInstance();
   conn = DriverManager.getConnection
 (jdbc:mysql://localhost/hittable);
 }
 catch(Exception exception)
   {

 }
}public synchronized void incrementHit()
 {
   try
   {
 Statement stmt = conn.createStatement();
   ResultSet rs = stmt.executeQuery(SELECT * FROM HITTABLE);

   rs.next();
   int hitCounter = rs.getInt(HIT);

   stmt.executeQuery(UPDATE HITTABLE SET HIT = +
 String.valueOf(hitCounter));
   }
   catch(Exception e)
   {
 e.printStackTrace();
   }

 }

 }




   Jarnot Voytek Contr

   AU HQ/SC   To:
 'Struts Users Mailing List'
   Voytek.Jarnot@MAXW
 [EMAIL PROTECTED]
   ELL.AF.MILcc:

  Subject:
 RE: Can anyone help me out with this
   02/04/2003 12:15 PM

   Please respond to

   Struts Users

   Mailing List









 what does binary.solutions.BinaryAction do?  post the code.

 --
 Voytek Jarnot
 Quidquid latine dictum sit, altum viditur.


  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, February 04, 2003 11:08 AM
  To: Struts Users Mailing List
  Subject: Can anyone help me out with this
 
 
 
  This is driving me crazy. Originally in my index.jsp I had
  logic:forward
  name=welcome/
  and the page was never forwarded to welcome.do. I changed my tag to
  logic:redirect name=welcome/
  and the page was sent to welcome.do, but the page was blank.
  In my console
  window I get
  the message RequestProcessor-Processing a GET for path
 /welcome and no
  other errors.
  If I try the same web app in Netscape I get an error window with the
  message The document contained no data What am I missing or
  doing wrong?
 
 
  struts-config
  !-- === Global Forward
  Definitions --
 
  global-forwards
  forward
  name=welcome
  path=/welcome.do/
  /global-forwards
 
  !-- === Action Mapping
  Definitions --
 
  action-mappings
 action
  path=/welcome

RE: Can anyone help me out with this

2003-02-04 Thread Jarnot Voytek Contr AU HQ/SC
I think you're missing the point of how this all works.  Here's what I
understand to be the theory behind what you're trying to achieve:

index.jsp [forwards to] BinaryAction [forwards to] 

the question marks are where you're getting lost.  Typically your action
definition would look like this:

action path=/welcome type=binary.solutions.BinaryAction
forward name= path=/hello.jsp/
/action

So from your action you would return a findForward(...) which points to a
jsp which is a forward local to that particular action (in most cases, and I
assume this is what you're after).

--
Voytek Jarnot
Quidquid latine dictum sit, altum viditur.


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, February 04, 2003 11:46 AM
 To: Struts Users Mailing List
 Subject: RE: Can anyone help me out with this
 
 
 
 So if I changed my global forward name = welcome to name = Welcome
 it should work? Sorry I think I tried that already
 
 
 
   

   Jarnot Voytek Contr 

   AU HQ/SC   To:   
 'Struts Users Mailing List' 
   Voytek.Jarnot@MAXW 
 [EMAIL PROTECTED]   
   ELL.AF.MILcc:  

  Subject:  
 RE: Can anyone help me out with this  
   02/04/2003 12:36 PM 

   Please respond to   

   Struts Users   

   Mailing List   

   

   

 
 
 
 
 you're returning mapping.findForward(Welcome) but there is 
 no forward
 named Welcome.
 
 --
 Voytek Jarnot
 Quidquid latine dictum sit, altum viditur.
 
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, February 04, 2003 11:33 AM
  To: Struts Users Mailing List
  Subject: RE: Can anyone help me out with this
 
 
 
  package binary.solutions;
 
  import javax.servlet.*;
  import javax.servlet.http.*;
  import org.apache.struts.action.*;
 
  public final class BinaryAction extends Action
  {
public ActionForward execute(ActionMapping mapping,
  ActionForm form,
  HttpServletRequest
  request, HttpServletResponse response) throws Exception
{
   HitModel hm = new HitModel();
   hm.incrementHit();
 
   request.setAttribute(Constants.HIT_KEY, hm);
   //forward control to the specied URI
   return (mapping.findForward(Welcome));
}
  }
 
 
  package binary.solutions;
 
  import java.sql.*;
 
  public final class HitModel
  {
 private Connection conn;  public HitModel()
 {
  try
  {
Class.forName(com.mysql.jdbc.Driver).newInstance();
conn = DriverManager.getConnection
  (jdbc:mysql://localhost/hittable);
  }
  catch(Exception exception)
{
 
  }
 }public synchronized void incrementHit()
  {
try
{
  Statement stmt = conn.createStatement();
ResultSet rs = stmt.executeQuery(SELECT * FROM 
 HITTABLE);
 
rs.next();
int hitCounter = rs.getInt(HIT);
 
stmt.executeQuery(UPDATE HITTABLE SET HIT = +
  String.valueOf(hitCounter));
}
catch(Exception e)
{
  e.printStackTrace();
}
 
  }
 
  }
 
 
 
 
Jarnot Voytek Contr
 
AU HQ/SC   To:
  'Struts Users Mailing List'
Voytek.Jarnot@MAXW
  [EMAIL PROTECTED]
ELL.AF.MILcc:
 
   Subject:
  RE: Can anyone help me out with this
02/04/2003 12:15 PM
 
Please respond to
 
Struts Users
 
Mailing List
 
 
 
 
 
 
 
 
 
  what does binary.solutions.BinaryAction do?  post the code.
 
  --
  Voytek Jarnot
  Quidquid latine dictum sit, altum viditur.
 
 
   -Original Message-
   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED

RE: Can anyone help me out with this

2003-02-04 Thread jmattucci

thank you so much. You have cleared things up.



   
  
  Jarnot Voytek Contr  
  
  AU HQ/SC   To:   'Struts Users Mailing 
List' 
  Voytek.Jarnot@MAXW [EMAIL PROTECTED] 
  
  ELL.AF.MILcc:   
  
 Subject:  RE: Can anyone help me out 
with this  
  02/04/2003 12:51 PM  
  
  Please respond to
  
  Struts Users
  
  Mailing List
  
   
  
   
  




I think you're missing the point of how this all works.  Here's what I
understand to be the theory behind what you're trying to achieve:

 index.jsp [forwards to] BinaryAction [forwards to] 

the question marks are where you're getting lost.  Typically your action
definition would look like this:

action path=/welcome type=binary.solutions.BinaryAction
 forward name= path=/hello.jsp/
/action

So from your action you would return a findForward(...) which points to a
jsp which is a forward local to that particular action (in most cases, and
I
assume this is what you're after).

--
Voytek Jarnot
Quidquid latine dictum sit, altum viditur.


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, February 04, 2003 11:46 AM
 To: Struts Users Mailing List
 Subject: RE: Can anyone help me out with this



 So if I changed my global forward name = welcome to name = Welcome
 it should work? Sorry I think I tried that already





   Jarnot Voytek Contr

   AU HQ/SC   To:
 'Struts Users Mailing List'
   Voytek.Jarnot@MAXW
 [EMAIL PROTECTED]
   ELL.AF.MILcc:

  Subject:
 RE: Can anyone help me out with this
   02/04/2003 12:36 PM

   Please respond to

   Struts Users

   Mailing List









 you're returning mapping.findForward(Welcome) but there is
 no forward
 named Welcome.

 --
 Voytek Jarnot
 Quidquid latine dictum sit, altum viditur.


  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, February 04, 2003 11:33 AM
  To: Struts Users Mailing List
  Subject: RE: Can anyone help me out with this
 
 
 
  package binary.solutions;
 
  import javax.servlet.*;
  import javax.servlet.http.*;
  import org.apache.struts.action.*;
 
  public final class BinaryAction extends Action
  {
public ActionForward execute(ActionMapping mapping,
  ActionForm form,
  HttpServletRequest
  request, HttpServletResponse response) throws Exception
{
   HitModel hm = new HitModel();
   hm.incrementHit();
 
   request.setAttribute(Constants.HIT_KEY, hm);
   //forward control to the specied URI
   return (mapping.findForward(Welcome));
}
  }
 
 
  package binary.solutions;
 
  import java.sql.*;
 
  public final class HitModel
  {
 private Connection conn;  public HitModel()
 {
  try
  {
Class.forName(com.mysql.jdbc.Driver).newInstance();
conn = DriverManager.getConnection
  (jdbc:mysql://localhost/hittable);
  }
  catch(Exception exception)
{
 
  }
 }public synchronized void incrementHit()
  {
try
{
  Statement stmt = conn.createStatement();
ResultSet rs = stmt.executeQuery(SELECT * FROM
 HITTABLE);
 
rs.next();
int hitCounter = rs.getInt(HIT);
 
stmt.executeQuery(UPDATE HITTABLE SET HIT = +
  String.valueOf(hitCounter));
}
catch(Exception e)
{
  e.printStackTrace();
}
 
  }
 
  }
 
 
 
 
Jarnot Voytek Contr
 
AU HQ/SC   To:
  'Struts Users Mailing List'
Voytek.Jarnot@MAXW
  [EMAIL PROTECTED]
ELL.AF.MIL

Can anyone help me out with this

2003-02-03 Thread jmattucci

When I attempt to forward to welcome.do the page remains at index.jsp
and I get
the following error. Can anyone shed some light on the matter? Im really
stuck.
Thank you for all for you time
--



2003-02-01 16:28:00 StandardHost[localhost]: ContainerBase.removeChild:
stop:
LifecycleException:  Container StandardContext[/struttest] has not been
started
 at
org.apache.catalina.core.StandardContext.stop(StandardContext.java:3643)

 at
org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1036)

 at
org.apache.catalina.core.StandardHostDeployer.remove(StandardHostDeployer.java:420)



--



struts-config
!-- === Global Forward Definitions --

global-forwards
forward
name=welcome
path=/welcome.do/
/global-forwards

!-- === Action Mapping Definitions --

action-mappings
   action
path=/welcome
type=binary.solutions.BinaryAction/
/action-mappings

/struts-config
---



%@ taglib uri=/tags/struts-logic prefix=logic %
logic:forward name=welcome/

%--

Redirect default requests to Welcome action.

--%






*


This message is intended for the use of the individual or entity to which
it is addressed and may contain information that is confidential and
privileged and exempt from disclosure under applicable law.  If the reader
of this message is not the intended recipient, you are hereby notified that
any dissemination, distribution, or copying of this communication is
strictly prohibited.  If you have received this communication in error,
please contact the sender immediately and delete it from your system.
Thank you
*




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



*

This message is intended for the use of the individual or entity to which
it is addressed and may contain information that is confidential and
privileged and exempt from disclosure under applicable law.  If the reader
of this message is not the intended recipient, you are hereby notified that
any dissemination, distribution, or copying of this communication is
strictly prohibited.  If you have received this communication in error,
please contact the sender immediately and delete it from your system.
Thank you
*



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




Re: Can anyone help me out with this

2003-02-03 Thread Ashish Kulkarni
Hi,
Which app server are u using,
if u are using tomcat
check if the application has started
http://localhost:8080/manager/list

I dont know , but I may be wrong
--- [EMAIL PROTECTED] wrote:
 
 When I attempt to forward to welcome.do the page
 remains at index.jsp
 and I get
 the following error. Can anyone shed some light on
 the matter? Im really
 stuck.
 Thank you for all for you time

--
 
 
 
 2003-02-01 16:28:00 StandardHost[localhost]:
 ContainerBase.removeChild:
 stop:
 LifecycleException:  Container
 StandardContext[/struttest] has not been
 started
  at

org.apache.catalina.core.StandardContext.stop(StandardContext.java:3643)
 
  at

org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1036)
 
  at

org.apache.catalina.core.StandardHostDeployer.remove(StandardHostDeployer.java:420)
 
 
 

--
 
 
 
 struts-config
 !-- === Global
 Forward Definitions --
 
 global-forwards
 forward
 name=welcome
 path=/welcome.do/
 /global-forwards
 
 !-- === Action
 Mapping Definitions --
 
 action-mappings
action
 path=/welcome
 type=binary.solutions.BinaryAction/
 /action-mappings
 
 /struts-config

---
 
 
 
 %@ taglib uri=/tags/struts-logic prefix=logic
 %
 logic:forward name=welcome/
 
 %--
 
 Redirect default requests to Welcome action.
 
 --%
 
 
 
 
 
 

*
 
 
 This message is intended for the use of the
 individual or entity to which
 it is addressed and may contain information that is
 confidential and
 privileged and exempt from disclosure under
 applicable law.  If the reader
 of this message is not the intended recipient, you
 are hereby notified that
 any dissemination, distribution, or copying of this
 communication is
 strictly prohibited.  If you have received this
 communication in error,
 please contact the sender immediately and delete it
 from your system.
 Thank you

*
 
 
 
 

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

*
 
 This message is intended for the use of the
 individual or entity to which
 it is addressed and may contain information that is
 confidential and
 privileged and exempt from disclosure under
 applicable law.  If the reader
 of this message is not the intended recipient, you
 are hereby notified that
 any dissemination, distribution, or copying of this
 communication is
 strictly prohibited.  If you have received this
 communication in error,
 please contact the sender immediately and delete it
 from your system.
 Thank you

*
 
 
 

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


=
A$HI$H

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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




Re: Can anyone help me out with this

2003-02-03 Thread jmattucci

Im using tomcat 4.1.8 and I checked and the app
is running. Im trying to connect to a database to
register the number of hits my page is getting.
Could that be causing the problems? And what
does LifecycleException mean?



   

  Ashish Kulkarni  

  kulkarni_ash1312To:   Struts Users Mailing List 

  @yahoo.com   [EMAIL PROTECTED]   

   cc: 

  02/03/2003 03:31 Subject:  Re: Can anyone help me out 
with this  
  PM   

  Please respond to

  Struts Users

  Mailing List

   

   





Hi,
Which app server are u using,
if u are using tomcat
check if the application has started
http://localhost:8080/manager/list

I dont know , but I may be wrong
--- [EMAIL PROTECTED] wrote:

 When I attempt to forward to welcome.do the page
 remains at index.jsp
 and I get
 the following error. Can anyone shed some light on
 the matter? Im really
 stuck.
 Thank you for all for you time

--




 2003-02-01 16:28:00 StandardHost[localhost]:
 ContainerBase.removeChild:
 stop:
 LifecycleException:  Container
 StandardContext[/struttest] has not been
 started
  at

org.apache.catalina.core.StandardContext.stop(StandardContext.java:3643)

  at

org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1036)

  at

org.apache.catalina.core.StandardHostDeployer.remove(StandardHostDeployer.java:420)





--




 struts-config
 !-- === Global
 Forward Definitions --

 global-forwards
 forward
 name=welcome
 path=/welcome.do/
 /global-forwards

 !-- === Action
 Mapping Definitions --

 action-mappings
action
 path=/welcome
 type=binary.solutions.BinaryAction/
 /action-mappings

 /struts-config

---




 %@ taglib uri=/tags/struts-logic prefix=logic
 %
 logic:forward name=welcome/

 %--

 Redirect default requests to Welcome action.

 --%







*



 This message is intended for the use of the
 individual or entity to which
 it is addressed and may contain information that is
 confidential and
 privileged and exempt from disclosure under
 applicable law.  If the reader
 of this message is not the intended recipient, you
 are hereby notified that
 any dissemination, distribution, or copying of this
 communication is
 strictly prohibited.  If you have received this
 communication in error,
 please contact the sender immediately and delete it
 from your system.
 Thank you

*






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




*


 This message is intended for the use of the
 individual or entity to which
 it is addressed and may contain information that is
 confidential and
 privileged and exempt from disclosure under
 applicable law.  If the reader
 of this message is not the intended recipient, you
 are hereby notified that
 any dissemination, distribution, or copying of this
 communication is
 strictly prohibited.  If you have received this
 communication in error

RE: Can anyone help me out with this

2003-02-03 Thread Brandon Goodin
Did you check your tomcat catalina logs. Sometimes you will find more info
there. I am assuming you are receiving the following error in your browser.
It sounds to me like the particual webapp instance has not been properly
initialized.

Brandon Goodin
Phase Web and Multimedia
P (406) 862-2245
F (406) 862-0354
[EMAIL PROTECTED]
http://www.phase.ws


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 03, 2003 1:18 PM
To: Struts Users Mailing List
Subject: Can anyone help me out with this



When I attempt to forward to welcome.do the page remains at index.jsp
and I get
the following error. Can anyone shed some light on the matter? Im really
stuck.
Thank you for all for you time

--



2003-02-01 16:28:00 StandardHost[localhost]: ContainerBase.removeChild:
stop:
LifecycleException:  Container StandardContext[/struttest] has not been
started
 at
org.apache.catalina.core.StandardContext.stop(StandardContext.java:3643)

 at
org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1036)

 at
org.apache.catalina.core.StandardHostDeployer.remove(StandardHostDeployer.ja
va:420)




--



struts-config
!-- === Global Forward Definitions --

global-forwards
forward
name=welcome
path=/welcome.do/
/global-forwards

!-- === Action Mapping Definitions --

action-mappings
   action
path=/welcome
type=binary.solutions.BinaryAction/
/action-mappings

/struts-config

---



%@ taglib uri=/tags/struts-logic prefix=logic %
logic:forward name=welcome/

%--

Redirect default requests to Welcome action.

--%








*


This message is intended for the use of the individual or entity to which
it is addressed and may contain information that is confidential and
privileged and exempt from disclosure under applicable law.  If the reader
of this message is not the intended recipient, you are hereby notified that
any dissemination, distribution, or copying of this communication is
strictly prohibited.  If you have received this communication in error,
please contact the sender immediately and delete it from your system.
Thank you


*




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





*

This message is intended for the use of the individual or entity to which
it is addressed and may contain information that is confidential and
privileged and exempt from disclosure under applicable law.  If the reader
of this message is not the intended recipient, you are hereby notified that
any dissemination, distribution, or copying of this communication is
strictly prohibited.  If you have received this communication in error,
please contact the sender immediately and delete it from your system.
Thank you


*



-
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: Can anyone help me out with this

2003-02-03 Thread jmattucci

Yes I obtained the error below from the catalina log. No error shows up on
the
browser. I type in my url localhost:8080/strutTest and the page is sent to
localhost:8080/strutTest/index.jsp and nothing more happens. I dont
understand
why its not being forwarded to 8080/strutTest/welcome.do




   

  Brandon Goodin 

  [EMAIL PROTECTED]  To:   Struts Users Mailing List   

[EMAIL PROTECTED]   

  02/03/2003 03:58 cc: 

  PM   Subject:  RE: Can anyone help me out 
with this  
  Please respond to

  Struts Users

  Mailing List

   

   





Did you check your tomcat catalina logs. Sometimes you will find more info
there. I am assuming you are receiving the following error in your browser.
It sounds to me like the particual webapp instance has not been properly
initialized.

Brandon Goodin
Phase Web and Multimedia
P (406) 862-2245
F (406) 862-0354
[EMAIL PROTECTED]
http://www.phase.ws


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 03, 2003 1:18 PM
To: Struts Users Mailing List
Subject: Can anyone help me out with this



When I attempt to forward to welcome.do the page remains at index.jsp
and I get
the following error. Can anyone shed some light on the matter? Im really
stuck.
Thank you for all for you time


--



2003-02-01 16:28:00 StandardHost[localhost]: ContainerBase.removeChild:
stop:
LifecycleException:  Container StandardContext[/struttest] has not been
started
 at
org.apache.catalina.core.StandardContext.stop(StandardContext.java:3643)

 at
org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1036)

 at
org.apache.catalina.core.StandardHostDeployer.remove(StandardHostDeployer.ja

va:420)





--



struts-config
!-- === Global Forward Definitions --

global-forwards
forward
name=welcome
path=/welcome.do/
/global-forwards

!-- === Action Mapping Definitions --

action-mappings
   action
path=/welcome
type=binary.solutions.BinaryAction/
/action-mappings

/struts-config


---



%@ taglib uri=/tags/struts-logic prefix=logic %
logic:forward name=welcome/

%--

Redirect default requests to Welcome action.

--%










*


This message is intended for the use of the individual or entity to which
it is addressed and may contain information that is confidential and
privileged and exempt from disclosure under applicable law.  If the reader
of this message is not the intended recipient, you are hereby notified that
any dissemination, distribution, or copying of this communication is
strictly prohibited.  If you have received this communication in error,
please contact the sender immediately and delete it from your system.
Thank you




*




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







*

This message is intended for the use of the individual or entity to which
it is addressed and may contain information that is confidential and
privileged and exempt from disclosure under

Re: Can anyone help me out with this

2003-02-03 Thread Ashish Kulkarni
Hi,
Normally i get a lifecycleexcpetion if the servlet is
not properly intilaized, some times it happens that
jsp work fine, but the servlets dnt work. 
if u have any servlet in your app try  calling that
servlet..
Ashish
--- [EMAIL PROTECTED] wrote:
 
 Im using tomcat 4.1.8 and I checked and the app
 is running. Im trying to connect to a database to
 register the number of hits my page is getting.
 Could that be causing the problems? And what
 does LifecycleException mean?
 
 
 
 
 
  
   Ashish Kulkarni   
 
  
   kulkarni_ash1312To:  
 Struts Users Mailing List   
  
   @yahoo.com  
 [EMAIL PROTECTED]
   
cc:  
 
  
   02/03/2003 03:31
 Subject:  Re: Can anyone help me out with this  

   PM
 
  
   Please respond to 
 
  
   Struts Users 
 
  
   Mailing List 
 
  
 
 
  
 
 
  
 
 
 
 
 Hi,
 Which app server are u using,
 if u are using tomcat
 check if the application has started
 http://localhost:8080/manager/list
 
 I dont know , but I may be wrong
 --- [EMAIL PROTECTED] wrote:
 
  When I attempt to forward to welcome.do the page
  remains at index.jsp
  and I get
  the following error. Can anyone shed some light on
  the matter? Im really
  stuck.
  Thank you for all for you time
 

--
 
 
 
 
  2003-02-01 16:28:00 StandardHost[localhost]:
  ContainerBase.removeChild:
  stop:
  LifecycleException:  Container
  StandardContext[/struttest] has not been
  started
   at
 

org.apache.catalina.core.StandardContext.stop(StandardContext.java:3643)
 
   at
 

org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1036)
 
   at
 

org.apache.catalina.core.StandardHostDeployer.remove(StandardHostDeployer.java:420)
 
 
 
 
 

--
 
 
 
 
  struts-config
  !-- === Global
  Forward Definitions --
 
  global-forwards
  forward
  name=welcome
  path=/welcome.do/
  /global-forwards
 
  !-- === Action
  Mapping Definitions --
 
  action-mappings
 action
  path=/welcome
  type=binary.solutions.BinaryAction/
  /action-mappings
 
  /struts-config
 

---
 
 
 
 
  %@ taglib uri=/tags/struts-logic prefix=logic
  %
  logic:forward name=welcome/
 
  %--
 
  Redirect default requests to Welcome action.
 
  --%
 
 
 
 
 
 
 

*
 
 
 
  This message is intended for the use of the
  individual or entity to which
  it is addressed and may contain information that
 is
  confidential and
  privileged and exempt from disclosure under
  applicable law.  If the reader
  of this message is not the intended recipient, you
  are hereby notified that
  any dissemination, distribution, or copying of
 this
  communication is
  strictly prohibited.  If you have received this
  communication in error,
  please contact the sender immediately and delete
 it
  from your system.
  Thank you
 

*
 
 
 
 
 
 

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

*
 
 
  This message is intended

RE: Can anyone help me out with this

2003-02-03 Thread Ashish Kulkarni
Hi,
one more thing may be try it out
in your jsp 
%@ taglib uri=/tags/struts-logic prefix=logic
%
logic:forward name=welcome.do/




--- [EMAIL PROTECTED] wrote:
 
 Yes I obtained the error below from the catalina
 log. No error shows up on
 the
 browser. I type in my url localhost:8080/strutTest
 and the page is sent to
 localhost:8080/strutTest/index.jsp and nothing more
 happens. I dont
 understand
 why its not being forwarded to
 8080/strutTest/welcome.do
 
 
 
 
 
 
  
   Brandon Goodin  
 
  
   [EMAIL PROTECTED]  To:  
 Struts Users Mailing List 
  

 [EMAIL PROTECTED]
   
   02/03/2003 03:58 cc:  
 
  
   PM  
 Subject:  RE: Can anyone help me out with this  

   Please respond to 
 
  
   Struts Users 
 
  
   Mailing List 
 
  
 
 
  
 
 
  
 
 
 
 
 Did you check your tomcat catalina logs. Sometimes
 you will find more info
 there. I am assuming you are receiving the following
 error in your browser.
 It sounds to me like the particual webapp instance
 has not been properly
 initialized.
 
 Brandon Goodin
 Phase Web and Multimedia
 P (406) 862-2245
 F (406) 862-0354
 [EMAIL PROTECTED]
 http://www.phase.ws
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]
 Sent: Monday, February 03, 2003 1:18 PM
 To: Struts Users Mailing List
 Subject: Can anyone help me out with this
 
 
 
 When I attempt to forward to welcome.do the page
 remains at index.jsp
 and I get
 the following error. Can anyone shed some light on
 the matter? Im really
 stuck.
 Thank you for all for you time


 
 --
 
 
 
 2003-02-01 16:28:00 StandardHost[localhost]:
 ContainerBase.removeChild:
 stop:
 LifecycleException:  Container
 StandardContext[/struttest] has not been
 started
  at

org.apache.catalina.core.StandardContext.stop(StandardContext.java:3643)
 
  at

org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1036)
 
  at

org.apache.catalina.core.StandardHostDeployer.remove(StandardHostDeployer.ja
 
 va:420)
 
 
 


 
 --
 
 
 
 struts-config
 !-- === Global
 Forward Definitions --
 
 global-forwards
 forward
 name=welcome
 path=/welcome.do/
 /global-forwards
 
 !-- === Action
 Mapping Definitions --
 
 action-mappings
action
 path=/welcome
 type=binary.solutions.BinaryAction/
 /action-mappings
 
 /struts-config


 
 ---
 
 
 
 %@ taglib uri=/tags/struts-logic prefix=logic
 %
 logic:forward name=welcome/
 
 %--
 
 Redirect default requests to Welcome action.
 
 --%
 
 
 
 
 
 


 


 
 *
 
 
 This message is intended for the use of the
 individual or entity to which
 it is addressed and may contain information that is
 confidential and
 privileged and exempt from disclosure under
 applicable law.  If the reader
 of this message is not the intended recipient, you
 are hereby notified that
 any dissemination, distribution, or copying of this
 communication is
 strictly prohibited.  If you have received this
 communication in error,
 please contact the sender immediately and delete it
 from your system.
 Thank you


 


 
 *
 
 
 
 

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

can anyone help me??

2002-03-13 Thread Vaddiyar, Raghuramudu

Hi,
am new to struts. can anyone help me??
What does the below error message mean???



javax.servlet.ServletException: Cannot find bean user in scope null
at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:459)
at
_0002findex_0002ejspindex_jsp_5._jspService(_0002findex_0002ejspindex_jsp_5.
java:692)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.ja
va:130)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:282)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at
org.apache.tomcat.facade.RequestDispatcherImpl.doForward(RequestDispatcherIm
pl.java:222)
at
org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl
.java:162)
at
org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.ja
va:1759)
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:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:81
2)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:213)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:484)


Raghuramudu Vaddiyar 
SIS SEGAINTERSETTLE AG
Front End Development
P.O. Box
CH-8002 Zurich
Phone + 41-1-288-4488
Fax +41-1-288-4428
mailto:[EMAIL PROTECTED]


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




RE: can anyone help me??

2002-03-13 Thread Arik Levin ( Tikal )

I'm not a magician you know, describe, what you are doing.

-Original Message-
From: Vaddiyar, Raghuramudu [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, March 13, 2002 11:58 AM
To: Struts (E-mail)
Subject: can anyone help me??

Hi,
am new to struts. can anyone help me??
What does the below error message mean???



javax.servlet.ServletException: Cannot find bean user in scope null
at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:459)
at
_0002findex_0002ejspindex_jsp_5._jspService(_0002findex_0002ejspindex_jsp_5.
java:692)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.ja
va:130)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:282)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at
org.apache.tomcat.facade.RequestDispatcherImpl.doForward(RequestDispatcherIm
pl.java:222)
at
org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl
.java:162)
at
org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.ja
va:1759)
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:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:81
2)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:213)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:484)


Raghuramudu Vaddiyar 
SIS SEGAINTERSETTLE AG
Front End Development
P.O. Box
CH-8002 Zurich
Phone + 41-1-288-4488
Fax +41-1-288-4428
mailto:[EMAIL PROTECTED]


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



Re: can anyone help me??

2002-03-13 Thread Konstantina Stamopoulou

Hello,

I had the same exception when I started using Struts. This is caused
probalbly because you have not created the bean . Make sure that you have
created the user bean either from within your Action class
(getServletContext.setAttribute(user, userclass) or from your .jsp file
(jsp:useBean id=user scope=session type=class.User/). Of cource make
sure that your Action class is being called before the jsp is dislayed(that
you have done the right mappings)
Try it and it should work.

Konstantina


- Original Message -
From: Vaddiyar, Raghuramudu [EMAIL PROTECTED]
To: Struts (E-mail) [EMAIL PROTECTED]
Sent: Wednesday, March 13, 2002 11:57 AM
Subject: can anyone help me??


 Hi,
 am new to struts. can anyone help me??
 What does the below error message mean???



 javax.servlet.ServletException: Cannot find bean user in scope null
 at

org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
 l.java:459)
 at

_0002findex_0002ejspindex_jsp_5._jspService(_0002findex_0002ejspindex_jsp_5.
 java:692)
 at
 org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at

org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.ja
 va:130)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at

org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
 va:282)
 at
 org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
 org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
 at org.apache.tomcat.core.Handler.service(Handler.java:287)
 at
 org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
 at

org.apache.tomcat.facade.RequestDispatcherImpl.doForward(RequestDispatcherIm
 pl.java:222)
 at

org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl
 .java:162)
 at

org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.ja
 va:1759)
 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:760)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
 org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
 at org.apache.tomcat.core.Handler.service(Handler.java:287)
 at
 org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
 at

org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:81
 2)
 at
 org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
 at

org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
 onnectionHandler.java:213)
 at
 org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
 at
 org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
 at java.lang.Thread.run(Thread.java:484)


 Raghuramudu Vaddiyar
 SIS SEGAINTERSETTLE AG
 Front End Development
 P.O. Box
 CH-8002 Zurich
 Phone + 41-1-288-4488
 Fax +41-1-288-4428
 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 anyone help me??

2002-03-13 Thread Galbreath, Mark

Yes.  Read the following:

http://www.tuxedo.org/~esr/faqs/smart-questions.html

-Original Message-
From: Vaddiyar, Raghuramudu [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 13, 2002 4:58 AM

Hi,
am new to struts. can anyone help me??

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




Re: can anyone help me??

2002-03-13 Thread keithBacon

 Cannot find bean user in scope null
This is a bit mis-leading. I think it means you have used 
bean:define or bean:write - a tag where struts searches for the bean. You
haven't specified scope... so struts searches all possible scope
(page,request,session,application)
hope that helps. 



--- Konstantina Stamopoulou [EMAIL PROTECTED] wrote:
 Hello,
 
 I had the same exception when I started using Struts. This is caused
 probalbly because you have not created the bean . Make sure that you have
 created the user bean either from within your Action class
 (getServletContext.setAttribute(user, userclass) or from your .jsp file
 (jsp:useBean id=user scope=session type=class.User/). Of cource make
 sure that your Action class is being called before the jsp is dislayed(that
 you have done the right mappings)
 Try it and it should work.
 
 Konstantina
 
 
 - Original Message -
 From: Vaddiyar, Raghuramudu [EMAIL PROTECTED]
 To: Struts (E-mail) [EMAIL PROTECTED]
 Sent: Wednesday, March 13, 2002 11:57 AM
 Subject: can anyone help me??
 
 
  Hi,
  am new to struts. can anyone help me??
  What does the below error message mean???
 
 
 
  javax.servlet.ServletException: Cannot find bean user in scope null
  at
 
 org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
  l.java:459)
  at
 
 _0002findex_0002ejspindex_jsp_5._jspService(_0002findex_0002ejspindex_jsp_5.
  java:692)
  at
  org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
  at
 
 org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.ja
  va:130)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
  at
 
 org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
  va:282)
  at
  org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
  at
  org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
  at org.apache.tomcat.core.Handler.service(Handler.java:287)
  at
  org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
  at
 
 org.apache.tomcat.facade.RequestDispatcherImpl.doForward(RequestDispatcherIm
  pl.java:222)
  at
 
 org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl
  .java:162)
  at
 
 org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.ja
  va:1759)
  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:760)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
  at
  org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
  at org.apache.tomcat.core.Handler.service(Handler.java:287)
  at
  org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
  at
 
 org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:81
  2)
  at
  org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
  at
 
 org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
  onnectionHandler.java:213)
  at
  org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
  at
  org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
  at java.lang.Thread.run(Thread.java:484)
 
 
  Raghuramudu Vaddiyar
  SIS SEGAINTERSETTLE AG
  Front End Development
  P.O. Box
  CH-8002 Zurich
  Phone + 41-1-288-4488
  Fax +41-1-288-4428
  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]
 


=
~~
Search the archive:-
http://www.mail-archive.com/struts-user%40jakarta.apache.org/
~~
Keith Bacon - Looking for struts work - South-East UK.
phone UK 07960 011275

__
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/

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




RE: Can anyone help me how to unsubscribe

2002-02-06 Thread Galbreath, Mark

Welcome to the Hotel California

Mark

-Original Message-
From: Krishnamoorthy [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 06, 2002 1:12 AM
To: Struts Users Mailing List
Subject: Can anyone help me how to unsubscribe


Actually I tried in all the possible ways to unsubscribe.
Not only me lots of other guys are tring to do it.but no use ,
could anyone help us to unsubscribe from struts.

Thanks
Kicha


--
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 anyone help me how to unsubscribe

2002-02-06 Thread Jim.W.Berg

You can send an email to the following:
[EMAIL PROTECTED]

When you get a response back, make sure that you send a blank reply to the 
address indicated in the message.  If you do not follow the instructions, 
then you will not be unsubscribed.  I successfully unsubscribed last 
Friday and then resubscribed on Monday just to check it out.  I suspect 
that either the second message is not being sent by the subscribers, or 
the second message is not correct.  The former is probably the most 
frequent occurance. 
 Good luck.   Remember Scotty never did trust the transporters.


Jim Berg 
Sr. Software Specialist
PSCI
[EMAIL PROTECTED]




Galbreath, Mark [EMAIL PROTECTED]

06-Feb-2002 08:07
Please respond to Struts Users Mailing List 
[EMAIL PROTECTED]

 
 

To: 'Struts Users Mailing List'

cc: 
Subject:RE: Can anyone help me how to unsubscribe


Welcome to the Hotel California

Mark

-Original Message-
From: Krishnamoorthy [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 06, 2002 1:12 AM
To: Struts Users Mailing List
Subject: Can anyone help me how to unsubscribe


Actually I tried in all the possible ways to unsubscribe.
Not only me lots of other guys are tring to do it.but no use ,
could anyone help us to unsubscribe from struts.

Thanks
Kicha


--
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 anyone help me how to unsubscribe

2002-02-06 Thread jayanta . roy

Hey buddy,

If it's that problem some to unsubscribe, just mark a ban to all messages
sent to Struts Users Mailing List ! That simple...

Till then, hang around and have fun...

Roy.

 -Original Message-
From:   [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent:   Wednesday, February 06, 2002 6:44 PM
To: Struts Users Mailing List
Subject:RE: Can anyone help me how to unsubscribe

You can send an email to the following:
[EMAIL PROTECTED]

When you get a response back, make sure that you send a blank reply to the 
address indicated in the message.  If you do not follow the instructions, 
then you will not be unsubscribed.  I successfully unsubscribed last 
Friday and then resubscribed on Monday just to check it out.  I suspect 
that either the second message is not being sent by the subscribers, or 
the second message is not correct.  The former is probably the most 
frequent occurance. 
 Good luck.   Remember Scotty never did trust the transporters.


Jim Berg 
Sr. Software Specialist
PSCI
[EMAIL PROTECTED]




Galbreath, Mark [EMAIL PROTECTED]

06-Feb-2002 08:07
Please respond to Struts Users Mailing List 
[EMAIL PROTECTED]

 
 

To: 'Struts Users Mailing List'

cc: 
Subject:RE: Can anyone help me how to unsubscribe


Welcome to the Hotel California

Mark

-Original Message-
From: Krishnamoorthy [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 06, 2002 1:12 AM
To: Struts Users Mailing List
Subject: Can anyone help me how to unsubscribe


Actually I tried in all the possible ways to unsubscribe.
Not only me lots of other guys are tring to do it.but no use ,
could anyone help us to unsubscribe from struts.

Thanks
Kicha


--
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 anyone help me how to unsubscribe

2002-02-06 Thread STEVE WILKINSON

One note, you MUST make the request with the SAME email address to which you 
subscribed.  If you don't you will not be unsubscribed.  FYI when you remember the 
email address that you subscribed and make sure that you make the request from that 
return address it works like a champ.

Obviously, it's a good idea to save the WELCOME message from the mail list.  In case 
you don't have it, here is the Administrative portion of that message that may be of 
some help.

--- Administrative commands for the struts-user list ---

I can handle administrative requests automatically. Please
do not send them to the list address! Instead, send
your message to the correct command address:

To subscribe to the list, send a message to:
   [EMAIL PROTECTED]

To remove your address from the list, send a message to:
   [EMAIL PROTECTED]

Send mail to the following for info and FAQ for this list:
   [EMAIL PROTECTED]
   [EMAIL PROTECTED]

Similar addresses exist for the digest list:
   [EMAIL PROTECTED]
   [EMAIL PROTECTED]

To get messages 123 through 145 (a maximum of 100 per request), mail:
   [EMAIL PROTECTED]

To get an index with subject and author for messages 123-456 , mail:
   [EMAIL PROTECTED]

They are always returned as sets of 100, max 2000 per request,
so you'll actually get 100-499.

To receive all messages with the same subject as message 12345,
send an empty message to:
   [EMAIL PROTECTED]

The messages do not really need to be empty, but I will ignore
their content. Only the ADDRESS you send to is important.

You can start a subscription for an alternate address,
for example [EMAIL PROTECTED], just add a hyphen and your
address (with '=' instead of '@') after the command word:
[EMAIL PROTECTED]

To stop subscription for this address, mail:
[EMAIL PROTECTED]

In both cases, I'll send a confirmation message to that address. When
you receive it, simply reply to it to complete your subscription.

If despite following these instructions, you do not get the
desired results, please contact my owner at
[EMAIL PROTECTED] Please be patient, my owner is a
lot slower than I am ;-)

--- END: Administrative commands for the struts-user list ---

Hope this helps
Steve
- Original Message -
From: [EMAIL PROTECTED]
Sent: Wednesday, February 06, 2002 6:20 AM
To: Struts Users Mailing List
Subject: RE: Can anyone help me how to unsubscribe

You can send an email to the following:
[EMAIL PROTECTED]

When you get a response back, make sure that you send a blank reply to the
address indicated in the message.  If you do not follow the instructions,
then you will not be unsubscribed.  I successfully unsubscribed last
Friday and then resubscribed on Monday just to check it out.  I suspect
that either the second message is not being sent by the subscribers, or
the second message is not correct.  The former is probably the most
frequent occurance.
Good luck.   Remember Scotty never did trust the transporters.


Jim Berg
Sr. Software Specialist
PSCI
[EMAIL PROTECTED]




Galbreath, Mark [EMAIL PROTECTED]

06-Feb-2002 08:07
Please respond to Struts Users Mailing List
[EMAIL PROTECTED]




To: 'Struts Users Mailing List'

cc:
Subject:RE: Can anyone help me how to unsubscribe


Welcome to the Hotel California

Mark

-Original Message-
From: Krishnamoorthy [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 06, 2002 1:12 AM
To: Struts Users Mailing List
Subject: Can anyone help me how to unsubscribe


Actually I tried in all the possible ways to unsubscribe.
Not only me lots of other guys are tring to do it.but no use ,
could anyone help us to unsubscribe from struts.

Thanks
Kicha


--
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 anyone help me how to unsubscribe

2002-02-06 Thread Bill Page

actually it was McCoy.

bill page
[EMAIL PROTECTED]
Digital Garden Software, Inc.
856 US Hwy 206 Bldg B Ste 15
Hillsborough, NJ 08844
908.904.0664



 
 
  Good luck.   Remember Scotty never did trust the transporters.
 
 
 Jim Berg 
 Sr. Software Specialist
 PSCI
 [EMAIL PROTECTED]

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




Can anyone help me how to unsubscribe

2002-02-05 Thread Krishnamoorthy

Actually I tried in all the possible ways to unsubscribe.
Not only me lots of other guys are tring to do it.but no use ,
could anyone help us to unsubscribe from struts.

Thanks
Kicha


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




Re: Can anyone help me how to unsubscribe

2002-02-05 Thread Antony Stace
Kicha

What does sending mail to

[EMAIL PROTECTED]

do?


On Wed, 06 Feb 2002 11:41:54 +0530
Krishnamoorthy [EMAIL PROTECTED] wrote:

 Actually I tried in all the possible ways to unsubscribe.
 Not only me lots of other guys are tring to do it.but no use ,
 could anyone help us to unsubscribe from struts.
 
 Thanks
 Kicha
 
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]


-- 


Cheers

Tony$B!#(B
-


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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