Simple Example Needed of JNLP launch
Can someone please provide a simple HTML web page for launching the applet and also the associated JNLP file example that show HOW the applet is launched such that it starts/appears OUTSIDE the web browser. TIA.
>
Good, hard information instead of simply referring someone to "Google" would be a welcome change in these forums.If you had followed the link that Google represented ( http://www.google.co.uk/search?hl=en&q=jnlp+example&btnG=Google+Search&meta=&aq=f&oq= ) you would have seen that the 3rd result was a 'simple example' .
So, should I just copy the content of the 3rd result? Should I plagiarize? Should I spend time creating a 'simple example'? In my view I should do none of these - I should simply point out that Google will find many 'simple example' .
Similar Messages
-
Hi i am bit new to java web app...i got an assignment to use java servlet/html/bean, so on web page after clicking get the queries rcds from the bean and then post them on web page, with a print button to print them all..please if anyone can send me an application i would be GREATFUL...or at leaset guide me to some place to get this..
THANKS A BUNCHsorry.i forgot to put my email...which is [email protected]...thanks again
-
I need for a simple example of reading a xml file using jdom
Hello
I have been looking for a simple example that uses Jdom to read am xml file and use the information for anything( ), and I just can't find one.since I'm just beggining to understand how things work, I need a good example.thanks
here is just a simple cod for example:
<xmlMy>
<table>
<item name="first" value="123" createdDate="1/1/90"/>
<item name="second" value="456" createdDate="1/4/96"/>
</table>
<server>
<property name="port" value="12345"/>
<property name="maxClients" value="3"/>
</server>
</xmlMy>DaveHi,
FileInputStream fileInputStream = null;
try {
fileInputStream = new FileInputStream("my_xml_file.xml");
} catch (FileNotFoundException e) {
e.printStackTrace();
} finally{
if (fileInputStream == null) return;
SAXBuilder saxBuilder = new SAXBuilder();
saxBuilder.setEntityResolver(new EntityResolver() {
public InputSource resolveEntity(String publicId, String systemId) throws SAXException, IOException {
return new InputSource(new StringReader(""));
Document document = null;
try {
document = saxBuilder.build(fileInputStream);
} catch (JDOMException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
} finally {
if (document == null) return;
Element element = document.getRootElement();
System.out.println(element.getName());
System.out.println(element.getChild("table").getName()); -
I need some simple examples to start with for Oracle ESB
Hi All,
Please share some simple examples to startwith for Oracle ESB.
I need to understand, what are the files are created, once created an ESB project.
What is the use of the files how to edit them with out using JDeveloper.
Iam trying to create a simple example.
I would like to create a file which has only "HELLO" in that file, simple text file inside a folder "INPUT" in my c:\ drive.
I wanted to create a ESB service which picks up the file and add a string to it like "HELLO" + "ESB" and drop this file into "OUTPUT" folder in c:\ drive.
How do i do that. I tried to do it when i deploy the integration server connection is gettting hit badly. I dont see that connection any more and i dont see that connection in my JDeveloper.
I dont want to start with existing code.
Please help
Regards,
Vijay.B
Message was edited by:
Vijay.B
Message was edited by:
Vijay.BHi,
If you want to do it from scratch you can basically do the following:
Make sure you have created an application server and integration server connection in JDeveloper.
1) Create a new JDeveloper project of type ESB project.
2) Possibly add a ESB System/Group (open the esb file and click "Create System/Group") to group ESB projects.
3) Create an XML schema describing your input XML file. Probably one element of type xsd:string.
4) Create an example XML file which is well-formed and valid according to the XSD from step 3.
5) Create a new File adapter (inbound/read). A routing service is automatically created.
6) Create a new File adapter (outbound/write).
7) Create a routing rule in the routing service in which you invoke the write method of the outbound file adapter. Possibly add a transformation using the XSL mapper.
8) Deploy the ESB project to the server.
9) Drop your XML file (from step 4) in the directory in which the inbound file adapter is polling.
10) If it is ok, the file should be picked up, transformed and dropped in the outbound directory. A new ESB instance should be visible in the ESB console.
See what files are generated on the filesystem in each of the above steps.
Regards, Ronald -
Need help with a very simple example. Trying to reference a value
Im very new to Sql Load and have created this very simple example of what I need to do.
I just want to reference the ID column from one table to be inserted into another table as DEV_ID.
Below are my: 1) Control File, 2) Datafile, 3) Table Description, 4) Table Description
1) CONTROL FILE:
LOAD DATA
INFILE 'test.dat'
APPEND
INTO TABLE p_ports
FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
DEV_id REF(CONSTANT 'P_DEVICES',NAME),
NAME FILLER ,
PORT_NO
2) DATAFILE:
COMM881-0326ES09,6
3) TABLE DESCRIPTION:
SQL> describe p_ports
Name Null? Type
ID NOT NULL NUMBER(10)
DEV_ID NOT NULL NUMBER(10)
PORT_NO NUMBER(3)hi,
i managed to do this for my app. (think i referred to viewTransitions sample code and modified quite a bit)
i can't remember this well cos i did this quite a while back, but i will try to help as much as possible
1) from the appdelegate i initialize a root controller (view controller class)
2) this root controller actually contains two other view controllers, let's call it viewAController and viewBController, for the screens which u are going to toggle in between. and there's also a function, let's call it toggleMenu, which will set the menus to and fro. i copied this whole chunk from the sample code. it actually defines the code on what to do, i.e. if current view is A switch to B and vice versa.
3) inside the controller files, you need to implement the toggleMenu function too, which basically calls the rootController's toggleMenu
4) we also need viewA and viewB files(view class)
5) need to add the .xib files for the respective views and link them up to the controller class. i did not use the .xib files for ui layout though, because of my app's needs. however, it will not work properly without the .xib files.
5) inside the view class of both views, i.e. viewA.m and viewB.m, you need to create a button, that will call the toggleMenu function inside the respective controller class.
it will look something like this:
[Button addTarget:ViewAController action:@selector(toggleMenu:) forControlEvents:UIControlEventTouchUpInside];
so the flow is really button (in view)-> toggleMenu(viewController) -> toggleMenu(rootController)
i'm sorry it sounds pretty hazy, i did this part weeks before and can't really remember. i hope it helps. -
I need simple example for alv grid
hi
i need code for simple example for alv grid.
thanks.hi bharat,
this is report with most of the functionality.
report zus_alv_demo_grid .
tables: ekko.
type-pools: slis.
types: begin of t_ekko,
ebeln type ekpo-ebeln,
ebelp type ekpo-ebelp,
statu type ekpo-statu,
aedat type ekpo-aedat,
matnr type ekpo-matnr,
menge type ekpo-menge,
meins type ekpo-meins,
netpr type ekpo-netpr,
peinh type ekpo-peinh,
line_color(4) type c, "Used to store row color
end of t_ekko.
data: it_ekko type standard table of t_ekko initial size 0,
wa_ekko type t_ekko.
*ALV data declarations
data: fieldcatalog type slis_t_fieldcat_alv with header line,
gd_tab_group type slis_t_sp_group_alv,
gd_layout type slis_layout_alv,
gd_repid like sy-repid.
Data declaration for EVENT and PRINT PARAMETER.
data: gt_events type slis_t_event,
gd_prntparams type slis_print_alv.
data declaration for sorting.
data : it_sortcat type slis_sortinfo_alv occurs 1,
wa_sort like line of it_sortcat.
data : i_list_comments type slis_t_listheader.
start-of-selection.
perform data_retrieval.
perform user_command.
perform build_fieldcatalog.
perform build_layout.
perform build_events.
perform build_print_params.
perform build_sortcat.
perform display_alv_report.
end-of-selection.
*TOP-OF-PAGE.
PERFORM top-of-page.
end-of-page.
*& Form build_fieldcatalog
text
--> p1 text
<-- p2 text
form build_fieldcatalog.
fieldcatalog-fieldname = 'EBELN'.
fieldcatalog-seltext_m = 'Purchase Order'.
fieldcatalog-col_pos = 0.
fieldcatalog-outputlen = 10.
fieldcatalog-emphasize = 'X'.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'EBELP'.
fieldcatalog-seltext_m = 'PO Item'.
fieldcatalog-col_pos = 1.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'STATU'.
fieldcatalog-seltext_m = 'Status'.
fieldcatalog-col_pos = 2.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'AEDAT'.
fieldcatalog-seltext_m = 'Item change date'.
fieldcatalog-col_pos = 3.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'MATNR'.
fieldcatalog-seltext_m = 'Material Number'.
fieldcatalog-col_pos = 4.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'MENGE'.
fieldcatalog-seltext_m = 'PO quantity'.
fieldcatalog-col_pos = 5.
fieldcatalog-do_sum = 'X'.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'MEINS'.
fieldcatalog-seltext_m = 'Order Unit'.
fieldcatalog-col_pos = 6.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'NETPR'.
fieldcatalog-seltext_m = 'Net Price'.
fieldcatalog-col_pos = 7.
fieldcatalog-outputlen = 15.
fieldcatalog-datatype = 'CURR'.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
fieldcatalog-fieldname = 'PEINH'.
fieldcatalog-seltext_m = 'Price Unit'.
fieldcatalog-col_pos = 8.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.
endform. " build_fieldcatalog
*& Form build_layout
text
--> p1 text
<-- p2 text
form build_layout.
gd_layout-no_input = 'X'.
gd_layout-colwidth_optimize = 'X'.
gd_layout-totals_text = 'Totals'(201).
Set layout field for row attributes(i.e. color)
gd_layout-info_fieldname = 'LINE_COLOR'.
gd_layout-totals_only = 'X'.
gd_layout-f2code = 'DISP'. "Sets fcode for
*when double
"click(press f2)*
gd_layout-group_change_edit = 'X'.
gd_layout-header_text = 'helllllo'.
endform. " build_layout
*& Form data_retrieval
text
--> p1 text
<-- p2 text
form data_retrieval.
data: ld_color(1) type c.
select ebeln ebelp statu aedat matnr menge meins netpr
peinh from ekpo into table it_ekko.
*Populate field with color attributes
loop at it_ekko into wa_ekko.
Populate color variable with colour properties
Char 1 = C (This is a color property)
Char 2 = 3 (Color codes: 1 - 7)
Char 3 = Intensified on/off ( 1 or 0 )
Char 4 = Inverse display on/off ( 1 or 0 )
i.e. wa_ekko-line_color = 'C410'
ld_color = ld_color + 1.
Only 7 colours so need to reset color value
if ld_color = 8.
ld_color = 1.
endif.
concatenate 'C' ld_color '10' into wa_ekko-line_color.
wa_ekko-line_color = 'C410'.
modify it_ekko from wa_ekko.
endloop.
endform. " data_retrieval
*& Form display_alv_report
text
--> p1 text
<-- p2 text
form display_alv_report.
gd_repid = sy-repid.
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = gd_repid
is_layout = gd_layout
i_callback_top_of_page = 'TOP-OF-PAGE'
i_callback_user_command = 'USER_COMMAND'
i_callback_pf_status_set = 'SET_PF_STATUS'
it_event = gt_events
is_print = gd_prntparams
it_fieldcat = fieldcatalog[]
it_sort = it_sortcat
i_save = 'X'
tables
t_outtab = it_ekko
exceptions
program_error = 1
others = 2.
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
endform. " DISPLAY_ALV_REPORT
*& Form user_command
text
--> p1 text
<-- p2 text
*& Form top-of-page
text
--> p1 text
<-- p2 text
form top-of-page.
*ALV Header declarations
data: t_header type slis_t_listheader,
wa_header type slis_listheader,
t_line like wa_header-info,
ld_lines type i,
ld_linesc(10) type c.
Title
wa_header-typ = 'H'.
wa_header-info = 'EKKO Table Report'.
append wa_header to t_header.
clear wa_header.
Date
wa_header-typ = 'S'.
wa_header-key = 'Date: '.
concatenate sy-datum+6(2) '.'
sy-datum+4(2) '.'
sy-datum(4) into wa_header-info."todays date
append wa_header to t_header.
clear: wa_header.
Total No. of Records Selected
describe table it_ekko lines ld_lines.
ld_linesc = ld_lines.
concatenate 'Total No. of Records Selected: ' ld_linesc
into t_line separated by space.
wa_header-typ = 'A'.
wa_header-info = t_line.
append wa_header to t_header.
clear: wa_header, t_line.
call function 'REUSE_ALV_COMMENTARY_WRITE'
exporting
it_list_commentary = t_header
i_logo = 'GANESH_LOGO'.
endform. " top-of-page
FORM user_command *
--> R_UCOMM *
--> RS_SELFIELD *
form user_command using r_ucomm like sy-ucomm
rs_selfield type slis_selfield.
case r_ucomm.
when '&IC1'.
if rs_selfield-fieldname = 'EBELN'.
read table it_ekko into wa_ekko index rs_selfield-tabindex.
set parameter id 'BES' field wa_ekko-ebeln.
call transaction 'ME23N' and skip first screen.
endif.
when 'ULHAS'.
if rs_selfield-fieldname = 'EBELN'.
read table it_ekko into wa_ekko index rs_selfield-tabindex.
set parameter id 'BES' field wa_ekko-ebeln.
call transaction 'ME23N' and skip first screen.
endif.
endcase.
endform.
FORM set_pf_status *
--> RT_EXTAB *
form set_pf_status using rt_extab type slis_t_extab.
set pf-status 'ZNEWSTATUS'.
endform.
*& Form build_events
text
--> p1 text
<-- p2 text
form build_events.
data: ls_event type slis_alv_event.
call function 'REUSE_ALV_EVENTS_GET'
exporting
i_list_type = 0
importing
et_events = gt_events[]
EXCEPTIONS
LIST_TYPE_WRONG = 1
OTHERS = 2
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
read table gt_events with key name = slis_ev_end_of_page
into ls_event.
if sy-subrc = 0.
move 'END_OF_PAGE' to ls_event-form.
append ls_event to gt_events.
endif.
read table gt_events with key name = slis_ev_end_of_list
into ls_event.
if sy-subrc = 0.
move 'END_OF_LIST' to ls_event-form.
append ls_event to gt_events.
endif.
endform. " build_events
*& Form build_print_params
text
--> p1 text
<-- p2 text
form build_print_params.
gd_prntparams-reserve_lines = '3'. "Lines reserved for footer
gd_prntparams-no_coverpage = 'X'.
endform. " build_print_params
FORM END_OF_PAGE *
form end_of_page.
data: listwidth type i,
ld_pagepos(10) type c,
ld_page(10) type c.
write: sy-uline(50).
skip. write:/40 'Page:', sy-pagno .
endform.
FORM END_OF_LIST *
form end_of_list.
data: listwidth type i,
ld_pagepos(10) type c,
ld_page(10) type c.
skip. write:/40 'Page:', sy-pagno .
endform.
*& Form build_sortcat
text
--> p1 text
<-- p2 text
form build_sortcat.
wa_sort-spos = 1.
wa_sort-fieldname = 'EBELN'.
append wa_sort to it_sortcat.
wa_sort-spos = 2.
wa_sort-fieldname = 'EBELP'.
append wa_sort to it_sortcat.
endform. " build_sortcat
Rewards if helpfull
regards
vijay dwivedi -
Need simple example of flex2 to webservice
Hello,
I understand that so long as you don't use remote objects,
you don't have to buy the FDS! So how do I bypass using FDS and
just use HTTPS or webservices?
Can someone point me in the right direction with a
good/simple example of using flex 2.0 with https and/or
webservices?
Thanks,
K.OK - I finally get this. I guess that SAP Business One is the entry level, least expensive license. If my company buys SAP Business One, will that provide the R/3 system and BAPIs to build some demos? And can I hook up SAP Business One to the Sneak Preview SAP NewWeaver 6.40 in order to invoke the BAPIs using Java?
And I guess that if we buy SAP Busienss One, then I don't need 6.40 ABAP stack to invoke the BAPIS - or do I?
Thanks for your help. -
Need Simple Example of Notifier and Occurance
hi friends
i need to know the exact funtion of notifiers and occurances. So can you send me the simple example for both..
Thanks in advance...Open your example finder (help..find examples...") and search for these two terms.
I recommend looking at "General Notifier example.vi" and "Generate Occurrences.vi".
Is there anything in the online help that is not clear? What are you trying to do?
Message Edited by altenbach on 09-26-2008 11:22 PM
LabVIEW Champion . Do more with less code and in less time . -
Trying to create a simple example. Need Help!
I'm trying to create a very simlpe examlpe using Swing components to illustrate a MVC architecture.
I have a JFrame containing a JTree and a JButton.
What I'd like to happen is when I click the JButton the JTree model is changed in some fashion and the the view is refreshed due to the models change.
If anyone out there has a simple example of any MVC architecture involving Swing components I'd love to see it.
ThxSure, look at any of the Sun tutorials. For example, look in your API documentation for JTree; it has a link to a tutorial about how to use JTree.
-
I need an simple example on java-Oracle8i entreprise
Hi,
Could anyone give me an simple example of a Java method which will be loaded into Oracle.
Let say, the method will read the email address based on employee_ID from a table called Employee. Thank you very much for all your help.
Hellenie
PS: I would like to see java code and to see how it could call a table without having to deal with connection object ,statement,etc...
nullThis is the example from the Oracle's 8.1.6 Documentation - Java Stored pocedures Developer's guide -
step 1 :
import java.sql.*;
import java.io.*;
import oracle.jdbc.driver.*;
public class RowCounter {
public static int rowCount (String tabName) throws SQLException {
Connection conn = new OracleDriver().defaultConnection();
// here is the connection made
String sql = "SELECT COUNT(*) FROM " + tabName;
int rows = 0;
try {
Statement stmt = conn.createStatement();
ResultSet rset = stmt.executeQuery(sql);
// same old createStatement, executeQuery ...
while (rset.next()) {rows = rset.getInt(1);}
rset.close();
stmt.close();
} catch (SQLException e) {System.err.println(e.getMessage());}
return rows;
Step 2:
use loadjava command line utility and
specify the class name, username/password to
load the code into the database.
step 3:
On sql prompt, the class and method name are
mapped to stored procedure
CREATE FUNCTION row_count (tab_name VARCHAR2) RETURN NUMBER
AS LANGUAGE JAVA
NAME 'RowCounter.rowCount(java.lang.String) return int';
You can invoke the procedure using CALL method from SQL prompt.
Cheers,
Adithya
null -
I need a simple example of shopping cart(newbie)
Has any one come across a simple example of shopping cart and the process
behind it i.e. from jsp to ejb. So far I have looked at the buybeans example
and it still is not clear the approach that was used.
I would be greatful for any assistance thank you
Kenneth A-AdjeiTake a look at:
http://java.sun.com/docs/books/tutorial/servlets/overview/example.html
"Ken Adjei" <[email protected]> wrote in message
news:3960a901$[email protected]..
Has any one come across a simple example of shopping cart and the process
behind it i.e. from jsp to ejb. So far I have looked at the buybeansexample
and it still is not clear the approach that was used.
I would be greatful for any assistance thank you
Kenneth A-Adjei -
Hi
I'm looking for a simple example of how to create a chart in XML Publisher. So far all my attempts have failed (and I've been trying for two days). In fact simple examples would be of use in all Oracle's pages.
I have tried my own XML data, data from the XML Publisher forums, etc. but the chart wizard either comes up with a Java error or the chart has only one series showing.
Is there a specific format that the chart xml has to be in? Do you have to use a grouping?
The XML Publisher Desktop "Template Builder for Word Tutorial.doc" file mentions the "RetailSales.xml" file and explains how to create a chart with this, but sadly this file is nowhere to be found in the installation directory or the web.
A simple step by step example somewhere would be much appreciated. Thanks a lot for a wonderfull tool like XML Publisher, by the way.
ThanksCheckout the CoDash.rtf file from the xmlpserver\reports\Executive\Sales Dashboard folder. This report is standard there when you installed XML Publisher Enterprise Edition.
This report contains several charts and all the definitions of the chart are location in the properties of the chart under the Web tab.
eg.
chart:
<Graph graphType="PIE">
<Title text="" visible="true" horizontalAlignment="CENTER"/>
<LocalGridData rowCount="{count(xdoxslt:group(.//ROW, 'SALESREP'))}" colCount="1">
<RowLabels>
<xsl:for-each-group select=".//ROW" group-by="SALESREP">
<xsl:sort select="SALESREP"/>
<Label><xsl:value-of select="current-group()/SALESREP"/></Label>
</xsl:for-each-group>
</RowLabels>
<DataValues>
<xsl:for-each-group select=".//ROW" group-by="SALESREP">
<xsl:sort select="SALESREP"/>
<RowData>
<Cell><xsl:value-of select="sum(current-group()/ORDER_TOTAL)"/></Cell>
</RowData>
</xsl:for-each-group> </DataValues>
</LocalGridData>
</Graph>
for a pie chart
Marcos -
Simple SOAP+WSDL example needed
I'm pretty much confused about SOAP and WSDL and can't find a good and simple example. I use Sun One Studio. How do I run some web service example.
You can find some examples:
http://java.sun.com/xml/jaxp/dist/1.0.1/examples/#building
http://newinstance.com/writing/javaxml2/javaxml2_examples.html
http://www.docuverse.com/domsdk/index.html#tutorial
http://www.devx.com/sourcebank/search.asp -
Using a DLL or .so in a JNLP-launched applet
I have a 3rd-party JAR which includes code that requires a DLL (or .so on Linux) to work and I need to use it in a JNLP-launched applet. What's required with Java 6 Update 16?
1. I believe I need to get the DLL inside its own JAR and mark it as a native library in the JNLP. Is that just a matter of using the jar command to put it in the JAR?
2. Must the applet then be signed?
3. If yes to (2), will the end user still get some kind of security warning before running the applet?
4. If yes to (3), will the warning only appear the first time the applet is run and not again after the JAR is cached?
5. Do I need to manually "load" the DLL inside the applet's code? If not, how else does it know where to find the DLL (like -Djava.library.path in an application)?
Thanks,
The GibbonI have a 3rd-party JAR which includes code that requires a DLL (or .so on Linux) to work and I need to use it in a JNLP-launched applet. What's required with Java 6 Update 16?Nothing different than other JRE's, what's the question?That was an introduction to my set of 5 specific questions.
1. I believe I need to get the DLL inside its own JAR and mark it as a native library in the JNLP. Is that just a matter of using the jar command to put it in the JAR?Yes it is.Good.
2. Must the applet then be signed?No, AFAIKWell see hear's the problem. The Google research I did before I asked the questions was confusing as some people said it needed to be signed and others didn't. My own tests have encountered security exceptions and I was trying to know if they were because the applet wasn't signed. The whole purpose of me starting this thread was to save me a lot of time messing around with these kind of problems not knowing if it's even supposed to work or not.
See? It's all so amazing easy that making a simple test would have taken less time than this whole thread.
This is why we talked about spoonfeeding.I don't see that it's amazingly easy when you disagree with the majority of the posts and information I read which were in themselves contradictory. It's obviously not a clear cut subject and everyone has a different opinion. I was hoping someone who had tried what I am wanting to do could just tell me definitively if it was ever going to work.
What's even more amazing is that you didn't add any duke!I have to say I don't know anything about adding dukes, that's why I didn't do it.
Real thrill is you're probably gonna meet some real problem depending on your actual needs! LOL!
BTW: most of us has good knowledge of JWS but isn't such an applet expert (which, maybe, you are), so, in your case expecially, coming here with a realWorldJavaWebStartFailure would have been for sure the best approach, that's all you should really understand, IMVOHO.I realise that JWS is not often used to launch true applets but still I hope someone here would have done it and been able to share their experience. -
Seeking simple example pl/sql to create text file from table data
hello,
I am hoping someone can provide very simple example of creating a file on my local harddrive using a pl/sql program. The basic steps are as follows:
First, I store some text in a varchar2 variable like this:
1. select sometext into otextvar from mytable where recordid = 1;
Second, I want this text to become a file in my data directory:
2. c:\data\sometext.txt
The second step is where I need help.
Any suggestions are greatly appreciated.Use this function
It will create for you a file in your /home/oracle directory with sysdate name and will insert all table names in it
CREATE OR REPLACE PROCEDURE my_proc AS
CURSOR cursor1 IS
SELECT table_name from all_tables;
CURSOR cursor2 IS
SELECT sysdate from dual;
rec1 cursor1%ROWTYPE;
rec2 cursor2%ROWTYPE;
created_file_name VARCHAR2(100);
file_name utl_file.file_type;
BEGIN
OPEN cursor2;
LOOP
FETCH cursor2 INTO rec2;
EXIT WHEN cursor2%NOTFOUND;
created_file_name:=rec2.sysdate;
file_name := utl_file.fopen('/home/oracle', created_file_name,'W');
OPEN cursor1;
LOOP
FETCH cursor1 INTO rec1;
EXIT WHEN cursor1%NOTFOUND;
utl_file.putf(file_name, '%s\n',rec1.TABLE_NAME);
END LOOP;
utl_file.fclose(file_name);
END LOOP;
END my_proc;
SQL>exec my_proc;
Maybe you are looking for
-
VPN client cannot access inside hosts
Hello, I have an ASA 5505 device with the attached configuration and my vpn clients can connect to it fine. Although, once a vpn client is connected they cannot RDP, ping, or telnet any internal hosts. The goal is to have a connected vpn client
-
Sooo is there anything you can do to get money back if its missing from your account?
so someone hacked my account and took 20 bucks from my account. anything i can do to get that back? and the 'report a problem' button under the account info is a joke and just sends me to the apple website.
-
How do I downsample an image in Edge?
I placed an image and scaled it in Edge. I notice the image is exported at its original size. Can I tell Edge to downsample a bitmap image?
-
Having problems uploading my photos to Apple TV
How do I upload photos from my ipad to my Apple TV?
-
Making dynamic URLs Hyperlinks
Hello, I have xml data formatted with url's and email addresses. Can I add a click event to <mx:text> or <mx:label>? Should I use as3 and an event listener? I guess I'm looking for an easy mxml way to do it ;-) Thanks!