arun ramk

Greenhorn
+ Follow
since Aug 09, 2008
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by arun ramk

Hi Friends,

Please let me know how to send ringtones or any binary message using jsmpp to any smsc simulator (logica).
Also let me know the UDH used for sending ringtones. Any sample programs may be very useful.

Thanks in advance.
15 years ago
Hi friends,

I have installed oracle 10g client in linux environment. It got installed successfully.
but when i try to use tnsping <service_name>
it shows

TNS Ping Utility for Linux: Version 10.2.0.1.0 - Production on 08-MAY-2009 16:03:29

Copyright (c) 1997, 2005, Oracle. All rights reserved.

Segmentation fault


Please suggest me a solution for this.

16 years ago
Hi friends,


Please let me know how to set up environmental variables in bash shell in linux.....
i need to setup environmental variables for java and oracle installations

i used export command....... but the variables exist only for that session........

please help
16 years ago
I am not using any API's like POI or jexcel.
just setting the content type to xls
response.setContentType("Application/xls"); in Struts/Action class....
The page displayed in table format in UI is converted to excel format thats it..........
16 years ago
JSP
Hi Friends,
I am using Ibatis2.3 to map sql queries to java beans......
one such query retrieving CLOB datatype taking more time for mapping with string.........
normally that query execution time in toad is 2 secs......... but using ibatis sql mapping.......... its taking long time to do the mapping.....
but if i remove the clob datatype mapping.......... the datas are coming up fast..........
please suggest a solutiion..........

this is how i do the result mapping.......
<result property="caveats" column="caveats" jdbcType="CLOB" nullValue="" javaType="string"/>
hi Friends,

I am export data from stuts/jsp to excel by setting response as follows in Action class
response.setContentType("application/xls");
but when a data like "1/0" or "3/4" is sent to excel sheet , it considers it as date and converts in to date format like JAN-00
Please let me know how to handle this issue in excel.



Regards,
Arun.
16 years ago
JSP
Hi Friends,
I am using Ibatis2.3 to map sql queries to java beans......
one such query retrieving CLOB datatype taking more time for mapping with string.........
normally that query execution time in toad is 2 secs......... but using ibatis sql mapping.......... its taking long time to do the mapping.....
but if i remove the clob datatype mapping.......... the datas are coming up fast..........
please suggest a solutiion..........

this is how i do the result mapping.......
<result property="caveats" column="caveats" jdbcType="CLOB" nullValue="" javaType="string"/>
16 years ago
Hi friends,
I need to get the column names for the properties specified in sqlMap.xml in my code .

for example: <resultMap id="resmap" class="java.util.HashMap">
<result property="custId" column="cust_id"/>
<result property="routerId" column="router_id"/>
<result property="routerName" column="router_name" jdbcType="CLOB"/>
<result property="device_type" column="device_type"/>
</resultMap>

i need to get the column values in code.........

is there anyway to access the sqlMap.xml file as an instance in Ibatis.



Regards,
Arun.
but the struts-config.xml controller noncache property is not working.........
is there any global way to do this.......... since i need to modify in 200 jsps............
16 years ago
hi
could you please help me on the above....
its very urgent......
thanks in advance.....
16 years ago
Thanks a lot Charles it works

The functionality of charmap , is it decryts the text returned from getline (using AES-128 standard) from the following command.
getline -b 2 -e 2 -i $rcvfile | charmap -n -m 200 -r

is there any alternative available in linux using the above functionality (that is AES-128 decryption)?

I tried with aespipe, openssl but they are not working....
openssl asks for a password.

16 years ago
Hi,
the following is the usage of getline.............
usage: getline [-h] [-b linenum] [-e linenum] [-i infile] [-o outfile]
charmap [-h] [-n] [-x] [-X] [-r] [-l string]
[-m linelength] [-i infile] [-o outfile]
charmap does encryption

for example
consider file new.txt
file contents : abcdefgh
abcdefgh


getline -b 2 -e 2 -i new.txt | charmap -n -m 200 -r

executing above command returns
3456789 as result


16 years ago
Hi Friends,

I need a clarification on executable c binary files in linux. Actually , we have two executable files created in SunOS some years back. We don’t have the source code for those files. They are getline and charmap which are used for parsing upload files in our project. Now we need to run the same in Linux environment, but we are not able to run same files in linux. I am not sure whether the above two utilites (getline,charmap) are opensource or developed by individuals.

Now I need either the source files for the utilites or executable equivalents for them in linux.



The following is the command which is used in our perl code for those utilites .

getline -b 2 -e 2 -i $rcvfile | charmap -n -m 200 -r



Could you please help me in getting a solution for the above issue.


Thanks in advance.

16 years ago
what is the syntax in html to make a check box checked and disabled.
becoz there are two tables to be displayed with pagination.........
16 years ago
JSP