i want to add this html part at top of confluence for that i need to fetch json contents How can i do this please help me
see, that helps a lot..... In that situation, I'd put some jquery into the template and pull the data directly from the client, not the server.
Here's a stack overflow question which may help
http://stackoverflow.com/questions/12990520/jquery-get-json-from-remote-host
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
because i want to fetch contents of page into any variable for example
i want to fetch www.sample.com/index.php inside any variable $s
just tell me is it possible to fetch any page using velocity template ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
what are you trying to do? Maybe better ways of doing it?
You can access the data model in Velocity
https://developer.atlassian.com/display/JIRADEV/Contents+of+the+Velocity+Context
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i want to add jsp tag <% jsp code %> at top of head in topnav.vm
but it is not interpeting jsp tags and printing as it is.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That's still not explaining WHY you want to to do it.
That's telling me WHAT you want to do.
Why try to add the JSP code, what is the end purpose?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.