You are viewing a plain text version of this content. The canonical link for it is here.
Posted to watchdog-dev@jakarta.apache.org by rl...@apache.org on 2002/01/29 00:54:27 UTC
cvs commit: jakarta-watchdog-4.0/src/server/jsp-tests/jsp/core_syntax/directives/page/session negativeDuplicateSessionFatalTranslationError.jsp negativeSessionFatalTranslationError.jsp
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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>