html内容类型数据:图像/ png:Base64,

时间:2021-10-01 09:21:02

I have a link /1/, when I put it into brower address bar (remmeber to remove single quotation at the beginning and at the end). It is a image/png picture.

我有一个链接/1/,当我把它放入brower地址栏(remmeber在开始和结束时删除单引号)。这是一张图像/png图像。

Now I want to show this picture by jetty comet feature by pushing to client. I have a js, part of codes is in /2/, then in the client page/browser(firefox and chrome), I could not see picture, but raw data. In web.xml, I already put mime type /3/. Could any expert drop me some hints how to show picture when sending data from server to client?

现在我想用jetty comet的特性来展示这张照片。我有一个js,部分代码在/2/,然后在客户端页面/浏览器(firefox和chrome),我看不到图片,但是原始数据。在网络上。xml,我已经放了mime类型/3/。是否有专家可以给我一些提示,在从服务器发送数据到客户端时如何显示图片?

/1/Please remove single quotation at the begining and at the end of block

/1/请在开始和结束时删除单引号。

data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAEsCAYAAAA7Ldc6AAAbO0lEQVR4nO3df6zld17X8acwkjEZyBUGMuBAJtrIGDdYtFmrFlN0IUVXaLCBAo1M3CYUdkgqrli1uF+zgeJupIYqjVZYtSvFNFjMCgVqHLVIwQab2EAhldRYcNBmHaDARGbj+Mf3DjM755x7z5177v3ee+7jkXz+mjv3vs+5304/r/P58S4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOr43q/ObYmLgWAABgjW1Ur1VXN8cbCSEAAMAeeW/Xw8e18d5JKwIAANaWAAIAAOybj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HMEI6mZ3P+AwCY41R7G0QEEDh67mv+vwfOfwAAv+NU4+Rg3p7tWx0Xc6Adjpqz1VvN3351asK6AIAD7LbGlYthF+N8wgccNWcbP3iwGgoAAOypE40XT8wLHxcmrAsAAFhDQ4u3Yp6ZrCoAAGDtbDQ2Mp0XPs5OWBcAALCGhmbDx+WEDwAAYMUWrX48PmVRAADAenqw+asfrtwFAABW7oWsfgAAAPvgZHWl2QBy25RFAQAA62loNny8MmVBAADAejrZ/MPnj05ZFAAAsJ6ezeFzAABgH7yn+nizAeSDUxYFAACsn7PVW82Gj7ez+gEAAKzQ2epis+HjanV+wroAAIA1c6J6o/nh48KEdQEAAGtoaH74uFidmawqAABg7Zxt/pW7Fzf/DAAAYCUWnfu4nPABAACs0PHq9eZvvXp8wroAAIA19GCLz32cnLAuAABgDb2Qcx8AAMAeOlU91Bg+rjQbQG6frjQAAGBd3FM92/zQcW28Mll1AADAoXeqeqTFDQZvHo9MUyYAAHCYLbPaMe/sx8YUxQIAAAfbyeru6nxjB/Nr47GWX+24cdvVIwkfAACwpzaancAf5PFEdaF6q50FjHnjrepD1W0L3hsAAGCFNqrX2v1E/rCNC9X9jQ0IAQCAfXK+6cPAfo1rqx16ewAAwESOQgCx2gFwSPx/DbCPfax0k2EAAAAASUVORK5CYII=';

/3/

/ 3 /

<servlet>
    <servlet-name>cometd</servlet-name>
    <servlet-class>org.cometd.annotation.AnnotationCometdServlet</servlet-class>
    <init-param>
        <param-name>transports</param-name>
        <param-value>org.cometd.websocket.server.WebSocketTransport</param-value>
    </init-param>
    <init-param>
        <param-name>services</param-name>
        <param-value>org.cometd.tutorials.StockPriceService</param-value>
    </init-param>
    <init-param>
        <param-name>maxLazyTimeout</param-name>
        <param-value>2000</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
    <servlet-name>cometd</servlet-name>
    <url-pattern>/cometd/*</url-pattern>
</servlet-mapping>

<servlet>
    <servlet-name>initializer</servlet-name>
    <servlet-class>org.cometd.tutorials.Initializer</servlet-class>
    <load-on-startup>2</load-on-startup>
</servlet>


<filter>
    <filter-name>cross-origin</filter-name>
    <filter-class>org.eclipse.jetty.servlets.CrossOriginFilter</filter-class>
</filter>
<filter-mapping>
    <filter-name>cross-origin</filter-name>
    <url-pattern>/cometd/*</url-pattern>
</filter-mapping>

<mime-mapping>
    <extension>png</extension>
    <mime-type>image/png</mime-type>
</mime-mapping>

1 个解决方案

#1


1  

It is a URL to an image (albeit one where the image is embedded in the URL itself). Set it as the value of a src attribute on an img element.

它是一个图像的URL(尽管图像被嵌入到URL本身中)。将其设置为img元素上的src属性的值。

#1


1  

It is a URL to an image (albeit one where the image is embedded in the URL itself). Set it as the value of a src attribute on an img element.

它是一个图像的URL(尽管图像被嵌入到URL本身中)。将其设置为img元素上的src属性的值。