You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@juddi.apache.org by Timothy Stone <ci...@petmystone.com> on 2004/02/23 19:17:24 UTC

happyjuddi.jsp patch

List,

In version 0.8.1 of jUDDI (just downloaded from anon CVS) the 
happyjuddi.jsp page fails to compile due to two (2) missing import 
statements, java.io.File and java.io.IOException

(Yes, I am aware that it could be just one (1) import statement... 
java.io.*; I am trying to remain consistent with the coding style 
presented in the source, however.) ;)

The patch is attached.

To use, YMMV:

% cd $JUDDI_ROOT/webapps/juddi
% patch -p0 < $PATH_TO/happyjuddy_jsp.diff

Or just correct the list of imports as shown:

... cut below ...
<%@ page session="false"
          import="java.net.URL,
                  java.net.JarURLConnection,
                  java.sql.Connection,
                  java.sql.ResultSet,
                  java.sql.Statement,
                  java.util.Properties,
                  java.util.Iterator,
                  java.util.SortedSet,
                  java.util.TreeSet,
                  javax.naming.Context,
                  javax.naming.InitialContext,
                  javax.sql.DataSource,
                  java.io.File,
                  java.io.IOException"
%>
... cut above ...

Tim