RE: upgrading Struts 1.1 to jdk 1.4 and weblogic 8.1 -Compilation errors

2003-10-29 Thread Ruta Thakkar
Hello folks,
Thanks for all ur replies on the upgrade problem
As David suggested, I have got the patch for weblogic 8.1 sp1 from bea.
The patch is called CR112789_81sp1.jar. It has nine tag related classes of the package 
weblogic.servlet.jsp

The compilation errors have now disappeared :)

Thanks again..

Regards,
Ruta
-Original Message-
From: Karr, David [mailto:[EMAIL PROTECTED]
Sent: Monday, October 27, 2003 10:28 PM
To: Struts Users Mailing List
Subject: RE: upgrading Struts 1.1 to jdk 1.4 and weblogic 8.1
-Compilation errors

I doubt the JDK version upgrade is relevant here.  Are you using WLS 8.1
or 8.1 SP1?  Check with BEA support to get any relevant patches.  It's
possible that patch CR112789 will resolve this.

-Original Message-
From: Ruta Thakkar 
Sent: Monday, October 27, 2003 9:09 PM
To: '[EMAIL PROTECTED]'
Subject: upgrading Struts 1.1 to jdk 1.4 and weblogic 8.1 -Compilation
errors



Dear All,

I have been using Struts 1.1(stable release) with weblogic 6.1,jdk1.3..now we are 
upgrading to weblogic 8.1/jdk1.4

Here is the code that i was using earlier to pass multiple parameters in html:link:

logic:iterate id=airportObj name=airportList
bean:define id=airportCode name=airportObj property=airportCode /

tr 
%
java.util.HashMap params = new java.util.HashMap();
params.put(method, getAirportDetails);
params.put(airportCode, airportCode );
pageContext.setAttribute(paramsName, params);
%

td width=17%bean:write name=airportValObj property=airportCode /
/td
td 
html:link action=/groundservices  name=paramsName scope=page 
bean:write name=airportObj property=airportName /
/html:link
/td
/tr
/logic:iterate
this works fine with Weblogic 6.1 and jdk 1.3, But when i upgraded to jdk 1.4 
/weblogic 8.1,
it gives me an error:
cannot resolve symbol airportCode at line : params.put(airportCode, airportCode );


I know that jdk1.4 is stricter when it comes to compilation, but does this imply that 
the bean:define tag is not compiant with jdk1.4??

Pls guide me on how to proceed forward


Regds
Ruta


DISCLAIMER:

Information contained and transmitted by this E-MAIL is proprietary to Hexaware 
Technologies Limited and is intended for use only by the individual or entity to which 
it is addressed and may contain information that is privileged, confidential or exempt 
from disclosure under applicable law. If this is a forwarded message, the content of 
this E-MAIL may not have been sent with the authority of the Company. If you are not 
the intended recipient, an agent of the intended recipient or a person responsible for 
delivering the information to the named recipient, you are notified that any use, 
distribution, transmission, printing, copying or dissemination of this information in 
any way or in any manner is strictly prohibited. If you have received this 
communication in error, please delete this mail  notify us immediately at [EMAIL 
PROTECTED] 

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



RE: upgrading Struts 1.1 to jdk 1.4 and weblogic 8.1 -Compilation errors

2003-10-27 Thread Karr, David
I doubt the JDK version upgrade is relevant here.  Are you using WLS 8.1
or 8.1 SP1?  Check with BEA support to get any relevant patches.  It's
possible that patch CR112789 will resolve this.

 -Original Message-
 From: Ruta Thakkar [mailto:[EMAIL PROTECTED] 
 
 Dear All,
 
 I have been using Struts 1.1(stable release) with weblogic 
 6.1,jdk1.3..now we are upgrading to weblogic 8.1/jdk1.4
 
 Here is the code that i was using earlier to pass multiple 
 parameters in html:link:
 
 logic:iterate id=airportObj name=airportList
 bean:define id=airportCode name=airportObj 
 property=airportCode /
 
 tr 
 %
   java.util.HashMap params = new 
 java.util.HashMap();
   params.put(method, getAirportDetails);
   params.put(airportCode, airportCode );
   pageContext.setAttribute(paramsName, params);
 %
 
 td width=17%bean:write name=airportValObj 
 property=airportCode /
 /td
 td 
 html:link action=/groundservices  name=paramsName scope=page 
   bean:write name=airportObj property=airportName /
 /html:link
 /td
 /tr
 /logic:iterate
 this works fine with Weblogic 6.1 and jdk 1.3, But when i 
 upgraded to jdk 1.4 /weblogic 8.1,
 it gives me an error:
 cannot resolve symbol airportCode at line : 
 params.put(airportCode, airportCode );
 
 
 I know that jdk1.4 is stricter when it comes to compilation, 
 but does this imply that the bean:define tag is not compiant 
 with jdk1.4??
 
 Pls guide me on how to proceed forward
 
 
 Regds
 Ruta
 
 
 DISCLAIMER:
 
 Information contained and transmitted by this E-MAIL is 
 proprietary to Hexaware Technologies Limited and is intended 
 for use only by the individual or entity to which it is 
 addressed and may contain information that is privileged, 
 confidential or exempt from disclosure under applicable law. 
 If this is a forwarded message, the content of this E-MAIL 
 may not have been sent with the authority of the Company. If 
 you are not the intended recipient, an agent of the intended 
 recipient or a person responsible for delivering the 
 information to the named recipient, you are notified that any 
 use, distribution, transmission, printing, copying or 
 dissemination of this information in any way or in any manner 
 is strictly prohibited. If you have received this 
 communication in error, please delete this mail  notify us 
 immediately at [EMAIL PROTECTED] 
 
 -
 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: upgrading Struts 1.1 to jdk 1.4 and weblogic 8.1 -Compilation errors

2003-10-27 Thread Ruth, Brice
In this particular code, you'd need to use 
pageContext.getAttribute(airportCode), in your scriptlet, I believe.

Ruta Thakkar wrote:

Dear All,

I have been using Struts 1.1(stable release) with weblogic 6.1,jdk1.3..now we are upgrading to weblogic 8.1/jdk1.4

Here is the code that i was using earlier to pass multiple parameters in html:link:

logic:iterate id=airportObj name=airportList
bean:define id=airportCode name=airportObj property=airportCode /
tr 
%
java.util.HashMap params = new java.util.HashMap();
params.put(method, getAirportDetails);
params.put(airportCode, airportCode );
pageContext.setAttribute(paramsName, params);
%
td width=17%bean:write name=airportValObj property=airportCode /
/td
td 
html:link action=/groundservices  name=paramsName scope=page 
bean:write name=airportObj property=airportName /
/html:link
/td
/tr
/logic:iterate
this works fine with Weblogic 6.1 and jdk 1.3, But when i upgraded to jdk 1.4 
/weblogic 8.1,
it gives me an error:
cannot resolve symbol airportCode at line : params.put(airportCode, airportCode );
I know that jdk1.4 is stricter when it comes to compilation, but does this imply that the bean:define tag is not compiant with jdk1.4??

Pls guide me on how to proceed forward

Regds
Ruta
DISCLAIMER:

Information contained and transmitted by this E-MAIL is proprietary to Hexaware Technologies Limited and is intended for use only by the individual or entity to which it is addressed and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If this is a forwarded message, the content of this E-MAIL may not have been sent with the authority of the Company. If you are not the intended recipient, an agent of the intended recipient or a person responsible for delivering the information to the named recipient, you are notified that any use, distribution, transmission, printing, copying or dissemination of this information in any way or in any manner is strictly prohibited. If you have received this communication in error, please delete this mail  notify us immediately at [EMAIL PROTECTED] 

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

--
Brice D. Ruth
Sr. IT Analyst
Fiskars Brands, Inc.


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