[color=darkred]下 载[/color] 这种方式可以实现超链接下载,我现在的问题是要怎么获取到当服务器端的路径呢?而且要http的形式? [color=red]http://localhost:8080/olas/[/color]upload/aa.doc 也就是前面这一串。
收起
当前问题酬金
¥ 0 (可追加 ¥500)
支付方式
扫码支付
支付金额 15 元
提供问题酬金的用户不参与问题酬金结算和分配
支付即为同意 《付费问题酬金结算规则》
jsp里面添加
[code="java"] <% String path = request.getContextPath(); String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; %>
//然后
报告相同问题?