You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Khalid K." <gr...@maikada.com> on 2003/11/26 02:18:30 UTC

Re: https problem - urgent..help!!

This is bad then!! Any proposed solutions ???
<bean:include> tag uses RequestUtils.computeURL() and requestURL()
to determine how to get the included file...

So...<bean:include> does with https ???????   Any ideas..anyone??

Thanks


> I don't think that java.net.URL is capable of setting up an SSL connection.
> 
> -daniel
> 
> Daniel A. Torrey
> daniel at datorrey dot net
> 
> 
> 
> Quoting "Khalid K." <gr...@maikada.com>:
> 
> > platform:  AIX/Websphere
> > Struts V:  1.0.2
> > 
> > Problem:  <bean:include id="x" name="/pages/page1.jsp"/>
> >           <bean:write name="x" filter="false"/>
> > 
> > the above code works fine in windows - none SSL environment.
> > When we migrate the code to AIX/Websphere that has SSL installed..
> > hence..https://blahblah... The above code throws:
> > java.net.MalformedURLException: unknown protocol: https
> > 
> > Last time I checked https is a valid protocol...HELP!!!!! THANKS!
> > 
> > Thanks in advance!!! (cant use jsp:include ...custom wrappers etc...)
> > 
> > 
> > WebGroup      X Servlet Error: Cannot create include URL:
> > java.net.MalformedURLException: unknown protocol: https:
> > javax.servlet.jsp.JspException: Cannot create include URL:
> > java.net.MalformedURLException: unknown protocol: https
> >         at
> > org.apache.struts.taglib.bean.IncludeTag.doStartTag(IncludeTag.java)
> >         at noticeofchange._notice_5F_of_5F_change_jsp_5._jspService
> > (_notice_5F_of_5F_change_jsp_5.java:241)
> >         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java
> > (Compiled Code))
> > 
> > 
> > 
> > ---------------------------------------------------------------------
> > 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
> 
> 


-- 
Khalid K.

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