You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Albisser Roman <ro...@siemens.com> on 2005/08/08 16:14:12 UTC
[PATCH] Display currently running Axis version in the webapp star
tpage
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>