How to display image in the view

hi friends
I created one small webdynpro application it contains one default view.
Now I want display one image on that view.(image is located in my local machine)
i am new to webdynpro
help me out.
thanks
ram.

hi,
refre the following link.
http://help.sap.com/saphelp_nw70/helpdata/EN/f3/1a61a9dc7f2e4199458e964e76b4ba/frameset.htm
Upload Image file from system in Web dynpro view
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d0e599cc-2862-2b10-54a9-dcf1376b52d7
Dynamic images in Web Dynpro for Java applications
Dynamic images in Web Dynpro for Java applications
Thanks
Abhilasha
Edited by: Abhilasha Dahare on Sep 17, 2008 6:24 AM

Similar Messages

  • How to display image in the smartforms

    Hi All,
    I have image conent in the Binary formate.I want to dispaly that image in the smartforms.
    Please tell me how to display that image in the smartforms dynamically.
    Normally wa uploaded in SE78.And that is used in smartforms.But this is static way.
    I want to display tha images dynamically.
    Please Please
    Thanks,
    Saritha

    Hi,
          The image is in the DB ,right..Its in Binary format..
    See first we want the picture to be get uploaded inside the SAP.It is done by se78..
    If possible we can retrieve the picture outside in a place means we can get tht into sap by using
    Call Transaction 'SE78'.
    Reward if useful ...........

  • How to display images in the Personal Java?

    Guys,
    please help me to display the images in gif format in the standalone application using PersonalJava.
    with regards,
    Amin

    JDK:1.1.8; Personaljava:1.1Beta
    Following is my program,it can not only display image but also scroll image that biger than Panel or Canvas.
    import java.awt.*;
    import java.awt.event.*;
    //ImageCanvas object is container keeping Image
    class ImageCanvas extends Canvas
    private Image image,errorimage;
    Container pappy;
    public ImageCanvas(Image i,Container parent)
    errorimage = Toolkit.getDefaultToolkit().getImage("error.gif");
    image=i;
    pappy = parent;
    //following 5 lines can make image display smoothly
    MediaTracker tracker = new MediaTracker(this);
    tracker.addImage(image, 0);
    try { tracker.waitForID(0); }
    catch (InterruptedException e) {}
    public void paint(Graphics g)
    if(image.getWidth(this)==-1)
    image=errorimage;
    Dimension d = getSize();
    this.setSize(image.getWidth(this),image.getHeight(this));
    //Critical syntex for refresh container
    pappy.layout();
    pappy.repaint();
    g.drawImage(image, 0, 0,this);
    public class ScrollingImage implements ActionListener
    {   Frame frame;
    ScrollPane sp;
    Image im;
    public static void main(String[] args)
    ScrollingImage tests= new ScrollingImage();
    tests.go();
    public void go()
    frame = new Frame();
    frame.setLayout(new BorderLayout());
    sp = new ScrollPane();
    im =Toolkit.getDefaultToolkit().getImage("001.gif");
    //please notice following line,critical syntex to display image,I took 2 days to find it.
    sp.add(new ImageCanvas(im,sp));
    sp.setSize(240,290);
    frame.add(sp, BorderLayout.CENTER);
    //following 5 lines make frame be able to close
    frame.addWindowListener(new WindowAdapter() {
    public void windowClosing(WindowEvent e) {
    System.exit(0);
    frame.pack();
    frame.setVisible(true);

  • How to display image on the welcome page of a workset.

    Hello Experts,
    I have company image in KM docs.
    MasterRole on top level navigation.
    Then I have subrole.
    When I click on the sub role. It directly open the first iview contained in the workset.
    Here, I want to display a imagelike a welcome image  instead of the first iview.
    The user can navigate to his choice of view after seeing this image. can any post a document on how to do it?
    I am on EP 7.0 portal.
    Thanks in anticipation,
    Raj

    Thanks for information on workset mpa iview. But, at our client. They have assigned Iview directly to a role.
    Also, I have created the KM iview as url iview . When I preview it, it works fine.
    I have added that iview to the folde runder the role where i want this iview to show up as entry point.
    I changed the properties invisible in navigation (yes) and set as entry point (yes).
    But, it is giving me the following error. Page can not be found and in logs
    Meta name for property
    ID cop:cop_search_resourcetype can not be created.
    No namespace mapping for the given namespace alias.
    Null will be returned!

  • How to display image?

    Hi all,
    How to display image from the database table in the adobe form by using web dynpro abap?
    I want to display image in the adobe interactive form by using web dynpro abap.
    Please help me.
    Regards,
    srini

    Hi Srini,
    If you go through the article you might have seen the following piece of code
    *** Send the values back to the node
      lo_el_z_if_test_cv->set_static_attributes(
        EXPORTING
          static_attributes = ls_z_if_test_cv ).
    " here ls_z_if_test_cv has the image in XSTRING format which has beeen retrived using METHOD get_bds_graphic_as_bmp of CLASS cl_ssf_xsf_utilities
    " In  your case you need to just use the select query n fetch it from your table; ( provided your image is store in XSTRING format )
    How is your image stored in your database table ?
    Regards,
    Radhika.

  • Does anyone know how to display (in LabVIEW) the memory use during execution of an image and data acquisition VI to predict when it is time to cease the acquisition to prevent the program crashing?

    Does anyone know how to display (in LabVIEW) the memory use during execution of an image and data acquisition VI to predict when it is time to cease the acquisition to prevent the program crashing?
    I am acquiring images and data to a buffer on the edge of the while loop, and am finding that the crashing of the program is unpredictable, but almost always due to a memory saturation when the buffers gets too big.
    I have attached the VI.
    Thanks for the help
    Attachments:
    new_control_and_acquisition_program.vi ‏946 KB

    Take a look at this document that discusses how to monitor IMAQ memory usage:
    http://digital.ni.com/public.nsf/websearch/8C6E405861C60DE786256DB400755957
    Hope this helps -
    Julie

  • Does anyone know how to display (in LabVIEW) the memory use during execution of an image and data acquisitio​n VI to predict when it is time to cease the acquisitio​n to prevent the program crashing?

    Does anyone know how to display (in LabVIEW) the memory use during execution of an image and data acquisition VI to predict when it is time to cease the acquisition to prevent the program crashing?
    I am acquiring images and data to a buffer on the edge of the while loop, and am finding that the crashing of the program is unpredictable, but almost always due to a memory saturation when the buffers gets too big.
    I have attached the VI.
    Thanks for the help
    Attachments:
    new_control_and_acquisition_program.vi ‏946 KB

    got these vi's off ni site a while ago - see if they help
    Attachments:
    Memory_Monitor.zip ‏132 KB

  • How to display images on labview interface using matrox meteor card acquisition

    how to acquire images on lab view interface.

    Hi,
    you have to use National Instruments IMAQVision library and Meteor drivers
    for this library. For drivers look at www.matrox.com, thirth party software.
    For doing image processing algorithms you need the IMAQVision library but
    when you only need acquiring and displaying in LV6.1 I think some basic acq.
    vi's are included.
    Good luck,
    Marc
    "abdel_73fr" wrote in message
    news:[email protected]..
    > how to acquire images on lab view interface.

  • How to display images on my internal isight?

    Hi,
    I just bought the new iMac 2 gig dual. Running on 10.5.2.
    I wanted to know how to display images on my screen during a video conference chat without resorting to holding up a print out to the camera? I need something where I can switch from video mode to image mode and show a single image at a time if I need to. All that while still talking of coarse. If it isn't possible with my iSight software, can you point me to other software I can download and still use my built in cam?
    I hope I was clear enough in asking this.
    Thanks
    Liban

    Welcome to Apple Discussions, Liban
    iChat can do what you want, but I do not know of any web-based video chat site that can.
    Look for Help or Support information on the site you are using or ask the Webmaster if his site has the capability to do what you want.
    EZ Jim
    PowerBook 1.67 GHz w/Mac OS X (10.4.11) G5 DP 1.8 w/Mac OS X (10.5.2)  External iSight

  • My 8530 does not display images in the browser

    My bb 8530 a few weeks ago suddenly stopped displaying images in the browser. Browser options are set to "display images". I've power cycled many times, even reset and wiped, but still no images in browser. How can I fix this? Thanks.

    hi i have noticed the same problem. also with Chrome and FP ver 11.5.31.2and Firefox and Safari with FP 11.5.502.110
    it seems that MovieClipLoader class not returning onLoadInit event. I use to add a fadein function on loadInit to fade in the loaded images. with the latest Flash PLayer versions this is not activated so you cannot see the loaded images.
    I have tested this on 3 different systems and the problem is the same. I have not updated my FP for IE. There, the older FP still works well.
    test systems
    Mac OS LionSafari and FP 11.5.502.110 --- DOES NOT WORK WELL
    Windows 7 64 bit
    chrome 23.0.1271.95 with FP 11.5.31.2  - DOES NOT WORK WELL
    Firefox 16.02 with FP 11.5.502.110  - DOES NOT WORK WELL
    IE 9 with FP version 11.4.402.287  - WORKS
    Windows XP SP3
    Firefox 16.02 with FP 11.5.502.110 - DOES NOT WORK WELL
    IE 8 wth FP 11.4.402.287  - WORKS
    chrome 23.0.1271.95 with FP 11.5.31.2  - DOES NOT WORK WELL

  • Posterized Image in the Viewer... Help?

    I am new to Aperture and I have completed a couple of small projects using Aperture for post processing. I have noticed, however, that the images in the viewer are slightly posterized. Has anyone else experienced this effect. I am hooked to my 20" Cinema Display using my Powerbook 1.67ghz. However, after processing these files to Tiff the transitions are smooth.
    If I use CaptureOne using the same Raw files the color transitions are quite smooth in it's viewer.
    I know someone might say, "well if the final files are good then what is the worry?"... The problem is when the client is looking at the Images on Aperture. Not Good!
    Is this a bug or have I pressed a button somewhere to turn on some kind of lower quality preview for the viewer?
    Thanks for the help in advance.
    - Rudy Torres

    Check View>OnScreen Proofing - Turn this off, and thinks should look a little better.
    Paul

  • How to display images real-time?

    How, (using CVI, NI-IMAQ and IMAQ Vision) can I duplicate the Grab function seen in MAX; in other words, I want to display images at the frame rate of my camera (30 fps). I've come across several examples on this site, the best of which seemed to be "Performing Real-time Image Acquisition, Averaging, and Logging" (realtime_image_averaging.zip), but this example, built with LabView, can't find several vi's (IMAQ WindDraw.vi, IMAQ Convert.vi, IMAQ Add.vi, IMAQ Divide.
    vi, IMAQ WriteFile.vi) needed to run it. I have LabView 5.1, NI_IMAQ 2.6 and IMAQ Vision for LabView 4.01). Please note that, although I'll accept LabView, I prefer a CVI solution.
    Thanks in advance for any help.
    'til next we type...
    Jesse

    I would strongly recommend upgrading to the current version of Vision. There have been major improvements since the version you have. I suspect the examples have improved significantly also, which would probably be worth the cost of the upgrade. I have attached a simple grab and display example in LabVIEW that I saved to LV 5, but I can't be sure it will work with the old version of Vision. Since you want to use CVI, it probably won't do you much good anyway.
    Bruce
    Bruce Ammons
    Ammons Engineering
    Attachments:
    HL_Grab_in_IMAQ_Vision_display.vi ‏36 KB

  • How to display images in a page?

    Hello
    I would like to show a specific image in the main page of my application. The images to display will be in a table in the database. The idea is that when a user login into the application, the main page shows the image associated and some links.

    Hello,
    You can put an HTML region on your page and then use img tags to display it....How are your images in the database? are they image.gif? or?
    Since your images are in a table, you could do some sql...
    select '(img src="server:port/dir/dir/' || IMG || '" alt="image"/)'
    from table
    where
    Remember to replace the ( with < and ) with >
    Hope this helps out some.
    -Chris

  • How to display images and information

    how to display images and information(e.g. like questions) on a jsp page that stored in a database

    Look As far as i can see....
    Utlimately every file could be expressed as a bytes buffer.
    so say if you have a bean called Choice Bean which is expressed as
    public class ChoiceBean{
       private String choiceid;
       private String choicedesc;
       private byte image[];
       public void setChoiceId(String choiceid){
              this.choiceid = choiceid;
        public String getChoiceId(){
               return this.choiceid;
          public void setChoiceDesc(String choicedesc){
               this.choicedesc = choicedesc;
           public String getChoiceDesc(){
               return this.choicedesc;
           public void setImage(byte image[]){
                  this.image = image;
             public byte[] getImage(){
                  return this.image;
    }QuestionList.java:
    ===============
    public class QuestionList{
         private List<ChoiceBean> choicelist;
          /*Other member variable declarations*/
           public  List<ChoiceBean> getChoiceList(){
                    /*Custom code where you may build the list by querying the DA layer*/
                     return this.choicelist;
         public int search(String choiceid){
                 int index = -1;
                 for(int i =0 ; i < this.choicelist.size() ; i++){
                        ChoiceBean cb = this.choicelist.get(i);
                         if(cb.getChoiceId().equals(choiceid)){
                                index = i;
                                break;
                 return index;
        /* Other member method declarations */
    }and you are retreving List<ChoiceBean> from DB using your query & have created a session attribute / <jsp:useBean> named ChoiceList
    NOTE: sometimes your application server can go out of bounds as you are consuming a lot of memory by creating an arraylist object.
    use the following methodology to display images & choices
    sample.jsp:
    =========
    <jsp:useBean id="QuestionList"  class="com.qpa.dao.QuestionList" scope="session"/>
    <TABLE>
    <%
    /* QuestionList.getChoiceList() is a method which fetches data from the DB & returns it in form of  List<ChoiceBean> */
    List<ChoiceBean> choicelist = QuestionList.getChoiceList();
    for(int i =0 ; i < choicelist.size() ; i++){
    %>
    <TR>
    <TD><%!=choicelist.get(i).getChoiceId()%></TD>
    <!-- calling servlet which renders an images in JPG format based upon given choiceid(unique field) -->
    <TD><IMAGE src="ImageServlet?choiceid=<%!=choicelist.get(i).getChoiceId()%>"/> </TD>
    <TD><%!=choicelist.get(i).getChoiceDesc()%></TD>
    </TR>
    <%
    %>
    </TABLE>
    <%
        session.remove("QuestionList");
    %>
    NOTE: usage of JSTL or any other custom built tag-libraries makes life more simpler in the following case
    ImageServlet.java:
    ===============
    public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
            byte buffer[] = null;
            HttpSession session = request.getSession(false);
            /*getting the QuestionList from the session*/
            QuestionList ql = null;
            String choiceid = new String("");
            try{
                 choiceid = request.getParameter("choiceid");
                 /*getting the QuestionList from the session*/
                ql = (QuestionList)  session.getAttribute("QuestionList");
            } catch(Exception exp){
            if(choiceid.equals("") == false &&  ql != null ){
                List<ChoiceBean> clist = QuestionList.getChoiceList();           
                   assuming that you have created a serach method which searches the entire choice list and would give you
                   the index of that object which is being refered by unique choiceid and returns -1 if not found
                int index =  QuestionList.search(choiceid);
                if(index != -1){
                   ChoiceBean cb = clist.get(index);
                   buffer = cb.getImage();
            if(buffer != null){
                 // assuming that we have stored images in JPEG format only
                 JPEGImageDecoder decoder = JPEGCodec.createJPEGDecoder(new ByteArrayInputStream(buffer));
                 BufferedImage image =decoder.decodeAsBufferedImage();
                 response.setContentType("image/jpeg");
                 // Send back image
                 ServletOutputStream sos = response.getOutputStream();
                 JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(sos);
                 encoder.encode(image);
            } else {
               response.setContentType("text/html");
               response.getWriter().println("<b>Image data not found</b>");              
    }However,i still feel there are few loopholes with this approach where Application Server can eat up a lot of heap space which may result in outofmemorybound exception.
    Hope this might help :)
    REGARDS,
    RaHuL

  • How to read bytes(image) from a server ?how to display image after read byt

    How to read bytes(image) from a server ?how to display image after reading bytes?
    i have tried coding tis , but i couldnt get the image to be display:
    BufferedInputStream in1=new BufferedInputStream(kkSocket.getInputStream());
    int length1;
    byte [] data=new byte[1048576];
    if((length1=in1.read(data))!=-1){
    System.out.println("???");
    }System.out.println("length "+length1);
    Integer inter=new Integer(length1);
    byte d=inter.byteValue();

    didn't I tell you about using javax.imageio.ImageIO.read(InputStream) in another thread?

Maybe you are looking for

  • Creating a purchase order, cost price?

    hi, when im creating a purchase order and also producing an invoice for it obviously i want the item cost to be used rather the the selling price. however, for some reason the system continues to uses selling price, so when it comes to paying an invo

  • Hide photo in album

    Ok, I just upgraded to 10.10.3 Yosemite with the new iPhoto, all the photos that I had previously hidden in my albums are shown. Can I hide a photo in an album? Like previous version with the X? And then show the photo when I want to see them? Why di

  • App store not functioning correctly.

    I am trying to connect to the app store on my ipad 2 version 6.0(10A403).  When I click on the featured tab all i get is a white screen. It never will load.  This goes for the search feature,(although it does display results in the drop down box but

  • 404 resource not found error

    So I'm debugging my application when I suddenly start getting this error: No resource found (404) The requested URL /content/adeparchitecture-debug/adeparchitecture.html resulted in an error in org.apache.sling.servlets.resolver.internal.defaults.Def

  • Encrypting an element in the Request

    Hi All, I want to encrypt an element in my input using the custom encryption files (with out using the service key providers). I have read the documentation and tried using it,but i am getting the message encryption failed. Thanks in Advance for your