Struts Problem

2004-02-17 Thread Coolyogs
Sorry I didn't get any reply because i was unsubscibed.
Now I have subscibed again.

Hi,

I hav one problem with struts framework.

My application is developed with struts and its working fine.
As a enhancement I have to integrate Query Builder which is a JSP based
application.
Query builder is running in a entirely different webserver. I have to pass
database 
driver, database URL, database username and database password to that
application 
for database connection.

But I cannot pass password as a url.(as a security issue)
like this,

url1 =
http://yogi:8106/QBE/main1.jsp?eleName=+query+url=+url+driver=+driver+;
dbName=+dbName+dbPassword=+dbPassword;

and i cannot sumbit this by having a struts form because it requires
actionmapping. (Query 
builder url may change ).

anybody knows the solution please help me.

Thanx,
Yogs

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



Re: Torque and Struts problem

2004-01-27 Thread Kris Schneider
What happens with this instead of JSTL:

jsp:useBean id=comptest
 scope=request
 type=org.ttemplating.internal.dataobjects.Component/
jsp:getProperty name=comptest property=name/
Paul Daniell wrote:
From: Kris Schneider [EMAIL PROTECTED]

I suppose this could be a classloader issue. Are all your Struts, Torque,
and

JSTL JAR files colocated?


Yes. I am using Struts 1.1 rc1, Torque 3.0.2, and JSTL 1.0.




Quoting Paul Daniell [EMAIL PROTECTED]:


I've encountered a strange problem with Struts when used with Torque. I
retrieve an object using the following:
ArrayList list = (ArrayList)ComponentPeer.doSelect(new Criteria());
request.setAttribute(components, list);
Component c = (Component)list.get(0);
request.setAttribute(comptest, c);
System.out.println(c.getName());
In the logs this will appropriately print the name of the object c.
However, when I invoke the following JSP
...
htmlbody
c:out value=${comptest.name}/
/body/html
I get the following Exception:

HTTP ERROR: 500 An error occurred while evaluating custom action
attribute

value with value ${comptest.name}: An error occurred while getting
property name from an instance of class
org.ttemplating.internal.dataobjects.Component
(java.lang.IllegalArgumentException: object is not an instance of
declaring

class)

Any advice appreciated.
Paul
--
Kris Schneider mailto:[EMAIL PROTECTED]
D.O.Tech   http://www.dotech.com/
--
Kris Schneider mailto:[EMAIL PROTECTED]
D.O.Tech   http://www.dotech.com/


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


Re: Torque and Struts problem

2004-01-27 Thread P. Daniell
The problem is neither with Struts nor Torque but rather with the reflection
API, which exhibits strange behavior when asked to deal with classes named
Component. Strangely enough, I found a thread on the struts-user thread

http://www.mail-archive.com/[EMAIL PROTECTED]/msg60817.html

dealing with the same problem. Everything behaves properly when the class is
renamed Komponent.

PD

- Original Message - 
From: Kris Schneider [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Monday, January 26, 2004 3:14 PM
Subject: Re: Torque and Struts problem


 My email's acting flaky, sorry if this gets posted twice:

 What happens with this instead of JSTL:

 jsp:useBean id=comptest
   scope=request
   type=org.ttemplating.internal.dataobjects.Component/
 jsp:getProperty name=comptest property=name/

 Paul Daniell wrote:

  From: Kris Schneider [EMAIL PROTECTED]
 
 I suppose this could be a classloader issue. Are all your Struts,
Torque,
 
  and
 
 JSTL JAR files colocated?
 
 
  Yes. I am using Struts 1.1 rc1, Torque 3.0.2, and JSTL 1.0.
 
 
 
 
 Quoting Paul Daniell [EMAIL PROTECTED]:
 
 
 I've encountered a strange problem with Struts when used with Torque. I
 retrieve an object using the following:
 
 ArrayList list = (ArrayList)ComponentPeer.doSelect(new Criteria());
 request.setAttribute(components, list);
 Component c = (Component)list.get(0);
 request.setAttribute(comptest, c);
 System.out.println(c.getName());
 
 In the logs this will appropriately print the name of the object c.
 However, when I invoke the following JSP
 ...
 htmlbody
 c:out value=${comptest.name}/
 /body/html
 
 
 I get the following Exception:
 
 HTTP ERROR: 500 An error occurred while evaluating custom action
 
  attribute
 
 value with value ${comptest.name}: An error occurred while getting
 property name from an instance of class
 org.ttemplating.internal.dataobjects.Component
 (java.lang.IllegalArgumentException: object is not an instance of
 
  declaring
 
 class)
 
 Any advice appreciated.
 Paul
 
 -- 
 Kris Schneider mailto:[EMAIL PROTECTED]
 D.O.Tech   http://www.dotech.com/

 -- 
 Kris Schneider mailto:[EMAIL PROTECTED]
 D.O.Tech   http://www.dotech.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: Torque and Struts problem

2004-01-27 Thread Kris Schneider
This appears to be fixed in Sun's 1.4.2. A quick test failed with 1.4.1_06-b01
but passed with 1.4.2_03-b02.

Quoting P. Daniell [EMAIL PROTECTED]:

 The problem is neither with Struts nor Torque but rather with the
 reflection
 API, which exhibits strange behavior when asked to deal with classes named
 Component. Strangely enough, I found a thread on the struts-user thread
 
 http://www.mail-archive.com/[EMAIL PROTECTED]/msg60817.html
 
 dealing with the same problem. Everything behaves properly when the class
 is
 renamed Komponent.
 
 PD
 
 - Original Message - 
 From: Kris Schneider [EMAIL PROTECTED]
 To: Struts Users Mailing List [EMAIL PROTECTED]
 Sent: Monday, January 26, 2004 3:14 PM
 Subject: Re: Torque and Struts problem
 
 
  My email's acting flaky, sorry if this gets posted twice:
 
  What happens with this instead of JSTL:
 
  jsp:useBean id=comptest
scope=request
type=org.ttemplating.internal.dataobjects.Component/
  jsp:getProperty name=comptest property=name/
 
  Paul Daniell wrote:
 
   From: Kris Schneider [EMAIL PROTECTED]
  
  I suppose this could be a classloader issue. Are all your Struts,
 Torque,
  
   and
  
  JSTL JAR files colocated?
  
  
   Yes. I am using Struts 1.1 rc1, Torque 3.0.2, and JSTL 1.0.
  
  
  
  
  Quoting Paul Daniell [EMAIL PROTECTED]:
  
  
  I've encountered a strange problem with Struts when used with Torque.
 I
  retrieve an object using the following:
  
  ArrayList list = (ArrayList)ComponentPeer.doSelect(new Criteria());
  request.setAttribute(components, list);
  Component c = (Component)list.get(0);
  request.setAttribute(comptest, c);
  System.out.println(c.getName());
  
  In the logs this will appropriately print the name of the object c.
  However, when I invoke the following JSP
  ...
  htmlbody
  c:out value=${comptest.name}/
  /body/html
  
  
  I get the following Exception:
  
  HTTP ERROR: 500 An error occurred while evaluating custom action
  
   attribute
  
  value with value ${comptest.name}: An error occurred while getting
  property name from an instance of class
  org.ttemplating.internal.dataobjects.Component
  (java.lang.IllegalArgumentException: object is not an instance of
  
   declaring
  
  class)
  
  Any advice appreciated.
  Paul
  
  -- 
  Kris Schneider mailto:[EMAIL PROTECTED]
  D.O.Tech   http://www.dotech.com/
 
  -- 
  Kris Schneider mailto:[EMAIL PROTECTED]
  D.O.Tech   http://www.dotech.com/

-- 
Kris Schneider mailto:[EMAIL PROTECTED]
D.O.Tech   http://www.dotech.com/

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



Re: Torque and Struts problem

2004-01-27 Thread Kris Schneider
BTW, if you can't use 1.4.2, a couple of workarounds to try:

Introspector.setBeanInfoSearchPath(new String[] {});

or provide an org.ttemplating.internal.dataobjects.ComponentBeanInfo class.

Quoting Kris Schneider [EMAIL PROTECTED]:

 This appears to be fixed in Sun's 1.4.2. A quick test failed with
 1.4.1_06-b01
 but passed with 1.4.2_03-b02.
 
 Quoting P. Daniell [EMAIL PROTECTED]:
 
  The problem is neither with Struts nor Torque but rather with the
  reflection
  API, which exhibits strange behavior when asked to deal with classes
 named
  Component. Strangely enough, I found a thread on the struts-user thread
  
  http://www.mail-archive.com/[EMAIL PROTECTED]/msg60817.html
  
  dealing with the same problem. Everything behaves properly when the class
  is
  renamed Komponent.
  
  PD
  
  - Original Message - 
  From: Kris Schneider [EMAIL PROTECTED]
  To: Struts Users Mailing List [EMAIL PROTECTED]
  Sent: Monday, January 26, 2004 3:14 PM
  Subject: Re: Torque and Struts problem
  
  
   My email's acting flaky, sorry if this gets posted twice:
  
   What happens with this instead of JSTL:
  
   jsp:useBean id=comptest
 scope=request
 type=org.ttemplating.internal.dataobjects.Component/
   jsp:getProperty name=comptest property=name/
  
   Paul Daniell wrote:
  
From: Kris Schneider [EMAIL PROTECTED]
   
   I suppose this could be a classloader issue. Are all your Struts,
  Torque,
   
and
   
   JSTL JAR files colocated?
   
   
Yes. I am using Struts 1.1 rc1, Torque 3.0.2, and JSTL 1.0.
   
   
   
   
   Quoting Paul Daniell [EMAIL PROTECTED]:
   
   
   I've encountered a strange problem with Struts when used with
 Torque.
  I
   retrieve an object using the following:
   
   ArrayList list = (ArrayList)ComponentPeer.doSelect(new Criteria());
   request.setAttribute(components, list);
   Component c = (Component)list.get(0);
   request.setAttribute(comptest, c);
   System.out.println(c.getName());
   
   In the logs this will appropriately print the name of the object
 c.
   However, when I invoke the following JSP
   ...
   htmlbody
   c:out value=${comptest.name}/
   /body/html
   
   
   I get the following Exception:
   
   HTTP ERROR: 500 An error occurred while evaluating custom action
   
attribute
   
   value with value ${comptest.name}: An error occurred while
 getting
   property name from an instance of class
   org.ttemplating.internal.dataobjects.Component
   (java.lang.IllegalArgumentException: object is not an instance of
   
declaring
   
   class)
   
   Any advice appreciated.
   Paul
   
   -- 
   Kris Schneider mailto:[EMAIL PROTECTED]
   D.O.Tech   http://www.dotech.com/
  
   -- 
   Kris Schneider mailto:[EMAIL PROTECTED]
   D.O.Tech   http://www.dotech.com/
 
 -- 
 Kris Schneider mailto:[EMAIL PROTECTED]
 D.O.Tech   http://www.dotech.com/

-- 
Kris Schneider mailto:[EMAIL PROTECTED]
D.O.Tech   http://www.dotech.com/

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



Torque and Struts problem

2004-01-26 Thread Paul Daniell
I've encountered a strange problem with Struts when used with Torque. I
retrieve an object using the following:

ArrayList list = (ArrayList)ComponentPeer.doSelect(new Criteria());
request.setAttribute(components, list);
Component c = (Component)list.get(0);
request.setAttribute(comptest, c);
System.out.println(c.getName());

In the logs this will appropriately print the name of the object c.
However, when I invoke the following JSP
...
htmlbody
c:out value=${comptest.name}/
/body/html


I get the following Exception:

HTTP ERROR: 500 An error occurred while evaluating custom action attribute
value with value ${comptest.name}: An error occurred while getting
property name from an instance of class
org.ttemplating.internal.dataobjects.Component
(java.lang.IllegalArgumentException: object is not an instance of declaring
class)

Any advice appreciated.
Paul



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



Re: Torque and Struts problem

2004-01-26 Thread Kris Schneider
I suppose this could be a classloader issue. Are all your Struts, Torque, and
JSTL JAR files colocated?

Quoting Paul Daniell [EMAIL PROTECTED]:

 I've encountered a strange problem with Struts when used with Torque. I
 retrieve an object using the following:
 
 ArrayList list = (ArrayList)ComponentPeer.doSelect(new Criteria());
 request.setAttribute(components, list);
 Component c = (Component)list.get(0);
 request.setAttribute(comptest, c);
 System.out.println(c.getName());
 
 In the logs this will appropriately print the name of the object c.
 However, when I invoke the following JSP
 ...
 htmlbody
 c:out value=${comptest.name}/
 /body/html
 
 
 I get the following Exception:
 
 HTTP ERROR: 500 An error occurred while evaluating custom action attribute
 value with value ${comptest.name}: An error occurred while getting
 property name from an instance of class
 org.ttemplating.internal.dataobjects.Component
 (java.lang.IllegalArgumentException: object is not an instance of declaring
 class)
 
 Any advice appreciated.
 Paul

-- 
Kris Schneider mailto:[EMAIL PROTECTED]
D.O.Tech   http://www.dotech.com/

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



Re: Torque and Struts problem

2004-01-26 Thread Paul Daniell
From: Kris Schneider [EMAIL PROTECTED]
 I suppose this could be a classloader issue. Are all your Struts, Torque,
and
 JSTL JAR files colocated?

Yes. I am using Struts 1.1 rc1, Torque 3.0.2, and JSTL 1.0.




 Quoting Paul Daniell [EMAIL PROTECTED]:

  I've encountered a strange problem with Struts when used with Torque. I
  retrieve an object using the following:
 
  ArrayList list = (ArrayList)ComponentPeer.doSelect(new Criteria());
  request.setAttribute(components, list);
  Component c = (Component)list.get(0);
  request.setAttribute(comptest, c);
  System.out.println(c.getName());
 
  In the logs this will appropriately print the name of the object c.
  However, when I invoke the following JSP
  ...
  htmlbody
  c:out value=${comptest.name}/
  /body/html
 
 
  I get the following Exception:
 
  HTTP ERROR: 500 An error occurred while evaluating custom action
attribute
  value with value ${comptest.name}: An error occurred while getting
  property name from an instance of class
  org.ttemplating.internal.dataobjects.Component
  (java.lang.IllegalArgumentException: object is not an instance of
declaring
  class)
 
  Any advice appreciated.
  Paul

 -- 
 Kris Schneider mailto:[EMAIL PROTECTED]
 D.O.Tech   http://www.dotech.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: Torque and Struts problem

2004-01-26 Thread Kris Schneider
My email's acting flaky, sorry if this gets posted twice:

What happens with this instead of JSTL:

jsp:useBean id=comptest
 scope=request
 type=org.ttemplating.internal.dataobjects.Component/
jsp:getProperty name=comptest property=name/
Paul Daniell wrote:

From: Kris Schneider [EMAIL PROTECTED]

I suppose this could be a classloader issue. Are all your Struts, Torque,
and

JSTL JAR files colocated?


Yes. I am using Struts 1.1 rc1, Torque 3.0.2, and JSTL 1.0.




Quoting Paul Daniell [EMAIL PROTECTED]:


I've encountered a strange problem with Struts when used with Torque. I
retrieve an object using the following:
ArrayList list = (ArrayList)ComponentPeer.doSelect(new Criteria());
request.setAttribute(components, list);
Component c = (Component)list.get(0);
request.setAttribute(comptest, c);
System.out.println(c.getName());
In the logs this will appropriately print the name of the object c.
However, when I invoke the following JSP
...
htmlbody
c:out value=${comptest.name}/
/body/html
I get the following Exception:

HTTP ERROR: 500 An error occurred while evaluating custom action
attribute

value with value ${comptest.name}: An error occurred while getting
property name from an instance of class
org.ttemplating.internal.dataobjects.Component
(java.lang.IllegalArgumentException: object is not an instance of
declaring

class)

Any advice appreciated.
Paul
--
Kris Schneider mailto:[EMAIL PROTECTED]
D.O.Tech   http://www.dotech.com/
--
Kris Schneider mailto:[EMAIL PROTECTED]
D.O.Tech   http://www.dotech.com/


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


HttpUnit and Struts: Problem solved

2003-10-22 Thread Moyer, Alan L
It was a coding bug in my application. I hadn't provided an input parameter
for the Login action and the way HttpUnit called the server, it exercised a
different code path where mapping.getInputForward() was called. 

As a Struts enhancement, it would be nice if a different exception besides
null ptr with more information was thrown in this case.

Al

--
This transmission is intended only for use by the addressee(s) named herein and may 
contain information that is proprietary, confidential and/or legally privileged. If 
you are not the intended recipient, you are hereby notified that any disclosure, 
copying, distribution, or use of the information contained herein (including any 
reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, 
please immediately contact the sender and destroy the material in its entirety, 
whether in electronic or hard copy format. Thank you.



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



RE: Struts Problem

2003-08-14 Thread Erez Efrati
Sridhar,

Doing 
html-el:text  property=ips(${Element.value}) / is illegal in your
case cause this would generate the following call :
getIps(Element.value) and setIps(String key, Object value) with the
result of Element.value as the 'key' and the new value as the value. But
your HashMap doesn't contain any element by this key.

If you're trying to update the values of elements in the map stored by
their keys then you just need the first html-el:text
property=ips(${Element.key}) element. I hope I understand your what
you're trying to achieve here.

HTH,
Erez

-Original Message-
From: Sridhar Kotagiri [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 07, 2003 8:03 PM
To: Struts Users Mailing List
Subject: RE: Struts Problem

Hi Erez,
when Im using html-el tags its throwing an exception

html-el:form action=/myaccount/advanced/edit/continue
logic:notEmpty name=editAdvancedForm property=ip  
b class=txtMedium id=largebean:message
bundle=content key=title.ipaddresses//b
table width=100% cellspacing=0 cellpadding=2
border=0
logic:iterate id=Element
name=editAdvancedForm property=ip
tr class=textbox
style=width:150px;   
tdhtml-el:text
property=ips(${Element.key}) //td 
tdbbean:message
bundle=content key=common.pointsto//b/td
tdhtml-el:text
property=ips(${Element.value}) //td

/tr   
/logic:iterate
/table
/logic:notEmpty
html-el:form


org/apache/taglibs/standard/lang/support/ExpressionEvaluatorManager'
javax.servlet.ServletException:
org/apache/taglibs/standard/lang/support/ExpressionEvaluatorManager at
org.apache.jasper.runtime.PageContextImpl.handlePageException



Thanks!
Sridhar

-Original Message-
From: Erez Efrati [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 07, 2003 1:26 PM
To: 'Struts Users Mailing List'
Subject: RE: Struts ProblemUrgent


The reason this is not working for you is that Element bean name is
not around there when the request is populated back to your form. It is
there only when the JSP is populated from the action inside the
iteration.

To do what you want to do:

html-el:text property=ips(${Element.key}) /

using the html-el taglib of Struts-EL.

Haven't tested it but I think it should work.

HTH,
Erez



-Original Message-
From: Sridhar Kotagiri [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 07, 2003 6:16 PM
To: Struts Users Mailing List
Subject: Struts ProblemUrgent

Hi,
   I have a HashMap in my ActionForm bean.I am able to display the
data.Butwhen I submit this form
   I am unable to carry the data.can anyone help me regarding this.



logic:notEmpty name=editAdvancedForm property=ip  
b class=txtMedium id=largebean:message bundle=content
key=title.ipaddresses//b
table width=100% cellspacing=0 cellpadding=2 border=0
logic:iterate id=Element name=editAdvancedForm
property=ip
tr class=textbox style=width:150px;

tdhtml:text name=Element
property=key//td
tdbbean:message bundle=content
key=common.pointsto//b/td
tdhtml:text name=Element
property=value//td

/tr   
/logic:iterate
/table
/logic:notEmpty




Action Form

public class EditAdvancedForm extends ValidatorForm {
//~ Instance fields


private String domain_Id;
private Map ip;

public EditAdvancedForm(){
ip=new HashMap();

}
public void setIps(String key,String value) {
ip.put(key,value);
}
public Object getIps(String key)
{
return ip.get(key);
}
public Map getIp() {
return ip;
}

/**
 * @param map
 */
public void setIp(Map map) {
ip = map;
}

}


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



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



RE: Struts Problem

2003-08-14 Thread Sridhar Kotagiri
Hi Erez,
when Im using html-el tags its throwing an exception

html-el:form action=/myaccount/advanced/edit/continue
logic:notEmpty name=editAdvancedForm property=ip  
b class=txtMedium id=largebean:message bundle=content 
key=title.ipaddresses//b
table width=100% cellspacing=0 cellpadding=2 border=0
logic:iterate id=Element name=editAdvancedForm 
property=ip
tr class=textbox style=width:150px;  
 
tdhtml-el:text  
property=ips(${Element.key}) //td 
tdbbean:message bundle=content 
key=common.pointsto//b/td
tdhtml-el:text  
property=ips(${Element.value}) //td 
/tr   
/logic:iterate
/table
/logic:notEmpty
html-el:form


org/apache/taglibs/standard/lang/support/ExpressionEvaluatorManager' 
javax.servlet.ServletException: 
org/apache/taglibs/standard/lang/support/ExpressionEvaluatorManager at 
org.apache.jasper.runtime.PageContextImpl.handlePageException



Thanks!
Sridhar

-Original Message-
From: Erez Efrati [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 07, 2003 1:26 PM
To: 'Struts Users Mailing List'
Subject: RE: Struts ProblemUrgent


The reason this is not working for you is that Element bean name is
not around there when the request is populated back to your form. It is
there only when the JSP is populated from the action inside the
iteration.

To do what you want to do:

html-el:text property=ips(${Element.key}) /

using the html-el taglib of Struts-EL.

Haven't tested it but I think it should work.

HTH,
Erez



-Original Message-
From: Sridhar Kotagiri [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 07, 2003 6:16 PM
To: Struts Users Mailing List
Subject: Struts ProblemUrgent

Hi,
   I have a HashMap in my ActionForm bean.I am able to display the
data.Butwhen I submit this form
   I am unable to carry the data.can anyone help me regarding this.



logic:notEmpty name=editAdvancedForm property=ip  
b class=txtMedium id=largebean:message bundle=content
key=title.ipaddresses//b
table width=100% cellspacing=0 cellpadding=2 border=0
logic:iterate id=Element name=editAdvancedForm
property=ip
tr class=textbox style=width:150px;

tdhtml:text name=Element
property=key//td
tdbbean:message bundle=content
key=common.pointsto//b/td
tdhtml:text name=Element
property=value//td

/tr   
/logic:iterate
/table
/logic:notEmpty




Action Form

public class EditAdvancedForm extends ValidatorForm {
//~ Instance fields


private String domain_Id;
private Map ip;

public EditAdvancedForm(){
ip=new HashMap();

}
public void setIps(String key,String value) {
ip.put(key,value);
}
public Object getIps(String key)
{
return ip.get(key);
}
public Map getIp() {
return ip;
}

/**
 * @param map
 */
public void setIp(Map map) {
ip = map;
}

}


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



[OT] Re: Struts Problem!!!!Urgent

2003-08-14 Thread Gregory F. March

On Aug 7, 2003, Sridhar Kotagiri [EMAIL PROTECTED]  wrote:

 |   I have a HashMap in my ActionForm bean.I am able to display the data.Butwh
 | en I submit this form
 |   I am unable to carry the data.can anyone help me regarding this.

No offense, but why is your issue more urgent than anyone else's that it
requires Urgent in the subject?

/greg

--
Gregory F. March-=-http://www.gfm.net:81/~march-=-AIM:GfmNet

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



RE: Struts Problem!!!!Urgent

2003-08-14 Thread Erez Efrati
The reason this is not working for you is that Element bean name is
not around there when the request is populated back to your form. It is
there only when the JSP is populated from the action inside the
iteration.

To do what you want to do:

html-el:text property=ips(${Element.key}) /

using the html-el taglib of Struts-EL.

Haven't tested it but I think it should work.

HTH,
Erez



-Original Message-
From: Sridhar Kotagiri [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 07, 2003 6:16 PM
To: Struts Users Mailing List
Subject: Struts ProblemUrgent

Hi,
   I have a HashMap in my ActionForm bean.I am able to display the
data.Butwhen I submit this form
   I am unable to carry the data.can anyone help me regarding this.



logic:notEmpty name=editAdvancedForm property=ip  
b class=txtMedium id=largebean:message bundle=content
key=title.ipaddresses//b
table width=100% cellspacing=0 cellpadding=2 border=0
logic:iterate id=Element name=editAdvancedForm
property=ip
tr class=textbox style=width:150px;

tdhtml:text name=Element
property=key//td
tdbbean:message bundle=content
key=common.pointsto//b/td
tdhtml:text name=Element
property=value//td

/tr   
/logic:iterate
/table
/logic:notEmpty




Action Form

public class EditAdvancedForm extends ValidatorForm {
//~ Instance fields


private String domain_Id;
private Map ip;

public EditAdvancedForm(){
ip=new HashMap();

}
public void setIps(String key,String value) {
ip.put(key,value);
}
public Object getIps(String key)
{
return ip.get(key);
}
public Map getIp() {
return ip;
}

/**
 * @param map
 */
public void setIp(Map map) {
ip = map;
}

}


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




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



Struts Problem!!!!Urgent

2003-08-14 Thread Sridhar Kotagiri
Hi,
   I have a HashMap in my ActionForm bean.I am able to display the data.Butwhen I 
submit this form
   I am unable to carry the data.can anyone help me regarding this.



logic:notEmpty name=editAdvancedForm property=ip  
b class=txtMedium id=largebean:message bundle=content 
key=title.ipaddresses//b
table width=100% cellspacing=0 cellpadding=2 border=0
logic:iterate id=Element name=editAdvancedForm property=ip
tr class=textbox style=width:150px;  
 
tdhtml:text name=Element property=key//td
tdbbean:message bundle=content 
key=common.pointsto//b/td
tdhtml:text name=Element property=value//td  
  
/tr   
/logic:iterate
/table
/logic:notEmpty




Action Form

public class EditAdvancedForm extends ValidatorForm {
//~ Instance fields 

private String domain_Id;
private Map ip;

public EditAdvancedForm(){
ip=new HashMap();

}
public void setIps(String key,String value) {
ip.put(key,value);
}
public Object getIps(String key)
{
return ip.get(key);
}
public Map getIp() {
return ip;
}

/**
 * @param map
 */
public void setIp(Map map) {
ip = map;
}

}


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



Re: struts problem(Unable to populate the form in the jsp to ActionForm bean)

2003-08-12 Thread Paul Thomas
On 08/08/2003 02:11 Sridhar Kotagiri wrote:
Hi,
   I have a Action form which contains an arraylist the array list adds
beans which are called IpAddress(two String properties).I am able to
display in the jsp page but when I submit this form it is unable to
populate to the action form.


		 
		b class=txtMedium id=largebean:message
bundle=content key=title.ipaddresses//b
		table width=100% cellspacing=0 cellpadding=2
border=0
			logic:iterate id=Element name=editAdvancedForm
property=alist
tr class=textbox 
style=width:150px;	 
	tdhtml:text name=Element 
property=domainName
//td
	tdbbean:message 
bundle=content
key=common.pointsto//b/td
	tdhtml:text name=Element 
property=ipValue
//td			 
/tr	 
			/logic:iterate	 
		/table





public class EditAdvancedForm extends ValidatorForm {
//~ Instance fields 

	 
	private String domain_Id;
	private ArrayList alist;
	private IpAddress ip1;

	public EditAdvancedForm(){
		alist=new ArrayList();
		ip1=new IpAddress();
		 
	}
	 
	public void setDomainName(String name)
	{
		ip1.setDomainName(name);
	}
  	public String getDomainName()
  	{
  		return ip1.getDomainName();
  	}
	public void setIpValue(String name)
	{
		ip1.setIpValue(name);
		alist.add(new 
IpAddress(ip1.getDomainName(),ip1.getIpValue()));
	}
	public String getIpValue()
	{
		return ip1.getIpValue();
	}

/**
 * @return
 */
public String getDomain_Id() {
return domain_Id;
}
/**
 * @return
 */
public IpAddress getIp1() {
return ip1;
}
/**
 * @param address
 */
public void setIp1(IpAddress address) {
ip1 = address;
}
/**
 * @return
 */
public ArrayList getAlist() {
return alist;
}
/**
 * @param list
 */
public void setAlist(ArrayList list) {
alist = list;
}
}



public class IpAddress {
private String domainName;
private String ipValue;
private String flag;
private String flag1;
public IpAddress(String str1,String str2)
{
this.setDomainName(str1);
this.setIpValue(str2);
}
public IpAddress(){
}
/**
 * @return
 */
public String getDomainName() {
return domainName;
}
/**
 * @return
 */
public String getIpValue() {
return ipValue;
}
/**
 * @param string
 */
public void setDomainName(String string) {
domainName = string;
}
/**
 * @param string
 */
public void setIpValue(String string) {
ipValue = string;
}
	 

}



Your form bean should have an indexed property (see the Struts docs) of 
type IpAddress. Say you call this ipAddress, then your logic;iterate tag 
shoudol have id=ipAddress and  your html:text tag should have 
name=ipAddress indexed=true.

HTH

--
Paul Thomas
+--+-+
| Thomas Micro Systems Limited | Software Solutions for the Smaller 
Business |
| Computer Consultants | 
http://www.thomas-micro-systems-ltd.co.uk   |
+--+-+

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


Re: struts problem(Unable to populate the form in the jsp to ActionFormbean)

2003-08-11 Thread Adam Hardy
That's because your ipAddress objects don't exist in your formbeans 
arraylist when you submit. In your formbean you are only instantiating 
one ipAddress object.

Sridhar Kotagiri wrote:
Hi,
   I have a Action form which contains an arraylist the array list adds beans which 
are called IpAddress(two String properties).I am able to display in the jsp page but 
when I submit this form it is unable to populate to the action form.



b class=txtMedium id=largebean:message bundle=content 
key=title.ipaddresses//b
table width=100% cellspacing=0 cellpadding=2 border=0
logic:iterate id=Element name=editAdvancedForm 
property=alist
tr class=textbox style=width:150px;  
   
tdhtml:text name=Element property=domainName 
//td
tdbbean:message bundle=content 
key=common.pointsto//b/td
tdhtml:text name=Element property=ipValue 
//td  
/tr 
/logic:iterate  
/table




public class EditAdvancedForm extends ValidatorForm {
//~ Instance fields 
	
	private String domain_Id;
	private ArrayList alist; 
	private IpAddress ip1;

	public EditAdvancedForm(){
		alist=new ArrayList();
		ip1=new IpAddress();
		
	}
	
	public void setDomainName(String name)
	{
		ip1.setDomainName(name);
	}
  	public String getDomainName()
  	{
  		return ip1.getDomainName();
  	}
	public void setIpValue(String name)
	{
		ip1.setIpValue(name);
		alist.add(new IpAddress(ip1.getDomainName(),ip1.getIpValue()));
	}
	public String getIpValue()
	{
		return ip1.getIpValue();
	}
  
  	/**
	 * @return
	 */
	public String getDomain_Id() {
		return domain_Id;
	}
	/**
	 * @return
	 */
	public IpAddress getIp1() {
		return ip1;
	}

/**
 * @param address
 */
public void setIp1(IpAddress address) {
ip1 = address;
}
/**
 * @return
 */
public ArrayList getAlist() {
return alist;
}
/**
 * @param list
 */
public void setAlist(ArrayList list) {
alist = list;
}
}



public class IpAddress {
private String domainName;
private String ipValue;
private String flag;
private String flag1;
public IpAddress(String str1,String str2)
{
this.setDomainName(str1);
this.setIpValue(str2);
}
public IpAddress(){
}
/**
 * @return
 */
public String getDomainName() {
return domainName;
}
/**
 * @return
 */
public String getIpValue() {
return ipValue;
}
/**
 * @param string
 */
public void setDomainName(String string) {
domainName = string;
}
/**
 * @param string
 */
public void setIpValue(String string) {
ipValue = string;
}
	

}



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



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


Re: struts problem(Unable to populate the form in the jsp to ActionFormbean)

2003-08-09 Thread Nicholas L Mohler





Sridhar,

See the thread from 7/28-7/30 titled inxeded properties.  Everything you
need is in that thread.  The basic problem here is that your Form class
properties and your jsp names need to line up properly.  The thread I
mentioned should help you out.

Nick



   

  Paul Thomas  

  [EMAIL PROTECTED]To:   struts-user [EMAIL 
PROTECTED]  
  co.uk   cc: 

   Subject:  Re: struts problem(Unable to 
populate the form in the jsp to ActionForm bean) 
  08/08/2003 06:19 

  AM   

  Please respond to

  Struts Users

  Mailing List

   

   






On 08/08/2003 02:11 Sridhar Kotagiri wrote:
 Hi,
I have a Action form which contains an arraylist the array list adds
 beans which are called IpAddress(two String properties).I am able to
 display in the jsp page but when I submit this form it is unable to
 populate to the action form.




b class=txtMedium id=largebean:message
 bundle=content key=title.ipaddresses//b
table width=100% cellspacing=0 cellpadding
=2
 border=0
logic:iterate id=Element name
=editAdvancedForm
 property=alist
tr class=textbox
 style=width:150px;

tdhtml:text
name=Element
 property=domainName
 //td

tdbbean:message
 bundle=content
 key=common.pointsto//b/td
tdhtml:text
name=Element
 property=ipValue
 //td

/tr
/logic:iterate
/table






 public class EditAdvancedForm extends ValidatorForm {
 //~ Instance fields
 

private String domain_Id;
private ArrayList alist;
private IpAddress ip1;

public EditAdvancedForm(){
alist=new ArrayList();
ip1=new IpAddress();

}

public void setDomainName(String name)
{
ip1.setDomainName(name);
}
public String getDomainName()
{
return ip1.getDomainName();
}
public void setIpValue(String name)
{
ip1.setIpValue(name);
alist.add(new
 IpAddress(ip1.getDomainName(),ip1.getIpValue()));
}
public String getIpValue()
{
return ip1.getIpValue();
}

/**
 * @return
 */
public String getDomain_Id() {
return domain_Id;
}
/**
 * @return
 */
public IpAddress getIp1() {
return ip1;
}

/**
 * @param address
 */
public void setIp1(IpAddress address) {
ip1 = address;
}

/**
 * @return
 */
public ArrayList getAlist() {
return alist;
}

/**
 * @param list
 */
public void setAlist(ArrayList list) {
alist = list;
}

 }



 public class IpAddress {
private String domainName;
private String ipValue;
private String flag;
private String flag1;

public IpAddress(String str1,String str2

RE: Struts Problem!!!!Urgent

2003-08-08 Thread Andrew Hill
http://www.catb.org/~esr/faqs/smart-questions.html






-Original Message-
From: Sridhar Kotagiri [mailto:[EMAIL PROTECTED]
Sent: Friday, 8 August 2003 00:16
To: Struts Users Mailing List
Subject: Struts ProblemUrgent


Hi,
   I have a HashMap in my ActionForm bean.I am able to display the
data.Butwhen I submit this form
   I am unable to carry the data.can anyone help me regarding this.



logic:notEmpty name=editAdvancedForm property=ip
b class=txtMedium id=largebean:message bundle=content
key=title.ipaddresses//b
table width=100% cellspacing=0 cellpadding=2 border=0
logic:iterate id=Element name=editAdvancedForm property=ip
tr class=textbox style=width:150px;
tdhtml:text name=Element property=key//td
tdbbean:message bundle=content 
key=common.pointsto//b/td
tdhtml:text name=Element property=value//td
/tr
/logic:iterate
/table
/logic:notEmpty




Action Form

public class EditAdvancedForm extends ValidatorForm {
//~ Instance
fields 

private String domain_Id;
private Map ip;

public EditAdvancedForm(){
ip=new HashMap();

}
public void setIps(String key,String value) {
ip.put(key,value);
}
public Object getIps(String key)
{
return ip.get(key);
}
public Map getIp() {
return ip;
}

/**
 * @param map
 */
public void setIp(Map map) {
ip = map;
}

}


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


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



struts problem(Unable to populate the form in the jsp to ActionForm bean)

2003-08-07 Thread Sridhar Kotagiri
Hi,
   I have a Action form which contains an arraylist the array list adds beans which 
are called IpAddress(two String properties).I am able to display in the jsp page but 
when I submit this form it is unable to populate to the action form.




b class=txtMedium id=largebean:message bundle=content 
key=title.ipaddresses//b
table width=100% cellspacing=0 cellpadding=2 border=0
logic:iterate id=Element name=editAdvancedForm 
property=alist
tr class=textbox style=width:150px;  
 
tdhtml:text name=Element 
property=domainName //td
tdbbean:message bundle=content 
key=common.pointsto//b/td
tdhtml:text name=Element 
property=ipValue //td
/tr   
/logic:iterate
/table






public class EditAdvancedForm extends ValidatorForm {
//~ Instance fields 

private String domain_Id;
private ArrayList alist; 
private IpAddress ip1;

public EditAdvancedForm(){
alist=new ArrayList();
ip1=new IpAddress();

}

public void setDomainName(String name)
{
ip1.setDomainName(name);
}
public String getDomainName()
{
return ip1.getDomainName();
}
public void setIpValue(String name)
{
ip1.setIpValue(name);
alist.add(new IpAddress(ip1.getDomainName(),ip1.getIpValue()));
}
public String getIpValue()
{
return ip1.getIpValue();
}
  
/**
 * @return
 */
public String getDomain_Id() {
return domain_Id;
}
/**
 * @return
 */
public IpAddress getIp1() {
return ip1;
}

/**
 * @param address
 */
public void setIp1(IpAddress address) {
ip1 = address;
}

/**
 * @return
 */
public ArrayList getAlist() {
return alist;
}

/**
 * @param list
 */
public void setAlist(ArrayList list) {
alist = list;
}

}



public class IpAddress {
private String domainName;
private String ipValue;
private String flag;
private String flag1;

public IpAddress(String str1,String str2)
{
this.setDomainName(str1);
this.setIpValue(str2);
}
public IpAddress(){
}
/**
 * @return
 */
public String getDomainName() {
return domainName;
}

/**
 * @return
 */
public String getIpValue() {
return ipValue;
}

/**
 * @param string
 */
public void setDomainName(String string) {
domainName = string;
}

/**
 * @param string
 */
public void setIpValue(String string) {
ipValue = string;
}



}



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



Struts problem with Tomcat virtual host

2003-03-25 Thread Jamesey
I've configured a virtual host in tomcat server.xml

the welcome page displays fine, but it appears that the action forward is
failing somehow..

i get a 'this page can not be found' error..

i've tried my struts-config.xml to see if it was a problem with leading /
but no difference..

any ideas?




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



My IE, Tomcat, or Struts problem?

2003-01-22 Thread joni santoso
Hi,

I created a folder in my webapps for playing with struts. 
I have put a Context entry in my Tomcat's server.xml 
stating that that folder is reloadable = true.

Now, I sometimes add new entry/edit an entry to the 
application resources file. When I refresh my IE, it 
doesn't show the new entry/new value. However, if I keep 
refreshing it works.

So, what is the problem?

===
Meriahkan Tahun Baru Imlek dengan mengirimkan Kartu Elektronik PlasaCom kepada kerabat dan teman Anda
KSI PlasaCom - Reuni Alumni STTTelkom http://www.plasa.com/belajar/reuni.html 
===

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



Resin 2.1.3 and struts: Problem

2002-07-26 Thread Will Jaynes

FYI. The latest Resin 2.1.3 does not work with Struts. It has a bug that 
prevents the ActionServlet from locating the web.xml and 
struts-config.xml files. So don't bother to upgrade until 2.1.4 comes out.


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




Struts problem

2002-07-18 Thread olivier . fousse

 Hi ,

 I am using Struts framework to fecilitate MVC architecture for my
 application.
 After runing my tomcat server it is not finding
 ApplicationResources.properties file.
 its in tomcat\jakarta-tomcat-3.2.3\webapps\struts-blank\WEB-INF\classes
 dir
 where index.title is defined in ApplicationResources.properties file

 tomcat ver 3.2.3
 struts ver 1.0

 pls see the Error log below.

 Thanks,
 Olivier.

 Error: 500

 Location: /struts-blank/index.jsp

 Internal Servlet Error:

 javax.servlet.ServletException: Missing message for key index.title
 at

org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextI
 mpl.java:459)
 at
 _0002findex_0002ejspindex_jsp_0._jspService
(_0002findex_0002ejspindex_jsp_
 0.java:227)
 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.
 java:130)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
 org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.
 java: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.core.ContextManager.internalService(ContextManager.java:
 812)
 at
 org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
 at
 org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(Htt
 pConnectionHandler.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)

 Root cause:

 javax.servlet.jsp.JspException: Missing message for key index.title
 at
 org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:242)
 at
 _0002findex_0002ejspindex_jsp_0._jspService(_0002findex_0002ejspindex_jsp_
 0.java:90)
 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.
 java:130)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
 org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.
 java: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.core.ContextManager.internalService(ContextManager.java:
 812)
 at
 org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
 at
 org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(Htt
 pConnectionHandler.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)





This message and any attachments (the message) is
intended solely for the addressees and is confidential. 
If you receive this message in error, please delete it and 
immediately notify the sender. Any use not in accord with 
its purpose, any dissemination or disclosure, either whole 
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message. 
BNP PARIBAS (and its subsidiaries) shall (will) not 
therefore be liable for the message if modified. 

-

Ce message et toutes les pieces jointes (ci-apres le 
message) sont etablis a l'intention exclusive de ses 
destinataires et sont confidentiels. Si vous recevez ce 
message par erreur, merci de le detruire et d'en avertir 
immediatement l'expediteur. Toute utilisation de ce 
message non conforme a sa destination, toute diffusion 
ou toute publication, totale ou partielle, est interdite, sauf 
autorisation expresse. L'internet ne permettant pas 
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite 

iPlanet + Struts Problem

2002-06-12 Thread Greg Ritter

I'm having a problem getting a very simple Struts application to work on
iPlanet Web Server 6.0 SP1 + iPlanet Application Server 6.0 SP4. JSPs using
the struts taglibs seem to work properly, but whenever I try to request a
page that matches the *.do url pattern, I get the following in my browser:

GX Error (GX2GX)

socket result code missing!!!

As far as I know, I have deployed the application properly; the iAS
Deployment Tool shows that the action servlet is mapped to the *.do URL
pattern.

It looks like this problem has happened to several people on this list in
the past (see
http://www.mail-archive.com/struts-user@jakarta.apache.org/msg10122.html ,
http://www.mail-archive.com/struts-user@jakarta.apache.org/msg07880.html ,
http://www.mail-archive.com/struts-user@jakarta.apache.org/msg03890.html );
however, no concrete answer for why the problem was occurring was posted.

If anyone can tell me what they did to solve this problem, I'd greatly
appreciate it. Unfortunately, I don't have the option of using this app with
any of the other app servers that I've successfully used Struts with in the
past. I'd be happy to update the Struts iPlanet installation page with any
information I get.

Thanks,

-Greg-

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




Re: iPlanet + Struts Problem

2002-06-12 Thread Greg Ritter

Well, I managed to find two other resources, a combination of which solved
my problem:

http://www.icsynergy.com/downloads/struts/strutsHowTo.html
http://softwareforum.sun.com/servlet/ProcessRequest?RHIVEID=181RPAGEID=135;
HOID=50B50008002E03UCATEGORY_0=_29_%24_6_24_UCATEGORY_S=0USEA
RCHCONTEXT_TIER_0=0USEARCHCONTEXT_TIER_S=0USEARCHCONTEXT_QUESTION_0=struts
USEARCHCONTEXT_QUESTION_S=0

(Sorry for the insanely long URL; you can blame Sun's forums for that. :-)

Unfortunately, I made the changes described in Matt Raible's howto at the
same time that I removed the GUID described in his posting, so I'm not sure
which change (or both) solved the problem.

-Greg-

 I'm having a problem getting a very simple Struts application to work on
 iPlanet Web Server 6.0 SP1 + iPlanet Application Server 6.0 SP4. JSPs
using
 the struts taglibs seem to work properly, but whenever I try to request a
 page that matches the *.do url pattern, I get the following in my browser:

 GX Error (GX2GX)

 socket result code missing!!!

 As far as I know, I have deployed the application properly; the iAS
 Deployment Tool shows that the action servlet is mapped to the *.do URL
 pattern.

 It looks like this problem has happened to several people on this list in
 the past (see
 http://www.mail-archive.com/struts-user@jakarta.apache.org/msg10122.html ,
 http://www.mail-archive.com/struts-user@jakarta.apache.org/msg07880.html ,

http://www.mail-archive.com/struts-user@jakarta.apache.org/msg03890.html );
 however, no concrete answer for why the problem was occurring was posted.

 If anyone can tell me what they did to solve this problem, I'd greatly
 appreciate it. Unfortunately, I don't have the option of using this app
with
 any of the other app servers that I've successfully used Struts with in
the
 past. I'd be happy to update the Struts iPlanet installation page with any
 information I get.

 Thanks,

 -Greg-

 --
 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: RES: JRun and struts problem worked out?

2002-04-04 Thread Rick Reumann

Thanks for trying to help. I'm still stumped.  I don't point to the
struts.jar anywhere within JRun, not on my system classpath, only
place is in the actually applications WEB-INF/lib directory. I've
stuck so much stuff in there now trying to get it to work with no
luck. I'd appreciate any other suggestions to try. Here's what's
currently in my app/WEB-INF/lib directory (I'm sure some of these I
don't need. I was just trying to take some out of Tomcat's default lib
directory seeing if that would help):

activation.jar
commons-beanutils.jar  
commons-validator.jar  
commons-collections.jar
commons-digester.jar   
commons-logging.jar
connector_util.jar 
core_util.jar  
crimson.jar
etomcat.jar
facade22.jar   
jakarta-regexp-1.2.jar 
jasper.jar 
jasper-runtime.jar 
mail.jar   
servlet.jar
struts.jar 
struts-validator.jar   
tomcat_core.jar
tomcat_util.jar
tomcat_modules.jar 
xalan.jar  



On Thursday, April 4, 2002, 7:47:19 AM, Gilson wrote:

GNDELook on struts.jar path, this file must to be on your
GNDE WEBAPP\WEB-INF\LIB directory not in WEBCONTAINER\WEB-INF\LIB
GNDE public directory. It error commonly occur when your WEBServer
GNDE container find struts.jar in another directory from your
GNDE CLASSPATH (the first occurrence of struts.jar found is used by
GNDE WEBServer container for your WEBApplication). If the struts.jar
GNDE found doesn't in your WEBAPP\WEB-INF\LIB directory therefore the
GNDE STRUTS lost the class references. I did have this same problem
GNDE and I resolved  it erasing falses struts.jar references from
GNDE CLASSPATH that wasn't TRULY my WEBAPP\WEB-INF\LIB.  Try it, find
GNDE all struts.jar and remove struts.jar false references... You
GNDE don't need keep struts.jar in your CLASSPATH only put it in your
GNDE Webapp\WEB-INF\LIB. If struts.jar doesn't is correctly
GNDE installed in WEBAPP\WEB-INF\LIB directory STRUTS will not find
GNDE your MESSAGE RESOURCE and STRUTS-CONFIG.XML files.
   
GNDELet me know if it worked out, ok !?

GNDEGood Luck.

 - Mensagem original -
 De:   Rick Reumann [SMTP:[EMAIL PROTECTED]]
 Enviada em:   quarta-feira, 3 de abril de 2002 21:00
 Para: [EMAIL PROTECTED]
 Assunto:  JRun and struts problem worked out?
 
 gilson,
 
 Hi, did you ever get that JRun/Struts problem worked out? I'm getting
 the same error with JRun (and not using Tomcat)
 Cannot find ActionMappings or ActionFormBeans collection
 
 Please let me know what you did to resolve this problem. Thanks so
 much.
 
 -- 
 
 Rick
 mailto:[EMAIL PROTECTED]
 
 I bet a fun thing would be to go way back in time to where there was
 going to be an eclipse and tell the cave men, 'If I have come to
 destroy you, may the sun be blotted out from the sky.' Just then the
 eclipse would start, and they'd probably try to kill you or something,
 but then you could explain about the rotation of the moon and all, and
 everyone would get a good laugh. 
   -Jack Handey


-- 

Rick
mailto:[EMAIL PROTECTED]

I'd like to be buried Indian-style, where they put you up on a high
rack, above the ground. That way, you could get hit by meteorites and
not even feel it. 
  -Jack Handey


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




RE: RES: JRun and struts problem worked out?

2002-04-04 Thread Thinh Doan

you should only need struts.jar in app/WEB-INF/lib.

Thinh

-Original Message-
From: Rick Reumann [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 04, 2002 8:30 AM
To: Gilson Nascimento D Elrei
Cc: Struts Users Mailing List
Subject: Re: RES: JRun and struts problem worked out?


Thanks for trying to help. I'm still stumped.  I don't point to the
struts.jar anywhere within JRun, not on my system classpath, only
place is in the actually applications WEB-INF/lib directory. I've
stuck so much stuff in there now trying to get it to work with no
luck. I'd appreciate any other suggestions to try. Here's what's
currently in my app/WEB-INF/lib directory (I'm sure some of these I
don't need. I was just trying to take some out of Tomcat's default lib
directory seeing if that would help):

activation.jar
commons-beanutils.jar
commons-validator.jar
commons-collections.jar
commons-digester.jar
commons-logging.jar
connector_util.jar
core_util.jar
crimson.jar
etomcat.jar
facade22.jar
jakarta-regexp-1.2.jar
jasper.jar
jasper-runtime.jar
mail.jar
servlet.jar
struts.jar
struts-validator.jar
tomcat_core.jar
tomcat_util.jar
tomcat_modules.jar
xalan.jar



On Thursday, April 4, 2002, 7:47:19 AM, Gilson wrote:

GNDELook on struts.jar path, this file must to be on your
GNDE WEBAPP\WEB-INF\LIB directory not in WEBCONTAINER\WEB-INF\LIB
GNDE public directory. It error commonly occur when your WEBServer
GNDE container find struts.jar in another directory from your
GNDE CLASSPATH (the first occurrence of struts.jar found is used by
GNDE WEBServer container for your WEBApplication). If the struts.jar
GNDE found doesn't in your WEBAPP\WEB-INF\LIB directory therefore the
GNDE STRUTS lost the class references. I did have this same problem
GNDE and I resolved  it erasing falses struts.jar references from
GNDE CLASSPATH that wasn't TRULY my WEBAPP\WEB-INF\LIB.  Try it, find
GNDE all struts.jar and remove struts.jar false references... You
GNDE don't need keep struts.jar in your CLASSPATH only put it in your
GNDE Webapp\WEB-INF\LIB. If struts.jar doesn't is correctly
GNDE installed in WEBAPP\WEB-INF\LIB directory STRUTS will not find
GNDE your MESSAGE RESOURCE and STRUTS-CONFIG.XML files.

GNDELet me know if it worked out, ok !?

GNDEGood Luck.

 - Mensagem original -
 De:   Rick Reumann [SMTP:[EMAIL PROTECTED]]
 Enviada em:   quarta-feira, 3 de abril de 2002 21:00
 Para: [EMAIL PROTECTED]
 Assunto:  JRun and struts problem worked out?

 gilson,

 Hi, did you ever get that JRun/Struts problem worked out? I'm getting
 the same error with JRun (and not using Tomcat)
 Cannot find ActionMappings or ActionFormBeans collection

 Please let me know what you did to resolve this problem. Thanks so
 much.

 --

 Rick
 mailto:[EMAIL PROTECTED]

 I bet a fun thing would be to go way back in time to where there was
 going to be an eclipse and tell the cave men, 'If I have come to
 destroy you, may the sun be blotted out from the sky.' Just then the
 eclipse would start, and they'd probably try to kill you or something,
 but then you could explain about the rotation of the moon and all, and
 everyone would get a good laugh.
   -Jack Handey


--

Rick
mailto:[EMAIL PROTECTED]

I'd like to be buried Indian-style, where they put you up on a high
rack, above the ground. That way, you could get hit by meteorites and
not even feel it.
  -Jack Handey


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



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




RE: Struts problem whith Xalan (xml-apis.jar)

2002-03-21 Thread Javier Campoamor

After one day testing (but only few minutes thinking), we have found the
problem. The problem was that ServletExec 4.1 includes Crimson  Jaxp, and
the xml-apis.jar file included with Xalan overrides some classes defined
there. We deleted those clases in the xml-apis.jar, and now the
struts-config.xml is parsed and everything works fine.

I send you the new jar file without the classes that conficts with Crimson 
Jaxp.

Regards

Javier




 -Mensaje original-
 De: Javier Campoamor [mailto:[EMAIL PROTECTED]]
 Enviado el: miércoles 20 de marzo de 2002 19:45
 Para: Struts Users Mailing List
 Asunto: Struts problem whith Xalan (xml-apis.jar)


 Hi,

 I'm having problems while trying to use Xalan with Struts. I have
 found that
 the problem is that when I include the xml-apis.jar file into the
 WEB-INF/lib directory I got an exception when I then re-start the
 application. It doesn't matter if I use Crimson or Xerces; I
 always have the
 same exception.

 I suppose that somebody in the list has used Struts with Xalan,
 did you have
 same problem? Any suggestion?

 Best regards and thanks in advance

 Javier



 I'm using ServletExec 4.1 on Win2000. The versions that I'm using are:
 Xalan 2.3.1
 Xerces 2.0.0
 Struts 1.0


 Here is the exception that I got when Struts starts:
 java.lang.ClassCastException: org.apache.crimson.jaxp.SAXParserFactoryImpl
   at javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source)
   at org.apache.struts.digester.Digester.getParser(Digester.java:275)
   at org.apache.struts.digester.Digester.parse(Digester.java:755)
   at
 org.apache.struts.action.ActionServlet.initMapping(ActionServlet.j
 ava:1331)
   at
 org.apache.struts.action.ActionServlet.init(ActionServlet.java:465)
 

 java.lang.NullPointerException
   at org.apache.struts.digester.Digester.parse(Digester.java:755)
   at
 org.apache.struts.action.ActionServlet.initMapping(ActionServlet.j
 ava:1331)
   at
 org.apache.struts.action.ActionServlet.init(ActionServlet.java:465)
 ..



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



xml-apis.jar
Description: Binary data

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


Struts problem whith Xalan (xml-apis.jar)

2002-03-20 Thread Javier Campoamor

Hi,

I'm having problems while trying to use Xalan with Struts. I have found that
the problem is that when I include the xml-apis.jar file into the
WEB-INF/lib directory I got an exception when I then re-start the
application. It doesn't matter if I use Crimson or Xerces; I always have the
same exception.

I suppose that somebody in the list has used Struts with Xalan, did you have
same problem? Any suggestion?

Best regards and thanks in advance

Javier



I'm using ServletExec 4.1 on Win2000. The versions that I'm using are:
Xalan 2.3.1
Xerces 2.0.0
Struts 1.0


Here is the exception that I got when Struts starts:
java.lang.ClassCastException: org.apache.crimson.jaxp.SAXParserFactoryImpl
at javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source)
at org.apache.struts.digester.Digester.getParser(Digester.java:275)
at org.apache.struts.digester.Digester.parse(Digester.java:755)
at
org.apache.struts.action.ActionServlet.initMapping(ActionServlet.java:1331)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:465)


java.lang.NullPointerException
at org.apache.struts.digester.Digester.parse(Digester.java:755)
at
org.apache.struts.action.ActionServlet.initMapping(ActionServlet.java:1331)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:465)
..



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




i18n and struts problem

2002-03-11 Thread Haider Kazmi

I will really appreciate if someone would give me a nudge in the correct direction.
I have japanese multibyte characters in Strings that I put in my jsps with 
%=japanString%
This data is corrupted when I view it in a japanese (SJIS) browser.

I can fix this if instead of using japaneString I do this

%=new String(japanString.getBytes(SJIS), ISO8859_1)%

but I don't want to do this everywhere, is there a struts tag that will do the 
conversion for me based on the charset I have specified with 
 
response.setContentType() 

Please help!

regards
Haider Kazmi



RE: i18n and struts problem

2002-03-11 Thread Maris Orbidans


Have you written your encoding in page tag like this ?

%@ page language=java contentType=text/html; charset=windows-1257
%

Have you read

http://tagunov.newmail.ru/i18n/i18n.html



Maris




-Original Message-
From: Haider Kazmi [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 11, 2002 2:47 PM
To: [EMAIL PROTECTED]
Subject: i18n and struts problem


I will really appreciate if someone would give me a nudge in the correct
direction.
I have japanese multibyte characters in Strings that I put in my jsps
with %=japanString%
This data is corrupted when I view it in a japanese (SJIS) browser.

I can fix this if instead of using japaneString I do this

%=new String(japanString.getBytes(SJIS), ISO8859_1)%

but I don't want to do this everywhere, is there a struts tag that will
do the conversion for me based on the charset I have specified with 
 
response.setContentType() 

Please help!

regards
Haider Kazmi


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




WAS 3.5.3 and Struts problem (Jasper)

2002-01-03 Thread Alexei Chirokikh

Hi,
I am trying to run Struts application on WAS3.5.3 and facing following
problem. stdout.txt does not show any errors during the startup; all
action mapping are OK. However, when I am trying to load JSP page with form
on it, it gives this error. Did anybody face with this problem before?

--Alexei

__

Error 500
An error has occured while processing
request:http://192.168.132.39/profile/jsp/ProfileAdminHome.jsp
Message: Server caught unhandled exception from servlet [JSP 1.1 Processor]:
(class: org/apache/jasper/compiler/JspUtil, method: parseXMLDoc signature:
(Ljava/io/InputStream;Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/Docu
ment;) Incompatible object argument for function call

Target Servlet: JSP 1.1 Processor
StackTrace:

Root Error-1: (class: org/apache/jasper/compiler/JspUtil, method:
parseXMLDoc signature:
(Ljava/io/InputStream;Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/Docu
ment;) Incompatible object argument for function call

java.lang.VerifyError: (class: org/apache/jasper/compiler/JspUtil, method:
parseXMLDoc signature:
(Ljava/io/InputStream;Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/Docu
ment;) Incompatible object argument for function call
 at org.apache.jasper.compiler.Parser$Directive.accept(Compiled Code)
 at org.apache.jasper.compiler.Parser.parse(Compiled Code)
 at org.apache.jasper.compiler.Parser.parse(Parser.java:1036)
 at org.apache.jasper.compiler.Parser.parse(Parser.java:1032)
 at org.apache.jasper.compiler.Compiler.compile(Compiler.java:245)
 at org.apache.jasper.runtime.JspServlet.loadJSP(JspServlet.java:943)
 at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
rvlet.java:321)
 at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.ja
va:357)
 at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:718)
 at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:872)
 at javax.servlet.http.HttpServlet.service(Compiled Code)
 at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(Compiled
Code)
 at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(Compiled
Code)
 at com.ibm.servlet.engine.webapp.IdleServletState.service(Compiled Code)
 at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(Compiled
Code)
 at com.ibm.servlet.engine.webapp.ServletInstance.service(Compiled Code)
 at
com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(Compiled
Code)
 at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(Compiled
Code)
 at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(C
ompiled Code)
 at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(Compiled
Code)
 at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestD
ispatcher.java:138)
 at
com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.
java:77)
 at
com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedIn
vocation.java:67)
 at
com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequ
estProcessor.java:155)
 at
com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener
.java:300)
 at
com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(SQ
EventListenerImp.java:230)
 at
com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(SQEventL
istenerImp.java:104)
 at
com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(Com
piled Code)
 at
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRu
nnable.notifyService(Compiled Code)
 at
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRu
nnable.run(Compiled Code)
 at
com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run
(Compiled Code)
 at java.lang.Thread.run(Thread.java:479)


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




RE: Re[2]: SAX / Struts problem SAXNotRecognizedException

2001-12-14 Thread Rob Parker

I have run into that problem before with corrupted class files - you might
want to download a new xerces.jar to replace your current file. Hope that
helps,

Rob


-Original Message-
From: jpablo [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 04, 2001 8:57 AM
To: Struts Users Mailing List
Subject: Re[2]: SAX / Struts problem SAXNotRecognizedException



Thanks! I did it, but now I have this exception:

[01.12.04 12:58:40:817 GMT-02:00] fecb3fc4 WebGroup  X Root Cause
 java.lang.ClassFormatError:
org/apache/xerces/framework/XMLErrorReporter (Bad magic number)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:469)
at java.lang.ClassLoader.defineClass(ClassLoader.java:419)
at
com.ibm.servlet.classloader.DynamicClassLoader.loadNonSystemClass(DynamicCla
ssLoa

An dont understand why... Any clue?


EA Try putting JAXP 1.0.1 JARs before xerces.jar in your application
classpath.
EA This is the most popular of the known workarounds. Another workaround is
to
EA use an older version of Xerces which comes with the Xalan distribution.
EA Reportedly, this problem does not occur in WebSphere 4.0

EA 
EAAlex Esterkin
EA =



EA -Original Message-
EA From: jpablo [mailto:[EMAIL PROTECTED]]
EA Sent: Monday, December 03, 2001 14:40
EA To: Struts Users Mailing List
EA Subject: Re: SAX / Struts problem SAXNotRecognizedException



EA I still triyng to make it work, But I still getting the same
EA exception, Under what condicion this exception is thrown? Any help
EA will be really appreciated. Thanks in advance.


j When WebSphere tries to start the Action servlet it throws the
j following exception:

j [01.12.03 16:04:20:128 GMT-02:00] fec2bfc4 WebGroup  X Root Cause
j  org.xml.sax.SAXNotRecognizedException:
EA http://xml.org/sax/features/raw-names
j at
EA org.apache.xerces.framework.XMLParser.setFeature(XMLParser.java:1380)

j at
EA org.apache.xerces.parsers.SAXParser.setFeature(SAXParser.java:578)


j What can be the problem?? I'm using the last version of xerces...
j What jars I need in my classpath???



EA --
EA Juan Pablo Villaverde
EA Tec. en Infraestructura de Redes
EA Soluciones Punto Com S.A.
EA http://www.spcom.com.ar



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

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




--
Juan Pablo Villaverde
Tec. en Infraestructura de Redes
Soluciones Punto Com S.A.
http://www.spcom.com.ar



--
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: SAX / Struts problem SAXNotRecognizedException

2001-12-04 Thread Esterkin, Alex

Try putting JAXP 1.0.1 JARs before xerces.jar in your application classpath.
This is the most popular of the known workarounds. Another workaround is to
use an older version of Xerces which comes with the Xalan distribution.
Reportedly, this problem does not occur in WebSphere 4.0


   Alex Esterkin 
=



-Original Message-
From: jpablo [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 03, 2001 14:40
To: Struts Users Mailing List
Subject: Re: SAX / Struts problem SAXNotRecognizedException



I still triyng to make it work, But I still getting the same
exception, Under what condicion this exception is thrown? Any help
will be really appreciated. Thanks in advance.


j When WebSphere tries to start the Action servlet it throws the
j following exception:

j [01.12.03 16:04:20:128 GMT-02:00] fec2bfc4 WebGroup  X Root Cause
j  org.xml.sax.SAXNotRecognizedException:
http://xml.org/sax/features/raw-names   
j at
org.apache.xerces.framework.XMLParser.setFeature(XMLParser.java:1380)

j at
org.apache.xerces.parsers.SAXParser.setFeature(SAXParser.java:578)


j What can be the problem?? I'm using the last version of xerces...
j What jars I need in my classpath???



--
Juan Pablo Villaverde
Tec. en Infraestructura de Redes
Soluciones Punto Com S.A. 
http://www.spcom.com.ar



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




SAX / Struts problem SAXNotRecognizedException

2001-12-03 Thread jpablo


When WebSphere tries to start the Action servlet it throws the
following exception:


[01.12.03 16:04:20:128 GMT-02:00] fec2bfc4 WebGroup  X Root Cause
 org.xml.sax.SAXNotRecognizedException: 
http://xml.org/sax/features/raw-names   
at org.apache.xerces.framework.XMLParser.setFeature(XMLParser.java:1380)   
 
at org.apache.xerces.parsers.SAXParser.setFeature(SAXParser.java:578)  
 

What can be the problem?? I'm using the last version of xerces...
What jars I need in my classpath???


--
Juan Pablo Villaverde
Tec. en Infraestructura de Redes
Soluciones Punto Com S.A. 
http://www.spcom.com.ar



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




Re: SAX / Struts problem SAXNotRecognizedException

2001-12-03 Thread jpablo


I still triyng to make it work, But I still getting the same
exception, Under what condicion this exception is thrown? Any help
will be really appreciated. Thanks in advance.


j When WebSphere tries to start the Action servlet it throws the
j following exception:

j [01.12.03 16:04:20:128 GMT-02:00] fec2bfc4 WebGroup  X Root Cause
j  org.xml.sax.SAXNotRecognizedException: 
http://xml.org/sax/features/raw-names   
j at org.apache.xerces.framework.XMLParser.setFeature(XMLParser.java:1380)

j at org.apache.xerces.parsers.SAXParser.setFeature(SAXParser.java:578)   


j What can be the problem?? I'm using the last version of xerces...
j What jars I need in my classpath???



--
Juan Pablo Villaverde
Tec. en Infraestructura de Redes
Soluciones Punto Com S.A. 
http://www.spcom.com.ar



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




SAX / Struts problem SAXNotRecognizedException II

2001-12-03 Thread jpablo


I replaced the jaxp.jar for other, Now I get the following exception:

 javax.xml.parsers.FactoryConfigurationError: 
org.apache.xerces.jaxp.SAXParserFactoryImpl

What can be wrong? TIA
 

j When WebSphere tries to start the Action servlet it throws the
j following exception:

j [01.12.03 16:04:20:128 GMT-02:00] fec2bfc4 WebGroup  X Root Cause
j  org.xml.sax.SAXNotRecognizedException: 
http://xml.org/sax/features/raw-names   
j at org.apache.xerces.framework.XMLParser.setFeature(XMLParser.java:1380)   
 
j at org.apache.xerces.parsers.SAXParser.setFeature(SAXParser.java:578)  
 

j What can be the problem?? I'm using the last version of xerces...
j What jars I need in my classpath???



j --
j Juan Pablo Villaverde
j Tec. en Infraestructura de Redes
j Soluciones Punto Com S.A. 
j http://www.spcom.com.ar



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




--
Juan Pablo Villaverde
Tec. en Infraestructura de Redes
Soluciones Punto Com S.A. 
http://www.spcom.com.ar



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




Re: VAJ 3.5.3 and framework Struts -- PROBLEM

2001-11-23 Thread Danny Collins

The problem is that VAJ uses the wbapp file and the Struts framework uses
the web.xml file. The funny thing is that they are the same file just in a
slightly different format. I can't tell you why, I just know that's what's
going on.

So instead of altering ActionServlet, just make sure you have both files.
The webapp file needs to be in the top level of your WebApp and the web.xml
needs to be in the /WEB-INF.

The other inportant thing to know about VAJ and struts is that you will need
to make sure the full path to the properties file is in the classpath of the
servlet engine. So before you start that up make sure you edit the
classpath. Or Struts will never be able to find the properties file.

HTH
Danny
- Original Message -
From: nicolas muller [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, November 23, 2001 8:11 AM
Subject: VAS 3.5.3 and framework Struts -- PROBLEM


Hi,
I have a pb with VAS 3.5.3 and Struts...

I try to do all the modifications found in the web site of IBM
but it wasn't work...

I don't understand the use of the file  web.xml 
It seems that we only use the .webapp and not the web.xml
is it right with the norm of VAS ?
web.xml is only for J2EE ?
I did the conversion with cvtwebxml.bat but i had to change in the
function ActionServlet.initServlet() the road to the file web.xml
In fact, it can be launched only if i give the name file.webapp and not
web.xml ? why ?


So I must change in the source code of these functions :

(1) org\apache\struts\taglib\html\FormTag.doEndTag() :

pageContext.getRequest().removeAttribute(Constants.BEAN_KEY);
pageContext.getRequest().removeAttribute(Constants.FORM_KEY);
pageContext.removeAttribute(Constants.BEAN_KEY);
pageContext.removeAttribute(Constants.FORM_KEY);

(2) ActionServlet.initMapping() :
---
InputStream input = new java.io.FileInputStream(getServletContext
().getRealPath(config));


(3) ActionServlet.initServlet()
---

input = new
java.io.FileInputStream(getServletContext().getRealPath(/WEB-INF/web.xml))
;
[ in fact i put file.webapp rather than web.xml]


(4) ResourceTag.doStartTag() :
--

   InputStream stream = null;
stream = new
java.io.FileInputStream(pageContext.getServletContext().getRealPath(name));
} catch (IOException e) {
RequestUtils.saveException(pageContext, e);
throw new JspException
  (messages.getMessage(resource.get, name));



Must I do it ?

This is my error message when I test with the demo file from
IMB(employeelist)
There is a problem with the parser JAXP...

if someone succeed with VAS 3.3.5 and Struts, can he contact me ?

Sorry for my being bad practice of English.

Thanks






Unhandled error! You might want to consider having an error page to report
such errors more gracefully

org.apache.jasper.JasperException: 3,0:Unable to open taglibrary
/WEB-INF/struts-html.tld : Parse Error in the tag library descriptor: null
java.lang.Throwable(java.lang.String)
java.lang.Exception(java.lang.String)
javax.servlet.ServletException(java.lang.String)
org.apache.jasper.JasperException(java.lang.String)
void
com.ibm.ivj.jsp.jasper.compiler.ibmtsx.JspDebugTsxParser.parse(java.lang.Str
ing,
java.lang.Class [])
void org.apache.jasper.compiler.Parser.parse(java.lang.String)
void org.apache.jasper.compiler.Parser.parse()
boolean com.ibm.ivj.jsp.jasper.compiler.JspDebugPageCompiler.compile()
boolean
com.ibm.ivj.jsp.jasper.runtime.JspDebugServlet.compile(org.apache.jasper.com
piler.Compiler,
java.lang.Class)
boolean
com.ibm.ivj.jsp.jasper.runtime.JspDebugServlet.loadJSP(java.lang.String,
java.lang.String, boolean, javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse)
void
org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(javax
.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse)
void
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(javax.servlet
.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse, boolean)
void
org.apache.jasper.runtime.JspServlet.serviceJspFile(javax.servlet.http.HttpS
ervletRequest,
javax.servlet.http.HttpServletResponse, java.lang.String,
java.lang.Throwable, boolean)
void
org.apache.jasper.runtime.JspServlet.service(javax.servlet.http.HttpServletR
equest,
javax.servlet.http.HttpServletResponse)
void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest,
javax.servlet.ServletResponse)
void
com.ibm.servlet.engine.webapp.StrictServletInstance.doService(javax.servlet.
ServletRequest,
javax.servlet.ServletResponse)
void
com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(javax.servlet.
ServletRequest,
javax.servlet.ServletResponse)
void
com.ibm.servlet.engine.webapp.IdleServletState.service(com.ibm.servlet.engin
e.webapp.StrictLifecycleServlet

Re: VAS 3.5.3 and framework Struts -- PROBLEM

2001-11-23 Thread Francois-Xavier Bonnet

What you need to do to have Struts work with VAJ 3.5.3 :

1)
Get a parser that corresponds to the JAXP API and works with Struts, but
 does not conflict with the IBM XML4Java parser that the WTE requires.
In order to do that :
- Download JAXP 1.01 at http://java.sun.com/xml/archive.html
- Unzip jaxp-1_0_1.zip
- Create a new project JAXP no w3c project
- Import the entire contents of the jaxp.jar file and all of the classes
 in the parser.jar file except those that start with org into VisualAge
for Java.

2)
In org.apache.struts.taglib.html.FormTag.doEndTag on the Form tag,
change:
pageContext.removeAttribute(Constants.BEAN_KEY,
PageContext.REQUEST_SCOPE);
pageContext.removeAttribute(Constants.FORM_KEY,
PageContext.REQUEST_SCOPE);
to:
pageContext.getRequest().removeAttribute(Constants.BEAN_KEY);
pageContext.getRequest().removeAttribute(Constants.FORM_KEY);
pageContext.removeAttribute(Constants.BEAN_KEY);
pageContext.removeAttribute(Constants.FORM_KEY);

3) Changes you mentioned concerning GetResource() and
GetResourceAsStream() are not necessary if you put your struts-
config.xml, web.xml ApplicationResources.properties and all the other
properties files included in struts.jar into VAJ resources or into some
 folder (in that case, you will have to add the folder to the extra
class path of WTE)

You are right that VAJ uses .webapp files instead of web.xml but Struts
needs to know ActionServlet servlet mapping (usualy *.do) for generating
 actions URLs in JSPs. Struts considers itself to be running in a full
J2EE appserver so it's trying to read it from web.xml file. web.xml is
needed and do not forget if you change ActionServlet mapping in your
webapp to change it as well in your web.xml.

For more information :
http://www7.software.ibm.com/vad.nsf/Data/
Document2557?OpenDocumentSubMast=1
http://www7.software.ibm.com/vad.nsf/Data/
Document2558?OpenDocumentSubMast=1
http://www.mail-archive.com/struts-user@jakarta.apache.org/msg10964.html

http://www.mail-archive.com/struts-user@jakarta.apache.org/msg10571.html


Hope this would help you.

Francois-Xavier Bonnet


Hi,
I have a pb with VAS 3.5.3 and Struts...

I try to do all the modifications found in the web site of IBM
but it wasn't work...

I don't understand the use of the file  web.xml 
It seems that we only use the .webapp and not the web.xml
is it right with the norm of VAS ?
web.xml is only for J2EE ?
I did the conversion with cvtwebxml.bat but i had to change in the
function ActionServlet.initServlet() the road to the file web.xml
In fact, it can be launched only if i give the name file.webapp and not

web.xml ? why ?


So I must change in the source code of these functions :

(1) org\apache\struts\taglib\html\FormTag.doEndTag() :

pageContext.getRequest().removeAttribute(Constants.BEAN_KEY);
pageContext.getRequest().removeAttribute(Constants.FORM_KEY);
pageContext.removeAttribute(Constants.BEAN_KEY);
pageContext.removeAttribute(Constants.FORM_KEY);

(2) ActionServlet.initMapping() :
---
InputStream input = new java.io.FileInputStream(getServletContext 

().getRealPath(config));


(3) ActionServlet.initServlet()
---

input = new
java.io.FileInputStream(getServletContext().getRealPath(/WEB-INF/
web.xml));
[ in fact i put file.webapp rather than web.xml]


(4) ResourceTag.doStartTag() :
--

   InputStream stream = null;
stream = new
java.io.FileInputStream(pageContext.getServletContext().getRealPath(nam
e));
} catch (IOException e) {
RequestUtils.saveException(pageContext, e);
throw new JspException
  (messages.getMessage(resource.get, name));



Must I do it ?

This is my error message when I test with the demo file from
IMB(employeelist)
There is a problem with the parser JAXP...

if someone succeed with VAS 3.3.5 and Struts, can he contact me ?

Sorry for my being bad practice of English.

Thanks






Unhandled error! You might want to consider having an error page to
report
such errors more gracefully

org.apache.jasper.JasperException: 3,0:Unable to open taglibrary
/WEB-INF/struts-html.tld : Parse Error in the tag library descriptor:
null
   java.lang.Throwable(java.lang.String)
   java.lang.Exception(java.lang.String)
   javax.servlet.ServletException(java.lang.String)
   org.apache.jasper.JasperException(java.lang.String)
   void
com.ibm.ivj.jsp.jasper.compiler.ibmtsx.JspDebugTsxParser.parse(java.lan
g.String,
java.lang.Class [])
   void org.apache.jasper.compiler.Parser.parse(java.lang.String)
   void org.apache.jasper.compiler.Parser.parse()
   boolean com.ibm.ivj.jsp.jasper.compiler.JspDebugPageCompiler.compile()

   boolean
com.ibm.ivj.jsp.jasper.runtime.JspDebugServlet.compile(org.apache.jaspe
r.compiler.Compiler,
java.lang.Class)
   boolean
com.ibm.ivj.jsp.jasper.runtime.JspDebugServlet.loadJSP(java.lang.String
,

VAS 3.5.3 and framework Struts -- PROBLEM

2001-11-23 Thread nicolas muller

Hi,
I have a pb with VAS 3.5.3 and Struts...

I try to do all the modifications found in the web site of IBM
but it wasn't work...

I don't understand the use of the file  web.xml 
It seems that we only use the .webapp and not the web.xml
is it right with the norm of VAS ?
web.xml is only for J2EE ?
I did the conversion with cvtwebxml.bat but i had to change in the
function ActionServlet.initServlet() the road to the file web.xml
In fact, it can be launched only if i give the name file.webapp and not 
web.xml ? why ?


So I must change in the source code of these functions :

(1) org\apache\struts\taglib\html\FormTag.doEndTag() :

pageContext.getRequest().removeAttribute(Constants.BEAN_KEY);
pageContext.getRequest().removeAttribute(Constants.FORM_KEY);
pageContext.removeAttribute(Constants.BEAN_KEY);
pageContext.removeAttribute(Constants.FORM_KEY);

(2) ActionServlet.initMapping() :
---
InputStream input = new java.io.FileInputStream(getServletContext  
().getRealPath(config));


(3) ActionServlet.initServlet()
---

input = new 
java.io.FileInputStream(getServletContext().getRealPath(/WEB-INF/web.xml)); 
[ in fact i put file.webapp rather than web.xml]


(4) ResourceTag.doStartTag() :
--

   InputStream stream = null;
stream = new 
java.io.FileInputStream(pageContext.getServletContext().getRealPath(name));
} catch (IOException e) {
RequestUtils.saveException(pageContext, e);
throw new JspException
  (messages.getMessage(resource.get, name));



Must I do it ?

This is my error message when I test with the demo file from 
IMB(employeelist)
There is a problem with the parser JAXP...

if someone succeed with VAS 3.3.5 and Struts, can he contact me ?

Sorry for my being bad practice of English.

Thanks






Unhandled error! You might want to consider having an error page to report 
such errors more gracefully

org.apache.jasper.JasperException: 3,0:Unable to open taglibrary 
/WEB-INF/struts-html.tld : Parse Error in the tag library descriptor: null
java.lang.Throwable(java.lang.String)
java.lang.Exception(java.lang.String)
javax.servlet.ServletException(java.lang.String)
org.apache.jasper.JasperException(java.lang.String)
void 
com.ibm.ivj.jsp.jasper.compiler.ibmtsx.JspDebugTsxParser.parse(java.lang.String, 
java.lang.Class [])
void org.apache.jasper.compiler.Parser.parse(java.lang.String)
void org.apache.jasper.compiler.Parser.parse()
boolean com.ibm.ivj.jsp.jasper.compiler.JspDebugPageCompiler.compile()
boolean 
com.ibm.ivj.jsp.jasper.runtime.JspDebugServlet.compile(org.apache.jasper.compiler.Compiler,
 
java.lang.Class)
boolean 
com.ibm.ivj.jsp.jasper.runtime.JspDebugServlet.loadJSP(java.lang.String, 
java.lang.String, boolean, javax.servlet.http.HttpServletRequest, 
javax.servlet.http.HttpServletResponse)
void 
org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(javax.servlet.http.HttpServletRequest,
 
javax.servlet.http.HttpServletResponse)
void 
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(javax.servlet.http.HttpServletRequest,
 
javax.servlet.http.HttpServletResponse, boolean)
void 
org.apache.jasper.runtime.JspServlet.serviceJspFile(javax.servlet.http.HttpServletRequest,
 
javax.servlet.http.HttpServletResponse, java.lang.String, 
java.lang.Throwable, boolean)
void 
org.apache.jasper.runtime.JspServlet.service(javax.servlet.http.HttpServletRequest, 
javax.servlet.http.HttpServletResponse)
void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, 
javax.servlet.ServletResponse)
void 
com.ibm.servlet.engine.webapp.StrictServletInstance.doService(javax.servlet.ServletRequest,
 
javax.servlet.ServletResponse)
void 
com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(javax.servlet.ServletRequest,
 
javax.servlet.ServletResponse)
void 
com.ibm.servlet.engine.webapp.IdleServletState.service(com.ibm.servlet.engine.webapp.StrictLifecycleServlet,
 
javax.servlet.ServletRequest, javax.servlet.ServletResponse)
void 
com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(javax.servlet.ServletRequest,
 
javax.servlet.ServletResponse)
void 
com.ibm.servlet.engine.webapp.ServletInstance.service(javax.servlet.ServletRequest, 
javax.servlet.ServletResponse, 
com.ibm.servlet.engine.webapp.WebAppServletInvocationEvent)
void 
com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(com.ibm.servlet.engine.webapp.ServletInstanceReference,
 
javax.servlet.ServletRequest, javax.servlet.ServletResponse, 
com.ibm.servlet.engine.webapp.WebAppServletInvocationEvent)
void 
com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(javax.servlet.ServletRequest,
 

tomcat 4.0 and struts problem

2001-10-04 Thread Viet Kevin

Hello all : 

I try to run struts with tomcat 4.0 and get this exception at the startup : 

java.lang.NullPointerException
at org.apache.struts.digester.Digester.parse(Digester.java:755)
at org.apache.struts.action.ActionServlet.initMapping(ActionServlet.java:1331)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:465)
at net.activia.cmanager.web.actions.CMActionServlet.init(Unknown Source)

I find this is weird because all works well with tomcat 3.*

Please help me ..., thx in advance



RE: tomcat 4.0 and struts problem

2001-10-04 Thread Arnaud Héritier

Verify if your error-page tags are defined before any taglib tag.
Tomcat 4 not allows to declare taglib before error-page, even though tomcat 3 accepts 
it.

 -Message d'origine-
 De:   Viet Kevin [SMTP:[EMAIL PROTECTED]]
 Date: jeudi 4 octobre 2001 16:52
 À:[EMAIL PROTECTED]
 Objet:tomcat 4.0 and struts problem
 
 Hello all : 
 
 I try to run struts with tomcat 4.0 and get this exception at the startup : 
 
 java.lang.NullPointerException
   at org.apache.struts.digester.Digester.parse(Digester.java:755)
   at org.apache.struts.action.ActionServlet.initMapping(ActionServlet.java:1331)
   at org.apache.struts.action.ActionServlet.init(ActionServlet.java:465)
   at net.activia.cmanager.web.actions.CMActionServlet.init(Unknown Source)
 
 I find this is weird because all works well with tomcat 3.*
 
 Please help me ..., thx in advance




Re: weblogic 6.0 and STRUTS problem

2001-10-04 Thread Luis Olivares

'copy the struts-upload.war to webLogic6.0sp1.'?
How you deploy the war file?

Are you using the Default Console?

- Original Message -
From: BinhMinh Nguyen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, October 03, 2001 6:55 PM
Subject: weblogic 6.0 and STRUTS problem


 Hi
 I have the below error when I copy the
 struts-upload.war to webLogic6.0sp1. It just cannot
 load the app.

 Can you tell me why?

 Thanks
 Binh

 t: 'action'
 java.lang.NoSuchMethodError
 at
 org.apache.commons.digester.Digester.parse(Digester.java:859)
 at

org.apache.struts.action.ActionServlet.initMapping(ActionServlet.java:1273)
 at
 org.apache.struts.action.ActionServlet.init(ActionServlet.java:460)
 at
 javax.servlet.GenericServlet.init(GenericServlet.java:258)
 at

weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java
:638)
 at

weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.ja
va:581)
 at

weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.jav
a:526)
 at

weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletC
ontext.java:1078)
 at

weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServlet
Context.java:1022)
 at
 weblogic.servlet.internal.HttpServer.loadWARContext(HttpServer.java:499)
 at
 weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:421)
 at
 weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74)
 at
 weblogic.j2ee.Application.addComponent(Application.java:126)
 at
 weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:115)
 at

weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentT
arget.java:283)
 at

weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentT
arget.java:109)
 at

weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServer.java:
76)
 at java.lang.reflect.Method.invoke(Native
 Method)
 at

weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl
.java:562)
 at

weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:5
48)
 at

weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBea
nImpl.java:285)
 at
 com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
 at
 com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
 at
 weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:437)
 at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:178)

 __
 Do You Yahoo!?
 NEW from Yahoo! GeoCities - quick and easy web site hosting, just
$8.95/month.
 http://geocities.yahoo.com/ps/info1




RE: tomcat 4.0 and struts problem

2001-10-04 Thread Brett Porter
Title: RE: tomcat 4.0 and struts problem





Hi,


There was a similar problem discussed last week. My solution at the time was similar, and a bit dodgy :)
I've just read the Tomcat 4 Class Loader HOWTO today and that explains the problems - as you've said its all to do with XML parsers.

I think the suggestion from them is to move crimson and jaxp to $CATALINE_HOME/common/lib from jasper/lib, and not to put anything in your WEB-INF/lib directory. If you need Xerces 1.3+ instead, remove crimson  jaxp from jasper/lib and put Xerces in common/lib (not WEB-INF/lib).

I'm about to see if it fixes my struts mapping problems, and repost if not.


Cheers,
Brett


-Original Message-
From: Domingo Aguilera [mailto:[EMAIL PROTECTED]]
Sent: Friday, 5 October 2001 12:28 AM
To: [EMAIL PROTECTED]
Subject: RE: tomcat 4.0 and struts problem



I had the same problem.


What I did was:


1 - Download Jboss ( www.jboss.org )


2 - In the directory lib of jboss you can find crimson.jar and jaxp.jar
files.


3 - Copy the two files to your $TOMCAT/webapps/yourapp/WEB-INF/lib


4 - Restart tomcat.





weblogic 6.0 and STRUTS problem

2001-10-03 Thread BinhMinh Nguyen

Hi
I have the below error when I copy the
struts-upload.war to webLogic6.0sp1. It just cannot
load the app.

Can you tell me why? 

Thanks
Binh

t: 'action'
java.lang.NoSuchMethodError
at
org.apache.commons.digester.Digester.parse(Digester.java:859)
at
org.apache.struts.action.ActionServlet.initMapping(ActionServlet.java:1273)
at
org.apache.struts.action.ActionServlet.init(ActionServlet.java:460)
at
javax.servlet.GenericServlet.init(GenericServlet.java:258)
at
weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:638)
at
weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:581)
at
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:526)
at
weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1078)
at
weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:1022)
at
weblogic.servlet.internal.HttpServer.loadWARContext(HttpServer.java:499)
at
weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:421)
at
weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74)
at
weblogic.j2ee.Application.addComponent(Application.java:126)
at
weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:115)
at
weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:283)
at
weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:109)
at
weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServer.java:76)
at java.lang.reflect.Method.invoke(Native
Method)
at
weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
at
weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
at
weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:437)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:178)

__
Do You Yahoo!?
NEW from Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1



RE: TILES template with STRUTS problem

2001-08-09 Thread Craig R. McClanahan



On Thu, 9 Aug 2001, Jain, Shipra wrote:

 Can any one please let me know what Tiles is ? Is it related to Templates
 ? Is it another open source project ? Can you please send to URL for getting
 more information.
 

Tiles is the new name for Cedric Dumoulin's Components add-on that is
being integrated into Struts.  It's in the contrib directory of the 1.1
source tree at the moment.

 Also, Is Struts 1.1 beta out ? If yes, where can I can a copy of it.

No beta yet (we're still deeply in add functionality mode), but you can
always grab the latest nightly build:

  http://jakarta.apache.org/builds/jakarta-struts/nightly/

 
 Thanks
 Shipra Jain
 

Craig


 
 -Original Message-
 From: Cedric Dumoulin [mailto:[EMAIL PROTECTED]]
 Sent: Monday, August 06, 2001 4:17 PM
 To: [EMAIL PROTECTED]
 Subject: Re: TILES template with STRUTS problem
 
 
 
   Which xml parser do you use ?
   Tiles, like Struts1.1-dev use commons.Digester package, which requires
 Jaxp1.1 to run.
 
 Cedric
 
 BinhMinh Nguyen wrote:
 
  Hi,
 
  When copied the titles-doc.WAR into Tomcat 's webapps
  and run. The following error-message display.
  Can you spot out the error please.
 
  Binh Nguyen, a big fan of Component and Tiles
 
  er('-//Sun Microsystems, Inc.//DTD Web Application
  2.2//EN', 'jar:file:C:\jakarta-tomcat-3.2.3
 
 ps\tiles-doc\WEB-INF\lib\struts.jar!/org/apache/struts/resources/web-app_2_2
 .dtd'
  er('-//Sun Microsystems, Inc.//DTD Web Application
  2.3//EN', 'jar:file:C:\jakarta-tomcat-3.2.3
 
 ps\tiles-doc\WEB-INF\lib\struts.jar!/org/apache/struts/resources/web-app_2_3
 .dtd'
  er.getParser:
  xml.parsers.ParserConfigurationException: Namespace
  not supported by SAXParser
at
  com.sun.xml.parser.SAXParserImpl.init(SAXParserImpl.java:60)
at
 
 com.sun.xml.parser.SAXParserFactoryImpl.newSAXParser(SAXParserFactoryImpl.ja
 va:57)
at
  org.apache.commons.digester.Digester.getParser(Digester.java:407)
at
  org.apache.commons.digester.Digester.parse(Digester.java:1088)
at
 
 org.apache.struts.action.ActionServlet.initMapping(ActionServlet.java:1272)
at
  org.apache.struts.action.ActionServlet.init(ActionServlet.java:459)
at
 
 org.apache.struts.tiles.ActionComponentServlet.init(ActionComponentServlet.j
 ava:56)
at
  javax.servlet.GenericServlet.init(GenericServlet.java:258)
at
  org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
at
  org.apache.tomcat.core.Handler.init(Handler.java:215)
at
  org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
at
 
 org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnStartup
 Interceptor.j
  0)
at
  org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:491)
at
  org.apache.tomcat.core.ContextManager.init(ContextManager.java:453)
at
  org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
at
  org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
  ion in thread main java.lang.NoSuchMethodError
at
  org.apache.commons.digester.Digester.parse(Digester.java:1088)
at
 
 org.apache.struts.action.ActionServlet.initMapping(ActionServlet.java:1272)
at
  org.apache.struts.action.ActionServlet.init(ActionServlet.java:459)
at
 
 org.apache.struts.tiles.ActionComponentServlet.init(ActionComponentServlet.j
 ava:56)
at
  javax.servlet.GenericServlet.init(GenericServlet.java:258)
at
  org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
at
  org.apache.tomcat.core.Handler.init(Handler.java:215)
at
  org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
at
 
 org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnStartup
 Interceptor.j
  0)
at
  org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:491)
at
  org.apache.tomcat.core.ContextManager.init(ContextManager.java:453)
at
  org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
at
  org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
  arta-tomcat-3.2.3\bin
 
  __
  Do You Yahoo!?
  Make international calls for as low as $.04/minute with Yahoo! Messenger
  http://phonecard.yahoo.com/
 
 
 




Re: TILES template with STRUTS problem

2001-08-06 Thread Cedric Dumoulin


  Which xml parser do you use ?
  Tiles, like Struts1.1-dev use commons.Digester package, which requires Jaxp1.1 to 
run.

Cedric

BinhMinh Nguyen wrote:

 Hi,

 When copied the titles-doc.WAR into Tomcat 's webapps
 and run. The following error-message display.
 Can you spot out the error please.

 Binh Nguyen, a big fan of Component and Tiles

 er('-//Sun Microsystems, Inc.//DTD Web Application
 2.2//EN', 'jar:file:C:\jakarta-tomcat-3.2.3
 ps\tiles-doc\WEB-INF\lib\struts.jar!/org/apache/struts/resources/web-app_2_2.dtd'
 er('-//Sun Microsystems, Inc.//DTD Web Application
 2.3//EN', 'jar:file:C:\jakarta-tomcat-3.2.3
 ps\tiles-doc\WEB-INF\lib\struts.jar!/org/apache/struts/resources/web-app_2_3.dtd'
 er.getParser:
 xml.parsers.ParserConfigurationException: Namespace
 not supported by SAXParser
   at
 com.sun.xml.parser.SAXParserImpl.init(SAXParserImpl.java:60)
   at
 com.sun.xml.parser.SAXParserFactoryImpl.newSAXParser(SAXParserFactoryImpl.java:57)
   at
 org.apache.commons.digester.Digester.getParser(Digester.java:407)
   at
 org.apache.commons.digester.Digester.parse(Digester.java:1088)
   at
 org.apache.struts.action.ActionServlet.initMapping(ActionServlet.java:1272)
   at
 org.apache.struts.action.ActionServlet.init(ActionServlet.java:459)
   at
 org.apache.struts.tiles.ActionComponentServlet.init(ActionComponentServlet.java:56)
   at
 javax.servlet.GenericServlet.init(GenericServlet.java:258)
   at
 org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
   at
 org.apache.tomcat.core.Handler.init(Handler.java:215)
   at
 org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
   at
 
org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnStartupInterceptor.j
 0)
   at
 org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:491)
   at
 org.apache.tomcat.core.ContextManager.init(ContextManager.java:453)
   at
 org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
   at
 org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
 ion in thread main java.lang.NoSuchMethodError
   at
 org.apache.commons.digester.Digester.parse(Digester.java:1088)
   at
 org.apache.struts.action.ActionServlet.initMapping(ActionServlet.java:1272)
   at
 org.apache.struts.action.ActionServlet.init(ActionServlet.java:459)
   at
 org.apache.struts.tiles.ActionComponentServlet.init(ActionComponentServlet.java:56)
   at
 javax.servlet.GenericServlet.init(GenericServlet.java:258)
   at
 org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
   at
 org.apache.tomcat.core.Handler.init(Handler.java:215)
   at
 org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
   at
 
org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnStartupInterceptor.j
 0)
   at
 org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:491)
   at
 org.apache.tomcat.core.ContextManager.init(ContextManager.java:453)
   at
 org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
   at
 org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
 arta-tomcat-3.2.3\bin

 __
 Do You Yahoo!?
 Make international calls for as low as $.04/minute with Yahoo! Messenger
 http://phonecard.yahoo.com/






Tomcat+Apache+Struts Problem

2001-04-20 Thread Jim Bruno Goldberg

I people.

 I am still with my struts problem. I try to copy the struts-test 
on webapps tomcat's  dir  but it does not work.

My set variables:

TOMCAT_HOME=/usr/local/tomcat
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/usr/local/jdk1.1.8/bin:/root/bin
JAVA_HOME=/usr/local/jdk1.1.8


If I just put the *.war on webapps dir:

darkness# ./startup.sh
Using classpath: 
/usr/local/tomcat/classes:.:/usr/local/tomcat/lib/ant.jar:/usr/local/tomcat/lib/jasper.jar:/usr/local/tomcat/lib/mysql_comp.jar:/usr/local/tomcat/lib/mysql_uncomp.jar:/usr/local/tomcat/lib/servlet.jar:/usr/local/tomcat/lib/webserver.jar:/usr/local/tomcat/lib/xml.jar:/usr/local/jdk1.1.8/lib
darkness# Starting tomcat. Check logs/tomcat.log for error messages
java.lang.NoClassDefFoundError
darkness#

... and tomcat shutdown.
If I move the struts.jar into the classes dir:

darkness# cd ../webapps/struts-test/WEB-INF/lib/
darkness# mv struts.jar ../classes/
darkness# cd /usr/local/tomcat/bin/
darkness# ./startup.sh
Using classpath: 
/usr/local/tomcat/classes:.:/usr/local/tomcat/lib/ant.jar:/usr/local/tomcat/lib/jasper.jar:/usr/local/tomcat/lib/mysql_comp.jar:/usr/local/tomcat/lib/mysql_uncomp.jar:/usr/local/tomcat/lib/servlet.jar:/usr/local/tomcat/lib/webserver.jar:/usr/local/tomcat/lib/xml.jar:/usr/local/jdk1.1.8/lib
darkness# Starting tomcat. Check logs/tomcat.log for error messages
cannot load servlet name: action
darkness#

...and tomcat still running. I can access the http://hostname/struts-test:

STRUTS Test Pages
BEAN Tags
  bean:cookie
  bean:define
  bean:header
  bean:include
  bean:parameter
  bean:resource
  bean:size
  bean:write
HTML Tags
  html:multibox
  html:select
  Scalar Setters
LOGIC Tags
  Comparison Tags
  Iterate Tag
  Match Tags
  Presence Tags


...but when I try to follow some link, I got:

Error: 500
Location: /struts-test/html-select.jsp
Internal Servlet Error:
org.apache.jasper.JasperException: Unable to load class 
org.apache.struts.taglib.html.HtmlTag
at 
org.apache.jasper.compiler.TagBeginGenerator.init(TagBeginGenerator.java:121)
at 
org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.init(JspParseEventListener.java:718)
at 
org.apache.jasper.compiler.JspParseEventListener.addGenerator(JspParseEventListener.java:132)
at 
org.apache.jasper.compiler.JspParseEventListener.handleTagBegin(JspParseEventListener.java:869)
at 
org.apache.jasper.compiler.DelegatingListener.handleTagBegin(DelegatingListener.java:194)
at org.apache.jasper.compiler.Parser$Tag.accept(Parser.java:822)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1073)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1038)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1034)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:182)
at org.apache.jasper.runtime.JspServlet.loadJSP(JspServlet.java:413)
at 
org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:149)
at 
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:161)
at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
at 
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Ajp12ConnectionHandler.java:156)
at 
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
at java.lang.Thread.run(Thread.java)



Please, I need some help.




CUL8R,[]s
Jim Bruno Goldberg [EMAIL PROTECTED] 




Re: Tomcat+Apache+Struts Problem

2001-04-20 Thread Jean-Noel Ribette

The problem is in your Java version. Struts needs Java 1.2 or later to run.

Jean-Noel

- Original Message -
From: Jim Bruno Goldberg [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, April 20, 2001 6:16 PM
Subject: Tomcat+Apache+Struts Problem


I people.

 I am still with my struts problem. I try to copy the struts-test
on webapps tomcat's  dir  but it does not work.

My set variables:

TOMCAT_HOME=/usr/local/tomcat
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/usr/local/jdk1.1.8/bin:/roo
t/bin
JAVA_HOME=/usr/local/jdk1.1.8


If I just put the *.war on webapps dir:

darkness# ./startup.sh
Using classpath:
/usr/local/tomcat/classes:.:/usr/local/tomcat/lib/ant.jar:/usr/local/tomcat/lib/jasper.jar:/usr/local/tomcat/lib/mysql_c
omp.jar:/usr/local/tomcat/lib/mysql_uncomp.jar:/usr/local/tomcat/lib/servlet.jar:/usr/local/tomcat/lib/webserver.jar:/us
r/local/tomcat/lib/xml.jar:/usr/local/jdk1.1.8/lib
darkness# Starting tomcat. Check logs/tomcat.log for error messages
java.lang.NoClassDefFoundError
darkness#

... and tomcat shutdown.
If I move the struts.jar into the classes dir:

darkness# cd ../webapps/struts-test/WEB-INF/lib/
darkness# mv struts.jar ../classes/
darkness# cd /usr/local/tomcat/bin/
darkness# ./startup.sh
Using classpath:
/usr/local/tomcat/classes:.:/usr/local/tomcat/lib/ant.jar:/usr/local/tomcat/lib/jasper.jar:/usr/local/tomcat/lib/mysql_c
omp.jar:/usr/local/tomcat/lib/mysql_uncomp.jar:/usr/local/tomcat/lib/servlet.jar:/usr/local/tomcat/lib/webserver.jar:/us
r/local/tomcat/lib/xml.jar:/usr/local/jdk1.1.8/lib
darkness# Starting tomcat. Check logs/tomcat.log for error messages
cannot load servlet name: action
darkness#

...and tomcat still running. I can access the http://hostname/struts-test:

STRUTS Test Pages
BEAN Tags
  bean:cookie
  bean:define
  bean:header
  bean:include
  bean:parameter
  bean:resource
  bean:size
  bean:write
HTML Tags
  html:multibox
  html:select
  Scalar Setters
LOGIC Tags
  Comparison Tags
  Iterate Tag
  Match Tags
  Presence Tags


...but when I try to follow some link, I got:

Error: 500
Location: /struts-test/html-select.jsp
Internal Servlet Error:
org.apache.jasper.JasperException: Unable to load class
org.apache.struts.taglib.html.HtmlTag
at
org.apache.jasper.compiler.TagBeginGenerator.init(TagBeginGenerator.java:121)
at
org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.init(JspParseEventListener.java:718)
at
org.apache.jasper.compiler.JspParseEventListener.addGenerator(JspParseEventListener.java:132)
at
org.apache.jasper.compiler.JspParseEventListener.handleTagBegin(JspParseEventListener.java:869)
at
org.apache.jasper.compiler.DelegatingListener.handleTagBegin(DelegatingListener.java:194)
at org.apache.jasper.compiler.Parser$Tag.accept(Parser.java:822)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1073)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1038)
at org.apache.jasper.compiler.Parser.parse(Parser.java:1034)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:182)
at org.apache.jasper.runtime.JspServlet.loadJSP(JspServlet.java:413)
at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:149)
at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:161)
at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Ajp12ConnectionHandler.java:156)
at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
at java.lang.Thread.run(Thread.java)



Please, I need some help.




CUL8R,[]s
Jim Bruno Goldberg [EMAIL PROTECTED]






Re: Tomcat+Apache+Struts Problem

2001-04-20 Thread Jim Bruno Goldberg

At 18:32 20/04/01 +0200, you wrote:
The problem is in your Java version. Struts needs Java 1.2 or later to run.

Jean-Noel

 Thanks. I will install the new JDK.

CUL8R,[]s
Jim Bruno Goldberg [EMAIL PROTECTED]