2 Replies - 3137 Views - Last Post: 27 April 2010 - 04:01 AM

#1 Guest_Kaushik*


Reputation:

Report generation using servlets

Posted 27 April 2010 - 03:43 AM

Need Help
Hi, I am new to j2ee world.
I am doing a project in which there will be a reporting page.
Suppose the user enters the customer id and clicks the submit button , then immediately a report will be generated using html table tags and display customer details such as names, address, phone number etc just below the submit button. Now I can do the above task using jsp, but I want to do it using servlets.

Somebody please help.

Waiting for a helpful reply.

Is This A Good Question/Topic? 0

Replies To: Report generation using servlets

#2 Dogstopper  Icon User is offline

  • The Ninjaducky
  • member icon



Reputation: 2870
  • View blog
  • Posts: 11,021
  • Joined: 15-July 08

Re: Report generation using servlets

Posted 27 April 2010 - 03:50 AM

I don't know much about servlets, but here is a form-processing tutorial for you:
http://java.sun.com/...sing/index.html

Also, we have a JavaEE forum, so I will move this there.
Was This Post Helpful? 0
  • +
  • -

#3 Krishs  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 23
  • View blog
  • Posts: 105
  • Joined: 06-April 10

Re: Report generation using servlets

Posted 27 April 2010 - 04:01 AM

Simple approach will be to write Servlet that receive customer details regarding to customer id and store it into ArrayList. That list can be stored at request scope where jsp page can iterate list and show result.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1