How to host jsp-website(pages) on server?
<%@ page contentType="text/html; charset=utf-8" language="java"
import="java.sql.*" errorPage="" %>
<%@ include file="top.jsp"%>
I got the above error while hosting my jsp-website(pages) on server like network solutions. So, anyone have idea how to host jsp-website on server?
<%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*" errorPage="" %> <%@ include file="top.jsp"%>
Is not an error. If this line is the output (what you see in your browser), than the page is just not rendered.
If you own an network solutions server, then you need the "nsHosting™ Shared (Unlimited)" Package for JSP support. The smaller once (small & large) does not support JPS.
@see Compare Our Web Hosting Packages and click "Expand All Technical Features"
That is not an error. It's the actual file you uploaded. You have to pick a web host which provides JSP hosting (on Tomcat or some other servlet container). Such hosts usually are a bit more expensive since most servlet containers isn't fit for mass hosting in the same way as for example CGI and scripting languages.
If your host have a JSP hosting service, contact the support and ask them for help.
精彩评论