Re: Providing html contents directly to servlet
Hi Karim,
I tried with what you have suggested me.
i.e: set response content-type -> res.setContentType("text/html")
before
any output
2) close stream
- ServletOutputStream out = getOutputStream();
- out.write(xml.getBytes());
- out.close();
3) register servlet in web.xml ( servlet class, servlet mapping )
4) download Firefox liveHTTP and watch for, if a 404 or 500 http
servor error
Also i have deployed it on apache tomcat,
But im geting error,
i.e:
Error: a.contentWindow is null
Source File: http://localhost:4080/engile/com.ensarm.auth.auth/com.ensarm.auth.auth.nocache.js
Line: 10
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home