Hi All,
I have jsp page where I send some string to a servlet:
HTML Code:
<form action="http://localhost:8080//SendString/main_servlet?STR method="get" TARGET="Welcome">
in the servlet:
public class main_servlet extends HttpServlet {
public void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
String str = request.getParameter("STR".trim());
-
-
-
System.out.println(str);
-
-
}
}
}
How I can use xmpp protocol to submit and recive the request, any hints
thanks a lot