I wanted to resend with some additional information: I am using Struts
daily build from Jan 8, 2002 (even though the source hasn't changed for
the custom tag). The Jetty version is unknown (4.0 shows up in their
manifest.mf), but it is whatever is being distributed with JBoss 3 beta.

 
[Original Message]
I apologize if this is a repeat question, but I couldn't locate an
answer to this mailing list archive, nor via google to any of your docs
or other FAQs. 

I'm using JBoss 3.0.0 with embedded Jetty. Just about everything works
with our web application since we ported it to JBoss from Weblogic. The
only problem is with the html:base tag - for some reason, the tag
renders 

<base href="http://localhost:8080/transactionmanagerweb/AdminUser.bmi";>

instead of 

<base
href="http://localhost:8080/transactionmanagerweb/useradmin/prefs.jsp";>.

Since its doing this, our relative URLs are off. Again, weblogic 6.1 and
Tomcat 4.0 seem to be fine. 

When looking at the source for the tag (both in 1.0.2 and 1.1), it seems
to be using the getRequestURI() from the request. I guess Jetty doesn't
adjust this value if you do a server-side redirect? Has anyone else seen
this problem? Is there a workaround? If this is something broken with
Jetty, then I could write a similiar tag that uses the mapping to obtain
the proper page, rather than the request. I'd prefer not to do this,
however, and was hoping someone else has a workaround for this problem. 

Thanks in advance,

James

Reply via email to