This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
Hello! I'm very new to servlets. If I have created a java server using a serversocket and sockets to send and receive http requests, I know how to send out html to clients. How would I go about sending a jsp page? Is there a java class for compiling the jsp code within an html page so that it is ready to send to clients? I would very much prefer not to have to use third party servers to serve my jsp.
No, there is no user-callable implementation of the API that provides servlet and JSP capability. The Servlet and JSP APIs are interfaces that containers such as Tomcat and Glassfish implement. Why would you be trying to write your own?