package Vortrag; import javax.servlet.*; import javax.servlet.http.*; import javax.servlet.jsp.*; import javax.servlet.jsp.tagext.*; import java.io.PrintWriter; import java.io.IOException; import java.io.FileInputStream; import java.io.ObjectInputStream; import java.util.Vector; import org.apache.jasper.runtime.*; import java.beans.*; import org.apache.jasper.JasperException; public class _0002fVortrag_0002fFacultaet_0002ejspFacultaet_jsp_0 extends HttpJspBase { // begin [file="D:\\TC\\webapps\\alex1\\Vortrag\\Facultaet.jsp";from=(2,3);to=(9,0)] public long fact(long x) { if (x==0) return 1; else return x * fact(x-1); } // end static { } public _0002fVortrag_0002fFacultaet_0002ejspFacultaet_jsp_0( ) { } private static boolean _jspx_inited = false; public final void _jspx_init() throws JasperException { } public void _jspService(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { JspFactory _jspxFactory = null; PageContext pageContext = null; HttpSession session = null; ServletContext application = null; ServletConfig config = null; JspWriter out = null; Object page = this; String _value = null; try { if (_jspx_inited == false) { _jspx_init(); _jspx_inited = true; } _jspxFactory = JspFactory.getDefaultFactory(); response.setContentType("text/html;charset=ISO-8859-1"); pageContext = _jspxFactory.getPageContext(this, request, response, "", true, 8192, true); application = pageContext.getServletContext(); config = pageContext.getServletConfig(); session = pageContext.getSession(); out = pageContext.getOut(); // HTML // begin [file="D:\\TC\\webapps\\alex1\\Vortrag\\Facultaet.jsp";from=(0,0);to=(2,0)] out.write("\r\n
\r\n"); // end // HTML // begin [file="D:\\TC\\webapps\\alex1\\Vortrag\\Facultaet.jsp";from=(9,2);to=(17,0)] out.write("\r\n\r\n\r\n\r\n\r\nx | x! |
---|---|
"); // end // begin [file="D:\\TC\\webapps\\alex1\\Vortrag\\Facultaet.jsp";from=(20,24);to=(20,27)] out.print( x ); // end // HTML // begin [file="D:\\TC\\webapps\\alex1\\Vortrag\\Facultaet.jsp";from=(20,29);to=(20,49)] out.write(" | "); // end // begin [file="D:\\TC\\webapps\\alex1\\Vortrag\\Facultaet.jsp";from=(20,52);to=(20,61)] out.print( fact(x) ); // end // HTML // begin [file="D:\\TC\\webapps\\alex1\\Vortrag\\Facultaet.jsp";from=(20,63);to=(21,0)] out.write(" |