Re: some problem about GWT

2011-04-24 Thread Carlos
right this can be a solution On 24 avr, 05:02, 何剑涛 wrote: > it is said that i must write it in server side,right? > > 2011/4/22 Carlos : > > > > > > > > > hi, > > > you are writing your code in the client side. > > thats why it can't recognize the javax.servlet.http.HttpServlet since > > it is no

Re: some problem about GWT

2011-04-23 Thread 何剑涛
it is said that i must write it in server side,right? 2011/4/22 Carlos : > hi, > > you are writing your code in the client side. > thats why it can't recognize the javax.servlet.http.HttpServlet since > it is not supported by the gwt libraries. > > > On 22 avr, 07:28, 剑涛 何 wrote: >> I code a serv

Re: some problem about GWT

2011-04-22 Thread Carlos
hi, you are writing your code in the client side. thats why it can't recognize the javax.servlet.http.HttpServlet since it is not supported by the gwt libraries. On 22 avr, 07:28, 剑涛 何 wrote: > I code a servlet in GWT: > Line 8:   public class AddServvlet extends HttpServlet{ >         private

some problem about GWT

2011-04-22 Thread 剑涛 何
I code a servlet in GWT: Line 8: public class AddServvlet extends HttpServlet{ private static final long serialV = 1L; protected void doPost(HttpServletRequest req,HttpServletResponse res) { int a = Integer.parseInt(req.getParameter("a")); int b = I