struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mick Knutson" <mickknut...@hotmail.com>
Subject Re: SSLExt and useMap?
Date Thu, 25 Sep 2003 20:51:53 GMT
I added this:
  <area shape="rect" coords="96,0,187,26" href="<sslext:rewrite
name='/member.do'/>" >

(and I also have this in other areas of the same JSP page: <sslext:link
page="/member.do" >Log On</sslext:link>)


I get this error when I did that:

<!--- ----------E[ServletException in:/WEB-INF/default/index.jsp] Cannot
find bean /member.do in any scope'
javax.servlet.jsp.JspException: Cannot find bean /member.do in any scope
 at org.apache.struts.util.RequestUtils.lookup(RequestUtils.java:938)
 at
org.apache.struts.util.RequestUtils.computeParameters(RequestUtils.java:286)
 at
org.apache.struts.taglib.html.SecureRewriteTag.doStartTag(SecureRewriteTag.j
ava:93)
 at org.apache.jsp.index$jsp._jspService(index$jsp.java:1004)
 at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:201)
 at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:360)
 at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandl
er.java:294)
 at org.mortbay.jetty.servlet.Dispatcher.dispatch(Dispatcher.java:192)
 at org.mortbay.jetty.servlet.Dispatcher.include(Dispatcher.java:121)
 at
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:8
20)
 at
org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:391)
 at org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:137)
 at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:177)
 at org.apache.struts.taglib.tiles.InsertTag.doInclude(InsertTag.java:756)
 at
org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.ja
va:881)
 at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:473)
 at org.apache.jsp.index$jsp._jspService(index$jsp.java:68)
 at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:201)
 at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:360)
 at
org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicatio
nHandler.java:342)
 at
com.baselogic.yoursos.security.SecurityContextFilter.doFilter(SecurityContex
tFilter.java:102)
 at
org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicatio
nHandler.java:334)
 at
com.baselogic.yoursos.user.UserPreferenceFilter.doFilter(UserPreferenceFilte
r.java:48)
 at
org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplicatio
nHandler.java:334)
 at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandl
er.java:286)
 at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:558)
 at org.mortbay.http.HttpContext.handle(HttpContext.java:1714)
 at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext
.java:507)
 at org.mortbay.http.HttpContext.handle(HttpContext.java:1664)
 at org.mortbay.http.HttpServer.service(HttpServer.java:863)
 at org.jboss.jetty.Jetty.service(Jetty.java:460)
 at org.mortbay.http.HttpConnection.service(HttpConnection.java:775)
 at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:939)
 at org.mortbay.http.HttpConnection.handle(HttpConnection.java:792)
 at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:201)
 at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289)
 at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:455)

---
Thanks
Mick Knutson
http://www.baselogic.com

+001(805) 563-0666 Office
+001 (708) 570-2772 Fax
---

----- Original Message ----- 
From: "Max Cooper" <max@maxcooper.com>
To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
Sent: Thursday, September 25, 2003 1:40 PM
Subject: Re: SSLExt and useMap?


> Yup, that's the technique I was thinking of. Even though that seems a
little
> like nested tags, it really is not (and should work fine) because the
<area>
> tag is just HTML rather than a JSP custom tag.
>
> -Max
>
> ----- Original Message ----- 
> From: "Mick Knutson" <mickknutson@hotmail.com>
> To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
> Sent: Thursday, September 25, 2003 1:36 PM
> Subject: Re: SSLExt and useMap?
>
>
> > Do you mean Like:
> > <area shape="rect" coords="17,0,84,26" href="<sslext:rewrite
> > name='/member.do'/>">
> >
> >
> > ---
> > Thanks
> > Mick Knutson
> > http://www.baselogic.com
> >
> > +001(805) 563-0666 Office
> > +001 (708) 570-2772 Fax
> > ---
> >
> > ----- Original Message ----- 
> > From: "Max Cooper" <max@maxcooper.com>
> > To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
> > Sent: Thursday, September 25, 2003 1:29 PM
> > Subject: Re: SSLExt and useMap?
> >
> >
> > > <sslext:rewrite /> can render URLs to stick into the <area> href's.
> > >
> > > -Max
> > >
> > > ----- Original Message ----- 
> > > From: "Mick Knutson" <mickknutson@hotmail.com>
> > > To: "struts" <struts-user@jakarta.apache.org>
> > > Sent: Thursday, September 25, 2003 1:23 PM
> > > Subject: Re: SSLExt and useMap?
> > >
> > >
> > > > > I have an HTML image map that needs to use the SSLExt links:
> > > > >
> > > > > <p><map name="Map2">
> > > > >   <area shape="rect" coords="17,0,84,26" href="/index.jsp">
> > > > >   <area shape="rect" coords="96,0,187,26" href="/member.do">
> > > > >   <area shape="rect" coords="204,0,284,26"
href="/notification.do">
> > > > >   <area shape="rect" coords="302,0,406,26" href="/cms.do">
> > > > >   <area shape="rect" coords="415,0,483,26" href="/about.do">
> > > > >
> > > > >
> > > > > How do I do this with SSLExt as I can't find any examples for this
> > > issue.
> > > > > Thanks in advance for your help.
> > > > >
> > > > > ---
> > > > > Thanks
> > > > > Mick Knutson
> > > > > http://www.baselogic.com
> > > > >
> > > > > +001(805) 563-0666 Office
> > > > > +001 (708) 570-2772 Fax
> > > > > ---
> > > >
> > >
> ---------------------------------------------------------------------
> > > > 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
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > 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
>
>

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


Mime
View raw message