HI i trying to run run a JSP page that have a tag to cewolf to make a graph.
But when i run in my servlet it doesnt do nothing.
ps: My servlet generate the HTML code using the method doget().
I think that this is happening because my servlet have: setprotoType("txt/html")
.. i tried to change te prototype to "application/jsp" , but my browser didnt know what to do with the file!
Anyone have any idia... about how to rum a cewolf tag on a servlet that generate the HTML code in methofd DOGET() ??
Cewolf is a jsp technology therefore you'll need to use some jsp pages to generate cewolf chats. Because the jsp is translated to a servlet by the web container - automatically-, your servlet will have to sort of 'call' that jsp page.
That is can be done with the RequestDispatcher.include() method, as described here: http://java.sun.com/j2ee/1.4/docs/tutorial/doc/Servlets9.html#wp64684
Also I'd recommend for reading the servlet/jsp sections of:
Log in to post a comment.