我现在在客户端获取文件的路径名,现在我要把获得的路径名转换为URL路径,请问怎么转换?
部分代码如下String guestPath = request.getParameter("uploadfiel");
就是把guestPath转换为URL类型数据类型,请问如何转换?