Recently,i face a tricky question: in my program,i want to load my jsp files without tomcat,say,while i run my program ,i'm able to freely show my jsp files content written by HTML and javabean . Exactly speaking,is there any classes or packages in JDK or other manuls i can use to fulfill this function mentioned above?
where there is a will ,there is a way.
posted 10 years ago
No. JSP pages have no meaning outside of a servlet container, so what you ask is fundamentally impossible (assuming that by "Tomcat", you mean any servlet container).