Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

dispaly image in jsp page  RSS feed

 
ramesh poorella
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

i am generated on image and i am saving my project folder only... at the same time i will call with another jsp and i want to display... but it is not displaying...

if after image generate and saving once again we deploy our project then it will displaying in my jsp... but i want to display with out deploying i mean at same time only...

 
Shailesh Narkhede
Ranch Hand
Posts: 368
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ramesh,

Where are you generating image?
Can you please add some code?

if after image generate and saving once again we deploy our project then it will displaying in my jsp... but i want to display with out deploying i mean at same time only...


What so you mean by saving once again?
 
ramesh poorella
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I mean throw my java class i am generating one image and it is stored in my project folder only.... at the same time i want to retrieve that image via jsp and display it.


But its not getting.... once again after deploying my project then only it will displaying in my jsp...

so please help me with out deploying my project how to retrieve and display that i mage.......
 
Shailesh Narkhede
Ranch Hand
Posts: 368
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
On which path you are generating image? It should be context relative path on your server and after that If you are trying to access that image thr' jsp it will be available.
 
ramesh poorella
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is context path?


can you tell about contextpath?
and how it is used?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!