M
Matt
I tried to call servlet from a JSP page, but it has the following
status 500 runtime error:
'.' expected
[javac] import GenerateHTML ;
<%@page import = "GenerateHTML " %>
<%
GenerateHTML obj = new GenerateHTML ();
obj.service(request, response);
%>
public class GenerateHTML extends HttpServlet
{
public void service(HttpServletRequest request, HttpServletResponse
response)
throws ServletException, IOException
{
//etc...
}
}
any ideas??
status 500 runtime error:
'.' expected
[javac] import GenerateHTML ;
<%@page import = "GenerateHTML " %>
<%
GenerateHTML obj = new GenerateHTML ();
obj.service(request, response);
%>
public class GenerateHTML extends HttpServlet
{
public void service(HttpServletRequest request, HttpServletResponse
response)
throws ServletException, IOException
{
//etc...
}
}
any ideas??