This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi All, how do I get the following jsp code to call the doPost method on my servlet. Every time I call the servlet it call's it's doGet method. From what I understand the doGet method has a limit to the number of bytes it can receive. Since the data that I will be sending is large I would like to call the servlets doPost method. <%@page import="java.io.*";%> <%! //Main fields passed to servlet //============================= String apiKey ="doSomeThing"; String xmlString ="This contains a large amount of data"; %> <HTML> <HEAD> <TITLE> My Attempt To call the doPost method on servlet ClientToEJB, instead it calls doGet </TITLE> </HEAD> <BODY bgcolor="white"> <center> <FORM> <small><a href='/ClientToEJB?APIKEY=<%=apiKey%>&XMLKEY=<%=xmlString%>'>Click To Send Data To Servlet</a></small> </FORM> </BODY> </HTML>