can you tell me how can i do it so, i used struts 2, spring and liferay
portlet to my project
i want to do pagination.should i change the localresolver and localeprovider
in display.properties file.

2009/10/21 Ferguson, Jason M TSgt USAF AMC 375 CSPTS/SCE <
[email protected]>

> RequestContextUtils is in the spring-webmvc package (even if you are using
> Struts or another MVC controller). Make sure that you have it and it is on
> your classpath.
>
> -----Original Message-----
> From: Ishara Gunathilake [mailto:[email protected]]
> Sent: Wednesday, October 21, 2009 6:22 AM
> To: [email protected]
> Subject: [displaytag-user] how to use display tag in spring bean
>
> hi
> iv got this error when im trying to use diplay tag
>
>  java.lang.NoClassDefFoundError:
> org/springframework/web/servlet/support/RequestContextUtils
>    at
>
> org.displaytag.localization.I18nSpringAdapter.getResource(I18nSpringAdapter.
> java:59)
>    at org.displaytag.tags.ColumnTag.addHeaderToTable(ColumnTag.java:684)
>    at org.displaytag.tags.ColumnTag.doEndTag(ColumnTag.java:622)
>    at
>
> org.apache.jsp.WEB_002dINF.jsp.view.results_jsp._jspx_meth_display_005fcolum
> n_005f0(results_jsp.java:657)
>    at
>
> org.apache.jsp.WEB_002dINF.jsp.view.results_jsp._jspx_meth_display_005ftable
> _005f0(results_jsp.java:613)
>    at
>
> org.apache.jsp.WEB_002dINF.jsp.view.results_jsp._jspx_meth_s_005fi18n_005f0(
> results_jsp.java:200)
>    at
>
> org.apache.jsp.WEB_002dINF.jsp.view.results_jsp._jspService(results_jsp.java
> :94)
>    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>    at
>
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
> 74)
>    at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
>    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
>    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>    at
>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:290)
>    at
>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:206)
>    at
>
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
> java:630)
>    at
>
> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatch
> er.java:535)
>    at
>
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher
> .java:472)
>    at
>
> com.liferay.portlet.PortletRequestDispatcherImpl.dispatch(PortletRequestDisp
> atcherImpl.java:302)
>    at
>
> com.liferay.portlet.PortletRequestDispatcherImpl.include(PortletRequestDispa
> tcherImpl.java:122)
>
>
>
>
> i change the display.properties file as below
>
> locale.provider=org.displaytag.localization.I18nSpringAdapter
> locale.resolver=RequestContextUtils.getLocale();
>
> please help me to solve this
>
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> displaytag-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/displaytag-user
>
>
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to