Displaying image inside iframe

In the servlet,I have an image which is retrieved from database using BufferedOutputStream.I would like to display the same in my JSP iframe.
<iframe name = "myInlineFrame" src ="SiServlet" width="100%" height="300" >
</iframe>
view
The above code opens the image as separate bmp file only not inside the iframe.

byte[] bytearray = new byte[1048576];
int length;
BufferedOutputStream output = new BufferedOutputStream(response.getOutputStream(), 1048576);
BufferedInputStream input = null;
response.reset();
response.setBufferSize(1048576);
response.setContentType("application/plain");
response.setContentLength(bytearray.length);
response.setHeader("Content-Disposition","inline;filename=x.bmp");
psmnt = con.prepareStatement("SELECT query to retrieve varbinary data from DB");
rs = psmnt.executeQuery();
while (rs.next()) {
input = new BufferedInputStream(rs.getBinaryStream(1), 1048576);
while ((length = input.read(bytearray)) > 0) {
output.write(bytearray, 0, length);
output.flush();

Similar Messages

  • JEditorPane extra blank when display "image inside table"

    Hi,
    I try to use the JEditorPane to view the html file. Everythings work fine except
    shows the following
    <table border="1">
    <tr><td><img src="http://somewhere/a.jpg"></td></tr>
    <tr><td><img src="http://somewhere/b.jpg"></td></tr>
    </table>It can shows out the image inside the table cell.
    But there is an "extra blank line" follow the images. This "extra blank line" is inside the table cell.
    It likes following
    [image]
    [image]
    But it supposes to be like this
    [image]
    [image]
    I try some sample code in web. It also shows the same problem. Any one have ideas and solutions?
    Thanks a lot.
    kfchu

    Worked fine for me. Here is my test program:
    import java.awt.*;
    import java.io.*;
    import javax.swing.*;
    public class EditorPaneLoad extends JFrame
         public EditorPaneLoad()
              throws Exception
              FileReader reader = new FileReader("blank.html");
              JEditorPane editor = new JEditorPane();
              editor.setContentType( "text/html" );
    //          editor.setEditable( false );
              editor.read(reader, null);
              JScrollPane scrollPane = new JScrollPane( editor );
              scrollPane.setPreferredSize( new Dimension(300, 200) );
              getContentPane().add( scrollPane );
         public static void main(String[] args)
              throws Exception
              EditorPaneLoad frame = new EditorPaneLoad();
              frame.setDefaultCloseOperation( EXIT_ON_CLOSE );
              frame.pack();
              frame.setLocationRelativeTo( null );
              frame.setVisible(true);
    }

  • Detecting and displaying images inside SWF from same web page its embedded in

    Great forum and appreciate the great help I've been getting
    here. I am getting a bit more used to Flex now - the collection of
    controls is pretty amazing.
    I am trying to create an ImabeBrowse.SWF which when embedded
    on a web page, it would then automatically show thumbnails of all
    the images from that same page. Has anyone done anything like this
    in AS3?
    From documentation, it sounds like I would need to write some
    Javascript which would traverse the HTML's DOM to get all image
    URL's, and then pass these into the SWF?
    If one of you experts could share some code, that'd be
    greatly appreciated!!

    Asking for more.........
    Yes, I do agree there is no need to create an additional DAD when we want to call a procedure from infrastructure database (iasdb) because giving grant to public or portal_public schema is enough.
    But why is it that even after following the right way to create a DAD for HR schema in infrastucture database fails to call a procedure?
    The error which I get is:-
    Database Log In Failed
    TNS is unable to connect to destination. Invalid TNS address supplied or destination is not listening. This error can also occur because of underlying network transport problems.
    Verify that the TNS name in the connectstring entry of the DAD for this URL is valid and the database listener is running.
    The details for rajhr DAD
    Database Connectivity Information
    Database Username : HR
    Database Password : hr
    Databse Connection String : <blank>
    I have left database connection string blank as the infrastructure database is local.
    Is it that I cannot have two DAD for a local database eventhough they point to two different users?
    Med Vennlig Hilsen
    Rajesh

  • Images inside pop-ups not displaying correctly

    I am generating a CHM using RoboHelp 10. I have certain pop-ups in some topics. These pop-ups contain screen shots. After generating the CHM, when I click the pop-ups to view the screen shots, they are not displayed correctly. That is, half of the image does not appear and there are no horizontal scroll bars either to scroll. This happens for pop-ups that are appear on the left side of a topic.The images inside pop-ups that appear to the right side of a topic appear fine when clicked.

    Hi Rick,
    Thank you for the response. Alas, updating the DHTML effects doesn't help. In the project that am working, I have used hyperlinks that are marked to be displayed as auto-sizing pop-ups.
    I also tried editing the eHlpDhtm.js file as mentioned in the thread here, https://forums.adobe.com/thread/1297423#expires_in=86399993&token_type=bearer&access_token =eyJhbGciOiJSUzI1NiIsIng1dSI6I…. But that was of no avail either.
    Do you have any other insights here?
    Regards,
    Anamika
    P.S. Am using RH 10.0.1.292.

  • Images inside pop-ups in CHM not displaying correctly

    I am generating a CHM using RoboHelp 10 on a Windows XP machine.
    I have a few pop-ups in some topics. These pop-ups contain screen shots. After generating the CHM, when I click the pop-ups to view the screen shots, they are not displayed correctly. That is, half of the image does not appear and there are no horizontal scroll bars either to scroll. This happens for pop-ups that appear on the left side of a topic. The images inside pop-ups that appear to the right side of a topic appear fine when clicked.
    The help file was originally created using RH 7. I upgraded the source files to RH 10 successfully and there were no errors during the upgradation.
    I even tried generating the CHM on other systems with RH10 and the same system configuration as mine but ended up with the same results. I assume there is some compatibility issue maybe between RH 7 and RH10.
    Looking forward to any helpful insights here as this is pretty urgent at the moment for me to resolve the aforementioned issue at the earliest.

    Hi Rick,
    Thank you for the response. Alas, updating the DHTML effects doesn't help. In the project that am working, I have used hyperlinks that are marked to be displayed as auto-sizing pop-ups.
    I also tried editing the eHlpDhtm.js file as mentioned in the thread here, https://forums.adobe.com/thread/1297423#expires_in=86399993&token_type=bearer&access_token =eyJhbGciOiJSUzI1NiIsIng1dSI6I…. But that was of no avail either.
    Do you have any other insights here?
    Regards,
    Anamika
    P.S. Am using RH 10.0.1.292.

  • Display image in view

    Hi,
    My requirement is to create a  web dynpro application where the first view contains all images stored in ECC along with one button (Display image). When the user clicks on the button Display image then another view should display the image on the screen.
    I have created View1 with a table,which display the details of the table STXBITMAPs in it,when i select a row and press a button second view is displayed with a UI conatiner of type IMAGE.
    Basiccaly when button on view1 is pressed, I get the value of the TDNAME field via lead_selection method and set this value to a global attribute, whch inturn is copied into second view and bonded to the SOURCE attribute of the UI element.
    My problem is , that global attribute is being updated probley and value have been passed to second view..but Image is not being displayed on the screen.
    Can anyone help me out in this.
    Thanks in advance.
    Pooja

    You don't necessarily have to move your images from STXBITMAPS to the MIME repository.  You can display any image - not just those in the MIME repository, by placing the content in the ICM Cache.  This creates a temporary URL for any content.  So you just need to read the binary content of the image from STXBITMAPS into a XSTRING variable.  From there you can use this code sample to put the content in the cache and generate a URL:
    ****Create the cached response object that we will insert our content into
      data: cached_response type ref to if_http_response.
      create object cached_response
        type
          cl_http_response
        exporting
          add_c_msg        = 1.
    *  cached_response->set_compression( options = cached_response->IF_HTTP_ENTITY~CO_COMPRESS_IN_ALL_CASES ).
    try. " ignore, if compression can not be switched on
          call method cached_response->set_compression
            exporting
              options = cached_response->co_compress_based_on_mime_type
            exceptions
              others  = 1.
        catch cx_root.
      endtry.
    ****set the data and the headers
      data: l_app_type type string.
      data: l_xstring type xstring.
          cached_response->set_data( me->gx_content ).
          l_app_type = 'image/x-ms-bmp'.
      cached_response->set_header_field( name  = if_http_header_fields=>content_type
                                         value = l_app_type ).
    ****Set the Response Status
      cached_response->set_status( code = 200 reason = 'OK' ).
    ****Set the Cache Timeout - 60 seconds - we only need this in the cache
    ****long enough to build the page and allow the IFrame on the Client to request it.
      cached_response->server_cache_expire_rel( expires_rel = i_cache_timeout ).
    ****Create a unique URL for the object
      data: guid type guid_32.
      call function 'GUID_CREATE'
        importing
          ev_guid_32 = guid.
      concatenate i_path '/' guid '.' i_format into r_url.
    ****Cache the URL
      cl_http_server=>server_cache_upload( url      = r_url
                                           response = cached_response ).

  • How To Display an Image in a Display Image Page Item

    i have a pageitem textbox called SearchBox , a Button called Search and a Display Image called Image
    i to display and image upon inserting an ID into the searchbox. It work alright if i put a static ID in the BLOB Column returned by SQL statement in Display Image
    Note the facialimage of datatype BLOB
    Sample
    ===
    select facialimage
    from voter_v
    where voterid= 34343434;
    But when i do it with a bind variable like the pageItem SearchBox
    it doesnt on the click of the Button
    what can be the problem
    Sample
    ===
    select facialimage
    from voter_v
    where voterid= :P1_VOTERSEARCH;

    Hi,
    can you please setup an example on apex.oracle.com and let me know the login credentials for the workspace. I think that will be the easiest to sort this out.
    Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • JDeveloper 11g Using jsp to display images

    I am converting a 10.1.3.3 application to 11.1.1.3
    It has 2 web modules. One is an ADF administrator module and the other is a public web that displays information including images stored as blobs.
    This public module has a simple technology scope, only html, java, jsp and servlets. It is a hand me down from a few technologies ago and ran well on 10.1.3.3
    To display images it uses a jsp acting as a servlet which is referenced inside other jsps. Since moving to 11g the images no longer display. If I use a java class servlet it works
    however I have to use the full url, e.g. http://mydomain:myport/web/Sevlet?.... which means I have to update the details for each deployment.
    I can use <h:graphicImage but this means I have to include JSF and use expression language to fill in the servlet parameters.
    I don't know what has changed to cause it to fail. Weblogic?
    The Libraries and Classpath include
    JSP Runtime
    Servlet Runtime
    JSTL 1.2
    The servlet jsp is as follows remembering it works in 10.1.3.3
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=windows-1252"%>
    <%@ page import="javax.naming.Context" %>
    <%@ page import="java.io.*" %>
    <%@ page import="userinterface.util.ByteArray" %>
    <%@ page import="userinterface.online.ImageUIHelper" %>
    <%@ page import="userinterface.online.ImageUIHelperValue" %>
    <%
         String dataObjectId = "";
         String regionId = "";
         boolean getObjectImage=false;
         boolean getRegionImage=false;
         // determine which type of image to retrieve
         if (request.getParameter("dataObjectId") != null)
              dataObjectId = request.getParameter("dataObjectId").toString();
              getObjectImage=true;
         } else if (request.getParameter("regionId") != null)
              regionId = request.getParameter("regionId").toString();
              getRegionImage=true;
         if (getObjectImage==true || getRegionImage == true)
              try
                   ImageUIHelper imageHelper = new ImageUIHelper();
                   ImageUIHelperValue vo = null;
                   if (getObjectImage)
                        vo = imageHelper.doReadObjectImage(new Integer(dataObjectId));
                   } else if (getRegionImage)
                        vo = imageHelper.doReadRegionImage(new Integer(regionId));
                   if (vo != null && vo.getImage() != null)
                        // determine the mimetype
                        String mimeType="image/png";
                        if (vo.getFilename().toLowerCase().endsWith(".gif"))
                             mimeType = "image/gif";
                        else if (vo.getFilename().toLowerCase().endsWith(".jpg"))
                             mimeType = "image/jpg; charset=windows-1252";
                        else if (vo.getFilename().toLowerCase().endsWith(".png"))
                             mimeType = "image/png";
                        else if (vo.getFilename().toLowerCase().endsWith(".bmp"))
                             mimeType = "image/bmp";
                        response.setContentType(mimeType);
                        response.setHeader("pragma", "no-cache");
                        ServletOutputStream os = response.getOutputStream();
    os.write(vo.getImage().getBytes());
                        os.flush();
                        os.close();
              } catch (Exception ex)
    A simple test harness follows. The actual pages substitute the java values using <%= uri %> as below
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=windows-1252"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%
    String uri = "http://localhost:7101/publicweb/img/ImageServlet?imageType=dataObject&dataObjectId=822";
    String uri2 = "ImageServlet.jsp?dataObjectId=822";
    String uri3 = "ImageServlet.jsp?dataObjectId=694";
    %>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"/>
    <title>testServlet</title>
    </head>
    <body>
    <table cellspacing="2" cellpadding="3" border="1" width="100%">
    <tr>
    <td width="20%">Checking Servlet</td>
    <td width="80%"><img src=<%= uri %>
    id="imge"
    width="400px" alt="Image" />
    </td>
    </tr>
    </table>
    </body>
    </html>

    i responded to your duplicate message 4 days ago:
    is it possible to insert and retrieve images from sql server using actionscript.
    you'll need server-side script to query your database and you can use the flash urlloader class to call your script.
    also  is it possible to create a flash scrolling gallery based on images  stored in a database and everytime an image is added it is displayed in  the gallery.
    load the data using the urlloader class and  then load the images.  periodically query the database for new images if  there's no direct way for flash to know a new image was added.

  • Apex 4.0 display image item :BLOB column returned by SQL statement

    Hello
    I'm creating an display image item in apex 4.0. The source is a BLOB column returned by SQL statement.
    When I'm issuing an sql statement like this:
       select lado.blob_content
       from   large_documents      lado
       ,        large_doc_headers    ladh
       where lado.ladh_nr = ladh.nr
       more criteriait works fine.
    When I create a function inside a package with the same query (in a cursor)
    function get_image(some parameters in) return blob
    Following in apex by:
    select get_image(some parameters) from dualI get a
    ORA-06502: PL/SQL: numeric or value error: character string buffer too smallAnybody any idea why this does not work?
    Regards Erik

    Hi Eric,
    the environment assumes varchar2-output by default, which will be limited to 32767 characters and may have problems with binary formats. You could define a blob-variable to select the value into.
    DECLARE
      l_blob BLOB;
    BEGIN
      SELECT get_image(some parameters)
        INTO l_blob
        FROM dual;
    END;
    /If you expect the BLOB-Content to be text (you should consider CLOB then), you may use UTL_RAW.CAST_TO_VARCHAR2 to convert the content. If your object is larger than the maximum varchar2 size, or you want to convert BLOB to CLOB, you might be interested in some converter like described here: {message:id=559749}
    Hope this is what you were searching for.
    -Udo

  • Mail not displaying images

    Hi...
    I have a strange new problem with Mail. It is not displaying images in email newsletters that I receive, but just from one sender. This has only been the case for a couple of days. I actually make the email newsletter and send it out from a web-based program but I obviously send it to myself to test how it looks etc. There was a problem recently with the server that meant that the email newsletter did not display images (just a box with a ? inside) for most recipients but it always appeared fine to me. Now it's the other way around. All other recipients seem to be able to view the newsletters fine (including other Mac and Mail users) but not me!! I do not have any other problems with Mail except for the occasional crash. Any ideas please??
    Thanks....

    Is this helpful?
    I think so, it indicates to me that they have problems!
    This is why the hosting company say it must be a problem with my mail program only.
    Might be, but even different Macs on the same Network may have or get different DNS numbers, and the question mark means either an unknown Pic type,or the link to where it's stored isn't getting through.
    Might try putting these numbers in Network>TCP/IP>DNS Servers...
    208.67.222.222
    208.67.220.220
    They'll be slower since they're in the US, but interest to see if the Pic shows, or can be opened/downloaded then... you can erase them afterwaeds, or put yors back.

  • Two problems with displaying images in JPanel

    Hi,
    I need to display some small rectangular images inside a JPanel. These images also need to be componenents as they will have listeners associated with them. I have never had any experience with images, so I might totally be down the wrong path. I was thinking of just creating a class which extends JComponent, and using the graphics drawImage method. However, I don't want each image component to have to know exactly where to draw the image associated with itself. Rather, I want the JPanel which holds all of the images to know how to lay them out.
    Is there an easier way to use images?
    Which brings me to my second problem. I want these images to overlap each other, so that only a small portion of each is showing (this way I can fit more on the screen), then when the user clicks on one, I can show more of it.
    Unfortunately, I don't know of any layout managers which will allow me to overlap components. I could use the drawImage method mentioned above, but like I said, I would like to try to not have each image object try and figure out its location.
    any help is greatly appreciated. Thanks!

    Hi
    there is a better way ; it is called a JLabel ;-)
    JLabel myJLabel = new JLabel(new ImageIcon("img/myLogo.gif"));for your second problem, don't use any layout manager like in this code :
    myJPanel.setLayout(null);
    myJPanel.add(myJLabel);
    myJLabel.setBounds(new Rectangle(x, y, width, height);hope it helps
    Nico

  • Displayed image unsharp

    I am on version 5.4, but the problem existed on earlier version(s). I have a 2 monitor setup.
    I have previews set to 2880 pixels, preview quality high, and 1:1 previews (which have been rendered) set to never expire.
    Much of my work is closeup - macro and therefore display presision is necessary. I find that when I select a library image (image A), very often the image  will dsplay, and after 5 seconds (when it is fully loaded) will reduce in sharpness. It is then necessary to either move the focus or clarity slider for the image then to gain proper sharpness.
    I may then progress to other images, and on returning to loading image A, it loads with proper sharpness. But on another occasion it again loads with reduced sharpness.
    I have tried to explore whether the problem is associated with the graphics card - I have switched from displaying lightroom to, for instance, a browser and displayed other content, and reverted to Lightroom, but this has been inconclusive as to whether it has any effect.
    I am utilising a SSD for cache of Lightroom, and have tried resetting cache.
    I have also now observed that the problem is restricted to the display on the "second" monitor. That is, whichever monitor displays the main Lightroom screen does not show a problem - it is the "other" monitor which has this anomily.
    Where to go from here? Is this actually a Lightroom glitch?
    Advice welcomed.
    Eric

    trshaner wrote:
    Did you try using the preview pyramid Zoom settings in the Library module? I'd be interested to know if it made any difference in the secondary monitor image sharpness.
    Yes, images rendered sharp (I have never before used pyramid zoom settings!)
    Another thing you can try is to select about 10 or more images, inside the Library module select Library> Previews> Discard 1:1 Previews, and then select Build 1:1 Previews to force new previews to be built. When browsing these images in the Library module do they still appear soft at the preview pyramid Zoom settings?
    Rendered sharp.
    Also try using the 'Live' setting in the secondary display (upper RH corner) and browse the images by moving the mouse cursor over the filmstrip thumbnails (no need to click on them). How does the secondary monitor image look using Live mode in both the Library and Develop modules?
    Rendered sharp.
    In all cases above, image in Develop mode softened slightly after loading, but moving eg. Clarity by 1 single point forces recalculation and picture sharpens.

  • Calling a Breadcrumb image inside a Table view column

    Hi
    I want a sample code to call any bread crumb related image inside a table view column.
    Please help with a code snippet.

    I mean that, inside the iterator class of the tableView, write this code in the RENDER_CELL_START method.
    method IF_HTMLB_TABLEVIEW_ITERATOR~RENDER_CELL_START.
      CASE p_column_key.
        WHEN 'ICON'.
    p_replacement_bee = CL_HTMLB_IMAGE=>FACTORY(       id        = p_cell_id                              src      = '@3J@'  ).
        ENDCASE.
    Inside the method, GET_COLUMN_DEFINITIONS you need to append a column for icon, see the code below:
    APPEND INITIAL LINE TO p_column_definitions ASSIGNING <def>.
        <def>-COLUMNNAME = 'ICON'.
        <def>-TITLE      = 'Display Icon'.
    For more info you can refer to weblog on HTMLB TableView Iterator by Brian.
    Hope I am clear.
    Regards,
    Ravikiran.C

  • Display Image

    Apex 4
    Database : 10g EE
    Good day apex users, Im having a hard time in displaying an image in a html region. How can I fetch the image in a database and put it in the html region. I have my blob files stored in my databse I only want to get that files and view it in a html region. How can I do that?
    regards,
    jose

    Hi Jose,
    what is the exact error you are getting from the DML process? Actually that one shouldn't really be used, just the fetch process is relevant.
    To try out the "Display Image" item type,
    1) open the Sample Application,
    2) go to page 6
    3) open the page item "P6_PRODUCT_IMAGE"
    4) change "Display As" to "Display Image"
    5) apply changes
    6) run the page and the image should be visible instead of the "Browse" button.
    Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Image inside e-mail ??

    Hi,
    This is the code i found in e-mail, which is used to display an image inside the mail.
    <IMG src="cid:024b01c1d494$76fe2520$[email protected]">
    How can i create this image in memory and insert this image in HTML page.
    Thank you !

    OK.. I think I understand the issue. Let me just restate in my words to make sure:
    You want to be able to render the contents of an HTML formatted MIME message where the message contains an "embedded" image.
    Assuming this is your objective, I have a solution.
    If you are using a web browser to render the email, the one and only way a browser can render an image is with a valid URL path. As you correctly point out, the src of the image is not a valid url path. Thus, the only solution is to change the HTML.
    This approach can be confirmed if you simply send an email with an embedded image to Hotmail or Gmail. Using Outlook, you can "insert" an image which results in the embedded image situation in your example. If this is sent to a Gmail account (for example) and you view the source of the message at Gmail you will notice that the src attribute has been changed by Gmail.
    So... You need to parse the html and replace the src attribute of any image where the src is currently referencing another "part" of the message.
    Now... The actual image is most likely NOT in memory. This is deliberate because it may be a 10GB image which would kill your server. So, what do you replace the src attribute with?
    In the solution I implemented, I created a servlet (actually a struts action) which was supplied with the content ID (cid) if the image to be rendered. This servlet then looks into the same MIME message, finds the associated part, gets the part's input stream and pipes it straight out to the HTTP response.
    For example:
    Where you had <img src="cid:1234..."/> I replace with <img src="render.do?cid=12345..."/>
    The render.do is my struts action (servlet).
    This is the only way I know how to render embedded images in emails via a browser. If anyone else has any bright ideas?

Maybe you are looking for

  • How to Print 15 lines in Page Footer in Smartform?

    Hi, I am facing a problem with smartform footer. I have to display purchase order line items in Main Area of the table. All the lines items are displaying fine. These line items are dynamicaly increase means line items may increase depends on the pur

  • I repaired a cracked iphone 5c screen now I have a black screen with a vertical blue line on the left hand side of the screen. please help!!

    Hi all, Please help, I repaired an iphone 5c and have now tried two different lcd screens on it but all I get is a black screen or a black screen with a vertical blue line on the left hand side of the screen. I definitely have the cables connected pr

  • Photobooth & ichat video not working since 10.4.10 update.

    hi ive had my macbook a little over 12 months, and used photobooth and ichat av dozens of times. i updated my macbook to 10.4.10 this week and since then when i open photobooth it says there is no camera connected or is in use by another application.

  • Regarding Rounding

    Dear Experts Regarding Rounding off i have a question. Some time the customer pays Rs 1 to say Rs 10 Less by oversite . Here in Rajamane they put this in rounding off in Incoming payment and close this. The main purpose is to show that the Party Acco

  • CBS WebUI hangs at application preprocessing

    Hi, when I want to open the CBS WebUI (CE 7.11) the HTTP worker Thread hangs at "processing of sap.com/tc.CBS.WebUI/WebUI: application preprocessing" I have already restarted the server without success. When I want to open the CBS WebUI, the applicat