Sending thumbnail of images to client on request using servlet/jsp

hi
can anybody tell me how can we send thumbnail of more than one image to client using servlet or jsp just the way we thumbnail of images in google

Then create a servlet which uses Java 2D API to rezise the image and writes it to the outputstream of the response. Call that servlet in the <img> tag along with an unique request parameter identifying the image.

Similar Messages

  • Downloading image using servlet/jsp

    Has anyone tried downloading a .gif image using servlet/jsp ??!?

    Yes, there's even an example in my book about servlets.

  • Reading client system registry using servlets

    Hi All,
    I am working in an mvc model one
    architecture and I need to check wether
    a particular software is installed on
    the client machine using a request.
    How can I do it

    It should be problem with the file permissions in your client machine ???Hardly.
    @OP: a servlet executes at the server. It doesn't haved any access whatsoever to the client machine.

  • Reading Files from client directory folder using servlets or struts.

    HI All,
    Could you please help me out int the below query.
    I want read all files from paricular directory folder from the client machine in web application. I am able to do it from my local machine. but when I am try to do it from some other machine I am not able to get the file list.
    It is very urgent ..please hep me ASAP.

    It should be problem with the file permissions in your client machine ???Hardly.
    @OP: a servlet executes at the server. It doesn't haved any access whatsoever to the client machine.

  • How to send the body of mail in html format using servlet

    Hi
    i developed an servlet using sun.net.smtp.SmtpClient package,my servlet receiving data from an form,i can able to send mail successfully,but my mail body part is in the text format,but i would like to send it as an html format,for ex <input type="text" size="25" name="Name"> as an input field with value received from the form instead of showing tags as i mentioned<input type="text" size="25" name="Name"> ,any help would be appreciated.
    Regards.

    See this program
    But here whats the problem is ,
    some maiservers doesnot support html code if u send this mail to yahoo account it will show html code as it is,
    hotmail account encodes the html and shows proper fonts and headings
    import java.io.*;
    import java.util.*;
    import java.net.*;
    import sun.net.smtp.SmtpClient;
    public class SendMail {
              public static void main(String args[]){
              int i = 0;
              //while (true) {
              SmtpClient mail;
              try{
                   i++;
                   String email = "[email protected]";
                   String from="[email protected]";
                   mail=new SmtpClient("bizpivot.com");
                   mail.from(from);
              mail.to(email);
                   PrintStream msg=mail.startMessage();
                   msg.println("To: " +email);
                   msg.println("Subject: Hai" i "!!!");
                   msg.println("<html><head><title>Untitled</title></head><body bgcolor='red' text='#00ffff'><font face='Courier New' size='+3'>Hai How are you Man!!!</font></body></html>");
                   mail.closeServer();
              System.out.println(i);
              catch(Exception e){e.printStackTrace();}

  • Portal 7.0  " Processing HTTP request to servlet [jsp] finished with error."

    Hi
    I just did a system copy for portal 7.0 from my production to quality system.
    The import finished successfully and java instance is up and running
    We were earlier using jdk 1.4.2 , but moved to JVM 6.1 during the import of the java stack and now the java application is using JVM 6.1 instead of JDK 1.4.2
    I m getting the attached error when i m trying to connect with main page of the portal
    Plz let me know why is this happenning?
    Thanks and Regards
    Tushar

    Hi
    Have you tried in any other browser ?
    Check  the detailed error log in defaultTrace file   under /usr/sap/SID/<INSTANCE>/j2ee/cluser/server0/log.
    Open the page again and  check  defaulttrace in above directory 
    Regards,

  • How to upload an image from servlet/jsp into server from clients machine?

    can anybody send me the code to upload image from client to server using servlet/jsp.
    i'm using tomcat server.

    You can use the [Apache Commons FileUpload API|http://commons.apache.org/fileupload/] to upload files using Java.
    Here is a Filter example which uses the FileUpload API to process the request and stores the regular request parameters back in the ParameterMap of the request and puts the uploades files as attributes of the request: [http://balusc.blogspot.com/2007/11/multipartfilter.html] Just define it once in web.xml and you can continue writing the servlet logic as usual.

  • Servlet/JSP client timeout handling

    Hi,
    Is it possible to detect a client timeout in a servlet / jsp ?
    Example,
    I go to a page that is displayed by a servlet. I put Thread.sleep in the servlet to simulate the request processing time.
    Assuming now I close the browser (or any other client) and the servlet tries to write the response, will it throw any exceptions ?
    What can I do to check the client status before trying to write the response back ?
    Thanks
    Mandar

    Hi,
    The servlet did not throw any exception when I tried to write the response back after sleep.
    Code is as shown below
    try{
    Thread.sleep(60000);
    catch (InterruptedException ie){
    logger.error("Someone interrupted my sleep",ie);
    logger.info("End sleep for 1 minute");
    try{
    response.getOutputStream().write(2);
    response.flushBuffer();
    catch (IOException ioe){
    logger.error("IOException occured",ioe);
    throw ioe;
    }

  • Sending thumbnail image to browser

    Hi,
    I have web-application that lets users see a customized page. This page contains images that are stored in a table. Some of the images are thumbnails, and some are full size images.
    So far I can send the full size images to the browser using the OrdHttpJspResponseHandler:
    OrdImage media = (OrdImage)result.getCustomDatum(1, OrdImage.getFactory());
    handler.setPageContext(pageContext);
    handler.sendImage(media);
    Is it possible to dynamically create a thumbnail image and send it to the browser instead of the full size image? I have seen code that uses the OrdImage.process() or OrdImage.processCopy() functions. Both these functions are used to update the image in a table. Is it possible to do the same but leave the original image unchanged? I don't need to store the thumbnail images in the database table. I am thinking of something like this:
    OrdImage media = (OrdImage)result.getCustomDatum(1, OrdImage.getFactory());
    handler.setPageContext(pageContext);
    - - >>> process image here ????
    handler.sendImage(media);

    First of all...let me state that in most cases THIS IS A VERY BAD IDEA. Image processing is very CPU intensive. Most thumbnails take only a fraction of the original image space, so it is BEST TO PREPROCESS THUMBNAILS in most cases.
    For example, let us say we have an image that is 1000X1000, no compression. It is
    1,000,000 bytes. A LARGE thumbnail that is 1/4 the size would be 250X250 or 62,500 bytes.
    1,000,000 - Original (uncompressed)
    62,500 - thumbnail (uncompressed).
    As you can see, the thumbnail takes less than 1/10 the original image. After Compression will probably make it about 1/10.
    So the question is, do you want to make your on-line users wait? Or do you want to pre-process the image so your application is quicker?
    The processing will affect, not only the user waiting for the processing the image, but others as well who are waiting for CPU time.
    OK that being said, if you don't see the error of you ways, or if scaling is done so infrequently that it does not matter, or you have some other VERY SPECIAL CASE, here is the rope you can hang yourself on.
    It takes a URL of the form:
    import java.io.IOException;
    import java.io.PrintWriter;
    import java.sql.Connection;
    import java.sql.SQLException;
    import java.sql.Types;
    import java.sql.PreparedStatement;
    import javax.servlet.ServletException;
    import javax.servlet.ServletConfig;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.naming.NamingException;
    import oracle.jdbc.OracleResultSet;
    import oracle.jdbc.OracleCallableStatement;
    import oracle.jdbc.pool.OracleConnectionPoolDataSource;
    import oracle.jdbc.pool.OraclePooledConnection;
    import oracle.jdbc.driver.OracleConnection;
    import oracle.ord.im.OrdImage;
    import oracle.ord.im.OrdHttpResponseHandler;
    import oracle.ord.im.OrdMultipartWrapper;
    public class deliveryServletScale extends HttpServlet
    OracleConnection conn = null;
    String servletURL = null;
    * Servlet initialization method.
    public void init( ServletConfig config ) throws ServletException
    super.init(config);
    * Get a pooled database connection
    private void getPooledConnection() throws SQLException, NamingException
    javax.naming.InitialContext ic = new javax.naming.InitialContext();
    OracleConnectionPoolDataSource ds = (OracleConnectionPoolDataSource)
    ic.lookup("jdbc/pool/OracleMediaPoolDS");
    OraclePooledConnection pc = (OraclePooledConnection)
    ds.getPooledConnection();
    conn = (OracleConnection)pc.getConnection();
    // conn.setAutoCommit(false); // just query. No need for this
    * Process an HTTP GET request used to deliver an image column
    public void doGet( HttpServletRequest request,
    HttpServletResponse response )
    throws ServletException, IOException
    String id = request.getParameter( "id" );
    String procCmd = request.getParameter( "p" );
    try
    if (conn == null) getPooledConnection();
    OracleCallableStatement cstmt = (OracleCallableStatement)
    conn.prepareCall (
    "declare " +
    " imgobj ordimage; " +
    " thmbobj ordimage := ordimage.init(); " +
    "begin \n" +
    " select image into imgobj from photos " +
    " where id = ? ; \n" +
    " DBMS_LOB.CreateTemporary(thmbobj.source.localdata, TRUE); " +
    " imgobj.processCopy('" + procCmd + "', thmbobj);" +
    " ? := thmbobj; " +
    " dbms_lob.Freetemporary(thmbobj.source.localdata); " +
    "end;");
    cstmt.setString( 1, id );
    cstmt.registerOutParameter(2, Types.STRUCT, "ORDIMAGE");
    cstmt.execute();
    OrdImage thumb =
    (OrdImage)cstmt.getORAData(2, OrdImage.getORADataFactory());
    cstmt.close();
    // Create an OrdHttpResponseHandler object, then use it to retrieve
    // the image from the database and deliver it to the browser.
    OrdHttpResponseHandler handler =
    new OrdHttpResponseHandler( request, response );
    handler.sendImage( thumb );
    catch (Exception se)
    conn = null; // We may need a new connection
    throw new ServletException(se);
    }

  • Help required in sending images to client

    I have a java program that take snapshots of my screen at say 10 pics per second now i want these pics to be sent to another computer in the same order....
    i tried to achieve this but i am able to send only 1 image i think the first image.......... heres my code ...
    Server code..........
    import java.awt.*;
    import java.awt.Graphics;
    import java.awt.Graphics2D;
    import java.awt.Rectangle; 
    import java.awt.Robot;  
    import java.awt.image.BufferedImage; 
    import javax.swing.JFrame;
    import java.net.*;
    import javax.imageio.*;
    import java.util.*;
    import java.io.*;
    public class VideoServer extends JFrame
          BufferedImage img; 
          Robot robot; 
          Rectangle rect; 
          public static void main(String args[])
           new VideoServer();
          public VideoServer()
          //init components 
           try
               robot = new Robot(); 
               rect = new Rectangle(200,200,300,300); 
         catch (AWTException e)
                e.printStackTrace();
           this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); 
           this.setSize(500,500); 
         //  this.setVisible(true);
           takeShots(); 
          private void takeShots()
           try
               ServerSocket s=new ServerSocket(8189);
               Socket incoming=s.accept();
               try
                OutputStream os=incoming.getOutputStream();
                for (int i = 0;i<100 ; i++)
                    img = robot.createScreenCapture(rect); 
                //repaint();
                    ImageIO.write(img,"jpg",os);
                    if(img==null)
                     System.out.println("NULL");
                    try
                     Thread.sleep(50);
                    catch (InterruptedException e)
                     e.printStackTrace();
               finally
                s.close();
           catch(IOException e1)
        /*  public void paintComponent(Graphics g)
           super.paintComponents(g);
           //Graphics2D g2 = (Graphics2D)g;
           //g2.drawImage(img,0,0,this);
    }and heres my client program
    import java.util.*;
    import java.io.*;
    import java.net.*;
    import java.awt.image.*;
    import javax.imageio.*;
    public class ImageClient
        public static void main(String args[])
           ArrayList list=new ArrayList(100);
           BufferedImage tmp=new BufferedImage(400,400,BufferedImage.TYPE_INT_RGB);
         try
             Socket s=new Socket("127.0.0.1",8189);
             try
              InputStream in=s.getInputStream();
              for(int i=0;i<100;i++)
                  tmp=ImageIO.read(in);
                  list.add(tmp);
             finally
              s.close();
         catch(IOException e)
             e.printStackTrace();
         try
             for(int i=0;i<100;i++)
              tmp=(BufferedImage)list.get(i);
              ImageIO.write(tmp,"jpg",new File("/home/gaurav/java programs/Formedimages/created"+i+".jpg"));
         catch(Exception exp)
             System.out.println("hello5");
    }

    It's been a while, but I know you can write a series of images to a file, then later read back that series of images. Why don't you work on doing this with file i/o first (easier to debug, and you can examine the file with standard image viewers), before sprinkling sockets on it?

  • How to send  a request to servlet from a java client.

    I called a servlet from java client using URL object.
    I could establish a connection with server and display
    the content(like req.getservername etc.,)
    of servlet on client side(DOS prompt).
    My question is how do i send a request to servlet from the client.
    let me say, i have to send a value as 10 to servlet and do some processing
    ( like 10*2 = 20) display the output (20) on client side..
    It will be appreciated if u can mention the syntax...

    just add the query string to the url you use to create the URL object from.

  • I want to reply to e-mail in my own handwriting. I am not thinking of Handwriting Conversion or Notes apps. Exchange client to be used to reply to emails  - one approach is to sketch/free-writing in composer window or send it inline as image.Is it possibl

    I want to reply to e-mail in my own handwriting.
    I am not thinking of Handwriting Conversion or Notes apps.
    Exchange client to be used to reply to emails  - one approach is to sketch/free-writing in composer window
    Or
    send the captured free-flow from another app as an image and attach it inline as image.
    Is it possible to do this - or there would be some restrictions?
    If it is possible, what would be the best approach?

    There are some third-party apps that feature handwriting capture, including a couple that have writing-to-text conversion, but I know of no email app that allows handwriting, so you would have to use an app that saves the handwriting as an image and allows that document to be emailed. Search the App Store for "handwriting" and you may find such an app.
    As to restrictions, the only restriction I can think of, assuming the app in question does indeed allow a document to be emailed, would be the size of the attachment vis-a-vis any limited placed on message size by your email provider or that of the recipient.
    Regard.

  • Stream-in images from client to server,without running the transmit code

    Hello all,
    Im using JMF for my current project.Right now,I am trying to only recieve images from the client without the client transmitting it.That is I dont want the transmit code to run on the client.
    I should just be able to stream in the images from client to server, without running the transmit code on client.
    Can this be done?
    Thanks in advance

    suppigs wrote:
    Can I know more about this?Sure.
    <Side A>
    You'd just need to write an application that doesn't have a GUI (so, a console-based application) that listens on some pre-determined port for a message to start broadcasting. Maybe you'd send it the IP/PORT number to start broadcasting on. Once it receives that message, it'd start broadcasting the web cam to the IP/PORT number until it received a message to stop. Once it stops, it'll just go back to waiting for the next "start" signal.
    <Side B>
    On the other side, you'd write an application that sends the start messages, receives/displays the videos, and then sends the stop signal. This will have a GUI, and be your "control program" so to speak.
    Then, once of have both of those programs working...if you're using Linux, you're done. If you're using Windows, you'd need to modify the <Side A> program so that it can run as a Windows service.
    There are a lot of ways to do this, you can google it or look at the following link:
    [http://twit88.com/blog/2007/09/19/open-source-software-to-start-up-java-as-windows-serviceunix-daemon/]

  • Problem while sending/Receiving request using the HttpURLConnection obj

    Hi,
    We are facing the problem while passing the request in Weblogic.
    Looks like there is some problem with Weblogic while sending/Receiving the request using the HttpURLConnection object.
    Currently we are migrating 2 applications to WebLogic. Application1 to application2 request should pass.
    Below is some example we tried:
    "When we send a request to our code using the SSOAdaptor code (which handles the request/session in our application) which is on the SunOne server the request parameters are received by our code successfully. And also in Create User Functionality of application1 we are sending a request to webpass(which is on Sunone Server) using the HttpURLConnection object and the SOAP request is received successfully by the Webpass."
    Looks like when we send request (using HttpURLConnection) from a server other than Weblogic to a servlet in a Weblogic the request parameters are received with out issues.
    Where as when the request is sent from WebLogic to WebLogic the request parameters are missing some how.
    Is there any issue in Weblogic? Please helpus on this.
    Thanks,
    Nagesh
    Edited by: user9307541 on Mar 15, 2010 5:08 AM

    Hi,
    Please find below scenario for testing.
    We have tested the SSOAdaptor code (it is the fucntion name which will send the data from source) locally by hittiing the WPS adaptor URL in a Java client program(TestRequest.java) and the request parameters were reaching the WPS Adapter successfully.
    Then we have written two test servlets to test the communication between SSOAdaptor(TestServlet.java) and WPS adaptor(WPSServlet.java).
    Functionality of TestSevlet: It is sending a request to WPSServelt similar to the way we are doing it in SSOAdaptor.
    Functionality of WPSServlet: It will receive the request parameters and write the parameter Map to console.
    We have deployed and these two servlets(in a single webapplication) on Tomcat server and the request parameters are reaching the WPSServlet successfully.
    Output on Tomcat server:
    before sending request
    **********************Inside WPS Servlet -- the request Map is:{TypeAcc=[Ljava.lang.String;@14e3f41, ServiceName=[Ljava.lang.String;@1acd47, GMEPortalUserID=[Ljava.lang.String;@19b04e2, UserID=[Ljava.lang.String;@5dcec6, Country=[Ljava.lang.String;@b25b9d}
    after sending request
    After this we have deployed these two servlets (with in a single webapplication) on the Weblogic server in Dev machine(path: /apps/usmport/domains/usmport/servers/usmport_admin/upload/ssoAdaptor/WEB-INF/classes/com/gm/gmeportal/security/adaptor) and
    now the request parameters are not reaching the WPSServlet.
    Output on Weblogic Server:
    before sending request
    **********************Inside WPS Servlet -- the request Map is:{}
    after sending request
    Looks like there is some problem with Weblogic while sending/Receiving the request using the HttpURLConnection object.
    When we send a request to WPSAdaptor using the Old SSOAdaptor code which is on the SunOne server the request parameters are received by WPS successfully. And also in Create User Functionality of Portal we are sending a request to webpass(which is on Sunone Server) using the HttpURLConnection object and the SOAP request is received successfully by the Webpass.
    Looks like when we send request (using HttpURLConnection) from a server other than Weblogic to a servlet in a Weblogic the request parameters are received with out issues. Where as when the request is sent from weblogic to weblogic the request parameters are missing some how.
    Please find below javs source code used to test this:
    TestRequest.java
    import java.io.BufferedReader;
    import java.io.DataOutputStream;
    import java.io.InputStream;
    import java.io.InputStreamReader;
    import java.io.OutputStream;
    import java.net.HttpURLConnection;
    import java.net.MalformedURLException;
    import java.net.URL;
    public class TestRequest {
         * @param args
         public static void main(String[] args) throws Exception{
              // TODO Auto-generated method stub
              excutePost("http://localhost:8080/Testing/TestServlet", "GMEPortalUserID=captest.wss@it0555&UserID=bl1133&Country=it&TypeAcc=256&ServiceName=Logon");
              //System.out.println("********** Now the request is from SSO *****************");
              //excuteGet("http://10.156.0.173:7013/channel21/wpsadapter", "GMEPortalUserID=captest.wss@it0554&UserID=bl1133&Country=it&TypeAcc=256&ServiceName=Logon");
         public static String excutePost(String targetURL, String urlParameters)
         URL url;
         HttpURLConnection connection = null;
         try {
         //Create connection
         url = new URL(targetURL);
         connection = (HttpURLConnection)url.openConnection();
         connection.setRequestMethod("POST");
         connection.setRequestProperty("Content-Type",
         "application/x-www-form-urlencoded");
         connection.setRequestProperty("Content-Length", "" +
         Integer.toString(urlParameters.getBytes().length));
         connection.setRequestProperty("Content-Language", "en-US");
         connection.setUseCaches (false);
         connection.setDoInput(true);
         connection.setDoOutput(true);
         //Send request
         DataOutputStream wr = new DataOutputStream (
         connection.getOutputStream ());
         wr.writeBytes (urlParameters);
         wr.flush ();
         wr.close ();
         //Get Response     
         InputStream is = connection.getInputStream();
         BufferedReader rd = new BufferedReader(new InputStreamReader(is));
         String line;
         StringBuffer response = new StringBuffer();
         while((line = rd.readLine()) != null) {
         response.append(line);
         response.append('\r');
         rd.close();
         System.out.println("Response is:" + response);
         return response.toString();
         } catch (Exception e) {
         e.printStackTrace();
         return null;
         } finally {
         if(connection != null) {
         connection.disconnect();
         public static String excuteGet(String targetURL, String urlParameters) throws Exception
              URL url = new URL(targetURL);
              HttpURLConnection httpurlconnection =
                   (HttpURLConnection) url.openConnection();
              /*httpurlconnection.setRequestProperty(
                   "cookie",
                   constructRequestParams(httpservletrequest.getCookies()));*/
              httpurlconnection.setDoOutput(true);
              httpurlconnection.setDoInput(true);
              httpurlconnection.setRequestProperty(
                   "Content-length",
                   String.valueOf(urlParameters.length()));
              OutputStream outputstream = httpurlconnection.getOutputStream();
              outputstream.write(urlParameters.getBytes());
              outputstream.flush();
              //Get Response     
              try{
         InputStream is = httpurlconnection.getInputStream();
         BufferedReader rd = new BufferedReader(new InputStreamReader(is));
         String line;
         StringBuffer response = new StringBuffer();
         while((line = rd.readLine()) != null) {
         response.append(line);
         response.append('\r');
         rd.close();
         System.out.println("Response from SSO is:" + response);
         return response.toString();
         } catch (Exception e) {
         e.printStackTrace();
         return null;
         } finally {
         if(httpurlconnection != null) {
              httpurlconnection.disconnect();
    TestServlet.java
    import java.io.BufferedReader;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.InputStreamReader;
    import java.io.OutputStream;
    import java.net.HttpURLConnection;
    import java.net.URL;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    * Servlet implementation class TestServlet
    public class TestServlet extends HttpServlet {
         private static final long serialVersionUID = 1L;
    * Default constructor.
    public TestServlet() {
    // TODO Auto-generated constructor stub
         * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)
         protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
              // TODO Auto-generated method stub
              doPost(request,response);
         * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
         protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
              // TODO Auto-generated method stub
              //System.out.println("********************** the request Map is:" + request.getParameterMap());
              try {
                   System.out.println("before sending request");
                   excuteGet("http://localhost:7003/ssoAdaptor/WPSServlet", "GMEPortalUserID=captest.wss@it0554&UserID=bl1133&Country=it&TypeAcc=256&ServiceName=Logon");
                   System.out.println("after sending request");
              } catch (Exception e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
         public String excuteGet(String targetURL, String urlParameters) throws Exception
              URL url = new URL(targetURL);
              HttpURLConnection httpurlconnection =
                   (HttpURLConnection) url.openConnection();
              /*httpurlconnection.setRequestProperty(
                   "cookie",
                   constructRequestParams(httpservletrequest.getCookies()));*/
              httpurlconnection.setDoOutput(true);
              httpurlconnection.setDoInput(true);
              httpurlconnection.setRequestProperty(
                   "Content-length",
                   String.valueOf(urlParameters.length()));
              OutputStream outputstream = httpurlconnection.getOutputStream();
              outputstream.write(urlParameters.getBytes());
              outputstream.flush();
              //Get Response     
              try{
         InputStream is = httpurlconnection.getInputStream();
         BufferedReader rd = new BufferedReader(new InputStreamReader(is));
         String line;
         StringBuffer response = new StringBuffer();
         while((line = rd.readLine()) != null) {
         response.append(line);
         response.append('\r');
         rd.close();
         //System.out.println("Response from SSO is:" + response);
         return response.toString();
         } catch (Exception e) {
         e.printStackTrace();
         return null;
         } finally {
         if(httpurlconnection != null) {
              httpurlconnection.disconnect();
    WPSServlet.java
    import java.io.IOException;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    * Servlet implementation class WPSServlet
    public class WPSServlet extends HttpServlet {
         private static final long serialVersionUID = 1L;
    * @see HttpServlet#HttpServlet()
    public WPSServlet() {
    super();
    // TODO Auto-generated constructor stub
         * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)
         protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
              // TODO Auto-generated method stub
              System.out.println("**********************Inside WPS Servlet -- the request Map is:" + request.getParameterMap());
         * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
         protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
              // TODO Auto-generated method stub
              doGet(request,response);
    Thanks,
    Nagesh

  • Getting & sending 0-byte images / Skype profile ex...

    Dear developers,
    there are again stupid issues which make Skype unusable.
    Since images are displayed in conversations, I often receive images I cannot open. They have a 0-byte size. The thumbnail is created however. This mostly happens to images in the clipboard which are pasted into the conversation.
    The same goes to images I send. People say they are also of 0-byte size, but can see the thumbnails.
    When deleting the images in %APPDATA%\Skype\username\media_messaging\media_cache but not deleting the folder "asyncdb", Skype can't correctly start anymore. I get to the main window, but as soon as I open a conversation, the HDD usage goes up to an extreme. Maybe it's searching for the images it can't find over and over. This is on an SSD drive:
    After deleting "asyncdb", the problem is fixed.
    Why asking for such a problem if it's my own fault since I tempered with my profile folder? Simple: This folder grows up to an exorbitant collection of images and thumbnails I do not want. While Skype is running, I can delete all these images but asyncdb is in use. At the next start, it fücks up.
    Either fix an elementary-school-bug or let my HDD fill up with images?
    Thanks for your attention.

    Ask your partner to try to reset all Internet Explorer settings:
    http://support.microsoft.com/kb/923737
    Next reset LAN settings:
    Open Internet Explorer. Go to Tools -> Internet Options -> Connections -> LAN settings. Make sure that the only option selected is “Automatically detect settings”.
    Next clear all Temporary Internet Files:
    Open Internet Explorer -> Tools -> Internet Options -> General. In the section “Browsing history” press the “Settings” button and in the next window the “View files” button. Delete all files from the Temporary Internet Files folder.
    Reboot your computer and test now what happens when you open this link in your Internet Explorer.
    https://api.asm.skype.com/s/i

Maybe you are looking for

  • How to execute a procedure in the same db session of the framework page

    i am using oaframework personalization to create a link. when the link is clicked i will execute a database procedure using /psl/DAD/procedurename. currently when the user clicks on the link it will get executed in separate database session. but i wa

  • Problem with distribution model receiver ports

    Hi, I am facing a problem with distribution model. I am using Distribution model for material classification data. I am sending my classification data using CLFMAS message type to one of the receiver. Again another person also sending classification

  • Help!!! I want to cry!!! My screen has cracked!!!

    Hi here, I don't know if anyone else has had this problem, or what i should do about it. I woke up this morning to find the glass cracked on my new Mac book pro 17"!!!. I understand that apple don't cover screens in their warranty, but surely there m

  • Where can i download indesign CS6 if i've purchased the volume license?

    I have a trial copy of indesign cc installed on the user machine but did not allow me to activate with the CS6 license that i had bought and i do not have access to the LWS that was used to purchase the license.

  • JSP class loader

              Hi,           I have a static block within a JSP page that get executed twice when it's being executed!           Based on the output, you can see that it's being loaded by two separated class loaders:           'weblogic.utils.classloaders