farheen rabiya

Greenhorn
+ Follow
since Sep 28, 2009
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by farheen rabiya

Hi

@David
Iam getting "writer already obtained" errorr.
Iam using velocity template (front end) where my link is present.And on click of that link a pdf report should be generated in a new window.

@Ankit
Iam new to this site and so I dont know how this has to be done.

My problem is I cannot use execute method,even then,when Iam using execute method and returning null,its not working.
I dont understand what should the url be like?
Please help.
14 years ago
HI

Iam using struts 1.1 to generate a pdf report.
I have written the following code in my action class




And now when the user clicks on the link, pdf report should be generated in a new window.
which is what Iam not able to get.Iam getting errorr here.
Can someone help me what should be written in struts-config.xml file and what should be the url which on clicking should be giving the pdf.
14 years ago
Hi

you can use window.open(link); in the javascript function of your jsp
14 years ago