Final Year Project Questionnaire... Please help me out!

hi,
i'm in the final year of my degree in multimedia, and i was hoping some nice people would help me out by answering some of these questions for my final year project. it would really be a great help to me....
Introduction:
For my final year project I am going to produce a website where people can create their own Flash game. I will make a game creator – an artefact which the users will be able to use to create their own game from nothing – using Flash, and then incorporate this into a website. The users will be able to create games using an interactive display – they will not have to write any code; and they can play their games, and other users’ games on the website. I want to make the game creator easy to use so almost anyone could do it, and make it so it’s fun to do as well. I would make many options available within the game creator so the user can really personalise their game and make it individual.
Questions:
Do you like the idea?
What technical capabilities would you look for in this type of application? What do you think this application needs to perform its task? What options should be available?
For the website?
For the game creator application?
How should it look visually? What kind of style do you think would be most fitting?
Do you think ease of use and the ability to personalise is important in this application?
What do you think are the most important aspects of an application like this? What would be the most important things that this could give you?
Are there any other similar applications that you have used? Did you like or dislike these, and why?
How often would you use it? Regularly, infrequently, once, never?
What is your favourite game genre? What game genre would you like to create a game in? Platform, shooter, strategy, etc…
How fast would you like to be able to create a game using this? Is the speed with which you can make a game more important than the variety of options available within the game creator?
Where would you use this website? Home, school, travelling…
Are there any other points you would like to mention?

how do i make this code work...can smbody please do that

Similar Messages

  • Final Year Project! Please give me some idea!

    I'm doing an individual final year project using IBM Aglet, JRun and J2ME. The topic is "Mobile agent shopping system", better with some theories. I have no idea about what types of application should be done. Initially, I intended to build a system for the customers to search for the products in a shopping mall with data mining recommendation(e.g. association-Apriori), but my supervisor want me to give him a new idea because previous students has built similar application (but using classification in data mining).
    My supervisor has another 3 students doing the same project, but one of them doing a restaurant reservation system, another one has many multimedia in his system. The last one - I don't know. It seems that my project has no "selling points". I don't want to think of a quite complicated one as my programming skill is not so good. But the big problem is the project is restricted to a shopping mall. There is not much can be done. The project will be handed in 2 months later. I'm afraid that I can't hand it in on time. Does anyone have any suggestion on the topic. I have thought of this many times, but my supervisor still does not satisfy with it.
    Please help me!

    http://mindprod.com/projects/projects.html

  • Final year project need help

    hi there
    i am doing an applet for my final year project. at the end of this project i have to end up with a simple uml drawing applet. i have done some coding but am way outa my league and now i am stuck. i have managed to draw lines and rectangles but have no idea how to make the lines attch to the rectangles or how to move a rectangle around the screenonce it has been drawn. my email address is [email protected] if you mail me i can give you my program and maybe you can help me

    You are right V.V, this applet is not finished yet, try this one,
    press the oval/rectangle/desic buttons and add shapes by clicking on an empty square, after adding some shapes press the line button, by clicking on 2 shapes you will add a line to connect them. you can drag the shapes and the lines will follow.
    Use double click for text. Drag the shape out of the screen and it will be deleted.
    import java.applet.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.util.*;
    public class Flow extends Applet
         Button lineB = new Button("Line");
         Button rectB = new Button("Rect");
         Button ovalB = new Button("Oval");
         Button desiB = new Button("Desic");
         Button clirB = new Button("Clear");
         Label  typeL = new Label("             ");
         Dcanvas  canvas     = new Dcanvas();
    public void init()
         setLayout(new BorderLayout());
         add("Center",canvas);
         addButtons();
         resize(730,440);
    private void addButtons()
         lineB.addActionListener(new ButtonHandler());
         rectB.addActionListener(new ButtonHandler());
         ovalB.addActionListener(new ButtonHandler());
         desiB.addActionListener(new ButtonHandler());
         clirB.addActionListener(new ButtonHandler());
         Panel panel = new Panel();
         panel.add(lineB);
         panel.add(rectB);
         panel.add(ovalB);
         panel.add(desiB);
         panel.add(clirB);
         panel.add(typeL);
         add("North",panel);
    class ButtonHandler implements ActionListener
    public void actionPerformed(ActionEvent ev)
         String s = ev.getActionCommand();
         if(s.equals("Clear")) canvas.clear();
         if(s.equals("Line"))  canvas.setType(1);
         if(s.equals("Rect"))  canvas.setType(2);
         if(s.equals("Oval"))  canvas.setType(3);
         if(s.equals("Desic")) canvas.setType(4);
    public class Dcanvas extends Panel
         Vector    objects = new Vector();
         Vector    lines   = new Vector();
         TextField txt     = new TextField("");
         Mobject   rc,rl,rd;
         Mline     ln;
         boolean   rcd  = false;
         boolean   rcl  = false;
         boolean   rct  = false;
         Rectangle rp;
         Graphics2D G;
         int sx,sy,oi;
         int objectType = 0;     
         int maxV = 8;
         int maxH = 9;
         int sizeW = 80;
         int sizeH = 50;
    public Dcanvas()
         super();
         setLayout(null);
         addMouseListener(new MouseHandler());
         addMouseMotionListener(new MouseMotionHandler());
         setFont(new Font("",0,9));
         txt.setSize(114,23);
         txt.setFont(new Font("",0,15));
         txt.setBackground(new Color(192,220,192));
         add(txt);
         txt.setVisible(false);
         txt.addTextListener(new TextListener()     
         {     public void textValueChanged(TextEvent e)
                   rc.setText(txt.getText());     
                   repaint(rc.x,rc.y,rc.width,rc.height);
    public void clear()
         objects.removeAllElements();
         lines.removeAllElements();
         objectType = 0;
         typeL.setBackground(Color.white);
         typeL.setText("");
         txt.setVisible(false);
         repaint();
    public void setType(int i)
         if (rcl) repaint(rl.x,rl.y,rl.width+1,rl.height+1);
         objectType = i;
         typeL.setBackground(Color.pink);
         if (i == 1)     typeL.setText(" Lines");
         if (i == 2)     typeL.setText(" Rects");
         if (i == 3)     typeL.setText(" Ovals");
         if (i == 4)     typeL.setText(" Desic");
         rcl = false;
    public void dragIt(int X, int Y)
         repaint(rc.x,rc.y,rc.width,rc.height);
         rc.x = rc.x + X - sx;
         rc.y = rc.y + Y - sy;
         rc.setPaintArea();
         sx   = X;
         sy   = Y;
         repaint(rc.x,rc.y,rc.width,rc.height);
    public void moveIt(int X, int Y)
         rcd = false;
         repaint(rc.x,rc.y,rc.width,rc.height);
         rc.x = X;
         rc.y = Y;
         rc.setPaintArea();
         repaint(rc.x,rc.y,rc.width,rc.height);
         Mline ml;
         for (int i=0; i < lines.size(); i++)
              ml = (Mline)lines.get(i);
              if (ml.from == rd || ml.to == rd)
                   ml.setPaintArea();
                   repaint();
    public void deleteIt()
         rcd = false;
         Mline ml;
         for (int i=0; i < lines.size(); i++)
              ml = (Mline)lines.get(i);
              if (ml.from == rd || ml.to == rd)
                   lines.remove(i);
                   i--;
         objects.remove(rc);
         repaint();
    public void paint(Graphics g)
         rp = g.getClipBounds();
         g.setColor(Color.white);
         g.fillRect(rp.x,rp.y,rp.width,rp.height);
         g.setColor(new Color(240,240,240));
         for (int x=0; x < 721; x=x+sizeW) g.drawLine(x,0,x,400);
         for (int y=0; y < 401; y=y+sizeH) g.drawLine(0,y,720,y);
         for (int i=0; i < lines.size(); i++) ((Mline)lines.get(i)).paint(g);
         for (int i=0; i < objects.size(); i++) ((Mobject)objects.get(i)).paintW(g);
         if (rcd) rc.paintD(g);
         if (rcl) rc.paintL(g);
    public void update(Graphics g)
         paint(g);
    //     *********   mouse   ************
    class MouseHandler extends MouseAdapter
    public void mousePressed(MouseEvent e)
         txt.setVisible(false);
         for (int i=0; i < objects.size(); i++)
              if (((Rectangle)objects.get(i)).contains(e.getX(),e.getY()))
                   rc  = (Mobject)objects.get(i);
                   rd  = rc;
                   sx  = e.getX();
                   sy  = e.getY();
                   if (e. getClickCount() == 2)  
                        txt.setLocation(rc.x,rc.y+rc.height-1);
                        txt.setText(rc.getText());
                        txt.setVisible(true);
                        txt.requestFocus();
                   rcd = true;
         if (rcd && rcl)
              ln  = new Mline(rl,rc);
              lines.add(ln);
              rcd = false;
              rcl = false;
              rp.setBounds(rc);
              rp.add(rl);
              repaint(rp.x,rp.y,rp.width,rp.height);
         if (rcd && objectType == 1)
              rcd = false;
              rcl = true;
              rl  = rc;
              repaint(rc.x,rc.y,rc.width,rc.height);
    public void mouseReleased(MouseEvent e)
         int x = e.getX()/sizeW;
         int y = e.getY()/sizeH;
         x = x * sizeW + 1;
         y = y * sizeH + 1;
         if (rcd)
              if (x > maxH || y > maxV) deleteIt();
                   else                  moveIt(x,y);
              return;     
         if (objectType == 2 || objectType == 3 || objectType == 4)
              rc = new Mobject(objectType,x,y,sizeW-2,sizeH-2);
              objects.add(rc);
              repaint(rc.x,rc.y,rc.width,rc.height);
    class MouseMotionHandler extends MouseMotionAdapter
    public void mouseDragged(MouseEvent e)
         if (rcd) dragIt(e.getX(),e.getY());
    //     *********   mouse  end ************
    class Mobject extends Rectangle
         long    id;
         int     type;
         int     ax,ay,aw,ah;
         String  text = "";
         Polygon po   = new Polygon();
    public Mobject(int t, int x,int y,int w,int h)
         super(x,y,w,h);
         type = t;
         setPaintArea();
         type = t;
         id = System.currentTimeMillis();
    public void setText(String s)
         text = s;
    public String getText()
         return(text);
    public void setPaintArea()
         ax = x + 5;
         ay = y + 5;
         aw = width  - 10;
         ah = height - 10;
         if (type == 4)
              po.npoints = 0;
              po.addPoint(ax+aw/2,ay);
              po.addPoint(ax+aw,ay+ah/2);
              po.addPoint(ax+aw/2,ay+ah);
              po.addPoint(ax,ay+ah/2);
              po.addPoint(ax+aw/2,ay);
    public void paintL(Graphics g)
         g.setColor(Color.orange);
         paint(g);
    public void paintD(Graphics g)
         g.setColor(Color.red);
         paint(g);
    public void paintW(Graphics g)
         g.setColor(Color.white);
         paint(g);
    public void paint(Graphics g)
         if (type == 2) g.fillRect(ax,ay,aw,ah);
         if (type == 3) g.fillOval(ax,ay,aw,ah);
         if (type == 4) g.fillPolygon(po);
         g.setColor(Color.black);
         if (type == 2) g.drawRect(ax,ay,aw,ah);
         if (type == 3) g.drawOval(ax,ay,aw,ah);
         if (type == 4) g.drawPolygon(po);
         g.drawString(text,ax+3,ay+ah/2+2);
    class Mline
         Mobject from,to;
         int x1,y1,x2,y2;
    public Mline(Mobject f, Mobject t)
         from = f;
         to   = t;
         setPaintArea();
    public void setPaintArea()
         x1 = from.x + from.width/2;
         y1 = from.y + from.height/2;
         x2 = to.x + to.width/2;
         y2 = to.y + to.height/2;
    public void paint(Graphics g)
         g.setColor(Color.blue);
         g.drawLine(x1,y1,x2,y2);
    Noah

  • Need help on developing system as my final year project

    hello everyone.
    I would like to find someone who can guide me in developing a system for my final year project ( title:Event Correlation Analysis System).As i am not really good in programming i find it very difficult to start in code the program.Whateva it is i need to develop the program in order to be graduated.I am having a very hard time here as this title is given to me by my lecturer who is expecting me to do everything..Please anyone help to guide me.
    My project is about using java to create a system which can monitor log file and uses some rules to correlate and output to end-user the prove of a particular problem (i.e: accessing pornography.).for more information find articles about event correlation system.
    thousands of thanks in advance.

    Praveen_Forum wrote:
    Vijen..!!
    just forget it no one here would write code for you it is you who have to struggle and write some code come back if you have any specific questions regarding the coding or architecture or something like that so [Get Started|http://java.sun.com/docs/books/tutorial/getStarted/index.html]
    OP didn't ask anyone to code it for him/her
    that said, OP needs to put forth some effort
    you'd think a final year student could demonstate a bit more understanding of how to interact in a community such as this
    i'm also curious to know why a final year student has been given a software project but doesn't know how to program?

  • Im doing my final year project here and i need help- karasi

     my name's karasi and im from singapore..currently doing my final year at nanyang polytechnic..diploma in electronics, computer and communications engineering..im new to this labVIEW software as my supervisor just gave me this..my supervisor will be giving my project details next week and im pretty sure tht i really do need alot of help in this to pass my final year project..so any kind helpers who would wanna help me in this would u pls kindly email me at [email protected] thnk you..
    Solved!
    Go to Solution.

    The PCR here is used to monitor and analyze the temperature of the substance. I'm supposed to make a user interface with 4 display of graphs overlapping each other. And the buttons are used to control which graph should come up first. Once when a button is shown, the button should greyed out. I've attached on an example that my supervisor gave me on how it should look like. Thanks! 
    Attachments:
    imgA.jpg ‏75 KB

  • Help me in Doing my Final Year Project

    Dear All,
    I am studying BSc in Computer Science in American International University Bangladesh (AIUB), Bangladesh. I want to work with Java Card. Actually I want to complete my final year project in Java Smart Card.
    I want to develop a Smart Card for student as mention in the link
    http://java.sun.com/products/javacard/examples.html
    1. when student insert the card in card accepantance device in entrance of the university all information(Name, ID,Photo, Department.....) will be displayed in the monitor of the entrance. After see the pic get keeper have no confusion about the student.
    2. Student can also use this card to use the facilities of Library and Cafe.
    Now dear all pls help me by proving this information.
    1. What kind of hardware i need to complete the project and successfully deploy it to my university. Pls tell me briefly and if possible then tell me the link where i can but it.(If the parts are available in UK then let me know. It will be easy for me to collect parts from there).
    2. What kind of Smart Card I have to use exactly.
    3. If anyone ever develope this kind of project then pls email me at [email protected]
    4. If possible then pls let me know the price of this hardware.
    Its very vey urgent. I know all Java lover will definetly help me.
    I am waiting for reply
    Yeasin Habib
    Bangladesh

    I want to develop a Smart Card for student as mention
    in the link
    http://java.sun.com/products/javacard/examples.html
    Well then you have a number of points that can be solved very differently. Does exist any legacy hardware or software that need to be included into your project?
    1. when student insert the card in card accepantance
    device in entrance of the university all
    information(Name, ID,Photo, Department.....) will be
    displayed in the monitor of the entrance. After see
    the pic get keeper have no confusion about the
    student.Where do you want do store the student information? On card or in a centralised database? Who should be able to change information?
    2. Student can also use this card to use the
    facilities of Library and Cafe.Looks like money comes into play. "Stealing money" is always a good impulsion for any attacker. You should consider this in your system design.
    1. What kind of hardware i need to complete the
    project and successfully deploy it to my university.Sorry, but except for the hardware parts "chipcard terminal" (with or without pin-pad) and several smartcards I can give you only the answer: "That depends on what you want to achieve and how you want to do it"
    2. What kind of Smart Card I have to use exactly.If you want to store the student image on the card, on of your main requirements would be a smartcard that has enough EEPROM for storing the image. Common JavaCards have 10 to 30kb for data and the applet code.
    Jan

  • Im a Uni student&need help:JAVA Final Year Project: Undo Manager Problem

    Hey all,
    Im writing a Final Year Project and have minimal experience writing in JAVA.
    It is an information visualisation assignment which involves reproducing code/text in a reduced format. Sort of to do with Line oriented statistics.
    http://www.cc.gatech.edu/aristotle/Tools/tarantula/continuous.gif
    This image will give you an idea of what im talking about.
    Anyway, i need to know if its possible to get information about individual undos/edits from an undomanager.
    Basically i need to be able to say, for example,
    there are 12 undos
    undo 12 occurs at line X
    undo 11 occurs at line Y
    etc etc
    I need to be able to get this information without actually invoking the Undo last edit call.
    Im bringing the Java undomanager tutorial home but from what ive read it seems like impossible?
    Any and all help appreciated.
    Regards,
    P

    When I was at uni I had to implement that for the text area of an IDE. All I did was rip off the code from the Notepad.java that comes with the SDK.

  • HELPPP final year project!! PLEASE

    Hi,
    For my final year project, I have to create a mobile phone simulation in that multiple mobile phone users would be to particicipate in a chatroom just like text messenging. The messages sent would be read by all the users in that chatroom.
    Does anyone know how about I go in doing this? Im planning to use Java as my programming language and a mobile phone simulator but dont know where to start. Any suggestions? Much appriciated!! :-)

    As a final year student you should be able to put
    some effort into finding stuff out yourself. These
    starter questions pop up frequently, so the search
    should come up with more than enough information for
    you! If not, I bet google will!I agree. I am a final year student as wel and also have to write a Java program to display XSL-FO info on a PDA. Just google around a bit to get started, once you get it started it's not that hard. Certainly your application shouldn't give to much trouble I think.

  • Oracle Final Year Project Choice Help Needed

    hi everyone,
    I m Amir from Pakistan, I m a student of CS final year at a IT University powered by Govt.of pakistan.
    Can any one help us regarding choice of Final Year project/proposal. we want to build oracle based solution for any industry or sector which will also helpfull for me and my team not only for College Final Year Project but also for after college industry solutions.
    As in consideration different sectors are in front of us, i.e Oil & Gas, Manufacturing, Automobiles, Communications etc
    But, we think this forum is much help full cause different professional peoples are much better able to guide us with respect to current and upcoming trends.
    Thanks
    Amir

    Hi Amir,
    I can think of a dozen different projects. You could check the functionalities in Oracle's eBusiness Suite (Oracle Applications). For instance you could implement a human resource module (employees details, salaries etc), or a employee time card application. Why not a resource booking system (conference rooms, beamers, computers etc).
    All these examples could easily be split into parts. Say for instance time reporting. One group could implement the interface to the employees, one group the interface to the managers, to the human resource department, and there's also quite some administrative setup modules.
    What project proposals have you come up with yet?
    Well, because it's your first post I warmly welcomes you to the Oracle Forums here at Oracle Technology Network.
    Regards,
    Martin Malmstrom
    ORACLE Consulting

  • Writing my final year project

    He.
    Can any body help me please.
    I want write my final year project, so I need basic information related to my thesis, speacially good links that I could get more information.
    project contains, Tomcat,servlet, sybase, jdbc, and so on.
    So please if you could try to tell me more then that, I approciate.
    By Gaalkacyo

    Try coreservlets and moreservlets .com they contain some good info.
    Info on tomcat to be found at jakarta.apache.org.

  • Please help me out guys....

    Hey guys... i'm new to the forums but i need to some help. I have searched and searched on this subject and have tried a lot. My ipod was dead for a long time and i tried to charge it the other day, but got the "connect to itunes" message to restore it. so i did... itunes finally read it but read it as "ipod" and not what it usually is. So i triend to restore it and i got the 1418 error. Did research on that, uninstalled itunes/reinstalled and of course didn't work. uninstalled the usb drive and reinstalled it. nothing seems to work, and the ipod isn't showing up in my computer either. only shows up if i'm lucky in itunes. please help me out there guys... if i can fix it i would be really happy, if its garbage then just tell me. thanks again. btw... i have a 30gb video.... hope this is the right section

    We do need the actual DMP file as it contains the only record of the sequence of events leading up to the crash, what drivers were loaded, and what was responsible.  
    We prefer at least 2 DMP files to spot trends and confirm the cause.
    Please follow our instructions for finding and uploading the files we need to help you fix your computer. They can be found here
    If you have any questions about the procedure please ask
    Wanikiya and Dyami--Team Zigzag

  • HT201177 My new MacBook Retina cannot play any videos on any browser. This includes the Apple videos. It keeps saying Missing Plug-In. I am not sure what I am supposed to do. Can someone please help me out?

    My new MacBook Retina cannot play any videos on any browser. This includes the Apple videos. It keeps saying Missing Plug-In. I am not sure what I am supposed to do. Can someone please help me out?

    My iPod mini, 4gb is hard to get serviced obviously because they dont make them anymore
    It is as simple to get it serviced as the day you purchased it.
    How is it hard to get it serviced?
    How long have you had your iPod?
    i get maybe 4-5 hours of battery life, maybe even 6 if im lucky
    That is not good but it's not "terrible".
    If you've had it less than a year, send it back to Apple to replace the battery.
    thought that i might buy an attachment type accesorie that i plug into the usb port on my ipod
    It's called a dock connector, not a USB port.
    i found a product in the online store, that i guess you place the ipod mini on, and it gives you up to 20 or so more hours of time but then it says that you have to have a firewire port or cable?
    What is it? The firewire port is on the computer, not the iPod.
    If the original battery is going bad, the first thing to do is get that sorted out.

  • Please help me out

    Hi,
    I am a technical Consultant. I have worked on SAP R/3 but have no experience in SAP B1.
    Right now i am involved in integration project.
    I have question on interface mapping. what is the procedure for doing that. what are the file formats i have to know.
    How are the flat files sent to the interface? Is their a program which does that?
    Please help me out with this. Thanks a ton!

    Hey Ravi,
    Thanks for the reply.
    We are not integarting SAP B1 with R/3.
    I will explain to you my project scenario.
    Comapny X (Online order Management)<---> Company Y (SAP B1) <----> Company Z(Warehouse Management)
    This is how the information is flowing.
    So Lets say if Company Y has to send all the Sales orders how are we going to do it?
    Like where do i map our fields to the fields of Company Z ? How do i send the flat file ?
    Right now i just have the evaluation version of SAP B1....Do i need SDK to do all this?  Please help me with this am totally confused.

  • Please help me out here

    Everytime I skype someone skype makes this horrible clicking/heartbeating sound and its SUPER annoying please help me out here
    I've tried signing out, and re-signing in, and even trying it on my phone
    and it still makes the sound. It's driving me crazy.
    Please help me
    -Josh

    Yeah there is no way to put the N73 firmware onto the N70, the phone simply isn't built to use it. There are probably hardware issues too.
    Is that an N95 in your pocket or are you just pleased to see me?!?
    Life's too important to take seriously.
    Nokias I've owned 3210, 3310, 6100, 7650, 6600, 6680, 6630, N80, N95
    I'm a 26 year old boy BTW

  • Posted this query several times but no reply. Please help me out

    Hi all,
    How to know whether a servlet had completely sent its response to the request.
    The problem what i am facing is, I send response to a client's request as a file.
    The byte by byte transfer happens, now if the client interrupts or cancels the operation, the response is not completed.
    At this stage how to know the response status. I am handling all exception, even then I am unable to trap the status.
    Please help me out.
    I have posted this query several times but no convincing reply till now. Hence please help me out.
    If somebody wants to see the code. I'll send it through mail.
    regards
    venkat

    Hi,
    thanks for the reply,
    Please check the code what I have written. The servlet if I execute in Javawebserver2.0 I could trap the exception. If the same servlet is running in weblogic 6.0 I am unable to get the exception.
    Please note that I have maintained counter and all necessary exception handling even then unable to trap the exception.
    //code//
    import java.io.*;
    import java.net.*;
    import java.util.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.security.*;
    public class TestServ extends HttpServlet
    Exception exception;
    public void doGet(HttpServletRequest req, HttpServletResponse res)throws ServletException, IOException, UnavailableException
         int bytesRead=0;
         int count=0;
         byte[] buff=new byte[1];
    OutputStream out=res.getOutputStream ();
    res.setContentType( "application/pdf"); // MIME type for pdf doc
    String fileURL ="http://localhost:7001/soap.pdf";
    BufferedInputStream bis = null;
    BufferedOutputStream bos = null;
    boolean download=false;
         int fsize=0;
         res.setHeader("Content-disposition", "attachment; filename="+"soap.pdf" );
    try
                   URL url=new URL(fileURL);
         bis = new BufferedInputStream(url.openStream());
         fsize=bis.available();
         bos = new BufferedOutputStream(out);
    while(-1 != (bytesRead = bis.read(buff, 0, buff.length)))
              try
                        bos.write(bytesRead);
                        count +=bytesRead;
                        bos.flush();
                   }//end of try for while loop
                   catch(StreamCorruptedException ex)
                        System.out.println("Exception ="+ex);
                        setError(ex);
                        break;
                   catch(SocketException e)
                        setError(e);
                        break;
                   catch(Exception e)
                        System.out.println("Exception in while of TestServlet is " +e.getMessage());
                        if(e != null)
                             System.out.println("File not downloaded properly"+e);
                             setError(e);
                             break;
                        }//if ends
                   }//end of catch for while loop
    }//while ends
              Exception eError=getError();
              if(eError!=null)
                   System.out.println("\n\n\n\nFile Not DownLoaded properly\n\n\n\n");
              else if(bytesRead == -1)
              System.out.println("\n\n\n\ndownload \nsuccessful\n\n\n\n");
              else
              System.out.println("\n\n\n\ndownload not successful\n\n\n\n");
    catch(MalformedURLException e)
    System.out.println ( "Exception inside TestServlet is " +e.getMessage());
    catch(IOException e)
    System.out.println ( "IOException inside TestServlet is " +e.getMessage());
         finally
              try
         if (bis != null)
         bis.close();
         if (bos != null)
         {bos.close();}
              catch(Exception e)
                   System.out.println("here ="+e);
    }//doPost ends
    public void setError(Exception e)
         exception=e;
         System.out.println("\n\n\nException occurred is "+e+"\n\n\n");
    public Exception getError()
              return exception;
    }//class ends
    //ends
    regards,
    venakt

Maybe you are looking for