You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2003/01/29 07:32:19 UTC

DO NOT REPLY [Bug 16530] New: - gets funky value running in mod_jk

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16530>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16530

<html:base> gets funky value running in mod_jk

           Summary: <html:base> gets funky value running in mod_jk
           Product: Struts
           Version: 1.1 Beta 3
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Tiles framework
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: jeff@jefferycann.com


First, I think this may be a mod_jk problem, but I thought I would start with  struts.    Observe the following jsp:     <html:html>           <head>                   <title><tiles:getAsString name="title"/></title>                   <html:base/>           </head>     When running this page through Tomcat 4.1, standalone (8080), the following  HTML is produced, which is correct (running on localhost)    <html>  	<head>  		<title>index page</title>  		<base href="http://localhost:8080/tourneysoft/index.jsp">  	</head>    Now, take the same webapp, running on the same box, except serve it using  mod_jk, version 1.2.2 and Apache Httpd server, version 2.0.44 and here's what  the HTML looks like.  Notice that the localhost seems to be partially  overwritten with 'Content Type:  text/html'.    <html>  	<head>  		<title>index page</title>  		<base href="http://localhostnt-Type  text/html    Works this way everytime. I duplicated it in the previous releases of each  component:    Apache httpd 2.0.43 + mod_jk 1.2.1 + struts 1.1 beta 2  Apache httpd 2.0.44 + mod_jk 1.2.2 + struts 1.1 beta 3    Thanks and let me know if this needs to go to mod_jk.   Regards, Jeff  P.S. Tiles rock - thanks for doing it.  Making our (jsp) lives much easier.

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