Hi there,
I have a struts application that produce a pdf file: A user complete a form and at the end he supposes to see the pdf form on the screen. for some reason, I can't tell what is the path pointing to the specific folder where I saved the file.
This works:
folder == C:/eclipseProjects/registration/pdfFolder
PdfWriter.getInstance(document, new FileOutputStream(folder+"/"+filename));
but it's not the relative path. I mean, just as I do this in jsp:
src="<%=request.getContextPath()%>/javascript/theme.js">
I wonder what should be the path pointing to the pdfFolder.
(I tried ./pdfFolder or /pdfFolder ...nothing)
thanks for any help