Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RE: How to display simple jsp ( it is not processing anything ) into portlet window?

 
Nilesh Katore
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello,
i am new to spring portlet development.
i am using Tomcat 5.27 with Pluto 1.1.6
i successfully deploy spring-portlet-sample into pluto.

I just want to display simple jsp ( it is not processing anything ) into portlet window.
Just like Welcome page we have in conventional web app.


i put my jsp in WEB-INF\jsp\login\loginView.jsp

is there any other way to do it?
besides from using ModelAndVeiw object in controller class & ViewResolver.

I am trying to do so.

but it give me error

HTTP Status 500 -

exception

org.apache.jasper.JasperException: javax.servlet.jsp.jstl.fmt.LocalizationContext
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:512)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:395)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.pluto.driver.PortalDriverServlet.doGet(PortalDriverServlet.java:151)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

root cause

java.lang.ClassCastException: javax.servlet.jsp.jstl.fmt.LocalizationContext
org.apache.taglibs.standard.tag.common.fmt.BundleSupport.getLocalizationContext(BundleSupport.java:134)
org.apache.taglibs.standard.tag.common.fmt.SetLocaleSupport.getFormattingLocale(SetLocaleSupport.java:251)
org.apache.taglibs.standard.tag.common.fmt.FormatDateSupport.doEndTag(FormatDateSupport.java:116)
org.apache.jsp.WEB_002dINF.themes.pluto_002ddefault_002dtheme_jsp._jspx_meth_fmt_formatDate_0(pluto_002ddefault_002dtheme_jsp.java:601)
org.apache.jsp.WEB_002dINF.themes.pluto_002ddefault_002dtheme_jsp._jspService(pluto_002ddefault_002dtheme_jsp.java:162)
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:334)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.pluto.driver.PortalDriverServlet.doGet(PortalDriverServlet.java:151)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic