pramod mhatre

Greenhorn
+ Follow
since Dec 27, 2012
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by pramod mhatre

Error:

java.lang.NullPointerException
at sun.plugin2.applet.JNLP2Manager.getAppInfo(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)




I have added FtrScanApplet.jar in application root directory itself. I have updated Java,changed security of java and also cleared cache but not result
Kindly help me to sort out this issue.
9 years ago

Added parameter in post data and setting it encoded header worked.
Thank you so much Rob.
Hi,

Actually I tried this directly in Java and printing it on eclipse console its worked. But as soon as I send data through xmlhttprequest to servlet its showing as above.

Thanks
I am using below xmlhttprequest to sent data to server.


where mar="मे" which is marathi language.
and code written in servlet


It prints मà¥
By using below

System.out.println("String"+new String(marathi.getBytes("windows-1251"), "UTF-8"));
System.out.println("String"+new String(marathi.getBytes("ISO-8859-15"), "UTF-8"));

gets
String?��???
String�?�े
Please help me to sort out this issue. I already set UTF-8 format in eclipse.

Thanks in Advance



I want to use above code for getting hindi data from one column, transliterate it into english and insert into other column but I am getting below exception.

Exception in thread "main" java.lang.UnsatisfiedLinkError: com.google.gwt.core.client.JavaScriptObject.createArray()Lcom/google/gwt/core/client/JavaScriptObject;
at com.google.gwt.core.client.JavaScriptObject.createArray(Native Method)
at Transliteration.transliterate(Transliteration.java:61)
at Transliteration.main(Transliteration.java:45)


Please help me to sort out this issue.


When I tried to generate classes from WSDL along with .xsd files.
I am getting exception as below:
{http://www.openaxisgroup.org/AXISSchemaDocs/v1r1-VA/faresearch/response}Time already exists
{http://www.openaxisgroup.org/AXISSchemaDocs/v1r1-VA/faresearch/response}>Time already exists
org.apache.axis.wsdl.toJava.DuplicateFileException: Duplicate file name: com/vtech/external/implementation/virginAustralia/faresearch/RequestForCarLocation.java.
Hint: you may have mapped two namespaces with elements of the same name to the same package name.
at org.apache.axis.wsdl.toJava.JavaWriter.generate(JavaWriter.java:110)
at org.apache.axis.wsdl.toJava.JavaBeanWriter.generate(JavaBeanWriter.java:1406)
at org.apache.axis.wsdl.toJava.JavaTypeWriter.generate(JavaTypeWriter.java:113)
at org.apache.axis.wsdl.toJava.JavaGeneratorFactory$Writers.generate(JavaGeneratorFactory.java:421)
at org.apache.axis.wsdl.gen.Parser.generateTypes(Parser.java:547)
at org.apache.axis.wsdl.gen.Parser.generate(Parser.java:432)
at org.apache.axis.wsdl.gen.Parser.access$000(Parser.java:45)
at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:362)
at java.lang.Thread.run(Thread.java:662)

I don't want to change axis version.


Help me to sort out this issue.
10 years ago
Thanks Bill..
11 years ago
Dear Vaibhav,

Is it really slow? If yes then please check whether index created on column from where clause. If its not then create it. It will reduce processing time more than 50%. Moreover this is simple query and if you still want to optimize it then check whether you can use temp where you can get salary and department id in temp and then use avg function on it.

Hope it will work ...
11 years ago
Thanks Bill, but I tried it previously, for file read write it takes more time. If I am writing xml in file at the time of search it increase response time for showing search result at browser waiting to complete file writing thread.
11 years ago
Thanks Jayesh but I am using data from xml for processing as per your suggestion.But our requirement is in case booking fails we need to check what was data xml provided by supplier. Our application use web service for getting data from some other servers of suppliers. Combine all results from all suppliers and show it to end user. Within this process sometimes data mishandling can be done. Sometimes we get proper supplier xml response but while digesting and showing it to front end it gets changed because of some misread while digesting. So we need to check what was the original xml.
11 years ago
I need help to sort out this issue.
my application uses web services for getting results from suppliers.
General flow is search->reprice->booking
In this I want to insert all xml from search to book related to booking reference number in database after booking. So I can design GUI for checking all xml's from front end.
For every action from search to book are there so many xml's. While searching product I use near about 10 suppliers for getting result, so total xml's are more than 100. I need to keep it in session so that I can use proper xml to store in database after booking against booking reference number. My problem is some xml;s are having size 2 to 5 MB. So I think it will cause performance issue with system. Previously I used to store it in db but it also took lot of time to insert and application gets heavily hit it cause db connection exhaust. I need solution where I can maintain all xml in db against booking reference number. Also I can not leave other suppliers search xml after selecting particular product because user can go back and select another product.

Thanks In Advance.
11 years ago