%-- Copyright 2003, 2004 The Apache Software Foundation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --%> <% String url = request.getParameter("url"); if (url == null) { url = ""; } Boolean success = (Boolean) request.getAttribute("success"); boolean isValidating = Boolean.valueOf(request.getParameter("isValidating")).booleanValue(); ServletException e = (ServletException) request.getAttribute("error"); String what = request.getParameter("what"); boolean compiling = what == null || "compile".equals(what); %>
This small web application allows you to run JaxMe online. By entering a schema URL, the JaxMe compiler is invoked and returns a ZIP file with the generated sources.
<% if (success != null) { if (success.booleanValue()) { %>The schema was validated successful.
<% } else { %>The schema was found to contain errors.
<% } } if (e != null) { %><% Throwable t = e.getRootCause() == null ? e : e.getRootCause(); t.printStackTrace(new java.io.PrintWriter(out)); %><% } %>