我在使用我在weblogic域中的文件夹中创建的csv文件时遇到问题。我能够创建文件,但点击按钮我需要获取该文件并将其显示给用户
可以帮助一些人帮忙。我在阅读我在weblogic域目录中创建的CSV文件时遇到了问题,但结果是异常 未找到错误404 来自RFC 2068超文本传输协议 - HTTP / 1.1: 10.4.5 404 Not Found
/ TESTDOMAIN / CSV
在代码段
下方fileName = "CSV"+detailsMap.get("fileName").toString();
MessageBox.show(new MessageBoxConfig() {
{
setTitle("Alert");//Result
// InputStream in = this.getClass().getClassLoader().getResourceAsStream(fileName);
// final String file =in.toString();
setMsg("Upload of Distribution Lists partially successful. Please acknowledge to find the failed entries");
setButtons(MessageBox.OK);
setWidth(250);
setCallback(new MessageBox.PromptCallback() {
public void execute(String btnID, String text) {
System.out.println("inside execute methoddd");
Window.open(fileName, "_self",null);
//Window.
}
});
}});`