Manish Ramrakhiani

Ranch Hand
+ Follow
since Aug 20, 2009
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 Manish Ramrakhiani

Hi,

I need to call my servlet for all the url patterns for */FCExporter, however servlet mapping like



seems inappropriate.

Basically i want to hit this servlet whenever the last token is /FCExporter.

Any pointers..how this can be done?

Thanks,
Manish Ramrakhiani
11 years ago
Sorry,
that argument to eval is data, not dd
Hello Buddies,

I am doing an eval on data returned from ajax call which contains some special characters like Ü.
So on IE7, it gives me an error on eval statement saying : "}" missing.

However,
I am sure there is no problem in my json as it is working for all other cases.
Also,
I am facing this problem only on IE, on Chrome and firefox results are displayed as expected except the character is displayed as (a black diamond with white question mark).
Which is suppossed to be a Replacement character as per UTF-8 scheme.
http://en.wikipedia.org/wiki/Replacement_character#Replacement_character
http://en.wikipedia.org/wiki/UTF-8

I am getting crazy to make itwork on IE, any pointers will be highly appreciated.


Thanks,
Manish Ramrakhiani
Hi all,

I have written a Servlet with:


However, this is working absolutely fine on Chrome but when I run it on IE, it throws error saying"can not download from servlet name".

Any pointers, what could be the problem.

Thanks,
Manish Ramrakhiani
13 years ago
Hi All,

I need to call a Controller on Spring framework whose content-type is "application/forcedownload" from a javascript function.
I could successfully call it from an Ajax call but do not understand why Servlet was not popping up the file(there were no exceptions).

Could you please tell me how can I achieve the same; Can it be done the way I am doing it or how can I call the controller directly from javascript function

Thanks,
Manish Ramrakhiani
13 years ago
Sorry for the trouble guys,but somehow missed it.

Will take care for sure going forward.
Sorry and thanks again.

Thanks,
Manish Ramrakhiani
13 years ago
Any help guys, Need it urgently.

How do I get this detail:
If timezone supports day light saving then what will be the offset while it is enabled?

Thanks,
Manish Ramrakhiani

13 years ago
Thanks Sridhar.

Actually I was searching it If it was possible to get directly through SQL, hence did not pay much attention to get it from java.
However I still need one more detail.

If timezone supports day light saving then what will be the offset while it is enabled?

Thanks again.

Thanks,
Manish Ramrakhiani
13 years ago
Hello All,

I need the timezone details of all possible time zones, I need following things.
- TImezone name
- Offset with respect to GMT
- does it support day light saving
- Offset considering if it supports day light savings

I basically need all this informtion and have to create a table in database, i check out Timezone API in jdk
but does not seem to be of help.

Any pointers how do i get it?

Thanks,
Manish Ramrakhiani
13 years ago
Whenever trying to insert special charachter(’) from java in sybase getting error. Ascii and Binary value of this special charachter is (’) and 10010010.

Error is as follows-:

Error converting characters into server's character set. Some character(s) could not be converted.


If anyone has any clue ?

Hello All,

I have a Manifest entry as below.

<Manifest>

<Item Name="Main-Class" Value="myClass" Type="string"/>
<Item Name="Class-Path" Value="a.jar b.jar c.jar d.jar" Type="string"/>

</Manifest>

Now after adding a certain number of jars, I am not able to add new jars.
It throws IO Exception saying Argument value is too long.

But I need all the jars to be present.

Any body..any thoughts ?

Thanks,
Manish Ramrakhiani.
13 years ago
Thanks Dawn,
I will see what is feasible for me.

Thanks,
Manish Ramrakhiani.
13 years ago
Hello All,

I just have the name/IP of some remote machine and want to know the time zone of the same.

Please let me know how this can be done in Java.

Thanks,
Manish Ramrakhiani.
13 years ago
Hello All,

I am doing following to parse a xml file.



My file some characters like :

¬í�sr�java.util.Hashtable»%!Jä¸�F�
loadFactorI� thresholdxp?@�����w��� ���t�ClientMachineNamet�
mr632xpplpt� IsOSWindowst�truet�Accept-Languaget�en-us,ja;q=0.5t�Commandt�handleLoginCommandt�
IsUseZipOnt�falsex¬í�t�

And the code throws following error when attempting to parse it.

Character reference "�" is an invalid XML character.

Please help.

Thanks,
Manish Ramrakhiani.