correct me here if I am wrong. I am implementing a SOAP client so I dont want want to nest this class in servlet, it gets messy!
So, the problem is this, I want to pass parameters from servlet, to another class in parameter.java, which implements a SOAP client using an instance of parameter...
I am a java newbie, so the servlet and the java file have to be in the same package and parameter.java should import that package. Am I correct here?
Another question can I just instantiate the parameter oject in servlet like this
parameters pm = new parameters("a", "b"...
I have a servlet that is taking parameters passed to it, I need to pass it to another java class. Can anyone help me out here..
public class CMInputServlet extends HttpServlet {
//Initialize global variables
public void init(ServletConfig config) throws ServletException {...
I am have some questions
My java servlet is recieving a http post from a form and and want to pass these parameters (taken by req.getParameter()) to a java class. how do I do it???
I have 3 java questions and I would be grateful if anybody will answer them.
1.)In an Java servlet, how do you pass the input parameters (sent to servlet with HTTP POST method and extracted by req.getParameter() ) to another java class in another file. Is the request.forward() method the way...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.