Yes it runs on 1.3. If you're using 1.4 it will use a newer jdk encoding method. The log message is just informing you that the deprecated encoding method is being used for jdk 1.3.

David



From: "MarwanSalam <[EMAIL PROTECTED]>" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Could not find Java 1.4 encode method
Date: Wed, 19 Feb 2003 22:21:38 -0000

Hi,

I upgraded from Struts v1.02 to v1.1-b3 and now I am getting the
below error stack. Doesn't 1.1-b3 run on JRE 1.3.1?

Marwan



2003-02-19 13:49:00,383 [8585544 DEBUG Servlet.Engine.Transports:9 -
util.RequestUtils(1869)]     - Could not find Java 1.4 encode
method.  Using deprecated version.
java.lang.NoSuchMethodException: encode
at java.lang.Class.getMethod0(Native Method)
at java.lang.Class.getMethod(Class.java:928)
at org.apache.struts.util.RequestUtils.encodeURL
(RequestUtils.java:1859)
at org.apache.struts.util.RequestUtils.computeURL
(RequestUtils.java:514)
at org.apache.struts.taglib.html.LinkTag.calculateURL
(LinkTag.java:495)
at org.apache.struts.taglib.html.LinkTag.doStartTag(LinkTag.java:353)
at _showcategories_jsp_57._jspService(_showcategories_jsp_57.java:278)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:142)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service
(JspServlet.java:312)
at org.apache.jasper.runtime.JspServlet.serviceJspFile
(JspServlet.java:487)
at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:620)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.servlet.engine.webapp.StrictServletInstance.doService
(ServletManager.java:827)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service
(StrictLifecycleServlet.java:167)


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

_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus


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

Reply via email to