Stefan Taranu wrote:Guys,
According to the JAVA API:
http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/ServletConfig.html
http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/ServletRequest.html
http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/http/HttpServletRequest.html
http://java.sun.com/products/servlet/2.2/javadoc/javax/servlet/http/HttpSession.html
the ServletContext object can be obtained only from ServletConfig interface. So ONLY E is correct.
But what is path info?
[A] When the user clicks on a hyperlink displayed by Test
[B] the user clicks on the submit button of a form defined as: <form action="/servlet/TestServlet" method="POST">
[C] For both option 1 and option 2.
Which is true and why ?
nisha chidella wrote:i am reading the 6th chapter in HFSJ..i could not understand how the web container actually does the HttpSession object migration from one VM to another if it is not required to use serialization. how does it do and is it vendor specific ?
Duran Harris wrote:Can someone please explain the difference between getQueryString() and getAttribute("javax.servlet.forward.query_string")...
please...
Duran Harris wrote:Can someone please explain the difference between getQueryString() and getAttribute("javax.servlet.forward.query_string")...
please...
Ulf Dittmer wrote:What I meant is: you should tell the author about this, so it can be fixed. I doubt that he checks this forum in search of error reports.
Charles Lyons wrote:Congratulations on a great score, and glad you found my book useful; thanks for the mention!
![]()
Elton Kuzniewski wrote:between:
<jsp:directive.include file="/path"/> --- doesn't exists
<jsp:directive.include page="/path"/> ---- fine
<jsp.include file="/path"/> --- doesn't exists
<jsp.include page="/path"/> --- doesn't exists (it should be <jsp:include... not ><jsp.include ... )
<%@include file="/path"/> --- fine
<%@include page="/path"/> --- doesnt exists
What of them exists and what not? What every ones really make?![]()