Results 1 to 4 of 4

Thread: help me please

  1. #1
    mukesh1985 is offline Member
    Join Date
    Jun 2008
    Posts
    1
    Rep Power
    0

    Post help me please

    i am display some report in jsp pagenow . I want to dispaly this report via Excel format.
    can any body give any idea?

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

    Default

    It's better that you ask it in JSP forums. Anyway, I'll move you there. Don't start another thread again.

  3. #3
    daGame is offline Member
    Join Date
    May 2008
    Posts
    24
    Rep Power
    0

    Default

    Quote Originally Posted by mukesh1985 View Post
    i am display some report in jsp pagenow . I want to dispaly this report via Excel format.
    can any body give any idea?
    Use this in the headers in jsp page, basically you have to set the headers set

    to display results in excel, if this doesnt work you have to use sourgeforge's POI api.

    Java Code:
    <%@ page contentType="application/vnd.ms-excel" language="java" import="java.sql.*, java.util.*" errorPage="" %>

  4. #4
    o0JSP is offline Member
    Join Date
    Jun 2008
    Posts
    5
    Rep Power
    0

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •