You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@juddi.apache.org by ks...@apache.org on 2008/12/14 16:34:53 UTC
svn commit: r726474 -
/webservices/juddi/branches/v3_trunk/juddi-cxf/src/main/webapp/index.jsp
Author: kstam
Date: Sun Dec 14 07:34:52 2008
New Revision: 726474
URL: http://svn.apache.org/viewvc?rev=726474&view=rev
Log:
Code Review / Code cleanup
Modified:
webservices/juddi/branches/v3_trunk/juddi-cxf/src/main/webapp/index.jsp
Modified: webservices/juddi/branches/v3_trunk/juddi-cxf/src/main/webapp/index.jsp
URL: http://svn.apache.org/viewvc/webservices/juddi/branches/v3_trunk/juddi-cxf/src/main/webapp/index.jsp?rev=726474&r1=726473&r2=726474&view=diff
==============================================================================
--- webservices/juddi/branches/v3_trunk/juddi-cxf/src/main/webapp/index.jsp (original)
+++ webservices/juddi/branches/v3_trunk/juddi-cxf/src/main/webapp/index.jsp Sun Dec 14 07:34:52 2008
@@ -1,33 +1,18 @@
<%@ page session="false" %>
-<%@ page import="java.util.List,
- org.apache.juddi.util.Install,
- javax.xml.bind.JAXBException,
- org.uddi.v3_service.DispositionReportFaultMessage,
- org.apache.juddi.config.AppConfig,
- org.apache.juddi.config.Property,
- org.uddi.api_v3.RegisteredInfo,
- org.uddi.api_v3.BusinessInfo,
- org.uddi.api_v3.Name,
- org.uddi.api_v3.Description"
+<%@ page import="
+ java.util.List,
+ javax.xml.bind.JAXBException,
+ org.uddi.v3_service.DispositionReportFaultMessage,
+ org.apache.juddi.config.AppConfig,
+ org.apache.juddi.config.Property,
+ org.uddi.api_v3.RegisteredInfo,
+ org.uddi.api_v3.BusinessInfo,
+ org.uddi.api_v3.Name,
+ org.uddi.api_v3.Description"
%>
<!-- index.jsp -->
-<%
-String errMsg = "";
-if (request.getParameter("install") != null) {
- try {
- Install.install(request.getRealPath("WEB-INF\\install"));
- }
- catch (JAXBException je) {
- errMsg = "JAXBException occurred attempting to install jUDDI: " + je.getMessage();
- if (je.getLinkedException() != null)
- errMsg = errMsg + "; linkedException=" + je.getLinkedException().getMessage();
- }
- catch (DispositionReportFaultMessage drfm) {
- errMsg = "An error occurred attempting to install jUDDI: " + drfm.getMessage();
- }
-}
%>
<html>
<head>
@@ -38,12 +23,12 @@
<div class="header" align="right"><a href="http://ws.apache.org/juddi/" target="_top">jUDDI@Apache</a></div>
<h1>Apache jUDDI version [add version info here!]</h1>
-<%
-if (errMsg != null && errMsg.length() > 0) {
+<%
+ if (errMsg != null && errMsg.length() > 0) {
%>
-<div class="error"><%= errMsg %></div>
-<%
-}
+<div class="error"><%=errMsg%></div>
+<%
+ }
%>
<h3><em>Welcome</em> to Apache jUDDI!</h3>
@@ -53,7 +38,7 @@
</ul>
<%
-if (Install.alreadyInstalled()) {
+ if (Install.alreadyInstalled()) {
String nodeKey = "";
String nodeName = "";
String nodeDescription = "";
@@ -107,9 +92,6 @@
jUDDI does not appear to have been installed. In order for jUDDI to function properly, certain entities must be installed into the registry.
Please read the setup documentation for more information.
</div>
- <form action="index.jsp" method="post">
- <input type="submit" value="Install" name = "install" />
- </form>
<%
}
%>
---------------------------------------------------------------------
To unsubscribe, e-mail: juddi-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: juddi-cvs-help@ws.apache.org