struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "M.Liang Liu " <patriot...@gmail.com>
Subject Re: Another problem of Tiles:the display-tag can NOT display using paging.
Date Fri, 19 May 2006 16:40:41 GMT
I've fixed through documents of display-tag.

The requestURL of the <display:table> should be the page which uses
Layout.jsp,not the content page using display-tag.

Sorry to trouble you all.


On 5/20/06, M.Liang Liu <patriotlml@gmail.com> wrote:
>
> I tried to use display-tag <http://displaytag.sf.net/> to show tables in
> my little project and it works well.
> However,a problem occured when I tried to make use of Auto-paging in my
> struts Tiles.
>
>
> I put one page displaying table using display-tag into my one of my
> Layout.jsp and the first page can display properly.The problem comes when
> I clicked the "next"-page-button.
> The exception is:
>
> > javax.servlet.ServletException: Error - tag.getAsString : component context is not
defined. Check tag syntax
> > 	org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:848)
> > 	org.apache.jasper.runtime.PageContextImpl.handlePageException
> >
> > (PageContextImpl.java:781)
> > 	org.apache.jsp.tiles.layouts.Layout_jsp._jspService(org.apache.jsp.tiles.layouts.Layout_jsp:107)
> > 	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
> > 	javax.servlet.http.HttpServlet.service
> >
> > (HttpServlet.java:802)
> > 	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
> > 	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
> > 	org.apache.jasper.servlet.JspServlet.service
> >
> > (JspServlet.java:241)
> > 	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> > 	com.eam.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:27)
> >
> >
> And I am sure the  CharsetEncodingFilter is right.
>
> Anyone familiar with display-tag?What should I do if I hold on struts 1.2and Tiles?
>
> Thanks a lot!
>
>


-- 
  http://blog.csdn.net/patriotlml
    Drink       Drank         Drunk
http://my.donews.com/patriotlml/

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message