How to upload an image to EBS file server (Not store in database) with OAF?
Dear all,
I can upload an image into database with blob type. But I want to know how to upload an image to EBS file server. I try to search the forum but I cannot find the solution I want.
Anybody can reallize it? Please give me some advice or idea?
Thanks.
Kenny
Kenny,
Framework doesn't provide the option of storing the images as files. You can write a javascript to open a popup and provide a standard HTML file upload component which will save the file on specified location.
--Shiv
Similar Messages
-
How to upload a image or flash file as blob object in a table.
How to upload a image or flash file as blob object in a table.
What are all the possible ways we can do it.Searching the forum (or google) would be my first choice, as this question pops up every now and then.
Next without knowledge of your environment (jdev version and technology stack) it's hard to give a profound answer.
All I can say is that it's possible.
Timo -
HT2493 How to change preview image of a file and NOT the icon ?
Hello dear Mac users
How to change preview image of a file and NOT the icon ?
I know how to change the icon of a file, but I wish to know how to change the preview of any file.
For example: my file is "mysong.aif", I changed the icon to be "mylogo.png" using cmd+i, cmd+v on the icon. But the preview of the file still remain the same.
I know it can be changed using iTunes, but I don't want to import all my files in iTune, and iTune cannot import all type of files.
I hope someone will understand my needs...
Thanks!Thanks BeerbarX
You can't change the preview image for anything
hoo
QuickLook plugin
what are the plugin ?
In the case of a music file, it will be that generic black box with a note on it
That is exactly what I'm asking about !
MP3 which has a special tagging standard that can include artwork
How can I "tag" my MP3 without going thru iTunes ? Is it possible to do it dirrectly in the Finder ? Is there other type of files that can include such tags ?
Thank you for answering my question , wich I have to admit may seem useless, but I wish I could put something like a signature logo on each of the different file I produce (as AIF for music and MP4 for video clip) instead of that generic black box with a note on it, and by the meantime keeping a different icon for all of them in order to illustrate theire content. -
Read image direct from file server
hello, need to help me somebody.
A like to create form , what read image direct from file server, without store in database.
Please help me.Hi you may go through the below post to find what could be a better way to do that.
http://forum.java.sun.com/thread.jspa?threadID=5163829
REGARDS,
RaHuL -
How to upload a image file ....
Hi
Need some tips ....
How to upload a image file?
How to limit the size of the file?
if the image is big in size means how to make it small ?
Is it possible of compressing the file before storing ..?
thanks in advance
kumarYou may find the following articles useful for the JSP/Servlet part:
Uploading files: http://balusc.blogspot.com/2007/11/multipartfilter.html
Downloading files: http://balusc.blogspot.com/2007/07/fileservlet.html -
How to upload an image in jsp page
hi,
I want to upload an image file with my jsp page, but i cannot do it,
I have used Jakarta common file upload for this & i have also read following file. But my code isnot working properly? Can you give me any example how to upload an image & how to display it?
Can u give me any source code? Please help me.
http://jakarta.apache.org/commons/fileupload/using.htmlwith regards
BinaHi,
But after writing the following code i have got following error? What's the problem of this code? please help me?
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
<%@ page import="org.apache.commons.fileupload.*" %>
<%@ page import ="java.util.*" %>
<%@ page import ="java.io.*" %>
</head>
<body>
<%
boolean isMultipart = FileUpload.isMultipartContent(request);
DiskFileUpload upload = new DiskFileUpload();
List items = upload.parseRequest(request);
Iterator iter = items.iterator();
while (iter.hasNext()) {
FileItem item = (FileItem) iter.next();
if (item.isFormField()) {
String name = item.getFieldName();
String value = item.getString();
//ring name= request.getParameter("")
%>
<%= name %>:<%= value %>
<%
} else {
%>
<%
InputStream stream = item.getInputStream();
OutputStream bos =
new FileOutputStream(getServletContext().getRealPath("/images"+"/"+ item.getName()));
int bytesRead = 0;
byte[] buffer = new byte[8192];
while ((bytesRead = stream.read(buffer, 0, 8192)) != -1) {
bos.write(buffer, 0, bytesRead);
bos.close();
stream.close();
item.delete();
%>
</body>
</html>Error is:
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 13 in the jsp file: /uploadfileC.jsp
Generated servlet error:
FileUpload cannot be resolved
An error occurred at line: 13 in the jsp file: /uploadfileC.jsp
Generated servlet error:
DiskFileUpload cannot be resolved to a type
An error occurred at line: 13 in the jsp file: /uploadfileC.jsp
Generated servlet error:
DiskFileUpload cannot be resolved to a type
An error occurred at line: 13 in the jsp file: /uploadfileC.jsp
Generated servlet error:
FileItem cannot be resolved to a type
An error occurred at line: 13 in the jsp file: /uploadfileC.jsp
Generated servlet error:
FileItem cannot be resolved to a type
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 13 in the jsp file: /uploadfileC.jsp
Generated servlet error:
FileUpload cannot be resolved
An error occurred at line: 13 in the jsp file: /uploadfileC.jsp
Generated servlet error:
DiskFileUpload cannot be resolved to a type
An error occurred at line: 13 in the jsp file: /uploadfileC.jsp
Generated servlet error:
DiskFileUpload cannot be resolved to a type
An error occurred at line: 13 in the jsp file: /uploadfileC.jsp
Generated servlet error:
FileItem cannot be resolved to a type
An error occurred at line: 13 in the jsp file: /uploadfileC.jsp
Generated servlet error:
FileItem cannot be resolved to a type
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:414)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:297)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:303)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)Please help me.
With regards
Bina -
How to Upload Mutilple Images in content repository?
Hi
How to Upload Mutilple Images in content repository?
I have a html which shd be displayed and it has 3 images which shd be displayed
in the same page
Here i am able to display the HTML uploaded in content repository
but the images are not displayed,since the path is not valid for the images.
Can any one hint me in this,
wating for the reply
Thanks in Adv
Regards
SureshSuresh, your html specifies an image at resources/images/privacy.gif - is that
image in your repository at the correct relative position to where yout html is?
Your html and repository structure must match. So if the html you posted is at
/BEA Repository/foo.html
then privacy.gif must be at /BEA Repository/resources/images/privacy.gif
James
"Suresh" <[email protected]> wrote:
>
>
>
Hi James
Here i have attached my sample html and image
My Repository Structure is as follows :
Virtual Content Repository
BEA Repository
MainImage type image
Privacy type i created
----StartDate
----EndDate
----File Upload
My HTML
<HTML>
<HEAD>
<TITLE> New Document </title>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
</head>
<BODY>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="norBold"><img src="resources/images/privacy.gif"
width="123"
height="73">Privacy
Policy</td>
</tr>
<tr>
<td class="formHeadBack" height="19"><b> Privacy Policy</b></td>
</tr>
</body>
</html>
and
one image
Thanks in Adv
Suresh
"James Owen" <reply.to@newsgroup> wrote:
Suresh, how is your content structured and what does your html looklike?
If you
could post examples, that would be helpful.
thanks,
James
"suresh" <[email protected]> wrote:
Hi
How to Upload Mutilple Images in content repository?
I have a html which shd be displayed and it has 3 images which shd
be
displayed
in the same page
Here i am able to display the HTML uploaded in content repository
but the images are not displayed,since the path is not valid for the
images.
Can any one hint me in this,
wating for the reply
Thanks in Adv
Regards
Suresh -
Reg: Upload an image from IBM File Net into SAP ZTABLE .
HI,
I have a requiremnt to Upload an image from IBM File into SAP ZTABLE .
or
can anyone give me an idea on
How to Upload an image from any image software into SAP ZTABLE .
Thnaks,
Arjun
Edited by: Arjun on Jan 22, 2010 2:24 PMhI,
I've found the solution!!
My code was wrong, the correct way is:
DATA: image type XSTRING,
imagelength type i.
DATA: it_img TYPE w3mimetabtype.
CALL FUNCTION 'SSFC_BASE64_DECODE'
EXPORTING
b64data = output-CONVERT_FROM_URL_RESULT
IMPORTING
bindata = image
EXCEPTIONS
OTHERS = 8.
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
EXPORTING
buffer = image
"APPEND_TO_TABLE = ' '
IMPORTING
OUTPUT_LENGTH = imagelength
tables
binary_tab = it_img. -
HOW TO UPLOAD BACKGROUND IMAGES IN SMARTFORMS
HI
HOW TO UPLOAD BACKGROUND IMAGES IN SMARTFORMSHi,
goto se78 -> in the menubar click graphic and import to select ur images from ur system .. then click transport button .. it automatically gets into the smartform graphic image list.. then get into transaction smartform and use the image u imported into that..
U can import anykind of image which u have stored in ur pc through se78..
Regards,
Priya. -
How to upload the image and diplay the image in the browser using jsp
How to upload the image and diplay the image in the browser using jsp
thanks
shani'll suggest looking for sample code or tutorial with a relevant query in google, which as far more time than us to answer this type of reccurent question
-
How to upload background image in Theme Editor
Hi
I want upload an image to theme
I try by the theme edit i'ts not work
I try by Edit "Right to Left" Theme Images
I don't find the button "Upload"
please Help!!!!
How to upload background image in Theme Editor without to entry to the server
Regards
YossiHi
Thank you for response
I want upload to TransparentContainer Image in background
I change the design to Plain
I Try Upload by the browse in the theme
but The image is not upload
even if i delete the chace serever
i'ts not working -
When I send e-mail messages with file by using a POP3 in Exchange 2010 I received delivered message with file. How I can disable this functions that file do not include to delivery message. I use Exchange 2010 only local users.
I think there is not native rule for this, but you could try a transport rule which removes all attachments over a very small file size like 1KB.
http://blogs.technet.com/b/exchange/archive/2009/05/11/3407435.aspx
CRM Advisor -
How to upload ESS.sca in to WAS server and how to configure it
How to upload ESS.sca in to WAS server and how to configure it.
If business package ESS.epa how to deploy and configure it.Hi
Configuring The Business Package For Employee Self Service (ESS)-mySAP ERP 2004
contains a helpful guide on
CONFIGURING THE BUSINESS PACKAGE FOR EMPLOYEE SELF SERVICE (ESS)-MYSAP ERP 2004
Thanks & regards
Arun Singh -
How can I install plugins? my files are not opening because some are missing after updating my OS
I can´t update the software because it crashes
ThanksCasiii which Adobe software or service is your inquiry in reference too?
-
How do you check connection to a file server
I am using a file server to store test information. I can load this info onto a remote client but as an enhancement I'd like to check that the connection to the server is ok. I have used the error message generated after a call to the volume info vi but I was wondering if there are any more elegant ways of doing this.
Thanks,
Niel.I would suggest calling the file/dir info function on a file/dir that normally exists on the server. If the function does not error (check the error status) then the network and server are probably Ok.
Stu
Maybe you are looking for
-
A problem when referring to a stored procedure in a crystal report
Hi all, I've checked that when calling one stored-procedure within a crystal report, one sequence will be selected for 2 times. Thus 2 will be added to the corr. sequence No. And I've also directly ran such procedure in 'SQL/Plus' that follows, to ma
-
I've been trying to upload a nebook using itunes producer but keep getting an error message ' an error occurred saving your changes to the Apple database. This may be a transient issue on the Apple side' What's going on? It's been giving me this mesa
-
PO Requisition Approval workFlow
Hello All I am working on PO Requisition Approval work flow , when we crate a requisition one workflow is generated and my user want the workflow notification should be modified , like we have in the table few columns supplier ,itmes and wareshouse d
-
Dataset Timeout expired error in SSRS
I am pulling my hair out over these timeout errors in SSRS. I am running SSRS 2012 in native mode on a Windows 2012 server. When I try to run and embedded dataset in my report it will continually timeout after 90 seconds no matter what I have the tim
-
Hi there, for different projects I need different patch versions of MDM running on one laptop. So far I never used virtualization however read in this forum that it is possible. Does anyone have any experience with that? I downloaded a trial of Altir