Advertisement

Experts have come up with some helpful tips for getting a solution to your problem fast.

 

Welcome! If you have any general questions about Experts Exchange, feel free to ask me.

 
Top Servlets Solutions: 1 - 25 of 44
 
Can someone point me to an example of a servlet that calls a Web Service?  The Web Service won't be returning any values, will this cause any issues?  thanks in advance
Hi can someone tell me servlet code to get parameter from a POST request done by AJAX. Please do not say to directly use request.getParameter() as it is not working. A humble request is tha...
I am using servlet to down load different kind of files, some text, some binary. I use BufferedInputStream to read in the file content and use response.getOutputStream(  ) to write out. I ...
Hi experts, I need to read servlet's outputsteam to capture HTML content. Any pointers would be greatly appreciated. In detail: My intent is to convert this HTML to PDF on the fly and d...
Hi All Experts, I have a question with regards to interaction between two different web application. That is o i know that all servlets within the same application can interact using Serv...
Hello, I am doing a web application that makes use of HttpServletRequests. In the java code, I have no problem getting the parameter of an HttpServletRequest - just use getParameter(''<n...
i want to upload the file using sevlet and it should be stored in the mysql database, please give code or links on this
Hi,   I am using the code file = new File(absolute file path\fileName); workbook = Workbook.getWorkbook(file); Sheet sheet = workbook.getSheet(0); this is working fine for .xls file but no...
This seems to be a fairly common problem when googling, though I can't find any good solutions.   Here's my scenario. I've got a Java servlet located on a protected page. The user logs in t...
Hi everyone, maybe someone can enlighten me about this. Why do Servlets implement Serializable? When would a Servlet have to be serialized? Servlet objects are not sent to other application...
The following code uses getParameter("message"), but it doesn't read the entire message.  Is there another way to read everything after the url?  thanks in advance
Hello I have application deployed on TomCat but I have several versions of this application. I would like to set up Tomcat to this I want to have this url http://host:port/xxx/application t...
I have a java web application  that was meant to be running on a linux box.  Hence, it has lines like: Process p = Runtime.getRuntime().exec("/home/blah.sh"); I have deployed this applicat...
Can someone direct me towards a sample servlet that accepts an XML message from an HTTPS post?  thanks
My servlet needs to read an xml from the http body. Can I use HttpServletRequest.geReader() to read the http body? Will the attach code snippet work?
Why servlet and standalone java application generate different digital XML signature using the same private key, same XML data content? Both programs are using the same code as attached.
how can i clear memory from an httpsession when user times out or logs off
I want to launch the BIRT viewer on a new browser but hide the query string (since the parameters could contain sensitive details for some reports) Looking at the BIRT viewer source code, I...
Hi, i need to prepare a URL for a user to come in and request something. I come across some steps by steps to create the HTTP Responde using java technology and i couldn't find it anymore. ...
Here's a question about exception handling with a servlet. I have to catch a certain type of exception based on some type of action but the logging class I have to use (not System.out ; it'...
Hi, I am building HTTP Interface for bulk sms messaging system using servlets as primary technology. It will receive the sms requests from clients and forward it to the Telecome bulk sms ga...
I was provided the attached code.  I compiled and deployed into the classes directory successfully, but when I use the attached Post code, I get a 404 error.  Any suggestions?
I'm trying to develop Servlets and JSP with eclipse for Tomcat. I have some jar that I imported to eclipse and the a executbal class (with a main) runs the ok. When I try to run the some co...
Hi I have an XML SOAP response which starts with the following XML: <?xml version="1.0" encoding="UTF-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi=...
HI, I have installed tomcat6.0,and set the class path to servlet-api.jar in the lib directory. when i'm compiling the servlet i'm getting the error C:\anu\cookbook programs>javac FirstS...