How to upload a file using psp?
how to upload a file to a server using plsql server pages?
for report generation we are using utl_file(this is because for getting .txt format).so automatically it will be stored in /home/oracle.(oracle 8.1.7 on linux and utl_file path is /home/oracle)
our problem is
our clients are using windows98.by running the reports procedure(psp) the reports are stored in server at /home/oracle.
1.how to transfer that file to clients systems with out using another alternate file transfers?
2.if not,is there is any alternate procedures for creating our reports in .txt formats by running the psp?
thanks in advance.
Similar Messages
-
How to upload multiple files using wicket
Hai,
how to upload multiple files using wicket at a single browse.
any suggestion?
Thanks in advanceYou have to do this your self by either (as vinod said) using a different component (not present in adf) or implementing this:
1) allow the user to select multiple filenames (somehow)
2) zip them together
3) upload the zip
4) unpack the zip on the server
5) work with the files
Timo -
How to Upload a File using FileReference + PHP??
How to Upload a File using FileReference + PHP??
If you could help me with a two code examples the AS code and
the PHP code of a working example.
Thanks
Jorgehttp://www.flash-db.com/Tutorials/upload/upFiles.php?page=1
-
How to upload a file using java bean?
hi,
i need a code simple how to upload a file from jsp form to a java bean file (not a servlet)
thank,s zikHi,
i need a code sample how to upload a file from jsp
form to a java bean file (not a servlet)You can use jspSmartUpload component which is a free, fully-featured JSP component.
jspSmartUpload provides you with all the upload/download features you could possibly wish for :
* Simple and complete upload
* Total control over the upload process
* �Mixed forms� management
* Total control over files sent
* Download whatever you want
For further information about jspSmartUpload please visit
http://www.jspsmart.com/
Hope this helps.
Good Luck.
Gayam.Srinivasa Reddy
Developer Technical Support
Sun Micro Sysytems
http://www.sun.com/developers/support/ -
How to upload multiple files using af:inputfile
Hi,
I am using J dev 11.1.1.3. I have a requirement wherein i need to upload multiple files using af:inputfile. Can we do in it ADF ? Is there any other work around to implement the same. I have checked previous questions but not able to find proper solution for this.
Any pointer in this regard is highly helpful.
Regards,
KalyanYou have to do this your self by either (as vinod said) using a different component (not present in adf) or implementing this:
1) allow the user to select multiple filenames (somehow)
2) zip them together
3) upload the zip
4) unpack the zip on the server
5) work with the files
Timo -
How to upload html files using Weblogic Bulkloader
I hav uploaded image files using bulkloader.
however with html files am facing a prob.
only the file structure gets created but there is no html file present inside.
in
Filename.html.md.properties i agv the followin
nodeType=html
lifecyclestatus=2
File=C:\ContentRepository\a.html
encoding=UTF-8
charset=us-ascii
mimeType = text/html
shud i add some more properties...You have to do this your self by either (as vinod said) using a different component (not present in adf) or implementing this:
1) allow the user to select multiple filenames (somehow)
2) zip them together
3) upload the zip
4) unpack the zip on the server
5) work with the files
Timo -
How to upload a file using FTP tin JSP
Hello friends ,
I m actually looking to upload a file using FTP to a server(webserver) in JSP . If there any tags available to accomplish this r any information regading this plzz let me no.
Thanks in advance
P.SatishNot sure exactly what you're trying to do but you set the content type a stream it to the browser from a servlet
-
How to upload the files using struts
Hi all
My requierment is to upload the files from the client machine and save it on the server, the file size must not increase more than 250 MB and to validate that we cannot do validation on the client machine so we have to validate it on the server side. below is my code kindly go through it if there is any problem in Bussiness Logic
1>Upload.jsp
2>UploadForm.java
3>UploadAction.java
*1>Upload.jsp*
<%@ page language="java"%>
<%@ page import="java.io.*"%>
<%@ taglib uri="/WEB-INF/struts-bean" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html" prefix="html" %>
<html>
<body bgcolor="white">
<form name="uploadForm" action="TestApplication/upload" method="post" enctype="multipart/form-data">
<table>
<tr>
<td align="center" colspan="2">
<font size="4">Please Enter the Following Details</font>
</tr>
<tr>
<td align="left" colspan="2">
<font color="red"></font>
</tr>
<tr>
<td align="right">
File Name
</td>
<td align="left">
<input type="file" name="theFile">
</td>
</tr>
<tr>
<td align="center" colspan="2">
<input type="submit" value="UPLOAD">
</td>
</tr>
</table>
</form>
</body>
</html>*2>UploadForm.java*
package com.MyPack.Datamatics;
import org.apache.struts.action.ActionForm;
import org.apache.struts.upload.FormFile;
public class UploadForm extends ActionForm
private static final long serialVersionUID = 1L;
private FormFile theFile;
public UploadForm(){}
* @return Returns the theFile.
public FormFile getThefile() {
return theFile;
* @param theFile The FormFile to set.
public void setThefile(FormFile theFile) {
this.theFile = theFile;
} *3>UploadAction.java*
package com.MyPack.Datamatics;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.struts.action.Action;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.upload.FormFile;
public class UploadAction extends Action
public ActionForward execute(
ActionMapping am,
ActionForm af,
HttpServletRequest req,
HttpServletResponse res) throws Exception{
UploadForm myForm = (UploadForm)af;
// Process the FormFile
FormFile myFile = myForm.getThefile();
String contentType = myFile.getContentType();
String fileName = myFile.getFileName();
int fileSize = myFile.getFileSize();
String data="";
try{
java.io.InputStream fileData = myFile.getInputStream();
String path="E:/store";
File f = new File(path);
java.io.OutputStream outputStream = new FileOutputStream(f+"/"+fileName);
int temp = 0;
byte[] buffer = new byte[8192];
temp = fileData.read(buffer, 0, 8192);
while ((temp) != -1) {
outputStream.write(buffer, 0, temp);
outputStream.close();
data = "file has beeb written to E:/store" + fileName;
fileData.close();
catch (FileNotFoundException fnf)
{ System.out.println("Cannot Found the file");
System.out.println(data);
System.out.println("contentType: " + contentType);
System.out.println("File Name: " + fileName);
System.out.println("File Size: " + fileSize);
return am.findForward("success");
}Thanks in Advance[help link 1|http://www.roseindia.net/struts/strutsfileuploadandsave.shtml]
[help link 2|http://www.roseindia.net/struts/strutsfileupload.shtml] -
How to upload JPEG files using ActionScript 3.0
Hi all,
It's very urgent.
I am new to ActionScript. Presently, I am working on
ActionScript3.0. I am using flash 9.0 and the code I ned is for
ActionScript3.0.
I have a combo-box on the stage with a few items in the
combo-box and also have corresponding JPEG/PNG image files.
My goal is :
I need to display the appropriate image onto the stage based
on the selection of the item in the combo-box. So, please I need
ActionScript code or procedure to handle this using
Event-Handling mechanism of MouseEvent.
I need help.. Please help me.... I am new to the
ActionScript and flash environment.
Thanks a lot in advance.....
Srihari.ChHi kglad,
Once again thanx for your help. I had one more problem for
which I need a solution.
As you know,I am new to ActionScript 3.0 and flash.
Presently, I am using Adobe flash CS3 and working with it using
ActionScript 3.0.
I need code (or) procedure for developing an application in
such a way that, When I click on a button present
on the stage, I should get execute an HTML file(say,
Hello.html) which is present in the local hard-disk in the same
folder as with the flash file.
I had developed HTML file and flash file.
I am attaching the JavaScript code which is getting executed
in flash:
So, the java-script file is not getting executed .Instead, it
is displaying a browser with a blankpage. So, I need the
ActionScript to get executed.
Please, help me.... It's very urgent....
Thanks in advance. -
How to upload & Download file in Adf using Jdeveloper 11.1.2 ??
Hi All,
I have just started working on Oracle ADF, Thanks a lot guys for solving our queries.
I'm using Jdeveloper 11.1.2, How to upload and download file in ADF..?
I have seen couple links on net but none of them worked on jdeveloper 11.1.2......
Please Help......Hi guys,
I'm able to download file in ADF using af:fileDownloadActionListener.......
does any one knows how to upload a file using ADF??? -
How to upload a file into specified location
Hi Frndz..
How to upload a file using File upload feature in web dynpro into our specified location(usr/sap/Images/....),not into workspace r default path in server.
Thanks in Advance
Regards
RajeshHi Rajesh,
Use below code on your "Upload" Action:
try
// Give full path of folder on server where you want to upload the file.
File file = new File("D:\\usr\\sap\\Images\\"+wdContext.currentContextElement().getResource().getResourceName().toString());
// D:\usr\sap\Images folder should present on server
FileOutputStream op = new FileOutputStream(file);
if(wdContext.currentContextElement().getResource()!=null)
text=wdContext.currentContextElement().getResource().read(false);
while((temp=text.read())!=-1)
op.write(temp);
op.flush();
op.close();
catch(Exception e)
wdComponentAPI.getMessageManager().reportSuccess("Error while uploading file : "+e.getMessage());
Thanks
Sandy -
How to upload Excel file in BI using function module in abap program
How to upload Excel file in BI using function module in abap program?
Hi Anuj,
To upload the file , you can try a standard program "RSEPSFTP" .
while you execute the program , a selection screen appears in which the inputs should be give as
RFC destination - The target server name
FTP command- PUT
local file - your file name
local directory - path of your local file
remote file - your target file name
remote directory - where it has to be stored
Hope this is useful for you
Thanks & regards
Anju -
I am very new to this JDeveloper & BPEl Process , please could some one help in ersolving my problem that is , how to upload a file in BPEL Console Using JSP in JDeveloper.
Hi,
ADF Faces provides you with the file upload component
http://download-uk.oracle.com/docs/html/B25947_01/web_complex006.htm#CEGCEDHF
http://download-uk.oracle.com/docs/html/B25947_01/appendixa007.htm#CHDEDCFA
This gives you a handle to the file content. However, uploading files through a service is different and I suggest to consult teh BPEL forum for this BPEL
Frank -
How to upload a file in BPEL Console Using JSP in JDeveloper, please help..
Please I am new to Jdeveloper and to BPEL Process of OASuite,I want to know , how to upload a file in BPEL process using JSP in Jdeveloper IDE.
The main aim is first we need to upload a file in JSP , it has to go to BPEL Process & it has to read the file & write the respective file in return to JSP through BPEL Process. Please I am in Urgent need of the Query , please help me ASAP.
Send to me response Please.....................................Hi,
I thin that you asked the same question before and I premember that I ointed you to the ADF BC developer guide and the SRDemo if your application uses JSF. For plain JSP - if you Google for: JSP and file upload then you find plenty of sources for JSP and Struts.
The remaining part is how to stiff the file into a BPEL service on the middle tier. For this I recommended to ask your question on the BPEL forum
BPEL
Note that the BPEL integration would be easier if it was done on the middle tier and not onthe client
Frank -
How to upload the file without using java components?
Hello,
I need to upload the file using JSP, but I don't want to use java componets(such as
jspsmart).
Who can tell me how to realize it? This issue is very important to me,
thanks all in advance!make you're own servlet using the multipartrequest from o'reilly.
easy and simple, no jspsmart, only 1 jar file and some descent programming.
I use it like that...
Maybe you are looking for
-
LIke the title says, attempting to load https://www.google.com/contacts results in the page load sticking at "Loading ..." This works fine in Internet Explorer and Chrome. I emptied the cache and cookies and tried Cntrl-F5 and none of those worked.
-
ADF Horizontal bar graph issue
Hi All, JDev Version: 11.1.2.4 I have one user case ,where I need to show data values on x1-o1 axis . but o1 axis data should display on right side instead of left. is there any way to do this. I went through some blogs, there is one tag markerText .
-
Export parameters for iDVD compatibility
Hi everybody, I export some keynote presentation with sound capture to quicktime. When I collected several of those exports, I'd love to create a DVD with iDVD. When I drop the generated quicktime movies onto iDVD, iDVD will re-encode them to a prope
-
Dolby Audio Driver stopped working
I've been using my IdeaPad for a few months, and all of the sudden it no longer plays the audio in any of my downloaded files. It'll play audio in other contexts, like if I watch a video on YouTube--but not on anythign that I've downloaded. And whe
-
Create pdf using a .xdp file and iText
Hello experts, my question is regarding the generation of a pdf file using a .xdp file and the iText API. I have an .xdp file of a designed form and I would like to generate a pdf using this file, the iText API and the context. Is it possible? are th