Hi,

I have an HTML page stored as blob in the database.
Whenever I click a link on a JSP page,
I require this blob to be displayed as an HTML page. I
am retrieving the blob value as an Input stream and
then trying to write this stream to the servlet
response output stream. But the problem is that it is
not displayed?
Has anyone faced such an issue? Please help me.

Architecture adopted:
All the http requests are intercepted by the
FrontController,
which in turn directs a Handler to process the
request(like database fetch etc). The data
retrieved(in this case Inputstream)
is being stored in the session object. The next page
to be presented for this action is understood by the
controller from
the mapping.xml file. So the next page gets the
database fetch values from the session and is
displayed in the screen.

Thanks in advance

Regards
Jo

__________________________________
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
http://launch.yahoo.com/promos/britneyspears/

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com

Reply via email to