Win a copy of Microservices Testing (Live Project) this week in the Spring forum!

Sai Vikas

Greenhorn
+ Follow
since Dec 06, 2011
Sai likes ...
Eclipse IDE
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
2
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Sai Vikas

Hi All,

Please suggest a good book for Hibernate which would explain clearly all the concepts like SCJP book.

Thanks In Advance.
Am getting the following error in the Tomcat Server

Type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: java.lang.ClassCastException: org.apache.catalina.connector.RequestFacade cannot be cast to java.util.List
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:491)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:419)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
com.example.web.BeerSelect.doPost(BeerSelect.java:22)
javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

root cause

java.lang.ClassCastException: org.apache.catalina.connector.RequestFacade cannot be cast to java.util.List
org.apache.jsp.result_jsp._jspService(result_jsp.java:61)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
com.example.web.BeerSelect.doPost(BeerSelect.java:22)
javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

note The full stack trace of the root cause is available in the Apache Tomcat/6.0.29 logs.



This is my Servlet Code :




This is my reusult.jsp code

<%@ page import="java.util.*" %>
<html>
<body>
<h1 align"center"> Beer Recommendations JSP </h1>
<p>

<%
List styles = (List)request.getAttribute("styles");
Iterator it = styles.iterator();
while(it.hasNext()){
out.println("<br> try :" + it.next());
}
%>
</body>
</html>


The servlet file was successfully compiled, please help me resolve this....
Hi All,
Can some one explain about what run time libraries does/mean in C/C++, and also came across a concept called shared object while surfing about run time libraries, i was not able to understand about it,if someone knows about please explain how it works too. TIA
10 years ago
Hi All,
Can someone suggest me a book for javascript,which starts well from basics and covers all the advanced topics in java scripting. TIA
Hi All,

Can someone suggest a book for learning UNIX cmds along with shell which explains concepts clearly in UNIX, like SCJP book by kathy & Bert for Java. Thanks In Advance.
10 years ago