dcsimg
it gives a blank page with hiii message i doen't get form.jsp in web page
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Thursday, November 20, 2008 05:45 AM

			


try{
PrintWriter out = response.getWriter();

out.println" hiiiiiiiiiiiiiii <%@"Form.jsp" %> ");//
}catch(Exception e){
out.println("

"+e.getMessage()+"

");
}

}

Re: it gives a blank page with hiii message i doen't get form.jsp in web page

Posted By:   Robert_Lybarger  
Posted On:   Thursday, November 20, 2008 08:40 PM

And let me guess: if you view source on the returned web page, you probably have a
<@"Form.jsp" %>
tag in there? A servlet doesn't do any magic JSP (or other template engine) processing, unless you have take great effort to arrange a filter to handle the servlet's response before it goes back to the client. If you need JSP (or etc.) code to get processed in the engine, then it should go into a proper *.jsp file, not into a servlet. But I imagine you haven't given us a very good question yet.
About | Sitemap | Contact