<%@ page language="java" %> <%@ taglib uri="http://beehive.apache.org/netui/tags-html-1.0" prefix="netui"%> <%@ taglib uri="http://beehive.apache.org/netui/tags-databinding-1.0" prefix="netui-data"%> MiscJpf Bug 26856 test

MiscJpf Bug 26856 test - Jsp1.jsp



Test 1

Message from default resource bundle.


Test 2

Message from named resource bundle, using quotes.


Test 3

Message from named resource bundle, using single quotes.


Test 4

Non-existant message from default resource bundle. An error is expected.
<% try { %> <% } catch ( Exception e ) { pageContext.getOut().print( e.getMessage() ); } %>

Test 5

Message from non-existant resource bundle. An error is expected.
<% try { %>
<% } catch ( Exception e ) { pageContext.getOut().print( e.getMessage() ); } %>

Test 6

"Overloaded" bundle name.



Test 7

Message with value substitution. SubTest 7 will give an error.



Done