Basic Project Flow:
1. User selects a report name (reportList.jsp)
2. ReportListAction then populates the ReportListForm with the appropriate parameters to be selected (optional) or filled out (mandatory)
3. reportList.jsp is redisplayed (tiles configuration)with a new visible section for the user to enter parameter choices, user submits
4. ReportListAction recognizes the submittal and is suppose to do the following:
-> create an URL to submit to the Crystal Reports Server
-> submit URL
-> receive report response(suppose to be in HTML)
-> pass response through to a NEW browser window for viewing
PROBLEM STATEMENT:
How do I, internal to the ReportListAction, submit the URL? What general order do I need to follow? For example, do I create a HTTPClient and have that handle the request submittal and receive the response? Or should I use HttpURLConnection? I have looked over the APIs (HTTPRequest, HTTPClient, HTTPServletRequest, HTTPSession, etc.) but am not familiar enough with HTTP to know which to try first. This is my first time attempting to use HTTP.
ENVIRONMENT:
Developing in RAD,
J2EE.
DISCLAIMER:
I was unsure as to which forum to initially post (I/O,
Java Advanced,
Struts) as the problem seems to touch all areas. Please accept my apology if I posted incorrectly.
Thanks for your input and advice!
JD