Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to redirect to a jpg file from spring controller

 
Ramya prince Prince
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i want to do these things in my application.

In a HTML page i have a IMG tag. the SRC of the IMG tag should hit a spring controller and the controller should generate image using java2d and return the image to the browser.

How to achieve it. I have generated the image using java2D. how to integrate it with spring framework?
 
Soumya Rout
Ranch Hand
Posts: 49
Java Java ME Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dude nobody knows spring. Only god can help.
 
Ramya prince Prince
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic