/ /OREF:CPTF9D2A Session Time-out: Form population fails

2003-01-30 Thread avasey
Hi all

I have a form and Session-scope form bean class that consists of
amongst other fields, a variable length list of data. When the form
bean is created, the list is length zero and when data has been
retrieved and displayed from the backend, the list will contains the
corresponding elements.

The form works great until the User's Session times out and the User
still have the form visible in the browser. When the User submits the
form, the original form is gone so a new instance of the form is
created (I assume) but the population of the form fails as the number
of elements in the list does not match what is currently on the form
being submitted.

The Users always end up sending an error page. Any suggestions please
to solve my messy problem ?

thanks very much
Aisling




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




/ /OREF:CPT17EA9 RE: Tiles Portal

2003-01-30 Thread avasey

We had a small site that had changeable images, colours, page
heading, etc depending upon which URL you logged into the site.

We did it by providing different Resource Bundles/Properties files
for each of the flavours of the site, containing links to images,
different table row colours, whatever you need and using the same
basic pages that just changed depending upon the Resource Bundle
used.

Using the URL/Remote Server that the User was using to access the
site, we set the corresponding Resource Bundle in the Session.This
was done using the Request Processor processPreprocess() method.



   
   
  shirishchandra.sakh  
   
  [EMAIL PROTECTED] To:  
[EMAIL PROTECTED] 
  cc:  
   
  30/01/2003 10:47 AM Subject: RE: Tiles Portal
   
  Please respond to
   
  struts-user  
   
   
   
   
   
   
   
   
   
   
   




Hi,
I am not exactly clear about u r requirement.But we have achieved
some thing
similar in one of my previous project.We had a protal where employees
of
different companies will be logging in and the information about the
company
will be provided in the http header.and we were required to provide
company
specific logo and other things to each user, even though the same web
app was
serving all the requests.
What we had done was that keep the information about users company in

UserContext object in session and then use the same to dynamicaly
generate link
to company specific logo and conect to company specific database.

But the layout or colours were same for all users.SO about that point
I am not
sure how to do that..

Hope this helps ,
regards,
Shirish

-Original Message-
From: sciz09 [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 29, 2003 10:01 PM
To: struts-user
Cc: sciz09
Subject: Tiles Portal


Ive been looking into using struts and tiles for an
upcoming project.  I need to be able to change the
look and feel of the website based on the url the site
was entered from.  For example, if a user enters from
company1.foo.com then show their company colors and
logo. if a user enteres from company2.foo.com then use
different color scheme and logos... and so on.  Is
this something tiles should be used for?  Has anyone
acomplished such a project? Thanks.  Jay.

__
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]



-
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]




/ /OREF:CPT36578 Re: Session Time-out: Form population fails

2003-01-30 Thread avasey

Thanks for your reply. Please excuse my ignorance but the transaction
token in the form that you mentioned in your mail, what exactly is
this ?



   

  joerg.maurer@ucp 

  morgen.com   To:  [EMAIL PROTECTED] 

   cc: 

  30/01/2003 11:12 Subject: RE: / /OREF:CPTF9D2A Session 
Time-out: Form population fails   
  AM   

  Please respond   

  to struts-user   

   

   

   

   

   





Not sure/not tested - hint level :

if you can use the TRANSACTION token that is activated in form +
having
a hidden field in form that sets/get corresponding token,
you might be able to test for that - if new instance of the form is
created, token does not match - route to other command ?!?!?

Please report on this!

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Donnerstag, 30. Jänner 2003 09:48
To: [EMAIL PROTECTED]
Subject: / /OREF:CPTF9D2A Session Time-out: Form population fails


Hi all

I have a form and Session-scope form bean class that consists of
amongst other fields, a variable length list of data. When the form
bean is created, the list is length zero and when data has been
retrieved and displayed from the backend, the list will contains the
corresponding elements.

The form works great until the User's Session times out and the User
still have the form visible in the browser. When the User submits the
form, the original form is gone so a new instance of the form is
created (I assume) but the population of the form fails as the number
of elements in the list does not match what is currently on the form
being submitted.

The Users always end up sending an error page. Any suggestions please
to solve my messy problem ?

thanks very much
Aisling




-
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]




/ /OREF:CPT53E85 Re: Session Time-out: Form population fails

2003-01-30 Thread avasey

Hi again. Thank you for the information/citing - very interesting and
something I will investigate further.

Maybe I am overlooking something here but I assume my problem at the
moment is I will never get to my Action to check any token after the
User submits the form.
This is because the actual population of the form bean fails as the
new Session's form bean instance does not match what is on the page.
I suppose I need some sort of check on the page before the form is
submitted and the form bean population occurs.

Or I am totally going about this the wrong way ?

thanks once again.



   

  joerg.maurer@ucp 

  morgen.com   To:  [EMAIL PROTECTED] 

   cc: 

  30/01/2003 11:35 Subject: RE: / /OREF:CPT36578 Re: 
Session Time-out: Form population fails   
  AM   

  Please respond   

  to struts-user   

   

   

   

   

   





I cite now a passage of book from Mr. Husted et al., Struts in
action,
Manning, copyrighted .. I hope i not get into trouble, but help
is
more valuable for me than strict law(despite i bought the book and
not
going to sell following information).Am i disclaiming in correct
way?!?!?!

I will see...

CITING BEGIN

Using transactional tokens
Duplicate submissions can often be a problem for web applications.
Struts supports
a strategy to prevent duplication submissions using a synchronizing
token.
Using synchronizing tokens is automatic for the Struts html:form
tag.
If it sees
that tokens are being used, it automatically includes the appropriate
hidden field.
On the Action side, you can enable transactional tokens by calling
saveToken(request);
anywhere in the Action's perform or execute method. On the return
trip,
to have
an Action check if a token is still good, call
boolean valid = isTokenValid(request);
If this method returns false, branch to an error page. If it returns
true, call
resetToken(request);
While participating in a transaction most often occurs with forms,
there
are also
applications for hyperlinks and other assets. Accordingly, the Struts
html:link
and html:rewrite tags provide optional support for transactions. To
include the
appropriate token in the link, set the transaction property to true.
A
tag like this:
html:link forward=addItem paramName=row paramProperty=itemId
paramId=id transaction=true/
will then generate a hyperlink like this:
a href=/gavel/do/addItem?
id=3017amp;org.apache.struts.taglib.html.TOKEN=72da1d3fdede66c

CITING END


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Donnerstag, 30. Jänner 2003 10:23
To: [EMAIL PROTECTED]
Subject: / /OREF:CPT36578 Re: Session Time-out: Form population fails



Thanks for your reply. Please excuse my ignorance but the transaction
token in the form that you mentioned in your mail, what exactly is
this ?





  joerg.maurer@ucp

  morgen.com   To:
[EMAIL PROTECTED]

   cc:

  30/01/2003 11:12 Subject: RE: /
/OREF:CPTF9D2A Session Time-out: Form population fails

  AM

  Please respond

  to struts-user















Not sure/not tested - hint level :

if you can use the TRANSACTION token that is activated in form +
having
a hidden field in form that sets/get corresponding token,
you might be able to test for that - if new instance of the form is
created, token does not match - route to other command 

/ /OREF:CPT84D9E Re: Session Time-out: Form population fails

2003-01-30 Thread avasey

Hi again

Actually I am using an ArrayList to hold my list of objects so I
don't really have setter/getter methods that deal with arrays and
indexes.

Thanks very much for your suggestions anyway. I think I will look at
ways of stopping the use of old forms with new Sessions.

I suppose it is just a bad combination of dynamic length form fields
and Session-scope on a page that everyone seems to like to leave open
in their browsers and then try and reuse (-:




   

  joerg.maurer@ucp 

  morgen.com   To:  [EMAIL PROTECTED] 

   cc: 

  30/01/2003 12:11 Subject: RE: / /OREF:CPT53E85 Re: 
Session Time-out: Form population fails   
  PM   

  Please respond   

  to struts-user   

   

   

   

   

   





Last resort from me - Do/can you use/refactor to indexed property
like,
where upper bound = index is tested in setter and indexedProp is set
higher/lower ?!?!?!

1. indexed property

/** Holds value of property indexedProp. */
private int[] indexedProp = int[2000];

  /** Indexed getter for property indexedProp.
   * @param index Index of the property.
   * @return Value of the property at CODEindex/CODE.
   *
   */
  public int getIndexedProp(int index) {
  return this.indexedProp[index];
  }

  /** Getter for property indexedProp.
   * @return Value of property indexedProp.
   *
   */
  public int[] getIndexedProp() {
  return this.indexedProp;
  }

  /** Indexed setter for property indexedProp.
   * @param index Index of the property.
   * @param indexedProp New value of the property at
CODEindex/CODE.
   *
   */
  public void setIndexedProp(int index, int indexedProp) {
  this.indexedProp[index] = indexedProp;
  }

  /** Setter for property indexedProp.
   * @param indexedProp New value of property indexedProp.
   *
   */
  public void setIndexedProp(int[] indexedProp) {
  this.indexedProp = indexedProp;
  }

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Donnerstag, 30. Jänner 2003 10:47
To: [EMAIL PROTECTED]
Subject: / /OREF:CPT53E85 Re: Session Time-out: Form population fails



Hi again. Thank you for the information/citing - very interesting and
something I will investigate further.

Maybe I am overlooking something here but I assume my problem at the
moment is I will never get to my Action to check any token after the
User submits the form.
This is because the actual population of the form bean fails as the
new Session's form bean instance does not match what is on the page.
I suppose I need some sort of check on the page before the form is
submitted and the form bean population occurs.

Or I am totally going about this the wrong way ?

thanks once again.





  joerg.maurer@ucp

  morgen.com   To:
[EMAIL PROTECTED]

   cc:

  30/01/2003 11:35 Subject: RE: /
/OREF:CPT36578 Re: Session Time-out: Form population fails

  AM

  Please respond

  to struts-user















I cite now a passage of book from Mr. Husted et al., Struts in
action,
Manning, copyrighted .. I hope i not get into trouble, but help
is
more valuable for me than strict law(despite i bought the book and
not
going to sell following information).Am i disclaiming in correct
way?!?!?!

I will see...

CITING BEGIN

Using transactional tokens
Duplicate submissions can often be a problem for 

/ /OREF:CPT9CFB3 RE: dropdowns being reset

2002-12-12 Thread avasey

!-- Define the Client Cargo Bean as a bean to be used on this JSP:
Name of bean: clients,
Key in application scope: clientCargoBean,
Attribute to be used: types (the ArrayList of Client
Beans),
Type of the attribute: Collection
--
bean:define id=clients name=clientCargoBean property=types
type=java.util.Collection/

!-- Each option's name and value is the specific Client Bean's id
and name.--
  html:select property=client.name 
  html:options collection=clients  property=id labelProperty
=name/
/html:select



   

  david.heagney@ac 

  centure.com  To:  Struts Users Mailing List 
[EMAIL PROTECTED]   
   cc: 

  12/12/2002 03:07 Subject: RE: dropdowns being reset  

  PM   

  Please respond   

  to Struts Users 

  Mailing List

   

   

   

   

   






Is there any way you could mail me sample code for this Options tag?

Thanks,
David



  shirishchandra.sakhare@ubs.
  com To:
[EMAIL PROTECTED]
  cc:
  12/12/2002 12:33Subject: RE:
dropdowns being reset
  Please respond to Struts
  Users Mailing List





try using html:options instead..and supply it with the collection or
array
of
indexes...

because if in html:select u specify property attribute, and the
property is

there in the request(which should be the case when u forward the
request
back
to same jsp with errors..),the same is used to preselect a element.
I think may be as u are using html:ootion in a loop, u are having
this
problem.

regards,
Shirish

-Original Message-
From: david.heagney [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 12, 2002 1:17 PM
To: struts-user; david.heagney
Subject: dropdowns being reset


Hi,

I have a page in my STRUTS app which dynamically populates a dropdown
list:

Month

html:select property=fromMonth
option value=
% for (int i=1; i = 12; i++) { %
  option value=%= i %%= getMonthName (i) %
% } %
/html:select

getMonthName() returns the month as a string based in the passed
integer, 1
- 12.

If the user submits the form and leaves out a required field, the
above
dropdown gets re-set, i.e. doesn't retain the selection when the page
is
refreshed with it's errors... does anyone know how i can avoid this?

Thanks,
David


This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information.  If you
have
received it in error, please notify the sender immediately and delete
the
original.  Any other use of the email by you is prohibited.


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



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




This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information.  If you
have
received it in error, please notify the sender immediately and delete
the
original.  Any other use of the email by you is prohibited.


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






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

/ /OREF:CPTE9EFA Re: / /OREF:CPT4AC2E Re: Running Struts on Wepshere 4.0

2002-11-28 Thread avasey

Yes but if you are interested you could check out the Resources page
for a modified JAR and instructions on how to install Struts 1.0.2 on
WebSphere 3.5
http://jakarta.apache.org/struts/doc-1.0.2/userGuide/resources.html



   

  Matthew Donald 

  matthew.donald@ To:  Struts Users Mailing List 
[EMAIL PROTECTED]   
  motile.net  cc: 

   Subject: Re: / /OREF:CPT4AC2E Re: 
Running Struts on Wepshere 4.0
  28/11/2002 10:20 

  AM   

  Please respond   

  to Struts Users 

  Mailing List

   

   

   

   

   





I quote from IBM faq for WAST
(http://www.alphaworks.ibm.com/aw.nsf/FAQs/WAST):

 3. Can I use the JSP/Servlet container included in WebSphere
Application
Server (WAS) 4.0 to run Struts applications?

The Apache Struts Version 1.0.2 currently does not work with WAS 4.0.
So
please use Tomcat 3.2.4 or 4.0.4. to run Struts applications created
by this
development tool.

Also Takashi Nerome ([EMAIL PROTECTED]) of IBM Japan says:

we have found a problem by the WAS test environment inside WSAD
V4.0.3 and
struts v1.0.2. It happens the error for page context path when you
specified
'redirect' in action's forward tag portion in the struts-config.xml.
But it
does not happen in the case of 'forward'.

cheers Matthew

- Original Message -
From: [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, November 28, 2002 5:41 PM
Subject: / /OREF:CPT4AC2E Re: Running Struts on Wepshere 4.0



 We have Struts running successfully on WebSphere 3.5 and 4.0 so I
am
 not so sure that you have to wait for WebSphere 5 ???




   Matthew Donald
   matthew.donald@ To:
[EMAIL PROTECTED]
   motile.net  cc:
Subject: Re: Running
Struts
on Wepshere 4.0
   28/11/2002 03:51
   AM
   Please respond
   to Struts Users
   Mailing List









 You are building on sand.  Even when you solve your config
problems,
 Struts is not supported on Websphere 4.0.  The official IBM
position
 is
 user Tomcat or wait for Websphere 5.
 Matthew


  We have decided to go ahead with deploying struts framework on
  Websphere 4.0 so any body u has any idea /resource on it , pls
 share it
  with me
 
  I am trying to run struts but nt able to invoke logon.do servlet
 
  Pls help
 
  Thanks in advance
 
  abhishek
 
  ---Disclaimer
 
  The views of the author may not necessarily reflect those
  of the Company. All liability is excluded to the extent
  permitted by law for any claims arising as a result of the
  use of this medium to transmit information by or to
  IT Solutions (India) Pvt. Ltd.
 
  We have taken precautions to minimize the risk of
  transmitting software viruses, but we advise you to
  carry out your own virus checks on any attachment to
  this message.  We cannot accept liability for any loss or
  damage caused by software viruses.
 
  Disclaimer
 
 
  --
  To unsubscribe, e-mail:
  mailto:[EMAIL PROTECTED] For
additional
  commands, e-mail: mailto:[EMAIL PROTECTED]




 --
 To 

/ /OREF:CPT4AC2E Re: Running Struts on Wepshere 4.0

2002-11-27 Thread avasey

We have Struts running successfully on WebSphere 3.5 and 4.0 so I am
not so sure that you have to wait for WebSphere 5 ???



   

  Matthew Donald 

  matthew.donald@ To:  
[EMAIL PROTECTED]   
  motile.net  cc: 

   Subject: Re: Running Struts on Wepshere 
4.0 
  28/11/2002 03:51 

  AM   

  Please respond   

  to Struts Users 

  Mailing List

   

   

   

   

   





You are building on sand.  Even when you solve your config problems,
Struts is not supported on Websphere 4.0.  The official IBM position
is
user Tomcat or wait for Websphere 5.
Matthew


 We have decided to go ahead with deploying struts framework on
 Websphere 4.0 so any body u has any idea /resource on it , pls
share it
 with me

 I am trying to run struts but nt able to invoke logon.do servlet

 Pls help

 Thanks in advance

 abhishek

 ---Disclaimer

 The views of the author may not necessarily reflect those
 of the Company. All liability is excluded to the extent
 permitted by law for any claims arising as a result of the
 use of this medium to transmit information by or to
 IT Solutions (India) Pvt. Ltd.

 We have taken precautions to minimize the risk of
 transmitting software viruses, but we advise you to
 carry out your own virus checks on any attachment to
 this message.  We cannot accept liability for any loss or
 damage caused by software viruses.

 Disclaimer


 --
 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]




/ /OREF:CPT465A7 RE: onchange submit problem

2002-11-11 Thread avasey

I have been having the same problem with submits from select boxes.
It keeps the old values if the new value is set to a blank option -
the default option for a select box. I have to clear the old values
my self.



|-+
| |   Andrew Hill|
| |   andrew.david.hill@gr|
| |   idnode.com  |
| ||
| |   11/11/2002 11:30 AM  |
| |   Please respond to|
| |   Struts Users Mailing|
| |   List|
| ||
|-+
  
---|
  |
   |
  |To:  Struts Users Mailing List [EMAIL PROTECTED]   
   |
  |cc: 
   |
  |Subject: RE: onchange submit problem
   |
  
---|
|-+
| ||
|-+
  
---|
  |
   |
  |
   |
  
---|




Hmm. Thats wierd. The value should be updated before the submit
occurs - Ive
been using similar code myself without troubles.
Is the value submitted in the actual HttpRequest?
(This would indicate a problem with your setter method on the form
rather
than in your jsp).


-Original Message-
From: Hirschmann, Bernhard [mailto:Bernhard.Hirschmann;t-systems.com]
Sent: Monday, November 11, 2002 17:25
To: 'Struts Users Mailing List'
Subject: onchange submit problem


Hello!

I use the onchange event handler to submit a form if a value in the
select
box is changed.
However, the value doesn't get updated in the form before the submit
occures. The form-bean doesn't get the actual selected value.

html:select property=selectedLocation onchange=submit()
html:options collection=locations property=code
labelProperty=text /
/html:select

What did I forget?


Regards,
Bernhard

--
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






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




/ /OREF:CPT5C4E2 RE: / /OREF:CPT465A7 RE: onchange submit problem

2002-11-11 Thread avasey

Yes you are 100% right - I am using  as instead of   for my blank
option.
Where were you when I originally asked about this ? (-: Thanks for
the help.



|-+
| |   Andrew Hill|
| |   andrew.david.hill@gr|
| |   idnode.com  |
| ||
| |   11/11/2002 11:43 AM  |
| |   Please respond to|
| |   Struts Users Mailing|
| |   List|
| ||
|-+
  
---|
  |
   |
  |To:  Struts Users Mailing List [EMAIL PROTECTED]   
   |
  |cc: 
   |
  |Subject: RE: / /OREF:CPT465A7 RE: onchange submit problem   
   |
  
---|
|-+
| ||
|-+
  
---|
  |
   |
  |
   |
  
---|




Ah - well it depends what the blank value is submitting.
I actually have html that looks like
select name=bob
option value=nbsp;/option
/select
This means that an empty string is submitted for the blank option.
Now if nothing is submitted for a blank option then your setter
method for
the field isnt going to be called! -Its the same problem one has with
checkboxes - and you can use the same solution if you wish (which
indeed is
what I think you are doing) - ie: clear the field in the reset()
method.

-Original Message-
From: [EMAIL PROTECTED] [mailto:avasey;za.safmarine.com]
Sent: Monday, November 11, 2002 17:34
To: Struts Users Mailing List
Subject: / /OREF:CPT465A7 RE: onchange submit problem



I have been having the same problem with submits from select boxes.
It keeps the old values if the new value is set to a blank option -
the default option for a select box. I have to clear the old values
my self.



|-+
| |   Andrew Hill|
| |   andrew.david.hill@gr|
| |   idnode.com  |
| ||
| |   11/11/2002 11:30 AM  |
| |   Please respond to|
| |   Struts Users Mailing|
| |   List|
| ||
|-+


---

|
  |
|
  |To:  Struts Users Mailing List
[EMAIL PROTECTED]  |
  |cc:
|
  |Subject: RE: onchange submit problem
|


---

|
|-+
| ||
|-+


---

|
  |
|
  |
|


---

|




Hmm. Thats wierd. The value should be updated before the submit
occurs - Ive
been using similar code myself without troubles.
Is the value submitted in the actual HttpRequest?
(This would indicate a problem with your setter method on the form
rather
than in your jsp).


-Original Message-
From: Hirschmann, Bernhard [mailto:Bernhard.Hirschmann;t-systems.com]
Sent: Monday, November 11, 2002 17:25
To: 'Struts Users Mailing List'
Subject: onchange submit problem


Hello!

I use the onchange event handler to submit a form if a value in the
select
box is changed.
However, the value doesn't get updated in the form before the submit
occures. The form-bean doesn't get the actual selected value.

html:select property=selectedLocation onchange=submit()
html:options collection=locations property=code
labelProperty=text /
/html:select

What did I forget?


Regards,
Bernhard

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

/ /OREF:CPTD2D27 RE: checkbox problem

2002-11-11 Thread avasey

This posting is useful for dealing with checkboxes:
http://www.mail-archive.com/struts-user;jakarta.apache.org/msg37244.html



   

  Saini, Deepank 

  deepank.saini@c To:  'Struts Users Mailing List' 
[EMAIL PROTECTED] 
  gey.com cc: 

   Subject: RE: checkbox problem   

  11/11/2002 03:46 

  PM   

  Please respond   

  to Struts Users 

  Mailing List

   

   

   

   

   





well i am not sure why it should show true if it has been unchecked,
but one
last shot, if u r calling a javascript function on the submit, the
problem
could well be in the javascript function.
Bye the way do u have a submit button or r u caling a javascript
function
onchange of the checkbox?

-Original Message-
From: Hirschmann, Bernhard [mailto:Bernhard.Hirschmann;t-systems.com]
Sent: Monday, November 11, 2002 7:12 PM
To: 'Struts Users Mailing List'
Subject: AW: checkbox problem



Thanks for your comment, but I'm not sure if that's the problem.

Here is the scenario:
1.) While populating the form, the value is true.
2.) Then the user disables the checkbox - for setting the value to
false.
3.) Submit occurs.
4.) In the action I check the value and I see that it is true.

Do I really have to reset the form for such a scenario?

Regards,
Bernhard


-Ursprüngliche Nachricht-
Von: James Mitchell [mailto:jmitchtx;telocity.com]
Gesendet: Montag, 11. November 2002 14:36
An: Struts Users Mailing List
Betreff: RE: checkbox problem


You need to set it to false in the reset() method.

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

If you were plowing a field, which would you rather use? Two strong
oxen or
1024 chickens?
- Seymour Cray (1925-1996), father of supercomputing


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


This message contains information that may be privileged or
confidential and
is the property of the Cap Gemini Ernst  Young Group. It is intended
only
for the person to whom it is addressed. If you are not the intended
recipient, you are not authorised to read, print, retain, copy,
disseminate,
distribute, or use this message or any part thereof. If you receive
this
message in error, please notify the sender immediately and delete all
copies
of this message.

--
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: Websphere Application Server 4.01 to 4.04 for AIX

2002-11-07 Thread avasey

Hi Rodney

I am trying to deploy on WebSphere 4.0.1 after successfully deploying
the same application on WebSphere 4.0.3 but I am getting parser
exceptions.
You mentioned replacing the Xalan and Xerces classes. Could you
please outline how you did this ie: for the whole App Server or just
for your individual app ?

thanks very much
Aisling




   

  Yeo, Rodney W  

  rodney.yeo@eds. To:  'Struts Users Mailing List 
(E-mail)' [EMAIL PROTECTED]
  com cc: 

   Subject: Websphere Application Server 
4.01 to 4.04 for AIX  
  07/11/2002 09:26 

  AM   

  Please respond   

  to Struts Users 

  Mailing List

   

   





Anyone ever tried successfully using Struts in above-mentioned
environment?

I have tried deploying to Websphere 4.01 for Window 2000 (having
replaced
the Xalan and Xerces) and it works fine but not in AIX (and doing the
same
thing!)
strange.

Regards,
Rodney


--
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: Websphere Application Server 4.01 to 4.04 for AIX

2002-11-07 Thread avasey

Hi Rodney

I just added the new xerces.jar to my App Server (default server) as
a classpath setting using the Admin Console as opposed to replacing
the WebSphere's version of the jar. My Struts parser exceptions seem
to have gone away.

(I am fighting some ClassNotFound exceptions with my web module not
finding classes that are part of my EAR file. I don't think this is
related to Struts as I had these problems before adding the
xerces.jar to my classpath. Didn't have them with websphere 4.0.3.)

Hope this helps.
Aisling



   

  Yeo, Rodney W  

  rodney.yeo@eds. To:  'Struts Users Mailing List' 
[EMAIL PROTECTED] 
  com cc: 

   Subject: RE: Websphere Application 
Server 4.01 to 4.04 for AIX  
  07/11/2002 11:54 

  AM   

  Please respond   

  to Struts Users 

  Mailing List

   

   





Hi Aisling

I deployed for the whole App Server by changing the xalan.jar and
xerces.jar
in WebSphere40/AppServer/lib directory.
I'm now get
com.ibm.ejs.sm.exception.StaleActiveObjectInvocationException
error when i try to start up my default server using the
administrative
console. Do you encounter that?

Regards,
Rodney


-Original Message-
From: [EMAIL PROTECTED] [mailto:avasey;za.safmarine.com]
Sent: Thursday, November 07, 2002 05:17 PM
To: Struts Users Mailing List
Subject: Re: Websphere Application Server 4.01 to 4.04 for AIX



Hi Rodney

I am trying to deploy on WebSphere 4.0.1 after successfully deploying
the same application on WebSphere 4.0.3 but I am getting parser
exceptions.
You mentioned replacing the Xalan and Xerces classes. Could you
please outline how you did this ie: for the whole App Server or just
for your individual app ?

thanks very much
Aisling






  Yeo, Rodney W

  rodney.yeo@eds. To:  'Struts
Users
Mailing List (E-mail)' [EMAIL PROTECTED]
  com cc:

   Subject: Websphere
Application Server 4.01 to 4.04 for AIX
  07/11/2002 09:26

  AM

  Please respond

  to Struts Users

  Mailing List









Anyone ever tried successfully using Struts in above-mentioned
environment?

I have tried deploying to Websphere 4.01 for Window 2000 (having
replaced
the Xalan and Xerces) and it works fine but not in AIX (and doing the
same
thing!)
strange.

Regards,
Rodney


--
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

--
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




/ /OREF:CPTF50F8 RE: Websphere Application Server 4.01 to 4.04 for AIX

2002-11-07 Thread avasey

Windows 2000 (I have got rid of all my Struts and ClassNotFound
exceptions.)



   

  Yeo, Rodney W  

  rodney.yeo@eds. To:  'Struts Users Mailing List' 
[EMAIL PROTECTED] 
  com cc: 

   Subject: RE: Websphere Application 
Server 4.01 to 4.04 for AIX  
  07/11/2002 12:23 

  PM   

  Please respond   

  to Struts Users 

  Mailing List

   

   

   

   

   





Are you using AIX or Window 2000 ?

-Original Message-
From: [EMAIL PROTECTED] [mailto:avasey;za.safmarine.com]
Sent: Thursday, November 07, 2002 06:03 PM
To: Struts Users Mailing List
Subject: RE: Websphere Application Server 4.01 to 4.04 for AIX



Hi Rodney

I just added the new xerces.jar to my App Server (default server) as
a classpath setting using the Admin Console as opposed to replacing
the WebSphere's version of the jar. My Struts parser exceptions seem
to have gone away.

(I am fighting some ClassNotFound exceptions with my web module not
finding classes that are part of my EAR file. I don't think this is
related to Struts as I had these problems before adding the
xerces.jar to my classpath. Didn't have them with websphere 4.0.3.)

Hope this helps.
Aisling





  Yeo, Rodney W

  rodney.yeo@eds. To:  'Struts
Users
Mailing List' [EMAIL PROTECTED]
  com cc:

   Subject: RE: Websphere
Application Server 4.01 to 4.04 for AIX
  07/11/2002 11:54

  AM

  Please respond

  to Struts Users

  Mailing List









Hi Aisling

I deployed for the whole App Server by changing the xalan.jar and
xerces.jar
in WebSphere40/AppServer/lib directory.
I'm now get
com.ibm.ejs.sm.exception.StaleActiveObjectInvocationException
error when i try to start up my default server using the
administrative
console. Do you encounter that?

Regards,
Rodney


-Original Message-
From: [EMAIL PROTECTED] [mailto:avasey;za.safmarine.com]
Sent: Thursday, November 07, 2002 05:17 PM
To: Struts Users Mailing List
Subject: Re: Websphere Application Server 4.01 to 4.04 for AIX



Hi Rodney

I am trying to deploy on WebSphere 4.0.1 after successfully deploying
the same application on WebSphere 4.0.3 but I am getting parser
exceptions.
You mentioned replacing the Xalan and Xerces classes. Could you
please outline how you did this ie: for the whole App Server or just
for your individual app ?

thanks very much
Aisling






  Yeo, Rodney W

  rodney.yeo@eds. To:  'Struts
Users
Mailing List (E-mail)' [EMAIL PROTECTED]
  com cc:

   Subject: Websphere
Application Server 4.01 to 4.04 for AIX
  07/11/2002 09:26

  AM

  Please respond

  to Struts Users

  Mailing List









Anyone ever tried successfully using Struts in above-mentioned
environment?

I have tried deploying to Websphere 4.01 for Window 2000 (having
replaced
the Xalan and Xerces) and it works fine but not in AIX (and doing 

Re: html:options /

2002-10-24 Thread avasey

html:select property=carrier  %-- The form's property to be
populated --%
  html:options collection=carriers property=id labelProperty
=name/
/html:select

carriers is a list of Carrier objects in my Session Context




   

  Roland  

  CarlssonTo:  Struts Users Mailing List 
[EMAIL PROTECTED]   
  roland.c@swetra cc: 

  vel.se  Subject: html:options /   

   

  24/10/2002 01:04 

  PM   

  Please respond   

  to Struts Users 

  Mailing List

   

   





Hello!
I'm trying to use html:options/ but the only thing I get get into
the list
are Object.toString() values witch is not very useful for the user.

What I like to do is the equal to

option value=%= myObj.getId() %%= myObj.getName() %/option

Can this be done?

Thanks in advance
Roland Carlsson


--
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




Look Feel

2002-10-16 Thread avasey


Hi

We have a requirement to change our site depending upon the User's
Client type. This involves changing the look  feel using stylesheet
and images which is quite straight forward.
How about things like using different Application Resource properties
files depending upon the Client type for example, to display
different messages ?
Any suggestion or resource I should look at to achieve this kind of
personalization using Struts ?

thanks for your help





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




Form fields not updated

2002-10-10 Thread avasey


Hi all

I am using Struts 1.0.2 and session scope forms. I have noticed a
problem with my form fields not being reset when I resubmit a form.

Basically on my JSP, I have a number of select boxes that are linked.
Each time a value is selected in a box, the form is submitted and the
next select box on the page is populated using the previous selects
values as input.

If I submit the form after selecting an option in each of the select
boxes, then I get these values correctly set in my form class fields
and process them as necessary.

I have a requirement of selecting the clear/blank option in the first
select box , will clear all the options from the other select boxes
ie: there is no data in the select boxes. I do this by clearing the
lists that these selects are populated from when the form is
submitted with a blank option in a select box.

However once I have removed all the options from the select boxes and
just have a blank option in each select, when I resubmit the form,
the form values are not set to be blank as I expect, but still have
the previous non-blank option that were selected previously.

Any suggestions to what I could be doing wrong here ?

thanks very much
Aisling




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




Re: Struts, Websphere and JAXP

2002-09-19 Thread avasey


You can find the Jaxp 1.0.1 at http://java.sun.com/xml/archive.html.
As far as I remember, these instructions are for installing Struts
1.0.2.
If you are running WebSphere 3.5.6, you can use Struts 1.1 as long as
you use the correct parser which is Xerces 1.4.4.
Have a look in the archive as some people posted some comments about
installing Struts on WebSphere 3.5.6 within the last month or so.
thanks



   

  Wilkins, Craig 

  cwilkins@akamai To:  Struts-User@Jakarta. Apache. 
Org (E-mail) [EMAIL PROTECTED]   
  .comcc: 

   Subject: Struts, Websphere and JAXP 

  20/09/2002 05:10 

  AM   

  Please respond   

  to Struts Users 

  Mailing List

   

   





I was reading the install instructions for WebSphere and they say to
copy
the jaxp 1.0.1's and parser.jar files, but I don't know where to get
these.
These aren't included anywhere, are they?  Everything that I find on
the net
is much more recent.
Also, does anyone know if the instructions listed on the Struts page
(http://jakarta.apache.org/struts/installation-was352-x.html) still
apply
when I am running WebSphere 3.5.6?  It seems to me that IBM has fixed
a lot
of stuff and upgraded the supported J2EE APIs since 3.5.3 and I
wanted to
make sure that all of these steps are still valid.
Thanks,
Craig

--
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: Calling mapping from Action

2002-08-26 Thread avasey


Yes thanks that helped - actually stupid mistake on my part.



|+---
||  palfors@delph|
||  ion.com  |
||   |
||  23/08/2002   |
||  04:39 PM |
||  Please   |
||  respond to   |
||  struts-user  |
||   |
|+---
  |
  ||
  |   To: [EMAIL PROTECTED]   |
  |   cc: (bcc: Aisling Vasey/scs/Linernet)|
  |   Subject: RE: Calling mapping from Action |
  ||
  |




if your path is /cutOffInit.do then you must have an action called
cutOffInit
for example:

action path=/cutOffInit
type=com.myCompany.CutOffInitAction
name=cutOffForm
scope=session
validate=false
  forward name=success path=/next.jsp/
/action

verify that the forward's path matches the action exactly...

HTH,
 pete

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 23, 2002 2:11 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: Calling mapping from Action



Yes with no luck.



|+
||  jcheng@johnche|
||  ng.dhs.org|
|||
||  22/08/2002|
||  07:37 PM  |
||  Please respond|
||  to|
||  struts-user;  |
||  Please respond|
||  to jcheng |
|||
|+
  |
  ||
  |   To: [EMAIL PROTECTED]   |
  |   cc: (bcc: Aisling Vasey/scs/Linernet)|
  |   Subject: RE: Calling mapping from Action |
  ||
  |




 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, August 22, 2002 10:23 AM
 To: [EMAIL PROTECTED]
 Subject: Calling mapping from Action



 Hi
 Excuse the silly question but how do I specify one of my
 Action mappings as a
 forward for another mapping using Struts 1.0.2 ?
 Currently I am trying forward name=cutOffSearch
 path=/cutOffInit.do / as a
 forward for my Action in my xml file but I just get file not found and
 variations of this produce invalid mapping errors.
 Is this possible ?
 thanks very much
 Aisling


Have you tried using /cutOffInit instead of /cutOffInit.do?

Example:

  forward name=cutOffSearch path=/cutOffInit /



--
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: form submit() method is not recognized.

2002-08-18 Thread avasey


Thanks for the information as I have also being fighting with problem.



|+---
||  oagady@yahoo.|
||  com  |
||   |
||  18/08/2002   |
||  07:47 AM |
||  Please   |
||  respond to   |
||  struts-user  |
||   |
|+---
  |
  ||
  |   To: [EMAIL PROTECTED]   |
  |   cc: (bcc: Aisling Vasey/scs/Linernet)|
  |   Subject: Re: form submit() method is not recognized. |
  ||
  |




Hi, Ganesh

I have good news: I found a solution to this problem
in struts-user archive. The following is a snippet
from an old message:
__

I spent a good hour hunting down the source of my
problem with trying to programmatically submit a form
and thought I'd share the solution for others who are
using struts. I wanted to have a select list
automatically cause its containing form to submit when
the value of the select list changed. This is useful
for simple sorts or subsearches in a search result
list.

In my JSP page, I had the following code:

html:select property=mySelectName
 onchange=this.form.submit()
  html:options name=mySelectOptionCollection
/html:select

I kept getting Object doesn't support this property
or method from my browser. Finally I figured out that
by default, struts gives html:submit/ tags a name of
submit. Thus there was a namespace collision in the
form object, with the submit button overriding the
form's submit method. I fixed the problem by changing
the name of the submit button. Something like this
works great:

html:submit property=submitProperty value=The
Label I Want/

Perhaps the default name for submit buttons could be
changed in struts in the future to avoid such
namespace collisions, especially with very standard
methods and properties like form.submit?



Regards
Olga


--- Ganesh Puri [EMAIL PROTECTED] wrote:
 Hi Olga,

 Try in netscape ... and on getting the error type
 javascript: in the
 location window
 I get something like this ...


 - Original Message -
 From: Olga Agady [EMAIL PROTECTED]
 To: Struts Users Mailing List
 [EMAIL PROTECTED]
 Sent: Saturday, August 17, 2002 10:03 PM
 Subject: RE: form submit() method is not recognized.


  Hi, Oz
 
  I am actually not sure that this is not a struts
  problem. Looks like it is. I replaced my jsp page
 with
  the HTML page which has exactly the same fields
 and
  scripts, but doesn't use struts, just HTML tags
  FORM, INPUT and SELECT. On this HTMl page
 this
  script works. It doesn't find the the action,
 because
  the action is not mapped to this page, but it
 submits
  the form from the script
 document.forms[0].submit()
  and doesn't show me that strange error which I get
  when using struts.
 
  Olga
 
 
  --- Oguz Kologlu [EMAIL PROTECTED]
 wrote:
   It's not actually a problem with struts - you
 can't
   submit
   from a select.
  
   Oz
  
   -Original Message-
   From: Jacob Hookom [mailto:[EMAIL PROTECTED]]
   Sent: Sunday, 18 August 2002 8:52 AM
   To: 'Struts Users Mailing List'
   Subject: RE: form submit() method is not
 recognized.
  
  
   Try doing something small first, like doing
   alert(document.forms[0].country.value) and see
 if
   you even get that,
   then you can start to determine your error.
  
   | -Original Message-
   | From: Olga Agady [mailto:[EMAIL PROTECTED]]
   | Sent: Saturday, August 17, 2002 4:57 PM
   | To: Struts Users Mailing List
   | Subject: form submit() method is not
 recognized.
   |
   | Hello,
   |
   | I am using struts 1.0.2. I experience a wierd
   problem:
   | When I submit the form after a user selects an
   item
   | from a drop-down select box:
   |
   | html:select property=country
   | onchange=document.forms[0].submit(),
   |
   | I get run-time error that Object doesn't
 support
   a
   | property or a method. I tried to re-write the
   code
   | with different variations like:
   |
   | html:select property=country
   | onchange=submitForm(),
   |
   | SCRIPT
   | function submitForm(){
   | document.forms[0].submit();
   | }
   | /SCRIPT
   |
   | Whatever I do, when the script starts running
 the
   line
   | document.forms[0].submit(), I get the same
 error.
   | Looks like submit() method is not recognized.
 Did
   | someone have a similar problem?
   |
   |
   | Thanks,
   | Olga
   |
   |
   |
   |
 __
   | Do You Yahoo!?
   

RE: Deploying Struts on WebSphere Application Server 4.0.2

2002-08-12 Thread avasey


Yeah that is what I thought. The problem I have is not with JSPs but with the
pasers. I get parser exceptions when trying to start up the web application that
uses Struts if I use 1.1 b1. I assume somewhere my classpath is referring to the
wrong parser jar files.
Would it be possible to get an overview of your setup ? The paser versions and
jar files you are using and where in WebSphere you deployed everything ?
Thanks very much
Aisling



|+---
||  pelly69@hotma|
||  il.com   |
||   |
||  12/08/2002   |
||  10:07 AM |
||  Please   |
||  respond to   |
||  struts-user  |
||   |
|+---
  |
  ||
  |   To: [EMAIL PROTECTED]   |
  |   cc: (bcc: Aisling Vasey/scs/Linernet)|
  |   Subject: RE: Deploying Struts on WebSphere Application Server|
  |   4.0.2|
  ||
  |





Websphere 3.5 does not support JSP 1.1, but starting from patch 3 (I think),
i.e. Websphere 3.5.3 it does. You can download patchs fropm IBMs web page.
We are actually running Struts 1.1b1, 1.0 and 1.0.2 apps in Websphere 3.5.3.

Should be not problems with Websphere 3.5.6.

Regards,

Adolfo.

From: [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: RE: Deploying Struts on WebSphere Application Server 4.0.2
Date: Mon, 12 Aug 2002 07:52:33 +0200


Hi Keith
What version of Struts and WebSphere are you using ? I would like to use
Struts
1.1 b1 with WebSphere 3.5.6 but was told WebSphere 3.5 won't support Struts
1.1
b1.
thanks Aisling



|+---
||  kkamholz@moog|
||  .com |
||   |
||  09/08/2002   |
||  04:36 PM |
||  Please   |
||  respond to   |
||  struts-user  |
||   |
|+---

 |
   |
 |
   |   To: [EMAIL PROTECTED]
 |
   |   cc: (bcc: Aisling Vasey/scs/Linernet)
 |
   |   Subject: RE: Deploying Struts on WebSphere Application
Server|
   |   4.0.2
 |
   |
 |

 |




Hey,
I'm using Websphere and haven't really had any problems.  However, I've
only
been using it for a couple months though since I'm a summer co-op, so I'm
not exactly the most experienced user.  But like I said, I haven't had any
problems.

~ Keith
http://www.buffalo.edu/~kkamholz



-Original Message-
From: Jung, Eric (Contractor) [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 09, 2002 10:26 AM
To: 'Struts Users Mailing List'
Subject: RE: Deploying Struts on WebSphere Application Server 4.0.2


Jason,
I'm in the exact same situation. I'm currently writing a Struts app
and we use Tomcat in development. Production, however, uses WebSphere.

If anyone can shed light on this matter, I'd appreciate it, too.

Eric Jung

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 09, 2002 10:22 AM
To: Struts Users Mailing List
Subject: Re: Deploying Struts on WebSphere Application Server 4.0.2



Hi all,

Is it really that problematic to depoy Struts to WebSphere app servers? I
don't see many questions posed to this list that involve WS, but when they
do, it's always people having one heck of a time getting Struts to work.

This worries me, because I'm currently developing two applications using
Tomcat, that are expected to eventually deploy to WebSphere. (Hopefully
version 5, if it's ever released.)

So are there Struts users out there who *aren't* having WebSphere 4
compatibility problems?


Thanks!


Jason



--
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]

_
MSN Photos is the easiest way to share and print your photos:

RE: Deploying Struts on WebSphere Application Server 4.0.2

2002-08-11 Thread avasey


Hi Keith
What version of Struts and WebSphere are you using ? I would like to use Struts
1.1 b1 with WebSphere 3.5.6 but was told WebSphere 3.5 won't support Struts 1.1
b1.
thanks Aisling



|+---
||  kkamholz@moog|
||  .com |
||   |
||  09/08/2002   |
||  04:36 PM |
||  Please   |
||  respond to   |
||  struts-user  |
||   |
|+---
  |
  ||
  |   To: [EMAIL PROTECTED]   |
  |   cc: (bcc: Aisling Vasey/scs/Linernet)|
  |   Subject: RE: Deploying Struts on WebSphere Application Server|
  |   4.0.2|
  ||
  |




Hey,
I'm using Websphere and haven't really had any problems.  However, I've only
been using it for a couple months though since I'm a summer co-op, so I'm
not exactly the most experienced user.  But like I said, I haven't had any
problems.

~ Keith
http://www.buffalo.edu/~kkamholz



-Original Message-
From: Jung, Eric (Contractor) [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 09, 2002 10:26 AM
To: 'Struts Users Mailing List'
Subject: RE: Deploying Struts on WebSphere Application Server 4.0.2


Jason,
I'm in the exact same situation. I'm currently writing a Struts app
and we use Tomcat in development. Production, however, uses WebSphere.

If anyone can shed light on this matter, I'd appreciate it, too.

Eric Jung

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 09, 2002 10:22 AM
To: Struts Users Mailing List
Subject: Re: Deploying Struts on WebSphere Application Server 4.0.2



Hi all,

Is it really that problematic to depoy Struts to WebSphere app servers? I
don't see many questions posed to this list that involve WS, but when they
do, it's always people having one heck of a time getting Struts to work.

This worries me, because I'm currently developing two applications using
Tomcat, that are expected to eventually deploy to WebSphere. (Hopefully
version 5, if it's ever released.)

So are there Struts users out there who *aren't* having WebSphere 4
compatibility problems?


Thanks!


Jason



--
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: How to install Struts 1.1b on WebSphere 3.5.4 (Missing ressources attribute org.apache.struts.action.MESSAGE)

2002-08-01 Thread avasey


Hi

Yeah Struts 1.1 b 1 uses Jaxp 1.1 which WebSphere doesn't seem to like where as
Struts 1.0.2 uses Jaxp 1.0.1 which seems to run OK with WebSphere.
I have seen some posting on this list about successfully using 1.1 b1 with
WebSphere 3.5 so there must be some way to get WebSphere to use the correct
parser. Haven't had much luck getting it to work though.
Good luck

Aisling



|+---
||  raganippe@car|
||  diweb.com|
||   |
||  01/08/2002   |
||  11:41 AM |
||  Please   |
||  respond to   |
||  struts-user  |
||   |
|+---
  |
  ||
  |   To: [EMAIL PROTECTED]   |
  |   cc: (bcc: Aisling Vasey/scs/Linernet)|
  |   Subject: Re: How to install Struts 1.1b on WebSphere 3.5.4   |
  |   (Missing ressources attribute org.apache.struts.action.MESSAGE)  |
  ||
  |




Well,

Finally, I also have parsing errors.

I tried the new java Summer XML pack but I still have an exception.

I don't know what to do. If I find something I'll let you know.

Renato

- Original Message -
From: Renato Aganippe [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Thursday, August 01, 2002 8:39 AM
Subject: Re: How to install Struts 1.1b on WebSphere 3.5.4 (Missing
ressources attribute org.apache.struts.action.MESSAGE)


 Hi Aisling,

 First of all, thanks for your help even if I didn't succeed yet to make it
 work.

 To install struts on WebSphere I used this article from jakarta :
 http://jakarta.apache.org/struts/userGuide/installation-was352-x.html
 It's for WAS 3.5.3 on Windows 2000 but as I haven't any other idea I tried
 it. Well, I'm going to check everything again in case. And I guess it may
be
 something for struts 1.0.2.

 You can get jaxp 1.0.1 from this url :
http://java.sun.com/xml/archive.html
 For parser.jar, I had one from my Resin web app server.

 I hope it will help.

 Thanks again and I let you know if I succeed in using struts 1.1b1 on
 WebSphere 3.5.4. I'm almost there, I'm sure of it

 Renato

 - Original Message -
 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Thursday, August 01, 2002 7:46 AM
 Subject: Re: How to install Struts 1.1b on WebSphere 3.5.4 (Missing
 ressources attribute org.apache.struts.action.MESSAGE)


 
  Hi Renato
 
  OK well in theory, the set up should be the same even if you are not
using
 the
  default server to run your web application.
  Yes the first parameter on your advanced tab - your document location -
is
 where
  your WEB-INF directory should be located with your struts-config.xml
file
 in
  there. Your Controller init parameter should then just be
  WEB-INF/struts-config.xml.
 
  I suppose if you selected a document location outside of the AppServer's
  directory, then it might not create a your_host_names directory in your
 hosts
  directory. Not really sure about this.  (Sorry not to be of any more
 assistance
  but I usually use WebSphere 4.0 and we are just using 3.5 for this
 project.)
 
  So you are using Struts 1.1 b 1 with Jaxp 1.0.1 ?
 
  Thanks Aisling
 
 
 
 
  |+---
  ||  raganippe@car|
  ||  diweb.com|
  ||   |
  ||  31/07/2002   |
  ||  05:26 PM |
  ||  Please   |
  ||  respond to   |
  ||  struts-user  |
  ||   |
  |+---
 

---
 -|
|
 |
|   To: [EMAIL PROTECTED]
 |
|   cc: (bcc: Aisling Vasey/scs/Linernet)
 |
|   Subject: Re: How to install Struts 1.1b on WebSphere 3.5.4
 |
|   (Missing ressources attribute
org.apache.struts.action.MESSAGE)
 |
|
 |
 

---
 -|
 
 
 
 
  Aisling
 
  I'm not running my webapp on the default server, I assumed that I should
 put
  the xml files in
  WebSphere\AppServer\hosts\my_host_name\my_web_app_name\web\WEB-INF;
 
  A strange thing is that there is no my_host_name directory in WebSphere
  hosts directory...
 
  What about the first parameter from Web App advance panel dealing with
  document location? Should be the one where the WEB-INF directory is
 located?
 
  Websphere still doesn't know where to find my file... I'm driving crazy!
 
  PS: I 

Re: How to install Struts 1.1b on WebSphere 3.5.4 (Missing ressources attribute org.apache.struts.action.MESSAGE)

2002-07-31 Thread avasey


Hi Renato

As far as I can tell, your web.xml file is not read by WebSphere 3.5 if you did
not convert a WAR file using the wizard.
You must add your Controller servlet individually and set it's init-params
individually as well using the admin console. That worked for me.

Aisling



|+---
||  raganippe@car|
||  diweb.com|
||   |
||  31/07/2002   |
||  08:31 AM |
||  Please   |
||  respond to   |
||  struts-user  |
||   |
|+---
  |
  ||
  |   To: [EMAIL PROTECTED]   |
  |   cc: (bcc: Aisling Vasey/scs/Linernet)|
  |   Subject: Re: How to install Struts 1.1b on WebSphere 3.5.4   |
  |   (Missing ressources attribute org.apache.struts.action.MESSAGE)  |
  ||
  |




What do you mean by this because I don't have any reference to Ressource
inside my struts-config.xml file?

I've only define a servlet action in my web.xml file.

I have the feeling that my web.xml is not read by WebSphere

web.xml excerpt

 servlet
servlet-nameaction/servlet-name
servlet-classorg.apache.struts.action.ActionServlet/servlet-class
init-param
  param-nameapplication/param-name
  param-valuecom.cge.stef.Resources/param-value
/init-param
init-param
  param-nameconfig/param-name
  param-value/WEB-INF/struts-config.xml/param-value
/init-param
init-param
  param-namedebug/param-name
  param-value2/param-value
/init-param
init-param
  param-namedetail/param-name
  param-value2/param-value
/init-param
init-param
  param-namevalidate/param-name
  param-valuetrue/param-value
/init-param
load-on-startup2/load-on-startup
  /servlet




Renato
- Original Message -
From: hemant [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, July 30, 2002 8:44 PM
Subject: Re: How to install Struts 1.1b on WebSphere 3.5.4 (Missing
ressources attribute org.apache.struts.action.MESSAGE)


 Check your struts-config.xml for the Resources file package structure and
 see if it matches the resources location in the classpath.

 later
 hemant


 - Original Message -
 From: Renato Aganippe [EMAIL PROTECTED]
 To: Struts Users Mailing List [EMAIL PROTECTED]
 Sent: Tuesday, July 30, 2002 2:00 PM
 Subject: Re: How to install Struts 1.1b on WebSphere 3.5.4 (Missing
 ressources attribute org.apache.struts.action.MESSAGE)


  Tim,
 
  I did so. My ressource file is available within my classpath.
 
  Renato
 
  - Original Message -
  From: Tim T. Young [EMAIL PROTECTED]
  To: Struts Users Mailing List [EMAIL PROTECTED]
  Sent: Tuesday, July 30, 2002 7:39 PM
  Subject: Re: How to install Struts 1.1b on WebSphere 3.5.4 (Missing
  ressources attribute org.apache.struts.action.MESSAGE)
 
 
  
   You will want to add the path of that resource file to your webapp's
   classpath. (Or put the resource file, with any corresponding directory
   structure, into a path that is already in the classpath.)
  
   Tim
  
  
  
  
   Renato
   Aganippe
   raganippe@car
   diweb.com
  
   07/30/2002 To:
[EMAIL PROTECTED]
   12:03 PM   cc:
   Please respond
   to Struts
 
   Users Mailing
   List Subject: How to install
  Struts 1.1b on WebSphere 3.5.4 (Missing ressources attribute
  
  org.apache.struts.action.MESSAGE)
  
  
  
  
   Caterpillar: Confidential Green  Retain Until: 08/29/2002
Retention Category:  G90 -
Information and Reports
  
  
  
  
   Hi everybody!
  
   I'm triyng to put Struts 1.1b on WebSphere 3.5.4 but I have the
 following
   message :
   Message : Server caught unhandled exception from servlet [Activateur
de
   service de fichiers]: Server caught unhandled exception from servlet
   [Processeur JSP 1.1]: Missing resources attribute
   org.apache.struts.action.MESSAGE
  
   Does anybody have an idea? (I understand that the ressource file is
not
   availaible but where do I have to put it to make it available)
  
   Then, is there someone who knows where I get an installation guide for
   struts 1.1b on WebSphere 3.5.4?
  
   Thanks a lot!
  
   Renato Aganippe
   Cardiweb
   Web 

Re: How to install Struts 1.1b on WebSphere 3.5.4 (Missing ressources attribute org.apache.struts.action.MESSAGE)

2002-07-31 Thread avasey


Hi Renato

Save your struts-config.xml file in the
WebSphere\AppServer\hosts\default_hosts\project\web\WEB-INF\ directory and
then as your Controller's init param specify the config as
WEB-INF/struts-config.xml (Excluding the usual slash in front of the
/WEB-INF/struts-config.xml ).

You are using Struts 1.1 b 1 ? You are having no parser exceptions ? Cool

Aisling



|+---
||  raganippe@car|
||  diweb.com|
||   |
||  31/07/2002   |
||  11:25 AM |
||  Please   |
||  respond to   |
||  struts-user  |
||   |
|+---
  |
  ||
  |   To: [EMAIL PROTECTED]   |
  |   cc: (bcc: Aisling Vasey/scs/Linernet)|
  |   Subject: Re: How to install Struts 1.1b on WebSphere 3.5.4   |
  |   (Missing ressources attribute org.apache.struts.action.MESSAGE)  |
  ||
  |




Hi Aisling

I have almost succeeded in loadding action servlet even if I had to
unarchived every jar file from struts to make it.

Now, I have this message.

javax.servlet.UnavailableException: Parsing error processing resource path
/WEB-INF/struts-config.xml

How do I get WebSphere to understand where is located my WEB-INF
directory???

Renato

- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 31, 2002 9:45 AM
Subject: Re: How to install Struts 1.1b on WebSphere 3.5.4 (Missing
ressources attribute org.apache.struts.action.MESSAGE)



 Hi Renato

 As far as I can tell, your web.xml file is not read by WebSphere 3.5 if
you did
 not convert a WAR file using the wizard.
 You must add your Controller servlet individually and set it's init-params
 individually as well using the admin console. That worked for me.

 Aisling



 |+---
 ||  raganippe@car|
 ||  diweb.com|
 ||   |
 ||  31/07/2002   |
 ||  08:31 AM |
 ||  Please   |
 ||  respond to   |
 ||  struts-user  |
 ||   |
 |+---

---
-|
   |
|
   |   To: [EMAIL PROTECTED]
|
   |   cc: (bcc: Aisling Vasey/scs/Linernet)
|
   |   Subject: Re: How to install Struts 1.1b on WebSphere 3.5.4
|
   |   (Missing ressources attribute org.apache.struts.action.MESSAGE)
|
   |
|

---
-|




 What do you mean by this because I don't have any reference to Ressource
 inside my struts-config.xml file?

 I've only define a servlet action in my web.xml file.

 I have the feeling that my web.xml is not read by WebSphere

 web.xml excerpt

  servlet
 servlet-nameaction/servlet-name
 servlet-classorg.apache.struts.action.ActionServlet/servlet-class
 init-param
   param-nameapplication/param-name
   param-valuecom.cge.stef.Resources/param-value
 /init-param
 init-param
   param-nameconfig/param-name
   param-value/WEB-INF/struts-config.xml/param-value
 /init-param
 init-param
   param-namedebug/param-name
   param-value2/param-value
 /init-param
 init-param
   param-namedetail/param-name
   param-value2/param-value
 /init-param
 init-param
   param-namevalidate/param-name
   param-valuetrue/param-value
 /init-param
 load-on-startup2/load-on-startup
   /servlet




 Renato
 - Original Message -
 From: hemant [EMAIL PROTECTED]
 To: Struts Users Mailing List [EMAIL PROTECTED]
 Sent: Tuesday, July 30, 2002 8:44 PM
 Subject: Re: How to install Struts 1.1b on WebSphere 3.5.4 (Missing
 ressources attribute org.apache.struts.action.MESSAGE)


  Check your struts-config.xml for the Resources file package structure
and
  see if it matches the resources location in the classpath.
 
  later
  hemant
 
 
  - Original Message -
  From: Renato Aganippe [EMAIL PROTECTED]
  To: Struts Users Mailing List [EMAIL PROTECTED]
  Sent: Tuesday, July 30, 2002 2:00 PM
  Subject: Re: How to install Struts 1.1b on WebSphere 3.5.4 (Missing
  ressources attribute org.apache.struts.action.MESSAGE)
 
 
   Tim,
  
   I did so. My ressource file is available within my classpath.
  
   Renato
  
   - Original Message -
   From: Tim T. Young [EMAIL PROTECTED]
   To: Struts Users Mailing 

Re: How to install Struts 1.1b on WebSphere 3.5.4 (Missing ressources attribute org.apache.struts.action.MESSAGE)

2002-07-31 Thread avasey


Hi Renato

OK well in theory, the set up should be the same even if you are not using the
default server to run your web application.
Yes the first parameter on your advanced tab - your document location - is where
your WEB-INF directory should be located with your struts-config.xml file in
there. Your Controller init parameter should then just be
WEB-INF/struts-config.xml.

I suppose if you selected a document location outside of the AppServer's
directory, then it might not create a your_host_names directory in your hosts
directory. Not really sure about this.  (Sorry not to be of any more assistance
but I usually use WebSphere 4.0 and we are just using 3.5 for this project.)

So you are using Struts 1.1 b 1 with Jaxp 1.0.1 ?

Thanks Aisling




|+---
||  raganippe@car|
||  diweb.com|
||   |
||  31/07/2002   |
||  05:26 PM |
||  Please   |
||  respond to   |
||  struts-user  |
||   |
|+---
  |
  ||
  |   To: [EMAIL PROTECTED]   |
  |   cc: (bcc: Aisling Vasey/scs/Linernet)|
  |   Subject: Re: How to install Struts 1.1b on WebSphere 3.5.4   |
  |   (Missing ressources attribute org.apache.struts.action.MESSAGE)  |
  ||
  |




Aisling

I'm not running my webapp on the default server, I assumed that I should put
the xml files in
WebSphere\AppServer\hosts\my_host_name\my_web_app_name\web\WEB-INF;

A strange thing is that there is no my_host_name directory in WebSphere
hosts directory...

What about the first parameter from Web App advance panel dealing with
document location? Should be the one where the WEB-INF directory is located?

Websphere still doesn't know where to find my file... I'm driving crazy!

PS: I don't have other error. I changed parsers to use jaxp.jar(1.0.1) and
parser.jar

Renato

- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 31, 2002 3:51 PM
Subject: Re: How to install Struts 1.1b on WebSphere 3.5.4 (Missing
ressources attribute org.apache.struts.action.MESSAGE)



 Hi Renato

 Save your struts-config.xml file in the
 WebSphere\AppServer\hosts\default_hosts\project\web\WEB-INF\ directory
and
 then as your Controller's init param specify the config as
 WEB-INF/struts-config.xml (Excluding the usual slash in front of the
 /WEB-INF/struts-config.xml ).

 You are using Struts 1.1 b 1 ? You are having no parser exceptions ? Cool

 Aisling



 |+---
 ||  raganippe@car|
 ||  diweb.com|
 ||   |
 ||  31/07/2002   |
 ||  11:25 AM |
 ||  Please   |
 ||  respond to   |
 ||  struts-user  |
 ||   |
 |+---

---
-|
   |
|
   |   To: [EMAIL PROTECTED]
|
   |   cc: (bcc: Aisling Vasey/scs/Linernet)
|
   |   Subject: Re: How to install Struts 1.1b on WebSphere 3.5.4
|
   |   (Missing ressources attribute org.apache.struts.action.MESSAGE)
|
   |
|

---
-|




 Hi Aisling

 I have almost succeeded in loadding action servlet even if I had to
 unarchived every jar file from struts to make it.

 Now, I have this message.

 javax.servlet.UnavailableException: Parsing error processing resource path
 /WEB-INF/struts-config.xml

 How do I get WebSphere to understand where is located my WEB-INF
 directory???

 Renato

 - Original Message -
 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, July 31, 2002 9:45 AM
 Subject: Re: How to install Struts 1.1b on WebSphere 3.5.4 (Missing
 ressources attribute org.apache.struts.action.MESSAGE)


 
  Hi Renato
 
  As far as I can tell, your web.xml file is not read by WebSphere 3.5 if
 you did
  not convert a WAR file using the wizard.
  You must add your Controller servlet individually and set it's
init-params
  individually as well using the admin console. That worked for me.
 
  Aisling
 
 
 
  |+---
  ||  raganippe@car|
  ||  diweb.com|
  ||   |
  ||  31/07/2002   |
  ||  08:31 AM |
  ||  Please   |
  ||  respond to   

Re: How to install Struts 1.1b on WebSphere 3.5.4 (Missing ressources attribute org.apache.struts.action.MESSAGE)

2002-07-30 Thread avasey


Hi Renato

To get Struts 1.0.2 working with WebSphere 3.5.6, I had to add a -classpath
d:\WebSphere\AppServer\hosts\default_hosts\project_name\servlets to the
Default Server as a command line arguement where the above directory is the
location where I store my classes in their package hierarchy, including my
resource file for Struts.

By default WebSphere should be using this directory as part of it's classpath
because I specified this directory as part of my web application's classpath.
But it doesn't seem to be. (Not called WeirdSphere for nothing you know :-)

If you have solved your problem another way, please shout as I would definitely
be interesed in hearing your approach. I still haven't managed to get 1.1 b1
working with WebSphere 3.5 as I get parser errors. Maybe we can swop
configuration set ups to see the best way to install Struts with WebSphere ?

thanks Aisling




|+---
||  raganippe@car|
||  diweb.com|
||   |
||  30/07/2002   |
||  08:00 PM |
||  Please   |
||  respond to   |
||  struts-user  |
||   |
|+---
  |
  ||
  |   To: [EMAIL PROTECTED]   |
  |   cc: (bcc: Aisling Vasey/scs/Linernet)|
  |   Subject: Re: How to install Struts 1.1b on WebSphere 3.5.4   |
  |   (Missing ressources attribute org.apache.struts.action.MESSAGE)  |
  ||
  |




Tim,

I did so. My ressource file is available within my classpath.

Renato

- Original Message -
From: Tim T. Young [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, July 30, 2002 7:39 PM
Subject: Re: How to install Struts 1.1b on WebSphere 3.5.4 (Missing
ressources attribute org.apache.struts.action.MESSAGE)



 You will want to add the path of that resource file to your webapp's
 classpath. (Or put the resource file, with any corresponding directory
 structure, into a path that is already in the classpath.)

 Tim




 Renato
 Aganippe
 raganippe@car
 diweb.com

 07/30/2002 To: [EMAIL PROTECTED]
 12:03 PM   cc:
 Please respond
 to Struts

 Users Mailing
 List Subject: How to install
Struts 1.1b on WebSphere 3.5.4 (Missing ressources attribute

org.apache.struts.action.MESSAGE)




 Caterpillar: Confidential Green  Retain Until: 08/29/2002
  Retention Category:  G90 -
  Information and Reports




 Hi everybody!

 I'm triyng to put Struts 1.1b on WebSphere 3.5.4 but I have the following
 message :
 Message : Server caught unhandled exception from servlet [Activateur de
 service de fichiers]: Server caught unhandled exception from servlet
 [Processeur JSP 1.1]: Missing resources attribute
 org.apache.struts.action.MESSAGE

 Does anybody have an idea? (I understand that the ressource file is not
 availaible but where do I have to put it to make it available)

 Then, is there someone who knows where I get an installation guide for
 struts 1.1b on WebSphere 3.5.4?

 Thanks a lot!

 Renato Aganippe
 Cardiweb
 Web Developer





 --
 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]




Controller init() exception

2002-07-29 Thread avasey


Hi all

I am using Struts 1.0.2 running on WebSphere 3.5.6. I can getting the following
exception when my Controller is initialised. It looks like a parser problem. I
am using Jaxp 1.0.1 but it doesn't seem to be happy running with WebSphere now
that I have moved my web applications root directory into the
WebSphere\AppServer\hosts\default_hosts directory.
Any suggestions would be greatly appreciated.

[02.07.29 09:59:09:062 GMT+02:00] 402b54b2 WebGroup  A SRVE0091I: [Servlet
LOG]: Controller: init
[02.07.29 09:59:10:859 GMT+02:00] 402b54b2 WebGroup  A SRVE0092I: [Servlet
LOG]: Controller: null: java.lang.IllegalArgumentException: InputStream cannot
be null
 at javax.xml.parsers.SAXParser.parse(SAXParser.java:73)
 at org.apache.struts.digester.Digester.parse(Digester.java:755)
 at
org.apache.struts.action.ActionServlet.initServlet(ActionServlet.java:1433)
 at org.apache.struts.action.ActionServlet.init(ActionServlet.java:473)
 at javax.servlet.GenericServlet.init(GenericServlet.java:258)
 at
com.ibm.servlet.engine.webapp.StrictServletInstance.doInit(ServletManager.java:622)

thanks
Aisling



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