Java desktop application connect to GAE
i'm trying to connect a desktop application in java to google app engine using the javax servlet. But I'm not sure what to do.

the webserver manager for login is like this 

     public class UserServicesP3Servlet extends HttpServlet 
    {
	public void doPost(HttpServletRequest req, HttpServletResponse resp) throws IOException 
	{		
		doGet(req,resp);
	}

and in a browser i connect using

    else if(address.indexOf("/dinamicas/login")!=-1)
		{
				StringMaisAutenticado sma = Autenticacao.login(req,resp,param1,param2);
				resposta = sma.string;
				utilizadorAutenticado = sma.utilizadorAutent;
		}

I'm not really sure what to do in the desktop to login. Can someone point me in the right direction?

Thank you for your time.
Java desktop application connect to GAE
===

i'm trying to connect a desktop application in java to google app engine using the javax servlet. But I'm not sure what to do.

the webserver manager for login is like this 

     public class UserServicesP3Servlet extends HttpServlet 
    {
	public void doPost(HttpServletRequest req, HttpServletResponse resp) throws IOException 
	{		
		doGet(req,resp);
	}

and in a browser i connect using

    else if(address.indexOf("/dinamicas/login")!=-1)
		{
				StringMaisAutenticado sma = Autenticacao.login(req,resp,param1,param2);
				resposta = sma.string;
				utilizadorAutenticado = sma.utilizadorAutent;
		}

I'm not really sure what to do in the desktop to login. Can someone point me in the right direction?

Thank you for your time.