aspose file tools
The moose likes JSP and the fly likes Report in JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "Report in JSP" Watch "Report in JSP" New topic
Author

Report in JSP

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
I have to generate a report and value for one column is many

for eg my report should look like
eno ename status
1 ahsdgas bbb
aaa
ccc
2 asdasd ddd
aaa


The way data stored in tables

emp
eno ename
1 ahsdgas

2 asdasd

emp_status
eno status_id
1 2
1 1
1 3
2 4
2 1

status
status_id descr

1 aaa
2 bbb
3 ccc
4 ddd
5 eee
6 fff

Is it possible to generate report like that in JSP
Give me some ideas...
Jeffrey Hunter
Ranch Hand

Joined: Apr 16, 2004
Posts: 305
This is certainly possible. Ideally, you'd want your Servlet to retrieve the data from the database and feed it to the JSP, at which point the JSP will use custom tags to dynamically build the tables. You can set page breaks in the HTML to create a printer-friendly report that can be printed easily.

If all this sounds alien to you, just ask a more detailed question, and you'll most likely get an answer/suggestion which is more descriptive.
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
r there any examples on net
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Report in JSP
 
Similar Threads
Prompt algorithm
Ned help with "XPath"
Preceding siblings
How to split a string by the whitespace but ignoring '\n'?
master/detail report in jsp