Which method can replace parseQueryString()
Hi,
javax.servlet.http.HttpUtils.parseQueryString(java.lang.String s) which is used to parse a query string passed from the client to the server and builds a HashTable object with key-value pairs has already been deprecated. I got the warning when I compiled the code. What's the method can replace parseQueryString() which can provide me the same functionality ?
many thanks.
From the API Docs for HttpUtils
Class HttpUtils
java.lang.Object
|
+-javax.servlet.http.HttpUtils
Deprecated. As of Java(tm) Servlet API 2.3. These methods were only useful with the default encoding and have been moved to the request interfaces.
This means that you will need to use the HttpServletRequest interface methods.
Similar Messages
-
Which method can delete/remove a file ?
before i write data to a file, i want to empty/remove the file ?
so which method can remove a file?
thanks.If you are using a RandomAccessFile you can truncate it.
RandomAccessFile#setLength() or you can can File#delete() -
Which method can get the computer screen photograph
besides the createscreencapture method of robot class,which method have the
function of grabing computer screen photograph.thank you.Do you know and this is some sort of competition to name the other method and class? Or do you not know - in which case: why don't you want to use createScreenCapture()?
[Edit] I don't think there is a way that doesn't involve the Robot class. -
Which module can replace GLC-GE-100FX= ?
Hi ,
I have to replace the GLC-GE-100FX= modules with spare ones available , can any one suggest me which can be used to replace this one with added advantages ?
Regards,
ArunHi Arun,
What router or switch are you using it in? You can find the list of compatible transceivers by the platform or linecard here:
http://www.cisco.com/c/en/us/td/docs/interfaces_modules/transceiver_modules/compatibility/matrix/OL632702.html
Kind Regards,
Ivan Shirshin
**Please grade this post if you find it useful. -
Which tech can replace applet to implement server push model
We have implemented server push real-time datas to client with Applet+JSObject. but there is a thing we can not do well. When some users have intalled jre not same with our default, the applet run fail. So we are finding another tech to implement server push model.
Any suggestions!
client polling to emulate server push is cancelled.
Thanks very much!linuxhippy wrote:
well you can do it with polling - i have implemented such a system and it works very well.how many clients do your system support ?
polling period ?
what third-party libs ? -
Which method instead of getCustomDatum?
in the sample application the method rs.getCustomDatum is used, this method is deprecated, isn't it?
which method can i use instead?
where can i find the documentation of the Java Class OracleResultSet?Please ignore this error for interMedia. This is the supported method for interMedia at this time.
Larry -
By which method,i can get the no of rows in the record set?
Does anyone help me that by which method,i can get the no of rows in the record set?
now i use next() to check whether the next record is available or not?shashi_rajak wrote:
under Practice Exercise #1 heading :
there is a statement.
"Now, the COUNT function does not need to retrieve all of the fields from the table (ie: employee_number, employee_name, and salary), but rather whenever the condition is met, it will retrieve the numeric value of 1. Thus, increasing the performance of the SQL statement."And have you ever tried it? Or do you simply blindly believe everything you read? And what sort of "authority" is "tech on the net"?
P.S. A quick test on Oracle (and you must do each query at least twice throwing away the first result, as Oracle always caches things which will have an effect, and averaging the remaining attempts).
count(*) -- 1 min 17 secs for 35,311,978 rows
count(1) -- 1 min 19 secs for 35,311,978 rows
Edit: And the table has 46 columns. -
HT4623 ios 6 and want to down grade to ios5 kindly confirm which methods i can do this
ios 6 and want to down grade to ios5 kindly confirm which methods i can do this
thank you in advance for your assistance,I look forward to your prompt responseI am unable to to make or receive calls althought i reset the phone as well as the network setting.In addition to the above i contacted vodaphone and they mentioned everything is fine with the sim card.Any other suggestions???
-
In which method i can upload data to two transactions at a time and how ?
Hi,
Can any body tell me <b>In which method i can upload datas to two transactions at a time and how</b>
Pls tell me the steps if possible.
Thanks
PrabhuduttaHi,
I hope u are talking abt BDC,
If it is BDC's Then you can use both the methods.
Call Transaction or
Session Method.
Ex ..if already a vendor exists then call transaction xk02
if vendor no is not yet created then call transaction xk01.
hope this helps.
santhosh -
iMAC 2010 which HDD can I use to replace the malfunctioned Seagate Barracuda 7200.12 1TB?
After doing a bit more research, the 2010 iMacs do appear to have a third cable connecting to the hard drive, for the internal temp sensor. This would appear to be the block of 8 pins that are on almost all drives, but they are normally intended for jumpers. Unfortunately I was unable to find any documentation or specs that would indicate this pin block connects to the internal temp sensor on either standard (non-Apple) WD Black or Seagate 7200.12 drives.
I did find some info that may be of some use:
WD: Where to connect an external temperature sensor to a Serial ATA or EIDE hard drive.iFixit: Replace the hard drive, how do I connect the hard drive thermal sensor?
Apple Technician Guide: iMac 2010 27" (mid-2010)
Various discussion threads I found through google searching indicated some people succeeded with installing an external temp sensor on the body of the drive.
Sorry I couldn't help more. -
IPhone4S! Which parts can I replace?
I dropped my iphone4s. . .
So I want to know which parts can be replaced?
I heard camera, battery, back cover, vibration motor can be possible.
Do U know how much do they cost to exchange in us."I want to know which parts can be replaced"
I'd think that you'd be more interested in what parts you'd need to fix the iPhone. There are many teardown videos for the iPhone, and most parts can be obtained over the internet through third-party vendors. -
How can i know in which method i am?
I would like to know ( for debugging reasons ) in which Method the execution code is!
Like the printStackTrace() which indicates:
- package
- class
- method
- line
at mypackage.myclass.mymethod4(MyClass.java:40)
at mypackage.myclass.mymethod3(MyClass.java:30)
at mypackage.myclass.mymethod2(MyClass.java:20)
at mypackage.myclass.mymethod1(MyClass.java:10)
at java.lang.Thread.run(Thread.java:484)
Does anybody knows how to do this?
Bye
EmilianoThis will return the calling class.method() of a class.
public static String getCallingClassMethod() {
try {
Exception e = new Exception();
// make a buffer to store the stack trace
java.io.ByteArrayOutputStream buffer = new java.io.ByteArrayOutputStream();
java.io.PrintStream stackInfo = new java.io.PrintStream(buffer);
e.printStackTrace(stackInfo);
// create the tokenizer to get each line
java.util.StringTokenizer stackInfoParser =
new java.util.StringTokenizer(buffer.toString(), "\n");
int n = 4;
// *nix system only need 4 tokens windows has 2 extra
if (System.getProperty("os.name").startsWith("Windows"))
n = 6;
// loop through all the crap that comes before our calling method
for (int i = 1; i < n ; i++){
stackInfoParser.nextToken();
// get our calling class.method
String returnString = stackInfoParser.nextToken().trim();
// get rid of the garbage
returnString = returnString.substring(returnString.indexOf(" ") + 1,
returnString.indexOf("("));
return returnString;
} catch (Exception e) {
return "";
} -
Shortcut Method for Replace Pages dialog box
What is the keyboard shortcut method for bringing up the Replaces Pages dialog box. I use Replace Pages function a lot in preparing PDF documents and need a faster method than using Mouse on Tools right sidebar. I note that shortcut key for inserting pages is Cntrl-Shift-I -- what is shortcut for Replace Pages. In previous Acrobat 9, I could use alt-DNR, which brought up Replaces Pages dialog box via the menu, but there no longer is a Document item in the menu bar -- it has been removed. Please, this is VERY important to me. Any help will be greatly appreciated.
Thank you for your quick reply. You have confirmed my worst fear. But anyway -- going forward ..... in your opinion, what is the best way to get information to Adobe on ideas for improvement so that future version or maybe even an update for this version could have something like what I need, that is, shortcut key for Replace Pages -- or ability to access customized quick tools via keyboard, etc. Is there someone keeping a list of these things that I can write to? Thanks again. (And don't worry, I won't extend this discussion past your hoped-for reply.)
-
Badi method to replace ale user exits
Hi,
The requirement to convert the ALE User Exits (IN XHAL function group) into BADIs.
suggest exact BADI and method which can replace below User Exits.
1. EXIT_SAPLRHAL_004 HR-CA: ALE Inbound Processing: Converting Segment / Infotype
2. EXIT_SAPLRHAL_003 HR-CA: ALE Outbound Processing: Converting Infotype / Segment
Help urgently.
Regards,
Partha.
Moderator message: please help yourself first, urgently.
Edited by: Thomas Zloch on Feb 24, 2011 2:12 PMI think this is called in IDOC_INPUT_FINSTA .
Can you please let me know this is related to what tramsaction. -
I recently uploaded 10.8, but I have a number of VALUABLE old files which I can no longer read because "power PC applications are no longer supported. How can I retrieve them"?
Here is a post I assembled for another with a similar problem:
Unfortunately you got caught up in the minor miracle of Rosetta. Originally licensed by Apple when it migrated from the PowerPC CPU platform that it had used from the mid-1990's until the Intel CPU platform in 2006, Rosetta allowed Mac users to continue to use their library of PPC software transparently in emulation.
However, Apple's license to continue to use this technology expired with new releases of OS X commencing with Lion (and now Mountain Lion). While educational efforts have been made over the last 6 years, the fact is that Rosetta was SO successful that many users were caught unaware UNTIL they upgraded to Lion or Mountain Lion.
Workarounds:
1. If your Mac will support it, restore OS X Snow Leopard;
2. If your Mac will support it, partition your hard drive or add an external hard drive and install Snow Leopard into it and use the "dual-boot" method to choose between your PPC software or Lion/Mt. Lion;
3. Upgrade to an Intel compatible versions of your software, or find alternatives that will open your data files;
3. Install Snow Leopard (with Rosetta) into Parallels:
[click on image to enlarge]
Full Snow Leopard installation instructions here:
http://forums.macrumors.com/showthread.php?t=1365439
NOTE: STEP ONE of the instructions must currently be completed on a Snow Leopard or Lion Mac and the resulting modified Snow Leopard.cdr install file can then be moved over to your Mountain Lion Mac for completion of the remaining steps.
NOTE 2: Computer games with complex, 3D or fast motion graphics make not work well or at all in virtualization.
Maybe you are looking for
-
I have been wondering if there is a better way to detect single clicks Vs double clikcs than the model currently implemented. I am sure all of you have run into the problem of even though an event listener detects a double click eventually, it detect
-
i have an apple id that i can't get into because i have forgotten the password and the email that i had it connect to is no longer working because i no longer know the password so i was wondering if there was a way i could send my apple id and passwo
-
Yoga 13 touchpad issues, Lenovo can't quote me a repair price
Over the last few days my Yoga 13's touchpad has started to misbehave. As I scroll around it will begin to select text, or for example if I click on a tabbed window or Windows 8 tile it will instead grab that item and drag it around. I've tried eve
-
Solaris 8 to Solaris 10 upgrade for oracle 11i
Hi Need to upgrade my 11i (11.5.9) apps from Solaris 8 to Solaris 10 It will also be a 32 bit to 64 bit conversion Has anyone done this before. or can specify the any major obstacles. Thanks
-
Hi, I use jdev 10g. I created a session bean with wizards and after that I created I Ejb client for that bean. When I start the embedded server and run the client java file I get the following error : com.evermind.server.rmi.OrionRemoteException: jaz