rlubke 02/01/28 15:54:27
Added: src/server/jsp-tests/jsp/core_syntax/directives/page/session
negativeDuplicateSessionFatalTranslationError.jsp
negativeSessionFatalTranslationError.jsp
Log:
- content push from CTS
Revision Changes Path
1.1
jakarta-watchdog-4.0/src/server/jsp-tests/jsp/core_syntax/directives/page/session/negativeDuplicateSessionFatalTranslationError.jsp
Index: negativeDuplicateSessionFatalTranslationError.jsp
===================================================================
<html>
<title>negativeDuplicateSessionFatalTranslationError</title>
<body>
<% /** Name : negativeDuplicateSessionFatalTranslationError
Description : Verify that multiple uses of the session attribute
result in a fatal translation error.
Result : A fatal translation error.
**/ %>
<%@ page session="true" session="true" %>
</body>
</html>
1.1
jakarta-watchdog-4.0/src/server/jsp-tests/jsp/core_syntax/directives/page/session/negativeSessionFatalTranslationError.jsp
Index: negativeSessionFatalTranslationError.jsp
===================================================================
<html>
<title>negativeSessionFatalTranslationError</title>
<body>
<% /** Name : negativeSessionFatalTranslationError
Description:Set the value of the session attribute to "false".
Try to access the implicit session object.
Result: A fatal translation error should occur.
**/ %>
<!--- verify that a fatal translation error ocurrs -->
<%@ page session="false" %>
<%
if ( session == null ) {
out.println( "Session object shouldn't be available." );
}
%>
</body>
</html>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>