I am using JDK 1.3, but this has got nothing to do with that.
This problem was fixed in Mar 2003 itself.

Check this

<http://www.mail-archive.com/[EMAIL PROTECTED]/msg14289.html>

I was hoping that since I am using Struts 1.1 I should not encounter this
problem.

Regards,
Puneet Agarwal

Tata Consultancy Services,
C-56, Phase - II, NOIDA 201305 (India)
Phone: +91-120-2461001, 2, 7, 8, 9, 12, 13 (Ext. 1044)
FAX              : +91-120-246 1521

Struts ... Action ... Struts in Action ... Action in Struts ...


                                                                                       
                            
                    Kwok Peng                                                          
                            
                    Tuck                 To:     Struts Users Mailing List <[EMAIL 
PROTECTED]>        
                    <[EMAIL PROTECTED]        cc:                                      
                                 
                    mal.net>             Subject:     Re: Could not find Java 1.4 
encode method.  Using deprecated 
                                         version.                                      
                            
                    09/10/03                                                           
                            
                    03:50 PM                                                           
                            
                    Please                                                             
                            
                    respond to                                                         
                            
                    "Struts Users                                                      
                            
                    Mailing List"                                                      
                            
                                                                                       
                            
                                                                                       
                            




That's very strange, what version of JDK are you using and what's the
version of struts too ?


Puneet Agarwal wrote:

>I get the following error. I searched in the mail-archives
>and found that I am not the first one to encounter this problem.
>But I was unable to find the solution to this.
>
>Would be great if someone could help me on this.
>
>
>
>18   2003-09-10 06:01:41,129
>org.apache.struts.util.RequestUtils.<clinit>(RequestUtils.java:162) DEBUG
>[] - Could not find Java 1.4
>encode method.  Using deprecated version.
>java.lang.NoSuchMethodException
>        at java.lang.Class.getMethod0(Native Method)
>        at java.lang.Class.getMethod(Unknown Source)
>        at
>org.apache.struts.util.RequestUtils.<clinit>(RequestUtils.java:160)
>        at
>org.apache.struts.util.MessageResourcesFactory.createFactory(MessageResourcesFactory.java:192)

>        at
>org.apache.struts.util.MessageResources.getMessageResources(MessageResources.java:576)

>        at
>org.apache.struts.action.ActionServlet.initInternal(ActionServlet.java:1329)

>        at
>org.apache.struts.action.ActionServlet.init(ActionServlet.java:464)
>        at javax.servlet.GenericServlet.init(GenericServlet.java:258)
>        at com.tiger.inf.struts.ActionServlet.init(ActionServlet.java:30)
>        at
>com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:1956)

>        at
>com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4355)

>        at
>com.evermind.server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2484)

>        at
>com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:617)

>        at
>com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:148)
>        at
>com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:72)
>        at
>EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797)

>        at java.lang.Thread.run(Unknown Source)
>
>Regards,
>Puneet Agarwal
>
>Tata Consultancy Services,
>C-56, Phase - II, NOIDA 201305 (India)
>Phone: +91-120-2461001, 2, 7, 8, 9, 12, 13 (Ext. 1044)
>FAX              : +91-120-246 1521
>
>Struts ... Action ... Struts in Action ... Action in Struts ...
>DISCLAIMER: The information contained in this message is intended only and
>solely for the addressed individual or entity indicated in this message
and
>for the exclusive use of the said addressed individual or entity indicated
>in this message (or responsible for delivery of the message to such
person)
>and may contain legally privileged and confidential information belonging
>to Tata Consultancy Services. It must not be printed, read, copied,
>disclosed, forwarded, distributed or used (in whatsoever manner) by any
>person other than the addressee. Unauthorized use, disclosure or copying
is
>strictly prohibited and may constitute unlawful act and can possibly
>attract legal action, civil and/or criminal. The contents of this message
>need not necessarily reflect or endorse the views of Tata Consultancy
>Services on any subject matter. Any action taken or omitted to be taken
>based on this message is entirely at your risk and neither the originator
>of this message nor Tata Consultancy Services takes any responsibility or
>liability towards the same. Opinions, conclusions and any other
information
>contained in this message that do not relate to the official business of
>Tata Consultancy Services shall be understood as neither given nor
endorsed
>by Tata Consultancy Services or any affiliate of Tata Consultancy
Services.
>If you have received this message in error, you should destroy this
message
>and may please notify the sender by e-mail. Thank you.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>
>


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




DISCLAIMER: The information contained in this message is intended only and
solely for the addressed individual or entity indicated in this message and
for the exclusive use of the said addressed individual or entity indicated
in this message (or responsible for delivery of the message to such person)
and may contain legally privileged and confidential information belonging
to Tata Consultancy Services. It must not be printed, read, copied,
disclosed, forwarded, distributed or used (in whatsoever manner) by any
person other than the addressee. Unauthorized use, disclosure or copying is
strictly prohibited and may constitute unlawful act and can possibly
attract legal action, civil and/or criminal. The contents of this message
need not necessarily reflect or endorse the views of Tata Consultancy
Services on any subject matter. Any action taken or omitted to be taken
based on this message is entirely at your risk and neither the originator
of this message nor Tata Consultancy Services takes any responsibility or
liability towards the same. Opinions, conclusions and any other information
contained in this message that do not relate to the official business of
Tata Consultancy Services shall be understood as neither given nor endorsed
by Tata Consultancy Services or any affiliate of Tata Consultancy Services.
If you have received this message in error, you should destroy this message
and may please notify the sender by e-mail. Thank you.


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

Reply via email to