About this blog

Hi there!

This is Willie Wheeler’s blog for the upcoming Manning title, Spring in Practice, by Willie Wheeler, John Wheeler and Josh White.

2 thoughts on “About this blog”

  1. Hi,

    I’m tracking with MVC, and now I’m trying add an embeded pdf report into the jsp after the user has pressed the submit button.

    I understand that I can’t use simply because I need to open a stream:

    <embed width="50%" height="50%" src="WEB-INF/jsp/DB_template.pdf" type=application/pdf />
    

    Do you have any experience with this. I just don’t like it when I return a pdf and it opens in the entire window. I’m following the book, and I’m trying to do this using tiles.

    Thank you very much.

    John

  2. Well I think I figured it out. I don’t think its needed to actually embed the pdf, instead I’m just embeding an html page, and then if the user decides to open as a pdf then they can do so. Embedding the html looks much cleaner anyways.

    Thanks anyways.

Leave a Reply

Fill in your details below or click an icon to log in:

Gravatar
WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.