'Inserting images into a JSP file [duplicate]
I am using HTTPservlet to handle requests from a user
this is the content of the doget method
RequestDispatcher requestDispatcher = request.getRequestDispatcher("/Blog.jsp");
Blog.jsp file
<body>
<h1><%= "Hello World!" %></h1>
<br/>
<img src="">
</body>
I have a image in my Oracle database that I want to upload it into that img element.
And to be more specific I don't want to upload it into a file in my project and than put that file path inside that img element
is that possible?
Solution 1:[1]
I think u can’t, need create temp storage. And if that’s real - it be resource consuming, bad practice
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Kazbo |
