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.

Jason Galm Mar 28, 2013

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

/secure/Users/myName/Desktop/log.html

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

0 votes
Answer accepted
JamieA Mar 28, 2013

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.

Jason Galm Mar 28, 2013

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.

Jason Galm Mar 28, 2013

Thank you :-)

JamieA Mar 28, 2013

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 in Marketplace Apps & Integrations

Webinar invitation: Generate custom Jira Cloud PDF reports and exports

Jira may be a staple part of your workday, but your colleagues, customers, business partners or an auditor might need information presented in a different format, that is easy to access and read. And...

64 views 0 1
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you