axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Albisser Roman <roman.albis...@siemens.com>
Subject [PATCH] Display currently running Axis version in the webapp star tpage
Date Mon, 08 Aug 2005 14:14:12 GMT
Hello everybody,

this is a tiny (and my first) contribution to a oss project.
Hope that's the right way in this form via developer mailinglist.
Please give me a feedback if there is something wrong or missing.

Since I am was testing different Axis versions it was trying 
to see directly (via HTML) which version Axis currently is running.

My patch add's just a simple call to the method
org.apache.axis.Version.getVersion()
on the Axis webapp startpage (index.jsp) to show the running version.

Best wishes 
Roman Albisser



PATCH
========


Index: java/webapps/axis/index.jsp
===================================================================
RCS file: /home/cvspublic/ws-axis/java/webapps/axis/index.jsp,v
retrieving revision 1.2
diff -u -r1.2 index.jsp
--- java/webapps/axis/index.jsp	7 Jan 2005 11:05:37 -0000	1.2
+++ java/webapps/axis/index.jsp	8 Aug 2005 11:57:50 -0000
@@ -1,3 +1,4 @@
+<%@ page import="org.apache.axis.Version" %>
 <html>
 <%@ page contentType="text/html; charset=utf-8" %>
 <%
@@ -40,8 +41,8 @@
 <%= getLocaleChoice() %>
 
 <%
-  out.print(getMessage("welcomeMessage")+"<p/>");
-  out.print(getMessage("operationType"));
+  out.print(getMessage("welcomeMessage") + "<br>" + Version.getVersion() +"
<p/>");
+  out.print(getMessage("operationType"));
 %>
 
 <ul>

Mime
View raw message