You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Greg Hess <gh...@wrappedapps.com> on 2003/03/11 19:33:16 UTC

Migrating 1.1b2 to 1.1rc1

Hi All,
 
I am migrating my Struts 1.1b2 web app to 1.1rc1 to take advantage of
the new requiredif validation rule. I have removed all struts libs and
all taglib tld's and replaced with the new ones provided with the
struts-blank.war in the rc1 distribution. 
 
When I try and access my web app the first page gives me the following
error:
java.lang.NoSuchMethodError:
org.apache.struts.util.RequestUtils.computeURL(Ljavax/servlet/jsp/PageCo
ntext;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/S
tring;Ljava/util/Map;Ljava/lang/String;Z)Ljava/lang/String;
        at
org.apache.struts.taglib.html.LinkTag.calculateURL(LinkTag.java:495)
        at
org.apache.struts.taglib.html.LinkTag.doStartTag(LinkTag.java:353)
        at
_shared._header__jsp._jspService(/wbwebsite/shared/header.jsp:45)
        at com.caucho.jsp.JavaPage.service(JavaPage.java:75)
        at com.caucho.jsp.Page.subservice(Page.java:485)
        at
com.caucho.server.http.FilterChainPage.doFilter(FilterChainPage.java:182
)
        at
com.caucho.server.http.Invocation.service(Invocation.java:312)
        at
com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135)
        at
com.caucho.server.http.QRequestDispatcher.include(QRequestDispatcher.jav
a:360)
        at
com.caucho.server.http.QRequestDispatcher.include(QRequestDispatcher.jav
a:267)
        at com.caucho.jsp.QPageContext.include(QPageContext.java:538)
        at _home._index__jsp._jspService(_index__jsp.java:28)
        at com.caucho.jsp.JavaPage.service(JavaPage.java:75)
        at com.caucho.jsp.Page.subservice(Page.java:485)
        at
com.caucho.server.http.FilterChainPage.doFilter(FilterChainPage.java:182
)
        at
com.caucho.server.http.Invocation.service(Invocation.java:312)
        at
com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135)
        at
com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:221)
        at
com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:163
)
        at com.caucho.server.TcpConnection.run(TcpConnection.java:137)
        at java.lang.Thread.run(Thread.java:536)
 
I am not sure what I am doing wrong, any help much appreciated.
 
Thanks,
Greg
 

RE: Migrating 1.1b2 to 1.1rc1

Posted by Greg Hess <gh...@wrappedapps.com>.
Thanks guys,

My problem is with my sslext plugin for b2 after checking there is a new
release for b3 and this release works with rc1 and corrects my problem.

Boy it's hard to keep up sometimes.

Greg

-----Original Message-----
From: Dave Newton [mailto:dave@solaraccess.com] 
Sent: Tuesday, March 11, 2003 3:20 PM
To: Struts Users Mailing List
Subject: RE: Migrating 1.1b2 to 1.1rc1

On Tue, 2003-03-11 at 14:14, Greg Hess wrote:
> I recompiled without a single error/warning :-), but I have know idea
> why the html:link tag is calling a method that doesn't exist?

Maybe try clearing out your servlet runner's work directory; perhaps a
JSP page needs to be recompiled as well?

> You need also to recompile your souce code against the new jars.
> James Mitchell

Dave



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


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


RE: Migrating 1.1b2 to 1.1rc1

Posted by Dave Newton <da...@solaraccess.com>.
On Tue, 2003-03-11 at 14:14, Greg Hess wrote:
> I recompiled without a single error/warning :-), but I have know idea
> why the html:link tag is calling a method that doesn't exist?

Maybe try clearing out your servlet runner's work directory; perhaps a
JSP page needs to be recompiled as well?

> You need also to recompile your souce code against the new jars.
> James Mitchell

Dave



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


RE: Migrating 1.1b2 to 1.1rc1

Posted by James Mitchell <jm...@apache.org>.
I don't know either, some of the tests in our test suite call this
method repeatedly...and all work fine.


--
James Mitchell
Software Developer/Struts Evangelist
http://struts.sourceforge.net/struts-atlanta/



> -----Original Message-----
> From: Greg Hess [mailto:ghess@wrappedapps.com] 
> Sent: Tuesday, March 11, 2003 2:15 PM
> To: 'Struts Users Mailing List'
> Subject: RE: Migrating 1.1b2 to 1.1rc1
> 
> 
> I recompiled without a single error/warning :-), but I have know idea
> why the html:link tag is calling a method that doesn't exist?
> 
> Greg
> 
> -----Original Message-----
> From: James Mitchell [mailto:jmitchell@apache.org] 
> Sent: Tuesday, March 11, 2003 2:04 PM
> To: 'Struts Users Mailing List'
> Subject: RE: Migrating 1.1b2 to 1.1rc1
> 
> You need also to recompile your souce code against the new jars.
> 
> --
> James Mitchell
> Software Developer/Struts Evangelist
> http://struts.sourceforge.net/struts-atlanta/
> 
> 
> 
> > -----Original Message-----
> > From: Greg Hess [mailto:ghess@wrappedapps.com] 
> > Sent: Tuesday, March 11, 2003 2:00 PM
> > To: 'Struts Users Mailing List'
> > Subject: RE: Migrating 1.1b2 to 1.1rc1
> > 
> > 
> > All I should need to do is simply replace the jars and tld's right?
> > 
> > Greg
> > 
> > -----Original Message-----
> > From: James Mitchell [mailto:jmitchell@apache.org] 
> > Sent: Tuesday, March 11, 2003 1:49 PM
> > To: 'Struts Users Mailing List'
> > Subject: RE: Migrating 1.1b2 to 1.1rc1
> > 
> > Check the docs again, that method was only changed to add a new
> > parameter, and deprecated for backward compatibility.
> > 
> > 
> > 
> > --
> > James Mitchell
> > Software Developer/Struts Evangelist
> > http://struts.sourceforge.net/struts-atlanta/
> > 
> > 
> > 
> > > -----Original Message-----
> > > From: Khalid K. [mailto:groups@maikada.com] 
> > > Sent: Tuesday, March 11, 2003 1:43 PM
> > > To: Struts Users Mailing List
> > > Subject: Re: Migrating 1.1b2 to 1.1rc1
> > > 
> > > 
> > > I checked the Java DOC, and it looks like
> > > org.apache.struts.util.RequestUtils.computeURL() is deprecated.
> > > 
> > > Khalid
> > > 
> > > ----- Original Message -----
> > > From: "Greg Hess" <gh...@wrappedapps.com>
> > > To: "Struts" <st...@jakarta.apache.org>
> > > Sent: Tuesday, March 11, 2003 10:33 AM
> > > Subject: Migrating 1.1b2 to 1.1rc1
> > > 
> > > 
> > > > Hi All,
> > > >
> > > > I am migrating my Struts 1.1b2 web app to 1.1rc1 to take 
> > > advantage of
> > > > the new requiredif validation rule. I have removed all 
> > > struts libs and
> > > > all taglib tld's and replaced with the new ones 
> provided with the
> > > > struts-blank.war in the rc1 distribution.
> > > >
> > > > When I try and access my web app the first page gives me 
> > > the following
> > > > error:
> > > > java.lang.NoSuchMethodError:
> > > > 
> > > org.apache.struts.util.RequestUtils.computeURL(Ljavax/servlet/
> > > jsp/PageCo
> > > > 
> > > ntext;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lj
> > > ava/lang/S
> > > > tring;Ljava/util/Map;Ljava/lang/String;Z)Ljava/lang/String;
> > > >         at
> > > > 
> > org.apache.struts.taglib.html.LinkTag.calculateURL(LinkTag.java:495)
> > > >         at
> > > > 
> org.apache.struts.taglib.html.LinkTag.doStartTag(LinkTag.java:353)
> > > >         at
> > > > 
> _shared._header__jsp._jspService(/wbwebsite/shared/header.jsp:45)
> > > >         at com.caucho.jsp.JavaPage.service(JavaPage.java:75)
> > > >         at com.caucho.jsp.Page.subservice(Page.java:485)
> > > >         at
> > > > 
> > > com.caucho.server.http.FilterChainPage.doFilter(FilterChainPag
> > > e.java:182
> > > > )
> > > >         at
> > > > com.caucho.server.http.Invocation.service(Invocation.java:312)
> > > >         at
> > > > 
> > > com.caucho.server.http.CacheInvocation.service(CacheInvocation
> > > .java:135)
> > > >         at
> > > > 
> > > com.caucho.server.http.QRequestDispatcher.include(QRequestDisp
> > > atcher.jav
> > > > a:360)
> > > >         at
> > > > 
> > > com.caucho.server.http.QRequestDispatcher.include(QRequestDisp
> > > atcher.jav
> > > > a:267)
> > > >         at 
> > > com.caucho.jsp.QPageContext.include(QPageContext.java:538)
> > > >         at _home._index__jsp._jspService(_index__jsp.java:28)
> > > >         at com.caucho.jsp.JavaPage.service(JavaPage.java:75)
> > > >         at com.caucho.jsp.Page.subservice(Page.java:485)
> > > >         at
> > > > 
> > > com.caucho.server.http.FilterChainPage.doFilter(FilterChainPag
> > > e.java:182
> > > > )
> > > >         at
> > > > com.caucho.server.http.Invocation.service(Invocation.java:312)
> > > >         at
> > > > 
> > > com.caucho.server.http.CacheInvocation.service(CacheInvocation
> > > .java:135)
> > > >         at
> > > > 
> > > 
> > 
> com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:221)
> > > >         at
> > > > 
> > > com.caucho.server.http.HttpRequest.handleConnection(HttpReques
> > > t.java:163
> > > > )
> > > >         at 
> > > com.caucho.server.TcpConnection.run(TcpConnection.java:137)
> > > >         at java.lang.Thread.run(Thread.java:536)
> > > >
> > > > I am not sure what I am doing wrong, any help much appreciated.
> > > >
> > > > Thanks,
> > > > Greg
> > > >
> > > >
> > > 
> > > 
> > > 
> > 
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: 
> struts-user-help@jakarta.apache.org
> > > 
> > 
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> > 
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 


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


RE: Migrating 1.1b2 to 1.1rc1

Posted by Greg Hess <gh...@wrappedapps.com>.
I recompiled without a single error/warning :-), but I have know idea
why the html:link tag is calling a method that doesn't exist?

Greg

-----Original Message-----
From: James Mitchell [mailto:jmitchell@apache.org] 
Sent: Tuesday, March 11, 2003 2:04 PM
To: 'Struts Users Mailing List'
Subject: RE: Migrating 1.1b2 to 1.1rc1

You need also to recompile your souce code against the new jars.

--
James Mitchell
Software Developer/Struts Evangelist
http://struts.sourceforge.net/struts-atlanta/



> -----Original Message-----
> From: Greg Hess [mailto:ghess@wrappedapps.com] 
> Sent: Tuesday, March 11, 2003 2:00 PM
> To: 'Struts Users Mailing List'
> Subject: RE: Migrating 1.1b2 to 1.1rc1
> 
> 
> All I should need to do is simply replace the jars and tld's right?
> 
> Greg
> 
> -----Original Message-----
> From: James Mitchell [mailto:jmitchell@apache.org] 
> Sent: Tuesday, March 11, 2003 1:49 PM
> To: 'Struts Users Mailing List'
> Subject: RE: Migrating 1.1b2 to 1.1rc1
> 
> Check the docs again, that method was only changed to add a new
> parameter, and deprecated for backward compatibility.
> 
> 
> 
> --
> James Mitchell
> Software Developer/Struts Evangelist
> http://struts.sourceforge.net/struts-atlanta/
> 
> 
> 
> > -----Original Message-----
> > From: Khalid K. [mailto:groups@maikada.com] 
> > Sent: Tuesday, March 11, 2003 1:43 PM
> > To: Struts Users Mailing List
> > Subject: Re: Migrating 1.1b2 to 1.1rc1
> > 
> > 
> > I checked the Java DOC, and it looks like
> > org.apache.struts.util.RequestUtils.computeURL() is deprecated.
> > 
> > Khalid
> > 
> > ----- Original Message -----
> > From: "Greg Hess" <gh...@wrappedapps.com>
> > To: "Struts" <st...@jakarta.apache.org>
> > Sent: Tuesday, March 11, 2003 10:33 AM
> > Subject: Migrating 1.1b2 to 1.1rc1
> > 
> > 
> > > Hi All,
> > >
> > > I am migrating my Struts 1.1b2 web app to 1.1rc1 to take 
> > advantage of
> > > the new requiredif validation rule. I have removed all 
> > struts libs and
> > > all taglib tld's and replaced with the new ones provided with the
> > > struts-blank.war in the rc1 distribution.
> > >
> > > When I try and access my web app the first page gives me 
> > the following
> > > error:
> > > java.lang.NoSuchMethodError:
> > > 
> > org.apache.struts.util.RequestUtils.computeURL(Ljavax/servlet/
> > jsp/PageCo
> > > 
> > ntext;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lj
> > ava/lang/S
> > > tring;Ljava/util/Map;Ljava/lang/String;Z)Ljava/lang/String;
> > >         at
> > > 
> org.apache.struts.taglib.html.LinkTag.calculateURL(LinkTag.java:495)
> > >         at
> > > org.apache.struts.taglib.html.LinkTag.doStartTag(LinkTag.java:353)
> > >         at
> > > _shared._header__jsp._jspService(/wbwebsite/shared/header.jsp:45)
> > >         at com.caucho.jsp.JavaPage.service(JavaPage.java:75)
> > >         at com.caucho.jsp.Page.subservice(Page.java:485)
> > >         at
> > > 
> > com.caucho.server.http.FilterChainPage.doFilter(FilterChainPag
> > e.java:182
> > > )
> > >         at
> > > com.caucho.server.http.Invocation.service(Invocation.java:312)
> > >         at
> > > 
> > com.caucho.server.http.CacheInvocation.service(CacheInvocation
> > .java:135)
> > >         at
> > > 
> > com.caucho.server.http.QRequestDispatcher.include(QRequestDisp
> > atcher.jav
> > > a:360)
> > >         at
> > > 
> > com.caucho.server.http.QRequestDispatcher.include(QRequestDisp
> > atcher.jav
> > > a:267)
> > >         at 
> > com.caucho.jsp.QPageContext.include(QPageContext.java:538)
> > >         at _home._index__jsp._jspService(_index__jsp.java:28)
> > >         at com.caucho.jsp.JavaPage.service(JavaPage.java:75)
> > >         at com.caucho.jsp.Page.subservice(Page.java:485)
> > >         at
> > > 
> > com.caucho.server.http.FilterChainPage.doFilter(FilterChainPag
> > e.java:182
> > > )
> > >         at
> > > com.caucho.server.http.Invocation.service(Invocation.java:312)
> > >         at
> > > 
> > com.caucho.server.http.CacheInvocation.service(CacheInvocation
> > .java:135)
> > >         at
> > > 
> > 
> com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:221)
> > >         at
> > > 
> > com.caucho.server.http.HttpRequest.handleConnection(HttpReques
> > t.java:163
> > > )
> > >         at 
> > com.caucho.server.TcpConnection.run(TcpConnection.java:137)
> > >         at java.lang.Thread.run(Thread.java:536)
> > >
> > > I am not sure what I am doing wrong, any help much appreciated.
> > >
> > > Thanks,
> > > Greg
> > >
> > >
> > 
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 


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


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


RE: Migrating 1.1b2 to 1.1rc1

Posted by James Mitchell <jm...@apache.org>.
You need also to recompile your souce code against the new jars.

--
James Mitchell
Software Developer/Struts Evangelist
http://struts.sourceforge.net/struts-atlanta/



> -----Original Message-----
> From: Greg Hess [mailto:ghess@wrappedapps.com] 
> Sent: Tuesday, March 11, 2003 2:00 PM
> To: 'Struts Users Mailing List'
> Subject: RE: Migrating 1.1b2 to 1.1rc1
> 
> 
> All I should need to do is simply replace the jars and tld's right?
> 
> Greg
> 
> -----Original Message-----
> From: James Mitchell [mailto:jmitchell@apache.org] 
> Sent: Tuesday, March 11, 2003 1:49 PM
> To: 'Struts Users Mailing List'
> Subject: RE: Migrating 1.1b2 to 1.1rc1
> 
> Check the docs again, that method was only changed to add a new
> parameter, and deprecated for backward compatibility.
> 
> 
> 
> --
> James Mitchell
> Software Developer/Struts Evangelist
> http://struts.sourceforge.net/struts-atlanta/
> 
> 
> 
> > -----Original Message-----
> > From: Khalid K. [mailto:groups@maikada.com] 
> > Sent: Tuesday, March 11, 2003 1:43 PM
> > To: Struts Users Mailing List
> > Subject: Re: Migrating 1.1b2 to 1.1rc1
> > 
> > 
> > I checked the Java DOC, and it looks like
> > org.apache.struts.util.RequestUtils.computeURL() is deprecated.
> > 
> > Khalid
> > 
> > ----- Original Message -----
> > From: "Greg Hess" <gh...@wrappedapps.com>
> > To: "Struts" <st...@jakarta.apache.org>
> > Sent: Tuesday, March 11, 2003 10:33 AM
> > Subject: Migrating 1.1b2 to 1.1rc1
> > 
> > 
> > > Hi All,
> > >
> > > I am migrating my Struts 1.1b2 web app to 1.1rc1 to take 
> > advantage of
> > > the new requiredif validation rule. I have removed all 
> > struts libs and
> > > all taglib tld's and replaced with the new ones provided with the
> > > struts-blank.war in the rc1 distribution.
> > >
> > > When I try and access my web app the first page gives me 
> > the following
> > > error:
> > > java.lang.NoSuchMethodError:
> > > 
> > org.apache.struts.util.RequestUtils.computeURL(Ljavax/servlet/
> > jsp/PageCo
> > > 
> > ntext;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lj
> > ava/lang/S
> > > tring;Ljava/util/Map;Ljava/lang/String;Z)Ljava/lang/String;
> > >         at
> > > 
> org.apache.struts.taglib.html.LinkTag.calculateURL(LinkTag.java:495)
> > >         at
> > > org.apache.struts.taglib.html.LinkTag.doStartTag(LinkTag.java:353)
> > >         at
> > > _shared._header__jsp._jspService(/wbwebsite/shared/header.jsp:45)
> > >         at com.caucho.jsp.JavaPage.service(JavaPage.java:75)
> > >         at com.caucho.jsp.Page.subservice(Page.java:485)
> > >         at
> > > 
> > com.caucho.server.http.FilterChainPage.doFilter(FilterChainPag
> > e.java:182
> > > )
> > >         at
> > > com.caucho.server.http.Invocation.service(Invocation.java:312)
> > >         at
> > > 
> > com.caucho.server.http.CacheInvocation.service(CacheInvocation
> > .java:135)
> > >         at
> > > 
> > com.caucho.server.http.QRequestDispatcher.include(QRequestDisp
> > atcher.jav
> > > a:360)
> > >         at
> > > 
> > com.caucho.server.http.QRequestDispatcher.include(QRequestDisp
> > atcher.jav
> > > a:267)
> > >         at 
> > com.caucho.jsp.QPageContext.include(QPageContext.java:538)
> > >         at _home._index__jsp._jspService(_index__jsp.java:28)
> > >         at com.caucho.jsp.JavaPage.service(JavaPage.java:75)
> > >         at com.caucho.jsp.Page.subservice(Page.java:485)
> > >         at
> > > 
> > com.caucho.server.http.FilterChainPage.doFilter(FilterChainPag
> > e.java:182
> > > )
> > >         at
> > > com.caucho.server.http.Invocation.service(Invocation.java:312)
> > >         at
> > > 
> > com.caucho.server.http.CacheInvocation.service(CacheInvocation
> > .java:135)
> > >         at
> > > 
> > 
> com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:221)
> > >         at
> > > 
> > com.caucho.server.http.HttpRequest.handleConnection(HttpReques
> > t.java:163
> > > )
> > >         at 
> > com.caucho.server.TcpConnection.run(TcpConnection.java:137)
> > >         at java.lang.Thread.run(Thread.java:536)
> > >
> > > I am not sure what I am doing wrong, any help much appreciated.
> > >
> > > Thanks,
> > > Greg
> > >
> > >
> > 
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 


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


RE: Migrating 1.1b2 to 1.1rc1

Posted by Greg Hess <gh...@wrappedapps.com>.
All I should need to do is simply replace the jars and tld's right?

Greg

-----Original Message-----
From: James Mitchell [mailto:jmitchell@apache.org] 
Sent: Tuesday, March 11, 2003 1:49 PM
To: 'Struts Users Mailing List'
Subject: RE: Migrating 1.1b2 to 1.1rc1

Check the docs again, that method was only changed to add a new
parameter, and deprecated for backward compatibility.



--
James Mitchell
Software Developer/Struts Evangelist
http://struts.sourceforge.net/struts-atlanta/



> -----Original Message-----
> From: Khalid K. [mailto:groups@maikada.com] 
> Sent: Tuesday, March 11, 2003 1:43 PM
> To: Struts Users Mailing List
> Subject: Re: Migrating 1.1b2 to 1.1rc1
> 
> 
> I checked the Java DOC, and it looks like
> org.apache.struts.util.RequestUtils.computeURL() is deprecated.
> 
> Khalid
> 
> ----- Original Message -----
> From: "Greg Hess" <gh...@wrappedapps.com>
> To: "Struts" <st...@jakarta.apache.org>
> Sent: Tuesday, March 11, 2003 10:33 AM
> Subject: Migrating 1.1b2 to 1.1rc1
> 
> 
> > Hi All,
> >
> > I am migrating my Struts 1.1b2 web app to 1.1rc1 to take 
> advantage of
> > the new requiredif validation rule. I have removed all 
> struts libs and
> > all taglib tld's and replaced with the new ones provided with the
> > struts-blank.war in the rc1 distribution.
> >
> > When I try and access my web app the first page gives me 
> the following
> > error:
> > java.lang.NoSuchMethodError:
> > 
> org.apache.struts.util.RequestUtils.computeURL(Ljavax/servlet/
> jsp/PageCo
> > 
> ntext;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lj
> ava/lang/S
> > tring;Ljava/util/Map;Ljava/lang/String;Z)Ljava/lang/String;
> >         at
> > org.apache.struts.taglib.html.LinkTag.calculateURL(LinkTag.java:495)
> >         at
> > org.apache.struts.taglib.html.LinkTag.doStartTag(LinkTag.java:353)
> >         at
> > _shared._header__jsp._jspService(/wbwebsite/shared/header.jsp:45)
> >         at com.caucho.jsp.JavaPage.service(JavaPage.java:75)
> >         at com.caucho.jsp.Page.subservice(Page.java:485)
> >         at
> > 
> com.caucho.server.http.FilterChainPage.doFilter(FilterChainPag
> e.java:182
> > )
> >         at
> > com.caucho.server.http.Invocation.service(Invocation.java:312)
> >         at
> > 
> com.caucho.server.http.CacheInvocation.service(CacheInvocation
> .java:135)
> >         at
> > 
> com.caucho.server.http.QRequestDispatcher.include(QRequestDisp
> atcher.jav
> > a:360)
> >         at
> > 
> com.caucho.server.http.QRequestDispatcher.include(QRequestDisp
> atcher.jav
> > a:267)
> >         at 
> com.caucho.jsp.QPageContext.include(QPageContext.java:538)
> >         at _home._index__jsp._jspService(_index__jsp.java:28)
> >         at com.caucho.jsp.JavaPage.service(JavaPage.java:75)
> >         at com.caucho.jsp.Page.subservice(Page.java:485)
> >         at
> > 
> com.caucho.server.http.FilterChainPage.doFilter(FilterChainPag
> e.java:182
> > )
> >         at
> > com.caucho.server.http.Invocation.service(Invocation.java:312)
> >         at
> > 
> com.caucho.server.http.CacheInvocation.service(CacheInvocation
> .java:135)
> >         at
> > 
> com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:221)
> >         at
> > 
> com.caucho.server.http.HttpRequest.handleConnection(HttpReques
> t.java:163
> > )
> >         at 
> com.caucho.server.TcpConnection.run(TcpConnection.java:137)
> >         at java.lang.Thread.run(Thread.java:536)
> >
> > I am not sure what I am doing wrong, any help much appreciated.
> >
> > Thanks,
> > Greg
> >
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 


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


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


RE: Migrating 1.1b2 to 1.1rc1

Posted by James Mitchell <jm...@apache.org>.
Check the docs again, that method was only changed to add a new
parameter, and deprecated for backward compatibility.



--
James Mitchell
Software Developer/Struts Evangelist
http://struts.sourceforge.net/struts-atlanta/



> -----Original Message-----
> From: Khalid K. [mailto:groups@maikada.com] 
> Sent: Tuesday, March 11, 2003 1:43 PM
> To: Struts Users Mailing List
> Subject: Re: Migrating 1.1b2 to 1.1rc1
> 
> 
> I checked the Java DOC, and it looks like
> org.apache.struts.util.RequestUtils.computeURL() is deprecated.
> 
> Khalid
> 
> ----- Original Message -----
> From: "Greg Hess" <gh...@wrappedapps.com>
> To: "Struts" <st...@jakarta.apache.org>
> Sent: Tuesday, March 11, 2003 10:33 AM
> Subject: Migrating 1.1b2 to 1.1rc1
> 
> 
> > Hi All,
> >
> > I am migrating my Struts 1.1b2 web app to 1.1rc1 to take 
> advantage of
> > the new requiredif validation rule. I have removed all 
> struts libs and
> > all taglib tld's and replaced with the new ones provided with the
> > struts-blank.war in the rc1 distribution.
> >
> > When I try and access my web app the first page gives me 
> the following
> > error:
> > java.lang.NoSuchMethodError:
> > 
> org.apache.struts.util.RequestUtils.computeURL(Ljavax/servlet/
> jsp/PageCo
> > 
> ntext;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lj
> ava/lang/S
> > tring;Ljava/util/Map;Ljava/lang/String;Z)Ljava/lang/String;
> >         at
> > org.apache.struts.taglib.html.LinkTag.calculateURL(LinkTag.java:495)
> >         at
> > org.apache.struts.taglib.html.LinkTag.doStartTag(LinkTag.java:353)
> >         at
> > _shared._header__jsp._jspService(/wbwebsite/shared/header.jsp:45)
> >         at com.caucho.jsp.JavaPage.service(JavaPage.java:75)
> >         at com.caucho.jsp.Page.subservice(Page.java:485)
> >         at
> > 
> com.caucho.server.http.FilterChainPage.doFilter(FilterChainPag
> e.java:182
> > )
> >         at
> > com.caucho.server.http.Invocation.service(Invocation.java:312)
> >         at
> > 
> com.caucho.server.http.CacheInvocation.service(CacheInvocation
> .java:135)
> >         at
> > 
> com.caucho.server.http.QRequestDispatcher.include(QRequestDisp
> atcher.jav
> > a:360)
> >         at
> > 
> com.caucho.server.http.QRequestDispatcher.include(QRequestDisp
> atcher.jav
> > a:267)
> >         at 
> com.caucho.jsp.QPageContext.include(QPageContext.java:538)
> >         at _home._index__jsp._jspService(_index__jsp.java:28)
> >         at com.caucho.jsp.JavaPage.service(JavaPage.java:75)
> >         at com.caucho.jsp.Page.subservice(Page.java:485)
> >         at
> > 
> com.caucho.server.http.FilterChainPage.doFilter(FilterChainPag
> e.java:182
> > )
> >         at
> > com.caucho.server.http.Invocation.service(Invocation.java:312)
> >         at
> > 
> com.caucho.server.http.CacheInvocation.service(CacheInvocation
> .java:135)
> >         at
> > 
> com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:221)
> >         at
> > 
> com.caucho.server.http.HttpRequest.handleConnection(HttpReques
> t.java:163
> > )
> >         at 
> com.caucho.server.TcpConnection.run(TcpConnection.java:137)
> >         at java.lang.Thread.run(Thread.java:536)
> >
> > I am not sure what I am doing wrong, any help much appreciated.
> >
> > Thanks,
> > Greg
> >
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 


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


RE: Migrating 1.1b2 to 1.1rc1

Posted by Greg Hess <gh...@wrappedapps.com>.
Do I need to add a new commons.jar with rc1, or is the struts-blank.war
complete?

Greg

-----Original Message-----
From: Khalid K. [mailto:groups@maikada.com] 
Sent: Tuesday, March 11, 2003 1:43 PM
To: Struts Users Mailing List
Subject: Re: Migrating 1.1b2 to 1.1rc1

I checked the Java DOC, and it looks like
org.apache.struts.util.RequestUtils.computeURL() is deprecated.

Khalid

----- Original Message -----
From: "Greg Hess" <gh...@wrappedapps.com>
To: "Struts" <st...@jakarta.apache.org>
Sent: Tuesday, March 11, 2003 10:33 AM
Subject: Migrating 1.1b2 to 1.1rc1


> Hi All,
>
> I am migrating my Struts 1.1b2 web app to 1.1rc1 to take advantage of
> the new requiredif validation rule. I have removed all struts libs and
> all taglib tld's and replaced with the new ones provided with the
> struts-blank.war in the rc1 distribution.
>
> When I try and access my web app the first page gives me the following
> error:
> java.lang.NoSuchMethodError:
>
org.apache.struts.util.RequestUtils.computeURL(Ljavax/servlet/jsp/PageCo
>
ntext;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/S
> tring;Ljava/util/Map;Ljava/lang/String;Z)Ljava/lang/String;
>         at
> org.apache.struts.taglib.html.LinkTag.calculateURL(LinkTag.java:495)
>         at
> org.apache.struts.taglib.html.LinkTag.doStartTag(LinkTag.java:353)
>         at
> _shared._header__jsp._jspService(/wbwebsite/shared/header.jsp:45)
>         at com.caucho.jsp.JavaPage.service(JavaPage.java:75)
>         at com.caucho.jsp.Page.subservice(Page.java:485)
>         at
>
com.caucho.server.http.FilterChainPage.doFilter(FilterChainPage.java:182
> )
>         at
> com.caucho.server.http.Invocation.service(Invocation.java:312)
>         at
>
com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135)
>         at
>
com.caucho.server.http.QRequestDispatcher.include(QRequestDispatcher.jav
> a:360)
>         at
>
com.caucho.server.http.QRequestDispatcher.include(QRequestDispatcher.jav
> a:267)
>         at com.caucho.jsp.QPageContext.include(QPageContext.java:538)
>         at _home._index__jsp._jspService(_index__jsp.java:28)
>         at com.caucho.jsp.JavaPage.service(JavaPage.java:75)
>         at com.caucho.jsp.Page.subservice(Page.java:485)
>         at
>
com.caucho.server.http.FilterChainPage.doFilter(FilterChainPage.java:182
> )
>         at
> com.caucho.server.http.Invocation.service(Invocation.java:312)
>         at
>
com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135)
>         at
> com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:221)
>         at
>
com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:163
> )
>         at com.caucho.server.TcpConnection.run(TcpConnection.java:137)
>         at java.lang.Thread.run(Thread.java:536)
>
> I am not sure what I am doing wrong, any help much appreciated.
>
> Thanks,
> Greg
>
>


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


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


Re: Migrating 1.1b2 to 1.1rc1

Posted by "Khalid K." <gr...@maikada.com>.
I checked the Java DOC, and it looks like
org.apache.struts.util.RequestUtils.computeURL() is deprecated.

Khalid

----- Original Message -----
From: "Greg Hess" <gh...@wrappedapps.com>
To: "Struts" <st...@jakarta.apache.org>
Sent: Tuesday, March 11, 2003 10:33 AM
Subject: Migrating 1.1b2 to 1.1rc1


> Hi All,
>
> I am migrating my Struts 1.1b2 web app to 1.1rc1 to take advantage of
> the new requiredif validation rule. I have removed all struts libs and
> all taglib tld's and replaced with the new ones provided with the
> struts-blank.war in the rc1 distribution.
>
> When I try and access my web app the first page gives me the following
> error:
> java.lang.NoSuchMethodError:
> org.apache.struts.util.RequestUtils.computeURL(Ljavax/servlet/jsp/PageCo
> ntext;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/S
> tring;Ljava/util/Map;Ljava/lang/String;Z)Ljava/lang/String;
>         at
> org.apache.struts.taglib.html.LinkTag.calculateURL(LinkTag.java:495)
>         at
> org.apache.struts.taglib.html.LinkTag.doStartTag(LinkTag.java:353)
>         at
> _shared._header__jsp._jspService(/wbwebsite/shared/header.jsp:45)
>         at com.caucho.jsp.JavaPage.service(JavaPage.java:75)
>         at com.caucho.jsp.Page.subservice(Page.java:485)
>         at
> com.caucho.server.http.FilterChainPage.doFilter(FilterChainPage.java:182
> )
>         at
> com.caucho.server.http.Invocation.service(Invocation.java:312)
>         at
> com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135)
>         at
> com.caucho.server.http.QRequestDispatcher.include(QRequestDispatcher.jav
> a:360)
>         at
> com.caucho.server.http.QRequestDispatcher.include(QRequestDispatcher.jav
> a:267)
>         at com.caucho.jsp.QPageContext.include(QPageContext.java:538)
>         at _home._index__jsp._jspService(_index__jsp.java:28)
>         at com.caucho.jsp.JavaPage.service(JavaPage.java:75)
>         at com.caucho.jsp.Page.subservice(Page.java:485)
>         at
> com.caucho.server.http.FilterChainPage.doFilter(FilterChainPage.java:182
> )
>         at
> com.caucho.server.http.Invocation.service(Invocation.java:312)
>         at
> com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135)
>         at
> com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:221)
>         at
> com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:163
> )
>         at com.caucho.server.TcpConnection.run(TcpConnection.java:137)
>         at java.lang.Thread.run(Thread.java:536)
>
> I am not sure what I am doing wrong, any help much appreciated.
>
> Thanks,
> Greg
>
>


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