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/09/16 08:20:04 UTC
svn commit: r289392 -
/webservices/axis2/trunk/java/modules/core/webapp/upload.jsp
Author: deepal
Date: Thu Sep 15 23:19:58 2005
New Revision: 289392
URL: http://svn.apache.org/viewcvs?rev=289392&view=rev
Log:
there was a bug when uploading a service via upload.jsp , it converts service name to lower case and which is wrong.
Modified:
webservices/axis2/trunk/java/modules/core/webapp/upload.jsp
Modified: webservices/axis2/trunk/java/modules/core/webapp/upload.jsp
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/webapp/upload.jsp?rev=289392&r1=289391&r2=289392&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/webapp/upload.jsp (original)
+++ webservices/axis2/trunk/java/modules/core/webapp/upload.jsp Thu Sep 15 23:19:58 2005
@@ -77,8 +77,10 @@
if (!item.isFormField()) {
String fileName = item.getName();
- fileName = fileName.toLowerCase();
- if (!(fileName.endsWith(".jar")||fileName.endsWith(".aar"))){
+ String fileExtesion =fileName;
+ fileExtesion =fileExtesion.toLowerCase();
+// fileName = fileName.toLowerCase();
+ if (!(fileExtesion.endsWith(".jar")||fileExtesion.endsWith(".aar"))){
throw new Exception(" Wrong file type! ");
}