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 2007/01/24 11:17:36 UTC
svn commit: r499337 - in
/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2:
engine/AxisConfiguration.java transport/http/AdminAgent.java
Author: deepal
Date: Wed Jan 24 02:17:34 2007
New Revision: 499337
URL: http://svn.apache.org/viewvc?view=rev&rev=499337
Log:
fixing AXIS2-1843
Modified:
webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java
webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/AdminAgent.java
Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java?view=diff&rev=499337&r1=499336&r2=499337
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java (original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java Wed Jan 24 02:17:34 2007
@@ -736,11 +736,11 @@
return this.systemClassLoader;
}
- public TransportInDescription getTransportIn(QName name) throws AxisFault {
+ public TransportInDescription getTransportIn(QName name) {
return (TransportInDescription) transportsIn.get(name);
}
- public TransportOutDescription getTransportOut(QName name) throws AxisFault {
+ public TransportOutDescription getTransportOut(QName name) {
return (TransportOutDescription) transportsOut.get(name);
}
Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/AdminAgent.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/AdminAgent.java?view=diff&rev=499337&r1=499336&r2=499337
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/AdminAgent.java (original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/transport/http/AdminAgent.java Wed Jan 24 02:17:34 2007
@@ -125,7 +125,8 @@
: "disabled");
req.setAttribute("hotUpdate", (hasHotUpdate.equals("true")) ? "enabled" : "disabled");
boolean isMultipart = FileUpload.isMultipartContent(req);
- if (isMultipart) {
+
+ if (isMultipart) {
try {
// Create a new file upload handler
@@ -147,7 +148,7 @@
req.setAttribute("cause", "Unsupported file type " + fileExtesion);
} else {
- String fileNameOnly = "";
+ String fileNameOnly ;
if (fileName.indexOf("\\") < 0) {
fileNameOnly =
fileName.substring(fileName.lastIndexOf("/") + 1, fileName
@@ -247,15 +248,6 @@
}
renderView(SERVICE_PARA_EDIT_JSP_NAME, req, res);
}
-
- private String getBasicHTML(String s) {
- return "<html>\n" +
- "<body>\n" +
- s +
- "</body>\n" +
- "</html>";
- }
-
protected void processEngagingGlobally(HttpServletRequest req, HttpServletResponse res) throws IOException, ServletException {
HashMap modules = configContext.getAxisConfiguration().getModules();
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org