[MOBY-guts] biomoby commit
Eddie Kawas
kawas at pub.open-bio.org
Fri Sep 30 14:48:22 UTC 2005
kawas
Fri Sep 30 10:48:22 EDT 2005
Update of /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/servlet/forms
In directory pub.open-bio.org:/tmp/cvs-serv6485/org/biomoby/client/ui/graphical/servlet/forms
Modified Files:
GetSignatureRDFResponse.java GetSignatureRDFForm.java
Log Message:
*modified the domain to be portless since some people dont like 8090
etc
moby-live/Java/src/main/org/biomoby/client/ui/graphical/servlet/forms GetSignatureRDFResponse.java,1.3,1.4 GetSignatureRDFForm.java,1.3,1.4
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/servlet/forms/GetSignatureRDFResponse.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/servlet/forms/GetSignatureRDFResponse.java 2005/07/19 15:28:28 1.3
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/servlet/forms/GetSignatureRDFResponse.java 2005/09/30 14:48:22 1.4
@@ -37,18 +37,18 @@
final private String newline = System.getProperty("line.separator");
- final static private String error = "<html>\r\n"
- + "<head>\r\n"
- + "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\">\r\n"
- + "<title>Please Try Again</title>\r\n"
- + "</head>\r\n"
- + "\r\n"
- + "<body>\r\n"
- + "<h1>Unable to update your information</h1>\r\n"
- + "<blockquote>\r\n"
- + " <h3>Make sure that you specify a valid signature url! This field looks like the following: http://myAuthority.domain/path/to/rdf/for/service. Also make sure that you have specified the right case-sensitive service name, if applicable.</h3>\r\n"
- + " <p><a href=\"http://mobycentral.icapture.ubc.ca:8090/servlets/forms/getSignatureForm\" target=\"_self\"><strong>Back</strong></a></p>\r\n"
- + "</blockquote>\r\n" + "</body>\r\n" + "</html>";
+ final static private String error = "<html>" + System.getProperty("line.separator") + ""
+ + "<head>" + System.getProperty("line.separator") + ""
+ + "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\">" + System.getProperty("line.separator") + ""
+ + "<title>Please Try Again</title>" + System.getProperty("line.separator") + ""
+ + "</head>" + System.getProperty("line.separator") + ""
+ + "" + System.getProperty("line.separator") + ""
+ + "<body>" + System.getProperty("line.separator") + ""
+ + "<h1>Unable to update your information</h1>" + System.getProperty("line.separator") + ""
+ + "<blockquote>" + System.getProperty("line.separator") + ""
+ + " <h3>Make sure that you specify a valid signature url! This field looks like the following: http://myAuthority.domain/path/to/rdf/for/service. Also make sure that you have specified the right case-sensitive service name, if applicable.</h3>" + System.getProperty("line.separator") + ""
+ + " <p><a href=\"http://mobycentral.icapture.ubc.ca/servlets/forms/getSignatureForm\" target=\"_self\"><strong>Back</strong></a></p>" + System.getProperty("line.separator") + ""
+ + "</blockquote>" + System.getProperty("line.separator") + "" + "</body>" + System.getProperty("line.separator") + "" + "</html>";
protected void doGet(HttpServletRequest request,
HttpServletResponse response) throws ServletException, IOException {
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/servlet/forms/GetSignatureRDFForm.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/servlet/forms/GetSignatureRDFForm.java 2005/07/19 15:28:28 1.3
+++ /home/repository/moby/moby-live/Java/src/main/org/biomoby/client/ui/graphical/servlet/forms/GetSignatureRDFForm.java 2005/09/30 14:48:22 1.4
@@ -34,7 +34,7 @@
// some useful variables
private final String newline = System.getProperty("line.separator");
- private static final String DOMAIN = "mobycentral.icapture.ubc.ca:8090";
+ private static final String DOMAIN = "mobycentral.icapture.ubc.ca";
/* (non-Javadoc)
* @see javax.servlet.http.HttpServlet#doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
@@ -50,6 +50,7 @@
String[] domains = null;
// initialize central
try {
+ //TODO - enter the endpoint here
central = new CentralImpl();
domains = central.getProviders();
} catch (MobyException e) {
More information about the MOBY-guts
mailing list