I use <jsp:forward> to calling my servlet but an error come out. My servlet has only doGet(). This is my code. <jsp:forward page="/servlet/TestingServlet" /> <jsp aram name="name" value="value" /> </jsp:forward> Error: HTTP method POST is not supported by this URL steffy [ September 23, 2002: Message edited by: Steffy Sing ]
Originally posted by Steffy Sing: I use <jsp:forward> to calling my servlet but an error come out. My servlet has only doGet(). This is my code. <jsp:forward page="/servlet/TestingServlet" /> <jsp aram name="name" value="value" /> </jsp:forward> Error: HTTP method POST is not supported by this URL steffy [ September 23, 2002: Message edited by: Steffy Sing ]
that means that the HTTP method POST is not supported by this URL. try putting a doPost method in your servlet and inside that method call the doGet method. What I usually do is to have a method like this one:
cheers
I'm not going to be a Rock Star. I'm going to be a LEGEND! --Freddie Mercury