Dear all, I understand this user list is for JetSpeed setup but I really
need some hand from you guys on the development.

I am experience java web engineer and not portlet development engineer
thus I am stuck in this basis web navigation. 

 

I have 2 JSP page. JSP1 is basically a entry page and I have a file
upload file to upload an image. In processAction(), I am able to store
the image into database. After that, I will show the JSP2 as a
confirmation page for user to confirm the entry from JSP1. Here is my
problems:

 

1.       In JSP2, I am wish to retrieve the image file from database(in
this scenario).  I am wondering how can I do that?  I am very happy If
you have better ideas to show the image file that I have selected from
JSP1 to JSP2.

 

2.       I plan to include a servlet invoke in JSP2 and that servlet is
going to retrieve it for me and display as a <IMG SRC> tag. But I have
tried 2 days and still didn't get it work. I understand I can invoke the
servlet like the code below but I am more interested to call it from JSP
Page.

            PortletRequestDispatcher dispatcher = getPortletContext()

 
.getRequestDispatcher("/WEB-INF/jsp/confirmation page.jsp");

                  dispatcher.include(request, response);

 

Please share me your ideas.

 

Thank You.

 

 

Regards,

 

FOONG 

 



------------------------------------------------------------------
-
-
DISCLAIMER:

This e-mail (including any attachments) may contain confidential information.
If you are not the intended recipient, you are hereby notified that any dealing,
review, distribution, printing, copying or use of this e-mail is strictly 
prohibited.
If you have received this email in error, please notify the sender or MIMOS 
Berhad
immediately and delete the original message. Opinions, conclusions and other
information in this e-mail that do not relate to the official business of MIMOS 
Berhad
and/or its subsidiaries shall be understood as neither given nor endorsed by 
MIMOS
Berhad and/or its subsidiaries and neither MIMOS Berhad nor its subsidiaries 
accepts
responsibility for the same. All liability arising from or in connection with 
computer
viruses and/or corrupted e-mails is excluded to the fullest extent permitted by 
law.

Reply via email to