Anyone know the way to call SQLLoader utility or similar from JSP/Servlet?

Anyone know the way to call SQLLoader utility or similar from JSP or Servlet?
i would like to make a big data load from web interface, using SQL Loader or similar, because this utility allows a great performance.
I think that i can make a JSP or Servlet to open file, and create insert statement into a loop, but the performance is very bad for 30000 inpuits.
Help me please
Thanks
Note: my english is very bad. Sorry.

Hi there,
I tried this codes into a Bean like this:
package com.tuxedo.beans;
import java.io.*;
public class TuxTest
     public void RunTest()
          try{
               Runtime rt = Runtime.getRuntime();
               Process pr = rt.exec("command /k c:\test.bat");
          } catch (IOException e) {
               System.err.println("Error: " + e.getMessage());
}and call it with a JSP like this:
<html>
<head><title>Tuxedo Test</title></head>
<body>
To run a test on local batch file
<jsp:useBean id="test1 " class="com.tuxedo.beans.TuxTest"/>
<jsp: RunTest name="test1"/>
</body>
</html>i had created folder %tomcat%\webapps\ROOT\WEB-INF\classes\com\tuxedo\beans to store the bean.
Yet the JSP file executed, but i dun see any response by calling the batch file, anyone have any idea?
the batch file is like this:
@echo off
echo
echo Hello World!
echo
pausePlease help!

Similar Messages

  • Anyone know the way to the promised land/videos?

    Apparently when Steve said that they would have 2,000 music videos available now he meant now plus a little while... I still can't connect to the music videos on the us store and only to some of them in the UK store....

    Jim, I don't know why you are having trouble but I don't have any trouble accessing any of the Music Videos on the US iTunes Music Store.

  • Have the oldest ipod touch. . daughter forgot password to enable it. It's now been disabled for 22K  minutes. I'm trying to reset as a new device, but iTunes is telling me it can't do anything w/it b/c it's "disabled". Does anyone know a way around this?

    Have the oldest ipod touch. . daughter forgot password to enable it. It's now been disabled for 22K  minutes. I'm trying to reset as a new device, but iTunes is telling me it can't do anything w/it b/c it's "disabled". Does anyone know a way around this?

    Read this
    iOS: Unable to update or restore

  • Using Mac OSX Install Disc 1, I am not able to get any further than the Partition tab.  It allows me to select my hard drive selection, but will not allow me to make any other selections.  Does anyone know their way around this obstacle?  Thanks!

    Using Mac OSX Install Disc 1, I am not able to get any further than the Partition tab.  It allows me to select my hard drive selection, but will not allow me to make any other selections such as options.  Does anyone know their way around this obstacle?  Am I doing anything wrong?  Thanks

    Hello, The Hatter, I read about the 'trick' of backing up, erasing, and restoring too, but I figured it would take longer than defragmenting the disk.
    But the defragmentation process has just finished! so I'm gonna try to run Boot Camp again soon!
    Thanks for your helpfulness, anyway.
    And P.S. I didn't clone my system onto the external drive, I just inserted the Mac OS X Install CD, rebooted holding down the "C" key, and installed a fresh Snow Leopard system onto the predetermined partition. I will use that in cases of emergency, when my main/internal system becomes unusable.

  • I am moving from Southern California to Maui, Hawaii and I need to figure out the best way to get my 24 inch iMac across the ocean. Does anyone know the best way to do this?

    I am moving from Southern California to Maui, Hawaii and I need to figure out the best way to get my 24 inch iMac across the ocean. Does anyone know the best way to do this? I have found GearGrip's LCD harness so that I can do carry-on onto the plane...  Or maybe use a Pelican Case to do it as a "checked bag"? Or any other suggestions??! Please help!
    Thanks so much!!

    I don't recommend you send the iMac in a checked bag. Might get damaged.
    Check the airlines website for carry on guidelines.
    Or, if you have the original box that the iMac came in, if you have someone who can pick up the iMac for you, send it ahead Fed Ex and insure the package.
    Just make sure the display is covered to protect it. A blanket perhaps.
    Aloha ...

  • HT1711 When I am in the iTunes store site and listening to samples of music the songs stop playing after 12 seconds. Does anyone know a way to get it to play the full one and one half minutes?

    When I am in the iTunes store site and listening to samples of music the songs stop playing after 12 seconds. Does anyone know a way to get it to play the full one and one half minutes?

    I have a similar problem with at least two songs that I know of, one is an iTunes download (encrypted) the other was imported from a CD using iTunes (no encryption). Both songs play 2-3 seconds then immediately go to the next song. The "weird" thing -- I plugged my iPod into my new MacBook which has no songs other than what are on my iPod (i.e., not playing the song from another source) and both songs play fine. Unplug the iPod from the computer, plug in headphones and the songs skip again.
    I've gone through the 5 R's as well, with no luck.

  • Just updated to the latest version of itunes and now my iphone won't sync with my email or calender because the apple mobile device is not started. Anyone know any way roudn this - Apple wish to charge me to fix this. not impressed

    just updated to the latest version of itunes and now my iphone won't sync with my email or calender because the apple mobile device is not started. Anyone know any way roudn this - Apple wish to charge me to fix this. not impressed

    It is working now. I no longer get the message about the item not being available in the US and I can access the store.

  • Does anyone know the command and sequence to empty trash using the Terminal utility?

    Does anyone know the command and sequence to empty trash using the Terminal utility?

    Hi d,
    1. Open Terminal (in Applications, Utilities).
    2. Copy and paste the following command into theTerminal window (or type it exactly as follows):
    sudo rm -rf ~/.Trash/*
    3. Press Return.
    4. Type in your password when asked (note: you will not see anything being entered as you type your password).
    5. Hit Return.
    6.Wait until the process finishes/the Terminal prompt returns.
    7. Quit Terminal.

  • Okay so I recently bought an IPhone 4S from a friend, and when I had gotten home, his old iTunes/apple/ICloud account wa still logged in and after a few  attempts of it, I don't know the way through it, could anyone please help?! thank you so much!!

    Okay so I recently bought an IPhone 4S from a friend, and when I had gotten home, his old iTunes/apple/ICloud account wa still logged in and after a few  attempts of it, I don't know the way through it, could anyone please help?! thank you so much!!

    You've encountered iCloud Activation Lock. Contact you friend and have him follow the directions here:
    Find My iPhone Activation Lock: Removing a device from a previous owner’s account

  • Does anyone know a way to replicate the SAPSID adm user ?

    We are trying to consult to one of our clients that using SAP/r3 with Oracle 10.2 DB.
    The client has a team of 4 DBAs, and the entire team members are using the username <SAPSID>adm in order to login to the DB and conduct changes and other operations.
    We believe this is the wrong way to handle the login authorizations, and we think that each DBA has to have his own user name in order to enable audit trail. The client's IT team manager claims they don't know how to create personal user names with the authorization level of the <SAPSID>adm, and they must use this user name for their needs and operations.
    Does anyone know a way to replicate the <SAPSID>adm user authorizations to some other DB admin user name so they will enable audit trail for each team member?

    Hello,
    You can create any number of users have authorizations similar to sidadm user but I don't think it will serve the purpose because of the way the things are designed to be maintained in SAP.
    However, you can utilize an alternative. Create individual OS IDs for each person who has to log on to OS. Assign 'sudo' access to these individual IDs to logon to 'sidadm' and 'orasid'.
    Thanks

  • Anyone know the name of this desktop customization software?

    Hi guys,
    Some time ago now I saw an application somewhere that allows you to customize your desktop (or wallpaper, depending on what you call it) in more advanced ways than OS X normally allows.
    It allowed you to put images of your own on it; not in the normal way (I am well aware of how to do that with System Preferences) but more like you might be able to do on a cork board. So you could put several images up at once, rotate them, re-size them, have them overlapping etc. You could also add text to the screen, and I think draw shapes with the cursor. I'm also pretty sure the software allowed you to create more than one desktop at any one time.
    Thing is, I can't remember what this app is called, and even though I'm fairly good at searching the net, all the words I can think of to find this are way too general. I really need this app for something quite important. Does anyone know the name of it?
    Please only answer if you have a pretty good idea of what it is, not just to say "I don't know." Sorry, it's just I've had alot of that in the past. Any good answers I will be very grateful for and will be sure to be given points. Thanks!
    Message was edited by: CharityJF

    Hi matey,
    I think you might be referring to [Candybar|http://www.panic.com/candybar> and [Desktastic|http://www.panic.com/desktastic> by [Panic|http://www.panic.com>. Hope this helps!
    Message was edited by: snkhan

  • Rogers is saying that IOS4 won't allow use of the personal hotspot with a plan of less than 1GB data.  I say it's a policy of theirs, not an iOS restriction.  Anyone know the truth?

    Rogers is saying that IOS4 won't allow use of the personal hotspot with a plan of less than 1GB data.  I say it's a policy of theirs, not an iOS restriction. Anyone know the truth?
    I call BS but the tech guy was insistent that the iPhone can detect what plan I have and won't enable the feature and there's nothing they can do about it, short of selling me a larger data plan...

    robfromkelowna wrote:
    Actually it does.  It's wrong to lie to a customer.  By blaming Apple, they shift the blame and make it seem like there is nothing they can do about it.  If they admitted it was their policy, I could complain and try to get it changed or I could move to another carrier.
    If a person killed someone and blamed it on a heart attack, the person is stil dead, does it matter? Either way they're dead, right...  (extreme, I know, but illustrating a point)
    Wow.
    It is certainly Rogers policy and is not unusual at all among carriers.
    Seems like a non-issue to me, but apparently being "lied to" ( perhaps the employee was simply mistaken, it happens) is a major deal to you.

  • Does anyone know the default size for 24 in. imac display?

    I inadverently changed the display size on my 24 inch imac. The font in the toolbar at the top of the desktop is larger than I want. Also, when I open windows in different applications, they open larger than the display and have to be downsized in order to see the entire window.
    Does anyone know the default size for this display? Or is there a different way to fix my issues?
    thanks in advance.

    Hi Napamike2: The default setting for the 24" is 1920X1200. If that doesn't get you back to the proper display, maybe you have accidentally activated "Zoom". To check go to System Preferences, Universal Access. Check that Zoom is turned off.
    Stedman

  • Does anyone know the file name of the root ($)?

    RoboSource Control unfortunately is not working correctly and a Rollback caused many topics to be permanently deleted. I'm waiting for approval from IT to get the 8.0.1 and 8.0.2 patches applied, but in the mean time we would like to restore our project from server tape backup. Only, I can't find out where the $ root is stored on the server to have it restored.
    Does anyone know the name of the file that is the root? I was expecting to see a file called root or $, but can not locate a file named either.

    Your DB Administrator should be able to recover a TSM backup OF YOUR ENTIRE DATABASE, not the project, from tape.  The database object the DBA is retrieving will not have the $ (or the * sign).  It will be named whatever you named the database when you created the database.
    Your database name is located on the Connection screen.
    Hope it helps...
    Steve

  • Anyone know the prices of the iphone go phone plans?

    I called ATT and they said they cannot tell me that I have to go to the store. Their plans on the ATT site tend to be for the non data go phones. Anyone know the prices of go phone the plans for the iphone including data?
    Thanks

    I am using the GoPhone option and I'm currently spending $50 for 200 minutes with no texting at all. As I recall from the activation, the plans were the same prices as the contract plans, but with no Night/Weekend options. All GoPhone plans did come with the same unlimited data plans and there were options to add text messaging I believe. The basic set-up looked like standard rate plans plus an additional $20 for the unlimited data.
    I opted to use this, despite the OBVIOUS rip-off that it is, in order to test the AT&T network around here before locking in for 2 years. I'm glad I did "test drive" the network, because I'm ready to sign that contract after being able to use my iPhone with little to no troubles and only slight network disturbances.
    If you want the GoPhone option, either have TERRIBLE credit, or just neglect to put your SSN in when activating your iPhone.

Maybe you are looking for