• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: _rewriteURL is not called in Tomcat Deployment
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: _rewriteURL is not called in Tomcat Deployment


  • Subject: Re: _rewriteURL is not called in Tomcat Deployment
  • From: Mike Schrag <email@hidden>
  • Date: Wed, 15 Oct 2008 07:59:42 -0400

I've attached a patch for ERXWOServletContext (Mike, if you'd like to apply this... it's a project relative patch).
The problem with this is that this method call changed between 5.3 and 5.4 in an API-incompatible way, which means we actually now have to have an ERXWOServletContext53 and ERXWOServletContext54. This is actually exactly the reason we have that stupid ERXWOContext54 -- it's only for this one method.

in 5.4:
public String _urlWithRequestHandlerKey(String requestHandlerKey, String requestHandlerPath, String queryString, boolean isSecure, int somePort) {


in 5.3:
public String _urlWithRequestHandlerKey(String requestHandlerKey, String requestHandlerPath, String queryString, boolean secure) {


The problem is that you have to call "super." and you can't call super with reflection, which means you can't build a version that works in 5.4 against 5.3 API's.

ms

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: _rewriteURL is not called in Tomcat Deployment
      • From: Lachlan Deck <email@hidden>
References: 
 >_rewriteURL is not called in Tomcat Deployment (From: Helmut Schottmüller <email@hidden>)
 >Re: _rewriteURL is not called in Tomcat Deployment (From: Lachlan Deck <email@hidden>)

  • Prev by Date: Re: _rewriteURL is not called in Tomcat Deployment
  • Next by Date: Re: _rewriteURL is not called in Tomcat Deployment
  • Previous by thread: Re: _rewriteURL is not called in Tomcat Deployment
  • Next by thread: Re: _rewriteURL is not called in Tomcat Deployment
  • Index(es):
    • Date
    • Thread