⑴ 那裡有jsp幫助文檔
Sun公司JSP幫助文檔專屬(j2se1.4.2):
http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html
⑵ jsp jstl標簽幫助文檔在哪裡下載的
我這有一個
⑶ jsp幫助文檔 chm格式 中文版 331571651@qq.com
發到你郵箱了,注意查收哦,希望能幫助到你
⑷ jsp頁面如何實現下載文檔
jsp頁面下載文檔是在jsp中有一個a標簽 ,當用戶點擊a標簽的時候下載文件。
一般採用href屬性直接指向一個伺服器地址,只要鏈接的文件存在,就會給出彈出保存對話框.
點擊a標簽 先執行onclick事件,再請求href中指向的地址。
前端jsp:
<a href="#" onclick="javascript:downloadtest('${app.id}')" id="pluginurl" style="color: #83AFE2;text-decoration:underline;"></a>
然後在js中:
function downloadtest(id){
var url = "<%=request.getContextPath()%>/app/download" + "/" + id;
$("#pluginurl").attr("href",url);
}
後台處理下載邏輯的java代碼:
/**
* 下載文件
* @param id appid
* @param response
*/
@RequestMapping(value="/download/{id}")
public void download(@PathVariable String id, HttpServletResponse response){
String filepath = "";
Result result = appService.getAppById(id);
App app = (App) result.getMap().get("app");
if(app == null){
return;
}
filepath = app.getUrl();
File file = new File(filepath);
InputStream inputStream = null;
OutputStream outputStream = null;
byte[] b= new byte[1024];
int len = 0;
try {
inputStream = new FileInputStream(file);
outputStream = response.getOutputStream();
response.setContentType("application/force-download");
String filename = file.getName();
filename = filename.substring(36, filename.length());
response.addHeader("Content-Disposition","attachment; filename=" + URLEncoder.encode(filename, "UTF-8"));
response.setContentLength( (int) file.length( ) );
while((len = inputStream.read(b)) != -1){
outputStream.write(b, 0, len);
}
} catch (Exception e) {
e.printStackTrace();
}finally{
if(inputStream != null){
try {
inputStream.close();
inputStream = null;
} catch (IOException e) {
e.printStackTrace();
}
}
if(outputStream != null){
try {
outputStream.close();
outputStream = null;
} catch (IOException e) {
e.printStackTrace();
}
}
}
}
⑸ 求JSP的API幫助文檔
網路 JSP 文檔,就可以找到是CSDN下載頻道中的中文版文檔下載地址
⑹ 下載的JSP幫助文檔JDK_API_1_6_zh_CN用不了
幫助文檔應該是CHM的吧,右鍵點擊選打開方式,用微軟的HTML
Help
Executable打開
⑺ jsp怎麼應用chm格式的幫助文檔
很簡單,你可以打個包,用rar的格式,然後直接把你chm在伺服器上面的地址暴露出來,然後在頁面上方一個鏈接,這樣在點擊鏈接的時候直接就可以下載這個chm的文檔了
⑻ JSP: 哪裡JSP的中文API參考手冊下載
jsp沒有中文的API,所以還是看英文的^_^
⑼ 誰有比較全的jsp幫助文檔,servlet文檔,css+html文檔,最好是chm格式的。。。
去網路搜愛思資源網,進去菜單部分下面有個API,進去有很多手冊,你去看看有咩有想要的
⑽ 求jsp的api幫助文檔,中文的英文的都可以