On Mon, Sep 12, 2011 at 8:00 PM, Shawn Brown <[email protected]> wrote:
>> public void init(ServletConfig config) throws ServletException {
>> super.init(config);
>> System.out.println("Mail Servlet is called");
>> Properties properties = new Properties();
>> Session session = Session.getDefaultInstance(properties,
>> null);
>> String message = "Welcome to WWW.DataStoreGwt.com";
>> try
>
> Will you really have active session within the init method of a
> servlet? I would think not.
try
@Override public void doPost(HttpServletRequest req,
HttpServletResponse resp) throws IOException {
//in here
}
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.