JAXB is not yet supported on Google App Engine. If you try to use it you'll get this problem:
Go to this page http://code.google.com/p/googleappengine/issues/detail?id=1267 and vote for JAXB!
I'm going to try the interim solution provided by a poster to the issue above.
Head of Development, Software Architect and Developer by day. Data Science and Raspberry Pi dabbler by night.
Pages
▼
2009-10-31
2009-10-26
JSTL on Google App Engine
This caught me out this morning. I was trying to get a simple JSP page with EL to work in Google App Engine but the EL wasn't being evaluated. This was what I had:
Unfortunately the output from this was:
In order to get Google App Engine to evaluate the EL I had to add this:
to the top of the JSP.
<%@ page contentType="text/html" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
<title>Maintenance</title>
</head>
<body>
<p>Hello from Spring ${user}</p>
<p>AuthDomain = ${user.authDomain}</p>
<p>Nickname = ${user.nickname}</p>
<p>Email = ${user.email}</p>
<p>UserId = ${user.userId}</p>
</body>
</html>
Unfortunately the output from this was:
Hello from Spring ${user}
AuthDomain = ${user.authDomain}
Nickname = ${user.nickname}
Email = ${user.email}
UserId = ${user.userId}
In order to get Google App Engine to evaluate the EL I had to add this:
<%@ page isELIgnored="false" %>
to the top of the JSP.
