how to do jsp?

edited 6:37PM in FastReport 3.0
fp.exe is a fastreport application, d is modul,ss is total

<%@ page import = "java.sql.*, java.io.*" %>
<%@ page contentType=" APPLICATION/OCTET-STREAM" %>

<%

//try {

java.lang.Runtime rt = java.lang.Runtime.getRuntime();
Process l_ps=rt.getRuntime().exec("fp.exe d ss");

// }
// catch (Exception ex) {

// }
%>

the fault is as following:

HTTP Status 500 -


type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

java.io.IOException: CreateProcess: fp.exe d ss error=2
java.lang.ProcessImpl.create(Native Method)
java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
java.lang.ProcessImpl.start(ProcessImpl.java:30)
java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
java.lang.Runtime.exec(Runtime.java:591)
java.lang.Runtime.exec(Runtime.java:429)
java.lang.Runtime.exec(Runtime.java:326)
org.apache.jsp.fastreport11.Report_jsp._jspService(Report_jsp.java:59)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs.



Apache Tomcat/5.0.28

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.