Downloadable applet on local PC
I have http:// www.mywebsite.com/NewJApplet.html which run applet on the web. Is there any way so that users can run this applet from there own PC instead of loading my.jar everytime from my website?
thnx
Sure, launch it using web start*, and specify the
offline-allowed element in the JNLP launch file.
* e.g. http://www.physci.org/jws/#jtest
Similar Messages
-
Problem when downloading file to local using WPG_DOCLOAD.download_file
Hi ,
i am using database 11g and i am trying to write to file on database server using utl_file and download to the local machine by pl/sql procedure . i am directly executing this procedure in pl/sql . i am getting ORA-06502: PL/SQL: numeric or value error when executing owa_util.mime_header ('application/vnd.ms-excel',TRUE); statement in the procedure . not sure what is happening and i am new in using these features
here is my code
CREATE OR REPLACE PROCEDURE UTL_TEST_DOWNLOAD
AS
output_file utl_file.file_type;
vexists BOOLEAN;
vfile_length NUMBER;
vblocksize NUMBER;
l_blob BLOB;
l_bfile BFILE;
BEGIN
output_file:=UTL_FILE.FOPEN('DATA_DIR', 'timesheet.csv', 'w');
UTL_FILE.PUT_LINE(output_file,'COST_CENTRE'||
'HISTORY_DATE'||
'REF_NO'||
'FIELD_NAME'||
'VALUE'||
'DATA_TYPE'||
'CHANGE_DATE'||
'INT_REF');
UTL_FILE.fclose(output_file);
UTL_FILE.FGETATTR('DATA_DIR','timesheet.csv',vexists,vfile_length,vblocksize);
IF vexists THEN
DBMS_LOB.createtemporary (l_blob, TRUE, DBMS_LOB.SESSION);
l_bfile := BFILENAME ('DATA_DIR', 'timesheet.csv');
DBMS_LOB.fileopen (l_bfile,dbms_lob.file_readonly);
DBMS_LOB.loadfromfile (l_blob, l_bfile, DBMS_LOB.getlength (l_bfile));
DBMS_LOB.fileclose (l_bfile);
owa_util.mime_header ('application/vnd.ms-excel',TRUE);
dbms_output.put_line('after owa_util' );
owa_util.http_header_close;
WPG_DOCLOAD.download_file (l_blob);
end if;
EXCEPTION
WHEN utl_file.invalid_path THEN
RAISE_APPLICATION_ERROR(-20001, 'utl_file.invalid_path');
WHEN utl_file.invalid_mode THEN
RAISE_APPLICATION_ERROR(-20001, 'utl_file.invalid_mode');
WHEN utl_file.invalid_filehandle THEN
RAISE_APPLICATION_ERROR(-20001, 'utl_file.invalid_filehandle');
WHEN utl_file.invalid_operation THEN
RAISE_APPLICATION_ERROR(-20001, 'utl_file.invalid_operation');
WHEN utl_file.read_error THEN
RAISE_APPLICATION_ERROR(-20001, 'utl_file.read_error');
WHEN utl_file.write_error THEN
RAISE_APPLICATION_ERROR(-20001, 'utl_file.write_error');
WHEN utl_file.internal_error THEN
RAISE_APPLICATION_ERROR(-20001, 'utl_file.internal_error');
WHEN OTHERS THEN
dbms_output.put_line('SQLERRM '||SQLERRM);
END UTL_TEST_DOWNLOAD
SQLERRM ORA-06502: PL/SQL: numeric or value error
The file is getting created all the time i execute this procedure i am getting the above error while executing this statement owa_util.mime_header ('application/vnd.ms-excel',TRUE);
Edited by: user5784286 on Jul 2, 2012 7:35 PMHi,
You need to call the procedure owa.init_cgi_env before you can use owa_util.mime_header from SQL*Plus.
See [url http://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUESTION_ID:500221786045]here for details.
Rod West -
Download file to local machine using WPG_DOCLOAD.download
Hi ,
i am using database 11g and i am trying to write to file on database server using utl_file and download to the local machine by pl/sql procedure . i am directly executing this procedure in pl/sql . i am getting ORA-06502: PL/SQL: numeric or value error when executing owa_util.mime_header ('application/vnd.ms-excel',TRUE); statement in the procedure . not sure what is happening and i am new in using these features
here is my code
CREATE OR REPLACE PROCEDURE UTL_TEST_DOWNLOAD
AS
output_file utl_file.file_type;
vexists BOOLEAN;
vfile_length NUMBER;
vblocksize NUMBER;
l_blob BLOB;
l_bfile BFILE;
BEGIN
output_file:=UTL_FILE.FOPEN('DATA_DIR', 'timesheet.csv', 'w');
UTL_FILE.PUT_LINE(output_file,'COST_CENTRE'||
'HISTORY_DATE'||
'REF_NO'||
'FIELD_NAME'||
'VALUE'||
'DATA_TYPE'||
'CHANGE_DATE'||
'INT_REF');
UTL_FILE.fclose(output_file);
UTL_FILE.FGETATTR('DATA_DIR','timesheet.csv',vexists,vfile_length,vblocksize);
IF vexists THEN
DBMS_LOB.createtemporary (l_blob, TRUE, DBMS_LOB.SESSION);
l_bfile := BFILENAME ('DATA_DIR', 'timesheet.csv');
DBMS_LOB.fileopen (l_bfile,dbms_lob.file_readonly);
DBMS_LOB.loadfromfile (l_blob, l_bfile, DBMS_LOB.getlength (l_bfile));
DBMS_LOB.fileclose (l_bfile);
owa_util.mime_header ('application/vnd.ms-excel',TRUE);
dbms_output.put_line('after owa_util' );
owa_util.http_header_close;
WPG_DOCLOAD.download_file (l_blob);
end if;
EXCEPTION
WHEN utl_file.invalid_path THEN
RAISE_APPLICATION_ERROR(-20001, 'utl_file.invalid_path');
WHEN utl_file.invalid_mode THEN
RAISE_APPLICATION_ERROR(-20001, 'utl_file.invalid_mode');
WHEN utl_file.invalid_filehandle THEN
RAISE_APPLICATION_ERROR(-20001, 'utl_file.invalid_filehandle');
WHEN utl_file.invalid_operation THEN
RAISE_APPLICATION_ERROR(-20001, 'utl_file.invalid_operation');
WHEN utl_file.read_error THEN
RAISE_APPLICATION_ERROR(-20001, 'utl_file.read_error');
WHEN utl_file.write_error THEN
RAISE_APPLICATION_ERROR(-20001, 'utl_file.write_error');
WHEN utl_file.internal_error THEN
RAISE_APPLICATION_ERROR(-20001, 'utl_file.internal_error');
WHEN OTHERS THEN
dbms_output.put_line('SQLERRM '||SQLERRM);
END UTL_TEST_DOWNLOAD
SQLERRM ORA-06502: PL/SQL: numeric or value error
The file is getting created all the time i execute this procedure i am getting the above error while executing this statement owa_util.mime_header ('application/vnd.ms-excel',TRUE);Hi,
it seems your issue is with PLSQL product so I would suggest to post your question in the PLSQL forum.
reference
PL/SQL
REgards, Roberto -
Problem downloading applet in W2K with SP4.
Hi,
We are using a Security Applet in our web application for validation purposes. We were using W2K Professional / W2K Server with SP3 and Sun JRE 1.3.x. The application was working as expected.
We are now testing with W2K Server with SP4 (to upgrade to SP4). The current testing environment is W2K Server with SP4 and Sun JRE1.3.x. Now with the setup, we are facing a problem in downloading the applet (Security Applet). The downloading applet fails and the subsequent loading as well.
Please advice. Does it requires any particular settings to be done at Client?
The specs are
Windows 2000 Server, SP4
IE 6 SP1
Sun Jre 1.3.x
Problem:Downloading applet fails.
PS: When we test with SP3, we can see the applet downloaded (CAB File), with SP4 it was not found.
Thanks in Advance,
PrakashDoes the w2k sp4 server host your pages and applet?
If yes then why install the SUN JRE 1.3 on the server, doesn't the client need this?
Is the cab format supported by SUN jre or is it meant for msjvm and if so why is the client trying to open
the cab with sun jre?
http://java.sun.com/j2se/1.4.2/docs/guide/deployment/deployment-guide/upgrade-guide/article-02.html
What's on the server doesn't have anything to do with the applet. The server is
just serving it. Forcing the client/consumer of the html page with the applet is trying to open an applet
with sun jre while the applet is ment for msjvm causes the error.
The client can fix this by opening IE and check under tools -> internet options -> advanced -> UNCHECK
the use sun jre ... for <applet tag. For the XP machine you might have a problem. Some of the don't have
the msjvm at all so there is nothing to run the <applet, I tried to download it at microsoft but was unable
to find it. -
Don't able to download file to local using window pop-up with IE
Dear all,
I am working in web dynpro for java, i want to download file to local using window pop-up , here is my code :
IWDResource resource = WDResourceFactory.createResource(blacklistData.getBytes(), allblFilename, WDWebResourceType.TXT);
IWDWindow window = wdComponentAPI.getWindowManager().createNonModalExternalWindow(
resource.getUrl(WDFileDownloadBehaviour.ALLOW_SAVE.ordinal()));
window.show();
It runs in Firefox browser very well, but IE can not run. :(. How to resolve my problem ?
@Note : version Firefox is 3.6, IE is 8.0
Thanks.Hi Soledad
Please check browser compatibility of the webdynpro iview for server version.
Refer to Product Availability Matrix : [http://service.sap.com/pam|http://service.sap.com/pam]
Best Regards
Arun Jaiswal -
Download smartform on local machine
Dear Experts,
I want to download smartforms on local machine from a programme .means if i give smart form name in option it download a smartform on loacl machine.
Thanks,
jatenJaten,
use this Function module is FB_DOWNLOAD_FORM and FB_UPLOAD_FORM.
check this link..
http://www.erpjobs.co.uk/forum/showthread.php?t=63
goto sm37 then run this fm give I_FORMNAME = your smartform name
This will down load smartform in XML format.
Use the Utilities--> Upload for upload the form .
Please sure the upload file is in XML format.
If you want only from program than just refer:
http://sap4.com/wiki/index.php?title=ZSMART_FORM_UPLOAD_DOWNLOAD
Amit. -
Another one question about how to download applet (not using external tool)
Hi
i write tool for downloading applet on card. I use apdu trace from NXP eclipse plugin as source of information and i read also about cap-file format in Java Card Virtual Machine specification. And i have questions about data transferred by LOAD command.
As example - from apdu trace i see that transferred data are "C4820E33 DATA1 DATA2". Full length of transferred data is 0x2EE2.
C4 - OK, this is "Load File Data Block" tag as specified in Global Platform
820E33 - OK, this length of tag, =0x0E33
DATA1 - sequence of cap-file components: Header.cap, Directory.cap, Import.cap, Applet.cap, Class.cap, Method.cap, StaticField.cap, ConstantPool.cap, RefLocation.cap. Length of DATA1 is 0x0E33, i.e. DATA1 = 'C4'-tag value.
DATA2 - sequence of two cap-file components: Descriptor.cap and Debug.cap. These components are out of 'C4'-tag.
the questions mentioned above... here they are:
1. Global Platform does not define any data in LOAD command except 'E2' and 'C4' tag. Why DATA2 is transferred out of any tags?
2. Whether the sequence of cap-file components is important? i.e. Can i load Header.cap, Directory.cap etc. in other order than i see in DATA1 field from apdu-trace?
3. Debug.cap seems to be optional component. And what about Descriptor.cap component? Need i load it on card?666 wrote:
1. Global Platform does not define any data in LOAD command except 'E2' and 'C4' tag. Why DATA2 is transferred out of any tags?Because the components are either optional or only required when communicating with a JCRE that has debugging capabilities. I assume you ran the project in JCOP Tools in debug mode against the simulator? If you did this against a real card it would fail as it does not have an instrumented JCRE capable of debugging code. You could try running the project as opposed to debugging to see the difference.
2. Whether the sequence of cap-file components is important? i.e. Can i load Header.cap, Directory.cap etc. in other order than i see in DATA1 field from apdu-trace?Yes it is. It is defined in the JCVM specification available from the Oracle website.
3. Debug.cap seems to be optional component. And what about Descriptor.cap component? Need i load it on card?No, it is optional and is not referenced by any other CAP file component.
Cheers,
Shane -
How to download applet for offline viewing!!
How to download applet for offline viewing!!
View source on the web page containing the applet. It will point ot a file.class
Then change your URL to that file and it should download it.
Lucas -
Schedule software distribution to download, then execute locally if downloaded at night
I would like to achieve the following scenario:
- Consider an .exe of 1GB that can be executed silently, placed on a server
- .exe needs to be installed on computers on a remote location, in the same internal network; so a slow connection
- .exe would take about a day or two to finish downloading, but installation is only about 30 minutes.
What I would like to achieve but have no idea how is the following:
1. User gets an advertisement to download content locally while their computer is on 2. Every evening from 10pm to midnight, SCCM checks which computers
have finished downloading the .exe, and if they have finished - installs the package.
Thank youMaintenance windows affect only when the program runs; packages configured to download and run locally can still download content outside of the maintenance window.
This goes into detail about the process used and your options.
http://blogs.technet.com/b/server-cloud/archive/2012/03/28/business-hours-vs-maintenance-windows-with-system-center-2012-configuration-manager.aspx
and this
http://technet.microsoft.com/en-us/library/bb694295.aspx
-Adrian -
Hi ... How does the clients (iOS devices) to configure/use the caching server to download apps from local caching server instead of App store?
Hi,
If you want to restore a reomoved app,you need to use
Add-AppxPackage to add a signed app package (.appx) to a user account.
But we cannot extract them from the ISO.
The behavior is by design.And this is a software protection regime.
Thanks for your understanding.
Regards,
Kelvin Xu
TechNet Community Support -
I have a MAC running Maverick. MP3 sounds will not play in Safari or FireFox, but will play if you download the file locally to the Desktop. How to resolve this?
You probably have an internet plugin installed that is preventing the MP3s from playing. I just checked a site with an MP3, and it played, rather than downloaded.
The internet plugin folders are at:
/Library/Internet Plug-ins and
~/Library/Internet Plug-ins
(~/Library is hidden by default. Let me know if you don't know how to access it.)
My internet plugins were all in /Library; there were none in ~/Library.
Try moving these folders to the desktop (don't delete them), restarting, and then seeing if the MP3s play.
They it will be trial and error to see which plugin is responsible. -
Applet, works locally, but NOT thru tomcat?
Can someone explain to me WTF is oging on?
My applet works locally, say if the address in my browser is D:\blahblah\OX.html (the name of the html file containing reference to applet),
but not thru http://localhost/blahblah/OX.html ?
What the hell is going on?It sure would help people help you if you provided an url that is not starting with: http://localhost ;-)
-
I am doing a final year project on smart cards at Northumbria University in the UK. The University have purchased a Gemplus GEMPC-410 smart card reader and Gemplus GemXpresso 211/PK smart cards. They cannot afford the RAD III development kit. Does anyone know if it is possible to use the IBM JCOP platform in the absence of the RAD III kit to download applets, using the aforementioned cards and reader.
It might work on recent models according to IBM:
From: Michael Baentsch [[email protected]]
Sent: 30 January 2003 18:49
Subject: Re: JCOP and GEMPC410
the GPC410 should work OK with the JCOP Tools
(if the reader is a recent make): Old ones had
some problems with EMV-compliance (just like the
Gemplus cards :) -
How could I to load my applet from local
hI all,
How can i to load my applet from local file system.
ThanksPut it anywhere you want. Put the associated HTML file in the same directory as your .class file and double click on the HTML file. Your browser should open up and display your Applet.
-
What is the process in the browser when executing the applet over the internet? When it's downloaded from the internet, is it saved to the local machine like in temp directory?
When I use the same applet, I realized that it downloads the applet only if the applet's updated. If it's not updated, my browser does not download it again. But I can't find the applet on my local machine.
Any idea?It's buried somewhere on your hard drive - probably under your browser's root directory. Your browser may well have renamed it, though.... ain't no tellin'!
Yours,
Tom
Maybe you are looking for
-
Why can I no longer add movies to my itunes library?
I am currently running iTunes 11.1.5.5 on Windows XP. (Yes, I know...it is an old computer that is dedicated to running iTunes and allowing me to run home sharing accross my network.) My iTunes Library is housed on a NAS on my home network. In the pa
-
Can anyone tell me whether it is possible to extract text from Powerpoint. Please help me out.
-
Won't stay connected to internet
I bought a new macbook pro 2011 with lion osx last week. I stay connected to the internet at home with no problem, but when i use it at work (work for government) it kicks me off every 30 seconds and i have to keep looking for and logging back into
-
Keeping podcast subscriptions.
so the company i work for is finally opting to get new machines, we've been designing on old G4s with 10.3. anyways, we're getting iMacs and i was wondering is there anyway i can export my list of podcast subscriptions from the old G4 to the new iMac
-
How i can review my apple id?
how caN i enale cookies?