It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

I am outputting a log in the form of an HTML file but I can't link to it.

I am working on a test machine, and I am not sure where to put the file. Right now it is on my desktop and I create a link to it, I am getting an error. When I tried making making the file first as "./log.html" it places the file in my system 32 folder, so for my desktop, I made the link "../../Users/myName/Desltop/log.html"

now I get an error when I click on the link


I don't have a folder named secure in my system32 folder. Where should I toss these files?

Oh I know the file is there, and I can open it manually with firefox.

1 answer

1 accepted

I have no idea what the problem you have having is. Are you writing an html file with some groovy code? And you want to allow the users to click on a link to open it?

If my guesswork is correct, you need to put it somewhere under the installation where it's downloadable from, but I don't think that's a very good idea.

Actually I made a groovy script and it uses the file and filewriter to output the HTML file. I am just not sure where to put the files right now.

I know when we roll it out, the plan was to put them in the temp folder or a folder that only the webserver has access to.

Thank you :-)

I don't think tomcat will serve files from the temp folder. Charts and so on are served from there by a special "stream and delete" servlet. I would set up apache and write the files to somewhere under the document root.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published Apr 03, 2019 in Marketplace Apps

How to estimate projects more accurately?

Gaining insight into your team’s effectiveness and choosing the right estimation technique.   Estimating projects is hard. It is because people have the tendency to underestimate the time thin...

278 views 2 8
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you