Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Nightly Build
-
None
-
Operating System: All
Platform: PC
-
1717
Description
In nightly builds after 08-May-2001, I am encountering the rewrite.url
error message. I am running apache 1.3.19 and tomcat 3.2.1 on win2K.
I have also not encountered this problem with the Struts 1.0-beta-1 release.
The message I'm getting is:
javax.servlet.ServletException:
Cannot create rewrite URL: java.net.MalformedURLException: no protocol: foo.html
I am encountering this error everywhere I attempt to use the
<html:link> tag while defining href. If I define page instead, I do not
encounter this error. I'm guessing that previously the base URL information
was being prepended when warranted and now it is not?
I encounter this error when accessing the page via the apache port or the
tomcat port. I also updated my apache httpd.conf file per the
jakarta.apache FAQ. I realize this may be considered correct design which
actually fixes the previous behavior now considered a bug. If so, please
reflect this change in the b2 documentation and release notes as well.
I see from the May 9th commit the following:
craigmcc 01/05/09 12:31:33
Log:
Refactor the hyperlink-generation code used in the <bean:include>,
<html:link>, <html:rewrite>, and <logic:redirect> tags to use common
utility methods based on URLs rather than Strings. This will ensure
consistency in implementation, and make it easy to provide full
URL-processing functionality to other tags as necessary.
and am guessing that this change introduced the problem I'm encountering.
Thanks for Struts!