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 de...@apache.org on 2005/02/16 04:14:18 UTC
svn commit: r153986 -
webservices/axis/trunk/java/dev/scratch/prototype2/src/html/HappyAxis.jsp
Author: deepal
Date: Tue Feb 15 19:14:17 2005
New Revision: 153986
URL: http://svn.apache.org/viewcvs?view=rev&rev=153986
Log:
modifed to get the server runing port
Modified:
webservices/axis/trunk/java/dev/scratch/prototype2/src/html/HappyAxis.jsp
Modified: webservices/axis/trunk/java/dev/scratch/prototype2/src/html/HappyAxis.jsp
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/dev/scratch/prototype2/src/html/HappyAxis.jsp?view=diff&r1=153985&r2=153986
==============================================================================
--- webservices/axis/trunk/java/dev/scratch/prototype2/src/html/HappyAxis.jsp (original)
+++ webservices/axis/trunk/java/dev/scratch/prototype2/src/html/HappyAxis.jsp Tue Feb 15 19:14:17 2005
@@ -36,16 +36,15 @@
<title>Axis2 Happiness Page</title>
</head>
<body bgcolor='#ffffff'>
+<%port =request.getServerPort();%>
<%!
-
/*
* Happiness tests for axis. These look at the classpath and warn if things
* are missing. Normally addng this much code in a JSP page is mad
* but here we want to validate JSP compilation too, and have a drop-in
* page for easy re-use
*/
-
-
+ int port = 0;
/**
* Get a string providing install information.
* TODO: make this platform aware and give specific hints
@@ -356,7 +355,7 @@
new EndpointReference(
AddressingConstants.WSA_TO,
"http://127.0.0.1:"
- + (8080)
+ + (port)
+ "/axis2/services/echo"); //listServices /axis2/services/service1
Call call = new Call();
call.setTo(targetEPR);