Originally posted by William Brogden:
After a session has been invalidated, it is effectively killed since it can't be used in any way ...
Originally posted by pingkan paula:
webapp\examples\WEB_INF
Q2. Is the method getPreviousOut() equivalent to calling getBodyContent().getEnclosingWriter()?
Q1. As per the convention, the writer should be obtained using the tag handler's getPreviousOut()method. Why is this so ? The BodyTagSupport already has the access to the pageContext object which can be used to obtain the out writer. Can't we write the contents of body using this writer?
Originally posted by Jack Lau:
One session represent to one client (e.g.browser) or one machine(e.g. many browsers) ?
Originally posted by pingkan paula:
I've been developing application in cell-phone that can access the back-end database by using JSP as the middleware.
I have download open-source xml parser and place the jar file in common\lib and classes in common\endorsed.
When i run the jsp program ,the errors pointed that the xml parser package not exist.
Until now ,my application in cell-phone still failed to make a connection to jsp programs which i put in webapp\examples.
Originally posted by Peixiao Lin:
my tomcat version is 5.0.29, and I can not find context element in server.xml. what I can do if I want to define my own prefix?
Originally posted by Srinivasan Madhavan:
Can anyone throw light as to where in TOMCAT, it is specified that the default web-app is the ROOT directory? For instance in Weblogic6.1 it is the "config" file in C:\bea\wlserver6.1\config\mydomain.
Originally posted by David Jones:
A question not related with the Exam but I want to know is Tomcat support multi-CPUs? If yes, how to make Tomcat support multi-CPUs?
Originally posted by Sami Sayeed:
This is the second jsp
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
java.util.Map map = new java.util.HashMap();
%>
<c:set target="${map}" property="dog" value="tom"/>// iam trying to use el to refer the map
// throws the following error
javax.servlet.ServletException
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:862)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:795)
org.apache.jsp.testsettarget_jsp._jspService(testsettarget_jsp.java:74)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
<a href="testset.jsp">click</a>
${map.dog}
<%=map.get("dog")%>
Originally posted by Sami Sayeed:
the page 448 describes how to use c:remove tag,
it states that the scope if not mentioned in the <c:remove var="blah"/> resolves to page scope.
[...]
<c:remove var="user"/>// the c:remove tag removes the user variable created under session scope even without me mentioning the scope...
Originally posted by Eldo Zacharia:
set classpath=C:\j2sdk1.4.0\jre\lib\rt.jar;.;C:\Program Files\Tomcat\common\lib\servlet.jar;.;C:\struts\jakarta-struts-1.1-b2\lib\struts.jar;.;C:\Program Files\Tomcat\webapps\MiniHr\WEB-INF\classes;.;C:\j2sdk1.4.0\bin;;