Need help about sending back xml to MIDlet from servlet
Hi all,
I need an example (or maybe some links or tutorials) about
using servlet as the resource files for kXML parsing in J2ME.
Can somebody help me ?
Actually, I want to know how servlet generate xml and send it back
to the client (MIDlet). My recent plan is to use MySQL as the database
so the servlets will try to fetch the table and convert it into xml document.
Oh yeah... I've been using kXML as parser in my MIDlet (it works).
Thank you
Best Regards,
CHi
Hi,
the job is not a thread, but it is process running on AS400 which returns a stauts when i use getStatus()
so i want to keep checking for getStatus() untill the job is done, that is poll for status
I will try to add Thread.sleep() but what will my class look like
here is the code i have working, how can i modify it
public class CallJobInBatch
//logic for calling the program goes here
Job myJob = new Job(as400, jobNumber, jobUser, newJobNum);
while (!jobStatus.equals("*ACTIVE"))
myJob = new Job(as400, jobNumber, jobUser, newJobNum);
jobStatus = myJob.getStatus();
}Ashish
Similar Messages
-
Need Help with send raw xml to PHP from flex
Hello all,
I am trying to pass raw XML from flex to php.
I can pass the data using get but need to use POST.
When I submit the data via POST
the data is not available in $HTTP_RAW_POST_DATA.
Any help is greatly appreciattedHello all,
I am trying to pass raw XML from flex to php.
I can pass the data using get but need to use POST.
When I submit the data via POST
the data is not available in $HTTP_RAW_POST_DATA.
Any help is greatly appreciatted -
Need help about Hidden Markov Model model
I want to make classification for EEG signal using Hidden Markov Model
algorithm based on neural network.
plz need help about how to implement this algorithm using LABVIEW.
if not I want another thing to make classification.
any one know information about this topic, send me a reply
thanksHave you derrived the HMM that you want to implement?
If so, post the algorithm and we can provide comments on how to implement it using LabVIEW.
Message Edited by Ray.R on 04-12-2010 12:54 PM -
need help about 1015 it says connect iphone to itunes on screen i did it but it doesnt work and says unexpected 1015
Try restoring it: Make sure you are following the instructions in this procedure to the letter. Here they are, with emphasis on some easily overlooked requirements:
Disconnect the USB cable from the iPhone, but leave the other end of the cable connected to your computer's USB port.
Turn off the device: Press and hold the Sleep/Wake button for a few seconds until the red slider appears, then slide the slider. Wait for the device to turn off.If you cannot turn off the device using the slider, press and hold the Sleep/Wake and Home buttons at the same time. When the device turns off, release only the Sleep/Wake button.
Continue pressing and holding the Home button while you reconnect the USB cable to the device. The device should turn on.
Note: If you see the "low battery" screen, let the device charge for at least ten minutes to ensure that the battery has some charge, and then start with step 2 again.
Continue holding the Home button until you see the "Connect to iTunes" screen. When this screen appears (iTunes icon and USB connector) release the Home button.
If necessary, open iTunes. You should see the "recovery mode" alert ("iTunes has detected a phone in recovery mode").
Use iTunes to restore the device.
If you do not see the "Connect to iTunes" screen, try these steps again.
If you see the "Connect to iTunes" screen but the device does not appear in iTunes, see this article and its related links.
If you have backed up the iPhone in the past, select the device in iTunes and choose "restore from backup". -
Need help about ref cursor using like table
Hi Guys...
I am devloping package function And i need help about cursor
One of my function return sys_refcursor. And the return cursor need to be
join another table in database . I don't have to fetch all rows in cursor
All i need to join ref cursor and another table in sql clause
like below
select a.aa , b.cc form ( ref_cursor ) A, table B
where A.dd = B.dd
I appeciate it in advanceMy understanding is that you have a function that returns a refcursor and is called by a java app.
Because this is a commonly used bit of code, you also want to reuse this cursor in other bits of sql and so you want to include it like table in a bit of sql and join that refcursor to other tables.
It's not as easy as you might hope but you can probably achieve this with pipelined functions.
Is it a direction that code should be going down? yes, eventually. I like the idea of pulling commonly used bits of code into a SQL statement especially into the WITH section, provided it could be used efficiently by the CBO.
Is it worth the effort given what you have to do currently to implement it? possibly not.
what else could you do? construct the sql statement independently of the thing that used it and reuse that sql statement rather than the refcursor it returns?
Message was edited by:
dombrooks -
Need help about boot SUNFIRE V120
Hi all....
I need help about how to change boot from boot net to boot disk....
after i installed sun solaris 10 at my sunfire v120, then reboot the machine ... this sunfire still boot from net not from disk...
can i change it?
please i really need help ....
thanksIf its booted, try "eeprom boot-device=disk"
If your at the OBP, "setenv boot-device disk".
If that doesnt work check the value of "diag-switch?".
It could be booting off the the diag-device instead -
Need Help about 3D and revolving in illustrator
I really need help about 3D, Please tell me that How i create 3D in illustrator
i want to revolve text or shape around any object like this, any plugin? or other software required for this?
if somebody know this it will be really help full
http://rcgrafix.fizwig.com/1452732-large.jpg
http://rcgrafix.fizwig.com/1384370-large.jpg
http://rcgrafix.fizwig.com/1062180-large.jpg
Thanks
Arsiif links are not working try Copy and paste it in to your browser address bar
thank you -
Need help about the SHA Message Digest ? & what is use of Message Diagest ?
need help about the SHA Message Digest ? & what is use of Message Diagest ?
1>i have one program of making message digest
2>which requires two files name
3>one for input like txt
4> second is out put file of message digest
can any one tell what is the use of second generated file .MessageDigest md = MessageDigest.getInstance("SHA");
FileInputStream fis = new FileInputStream(args[0]);
byte[] b = new byte[1024];
int readed = -1;
while((readed = fis.read(b)) > 0)
md.update(b, 0, readed);
fis.close();
FileOutputStream fos = new FileOutputStream(args[1]);
byte[] d = md.digest();
StringBuffer sb = new StringBuffer();
for(int i = 0; i < d.length; i++) {
String str = Integer.toHexString(d[i] & 0xff);
sb.append(str.length() < 2 ? "0" + str : str);
fos.write(sb.toString().getBytes());
fos.close(); -
I changed my password i forgot what it is need help to get back in
i need help i changed my passwordand i forgot it now i need help to get back in it keeps saying disabled?? help me plz
Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
iOS: Wrong passcode results in red disabled screen
If recovery mode does not work try DFU mode.
How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
For how to restore:
iTunes: Restoring iOS software
To restore from backup see:
iOS: How to back up
If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
You can redownload iTunes purchases by:
Downloading past purchases from the App Store, iBookstore, and iTunes Store -
Hi, Need help about ios7 upgrade, after this upgrade I cannot watch youtube or any video with Ipad, and Iphone as well
I think my wireless rooter's setting has some problem but cannot found anything to solve,
I can watch if there is another wireless network , I tried this option in another place who has wireless network and I can watch.
Do you have any idea to do these setting , I dont have any problem when Ipad has 6.1.3 IOS,
need help
thanksThanks
I will and share the result. -
Need help in restoring back to default Wallpaper
Hi,
My friend did change the IPad Wallpaper and when i try to restore it back to the original wall paper. I don't find it at all. Now how do i restore back to the
default wallpaper.
I did try the below options to restore
1. Reset Home Screen Layout
2. Reset all Settinggs
3. Default by pressing Home Key + Sleep/Wake Button for 10 secs until Apple Logo appears
But none helped to restore it. Need help in restoring back to old wallpaper.
Thanks,
ramananJames, in case you are having a problem, these are the steps:
1. Restart the computer holding the Command and R keys
2. In the OS X Utilities window, select Disk Utility and click continue
3. From the sidebar, select your internal disk drive
4. Click the Erase tab near the top of the Disk Utility window
5. Choose Mac OS Extended (Journales) from the pop-up menu
6. Change the name of the disk drive if you want to
7. Click the Erase button near the bottom right of the Disk Utility window
8. In the confirmation dialog that appears, click Erase
9. From the menu bar, choose Disk Utility > Quit Disk Utility
10. In the OS X Utilities winddow, select Reinstall OS X and click Continue
11. In the Install OS X window, click Continue
12. Read and licenss agreement and click Agree
13. In the confirmation dialog that appears, click Agree
14. Select your computer's disk drive form the list of available volumes, click Install
The installer will recreate an OS X Recovery HD, and then restart to the newly created OS X Recovery HD, and then continue with the remainder of the isntall process. This second part may take a while so be patient. When it completes, the iMac will restart again into the installed copy of Mac OS X as a new machine. You will be greeted by the full Setup Assistant. -
I need help importing navigation bars and rollover buttons from fireworks?
I need help importing navigation bars and rollover buttons from fireworks, drop down menus and rollover states won't work!
ThanksIn my experience, the code created by graphics apps is less than satisfactory. And image based menus are very awkward for several reasons.
#1 If you decide to change your menu later, you must go back to your graphics app and re-craft the whole thing. After 2-3 times of this, it gets old in a hurry.
#2 Image based menus cannot be "seen" by search engines, screen readers and language translators.
#3 CSS styled text menus are better for your site's visibility, accessibility and they are a snap to edit in Dreamweaver.
That said, if you're still married to image based menus, use Fireworks to create images only. Use Dreamweaver's Image Rollover Behaviors to create your rollover scripts.
Nancy O. -
Hi I am new on the Mac, I need help, how can I run my apps from my library on my Mac Pro? All my apps I was used in my iPad, thanks guys!!!!
The Mac OS X and iOS versions are separate products
-
I need help! I cannot access my iTunes from my window's. I keep getting message "error 7" and also MSVCR80.dll missing. I do not know how to access this?
I tried downloading the latest version of iTunes, but it does not sync to my windos 7 HP because of the previous messages. Any feedback would be greatly appreciated.
Thank you,
ElsaV73Hope this article helps you:
http://support.apple.com/kb/TS5376
Pleas reply with any further questions. -
Need help about setting up a JMS sender channel
I just started to play with PI for a few weeks and I'm trying to setup a simple JMS sender channel to read stuff from a WebSphere MQ.
I've someone installed JMS adaptor for me, but we never know it is correctly installed or not. First question is "Is there any way we can verify JMS adapter is correctly installed or not?"
In the Design: integration builder, I've a very defined a very simple data type(src_dt) which is a string and a message type(src_mt) which uses resp_dt. Finally I created a message interface (test_mia_out) that contains src_mt. At this point of time, I don't need message mapping so I didn't configurate this section.
Then I went to Configuration: Integration builder and created a new communcation channel with the following setting:
Parameter section:
Adapter Type: JMS
Transport Protocol: WebSphereMQ (Non-JMS) <- if i don't use this option, i can't enter MQ connection detail in the Source section.
Message Protocol: JMS 1.x
Adapter Engine: Integration Server
Source section:
QueueConnectionFactory Java Class: com.ibm.mq.jms.MQQueueConnectionFactory
Queue Java Class: com.ibm.mq.jms.MQQueue
...MQ connection detail...(IP, Port, Queue Manager, Channel and Queue Name )
Transport Protocol: TCP/IP <- this is consists to server side setting
JMS-Compliant: JMS-Compliant
Since I only want a very simple working sample, again I didn't change the content in receiver determination, interface determaintion and sender agreement.
Now when I active this change and I saw the following error in the channel monitor:
Short Log - Channel has internal error
Admin Info - Exception: Channel with Status Unknown or Not Registered
I did stop and start the service, refresh CPA cache and even restart the entire PI server, I always see this message and cannot find any more detail description about what is causing this problem.
My PI Server version is 7.0 and MQ version is 5.3
There's very limited resource about how to setup to read MQ message in PI and I'm stuck now. Therefore, I need a help from some experienced people to tell me if I have did something wrong or missed some steps?
And if possible, could people mind to post a step by step go through how you setup it up?
Edited by: Robert Fu on Jan 10, 2008 6:51 AMBefore you use the JMS, you need to deploy some drivers related to specific MQseries, Kindly ensure that proper driver are deployed....
If you use MQSeries 53x.xxx, you must enter the following JAR files in aii_af_jmsproviderlib.sda.
com.ibm.mq.jar, com.ibm.mqbind.jar, com.ibm.mqjms.jar, connector.jar (use the JAR file from the J2EE client directory)
check this link it will give you more inofmration
http://help.sap.com/saphelp_nw04/helpdata/en/cd/d85a9d6fab7d4dbb7ae421f710626c/content.htm
check this to get the condifuration the JMS
How to use conversion modules in JMS - https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f02d12a7-0201-0010-5780-8bfc7d12f891
Ref How To Use the Content Conversion Module in JMS Adapter - https://websmp106.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000582377&
Maybe you are looking for
-
New Macbook + 320gb WD = Problem
Hi, i just got the new macbook 2ghz and bought a 320gb WD 5400/min hard drive. It works just fine except for the fact that it makes a sound every 5 - 30sec when the hdd is not in use. "clack" ... 5 sec ... "clack" ... 30 sec ... "clack" ... 10 sec ..
-
HTMLClient: Sum of products in child records
Hi All, Scene: I have a table called Jobs with a field called JobTotal. I have another table called Products which has fields - Description and Price. I have a third table to enable a multiple/multiple relationship called JobProductMappings with mult
-
500 interal error when click a jsp
hi. i am using virtual host in weblgoic6.1sp2 Redhat6.2. under vistal host, there is a simple jsp. only just do response.redirect(). but got following error in weblogic.log: java.lang.NullPo
-
.MTS transfer headache, and sequence setting suggestion needed
Hello forum users... I am trying to edit a sequence with scenes captured on a variety of recording devices (SONY AVCHD, GoPro, and ScreenFlow screen capture)...It's a headache enough to try and get them all to match up for size and compression. I bou
-
After update, no more flickering but aliasing issues. Sotware also very slow to load and run project. Scrubing impossible. Any ideas ? TX !!!!