Servlet based problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ITCraze
    New Member
    • Nov 2007
    • 19

    Servlet based problem

    I have to make a servlet based application in which the web form displays data coming from mysql table.And we have to give the user the facility of downloading this data into Microsoft word.

    There is no problem with data display but the problem is that I don't know how I should do the download part and that also in servlets.I mean to say I have to use just servlet only for this functionality.I am using NetBeans 6.0.

    Sometimes I really get very confused where to write the html code , and the application logic :
    Like in process request or in do post or do get. I ahve written the data display code in process request.

    But it will be nice If I will also get some knowledge about where to write the html code or application logic in servlets(using netbeans 6.0).


    Please guys help me out in solving all these questions.


    And also I want to ask If I am using a button in servlet , then how to know that a button has been clicked or how to call some specific function when the button has been clicked.I there anything related to this which I can perform using servlets.
  • Dököll
    Recognized Expert Top Contributor
    • Nov 2006
    • 2379

    #2
    You may need to do some digging but I did fetch these for ya:
    http://www.google.com/search?hl=en&rl s=com.microsoft %3Aen-US&q=Retrieve+d ata+using+servl et%2C+save+as+M icrosoft+word&b tnG=Search
    Last edited by Dököll; Dec 12 '08, 01:11 AM. Reason: Added link...

    Comment

    Working...