Time for your 3rd Quarter Update! Are you in the running for the 6th Annual Expert Awards? Click the link to find out.

Third Quarter Hot Shots
 

Having problems asking a question? Have a general question about Experts Exchange? Let us know!

 
Time Tested Servlets Solutions: 1 - 25 of 151
 
I'm trying to create a web app with Eclipse, but when I create the servlet, I get the error "Cannot be resolved to a type" everywhere. For HttpServletRequest, HttpServletResponse, javax.servle...
I am new to learning Java servlets.  I received this error message after downloading Tomcat 5.5 and Java jre1.5. The error message indicates that a bad version number was created in the .cl...
When I run a website on localhost to upload an image, the servlet threw 2 exceptions: java.lang.NoClassDefFoundError: org/apache/commons/io/output/DeferredFileOutputStream      org.apache.comm...
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
Experts: All I can find is code for accessing a thread via its index in an array of threads or the current thread:                            Thread.currentThread().interrupt(); I am usin...
1.) I need to use "method=post" because there is too much data to include in a URL for the get method 2.) Someone said that with "enctype=multipart/form-data" that JSP/servlets do not support...
I'm getting the following error (this is the complete error) trying to use my Web App. Error 500: Filter [CmpRunningFilter]: filter is unavailable. The app has been working, but I'm sud...
Hi guys, I am trying to open pdf file in browser Internet Explorer from the Servlet. Instead of opening in the browser, It always starts Acrobat and opens the file there. I think I am setti...
I have this issue lingering for a while. I have an xml  which has special characters and I am trying to parse them and have serious problem. Experts please advice. Here is the xml  <?x...
Hi Experts, I am shifted from .Net to Java so pls consider me. I am using eclipse to build Dynamic web project in java. But when I try to import the servlet namespace it is giving me error....
    Would appreciate a link to or an actual example of java code which uses a servlet filter to modify the query string of an http request.  I've read the docs and understand the concept but ...
Hi I have the hard code html checkbox in the following code. How to databind a checkbox list in JSP? I have a table food in MySQL DB, the schema is id foodname How can I use ResultSet...
Hello Experts, In my application i am maintaining collection( In this collection i am maintaining user ID and session ID) of session which are active and deleting those session from the col...
Hi All I needed some code to uplaod a file from a JSP to the servlet. Could anyone please give me the code to do that. From the JSP side i am comfortable but from the servlet side when i up...
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...
Is there a possibility to export some Google map and save it as image by using JAVA Servlet? If you have some example or concept how to do it, please, attach it.
Hello all, I'm creating a login page with two conditions of validation. first i've created the validation. but it's not working. Can someone say wat's wrong in this coding?...Actually i didn'...
Hi, I am intermittently getting this error message in my systemout.log files: Method PROPFIND is not defined in RFC 2068 and is not supported by the Servlet API. Anytime I examine the log...
Hi I need to run a java file which located in local directory, but not under webapp The local directory is C:/search, the java class file is Gen_Show_Pic.class and Gen_Show_Pic.java ...
So in non thread safe classes like servlets and Struts action classes the Instance variables are shared by all objects and these varibles are stored on the HEAP. So how are instance variabl...
Hi I'm trying to populate 2 subReports, each subReport has a table on it. I cannot seem to populate the second subReport table using the same data source(REPORT_DATA_SOURCE) eg. i used ...
I presume this is a simple one for a Java expert out there...  I'm one of the fortunate billions who have a shared Linux hosting account with GoDaddy.  I have a system of Java servlets that...
hi all, I got this system installed linux centos 5.0 [root@localhost ~]# java -version java version "1.6.0_13" Java(TM) SE Runtime Environment (build 1.6.0_13-b03) Java HotSpot(TM) Cli...
Hi Experts, I am using Eclipse Version: 3.4.2 I have a dyanamic web project.I need to run this.But I am not able to start the server 'J2EE Preview at Localhost".Yesterday it was working fine...
How can i read the contents of each cell in java and create a separate string for each row in the cell