Skip to content

Commit

Permalink
Geronimo-1489 Minor fixes to JUDDI JSP application
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/geronimo/branches/1.0@374278 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Matt Richard Hogstrom committed Feb 2, 2006
1 parent abf59f3 commit 99bd117
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
5 changes: 5 additions & 0 deletions applications/uddi-server/src/webapp/WEB-INF/web.xml
Expand Up @@ -23,6 +23,11 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">

<!-- Welcome File List -->
<welcome-file-list>
<welcome-file>happyjuddi.jsp</welcome-file>
</welcome-file-list>

<!--
This Servlet is used to create, initialize and cleanup
resources used by jUDDI. It ABSOLUTELY MUST be loaded first.
Expand Down
8 changes: 6 additions & 2 deletions applications/uddi-server/src/webapp/happyjuddi.jsp
Expand Up @@ -266,7 +266,10 @@
throw new Exception("No Context");
out.print("<font color=\"green\">");
/** Removed to avoid a security risk in exposing a DS name
out.print("+ Got a JDBC DataSource (dsname="+dsname+")");
**/
out.print("+ Got a JDBC DataSource!");
out.println("</font>");
}
catch(Exception ex)
Expand Down Expand Up @@ -315,7 +318,7 @@
%>
</pre>


<!-- removed to avoid exposing internal system properties to unauth user
<h4>System Properties</h4>
<pre>
<%
Expand All @@ -335,6 +338,7 @@
}
%>
</pre>
-->

<hr>
Platform: <%= getServletConfig().getServletContext().getServerInfo() %>
Expand All @@ -345,4 +349,4 @@ Platform: <%= getServletConfig().getServletContext().getServerInfo() %>

</body>
</div>
</html>
</html>
2 changes: 1 addition & 1 deletion configs/uddi-tomcat/src/plan/plan.xml
Expand Up @@ -21,7 +21,7 @@
configId="${pom.groupId}/${pom.artifactId}/${pom.currentVersion}/car">

<ext-module>
<web>uddi-jetty</web>
<web>uddi-tomcat</web>
<external-path>geronimo/geronimo-uddi-server/${pom.currentVersion}/war</external-path>
<web-app
xmlns="http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-1.0"
Expand Down

0 comments on commit 99bd117

Please sign in to comment.