vaishnav_piyush Posted August 9, 2007 Share Posted August 9, 2007 Hi all !! I've a jasper report which i display as pdf in any browser such as IE as part of a web application.When displayed in browser, the whole server path of the report is displayed in the title bar. Due to security concerns i could not display the server path of the report in title bar. Instead i wish to display any title. how can i do this... thanks Link to comment Share on other sites More sharing options...
szaharia Posted August 9, 2007 Share Posted August 9, 2007 Hi, In the (jsp) page you've probably set the content type as "application/pdf", try to fill in the <title /> tag whatever title text you have in your mind. hth,sanda Link to comment Share on other sites More sharing options...
csbac Posted August 9, 2007 Share Posted August 9, 2007 Hi!I sincerely doubt that an html <title> element will be parsed, even passed to the client, when the jsp content type is set to application/pdf ... only the pdf itself should/will be tranferred. No idea how to change the page title, though; I never display pdf files inside the browser, I make sure acroread is opened with the file. Yours,Sebastian Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now