Win a copy of Modern JavaScript for the Impatient this week in the Server-Side JavaScript and NodeJS forum!

Ganeshkumar cheekati

Ranch Hand
+ Follow
since Oct 13, 2008
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
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 Ganeshkumar cheekati

Hi i am trying to save google map as image. we are generating map dynamically with around 250 markers then converting it in to static map then i can able to use right click to save it as an image but its not working for more than 80 markets due to limitation of making URL.

can anybody give me any solution how can i save dynamic google map as an image?
Hi friends,

can any one help on these ,
1) i have a requirment when click the icon in parent window , it will open the child window so when click on the child window close button it will refresh and redirect the parent window. how i can do these......
2) or how to disable the child window close icon.
3) or how to disable the title icon of the child window
i am using the window.open() funciton for opening the child window. can any one help on these i a i tried to much with detail steps of code.

its ok any one of solution form three .
<!doctype html>
<html>
<head>
<title></title>
</head>
<script type="text/javascript" src="jquery-1.7.1.min.js"></script>
<script>

function hiderow() {

$(".sec").hide();
$("#sec1").show();
$("#sec2").hide();
}
function hiderow1() {

$(".sec").show();
$("#sec1").hide();
$("#sec2").show();
}
</script>
<body>
<div >
<table border="0">
<tr id="2">
<td ><span onclick="hiderow()" id="sec2" style="cursor:pointer;">+</span>
<span onclick="hiderow1()" id="sec1" style="cursor:pointer;display:none;">-</span>
</td>

</tr>
</table>


<table border="1">




<tr><td class="sec">345</td><td class="sec">345</td><td class="sec">345</td><td class="sec">345</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td></tr>
<tr><td class="sec">345</td><td class="sec">345</td><td class="sec">345</td><td class="sec">345</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td></tr>
<tr><td class="sec">345</td><td class="sec">345</td><td class="sec">345</td><td class="sec">345</td><td>dfdfdfddf</td><td>dfdfdff</td><td>kfjkdfjdk</td><td>l;fkgldkld</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td></tr>
<tr><td class="sec">345</td><td class="sec">345</td><td class="sec">345</td><td class="sec">345</td><td>dfdfdfdfd</td><td>3dfdfdfdfdf45</td><td>fdfdfdfdfdfd</td><td>3dfdfdfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td></tr>
<tr><td class="sec">345</td><td class="sec">345</td><td class="sec">345</td><td class="sec">345</td><td>dfdfdfdfd</td><td>345</td><td>345</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td></tr>
<tr><td class="sec">345</td><td class="sec">345</td><td class="sec">345</td><td class="sec">345</td><td>fdfdffdfdf</td><td>3dfdfdfdf45</td><td>3dfdfdfdfd45</td><td>3dfdfdfdfdfdfd45</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td></tr>
<tr><td class="sec">345</td><td class="sec">345</td><td class="sec">345</td><td class="sec">345</td><td>dfdfdfdfdd</td><td>34dfdfdfdfdfddf5</td><td>34dfdfdfdfdf5</td><td>34dfdfdfd5</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td></tr>
<tr><td class="sec">345</td><td class="sec">345</td><td class="sec">345</td><td class="sec">345</td><td>dfdfdfv;l;k</td><td>3dfdfdfdfdfdf45</td><td>345</td><td>3dfdfdfdfdfdfdf45</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td></tr>
<tr><td class="sec">345</td><td class="sec">345</td><td class="sec">345</td><td class="sec">345</td><td>dklkojie</td><td>3dfdfdfdfdfdfdfdff45</td><td>34dfdfdfdfdfdfd5</td><td>3dfdfdfdfdfdfdf45</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td></tr>
<tr><td class="sec">345</td><td class="sec">345</td><td class="sec">345</td><td class="sec">345</td><td>ldklfkdlfkas</td><td>3dfdfdfdff45</td><td>34dfdfdfdfdddfdfd5</td><td>3fddfdfdf45</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td></tr>
<tr><td class="sec">345</td><td class="sec">345</td><td class="sec">345</td><td class="sec">345</td><td>kldkfldjfkdfjsdfd</td><td>3fdfdfdddfdfd45</td><td>345</td><td>34dfdfdfdff5</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td></tr>
<tr><td class="sec">345</td><td class="sec">345</td><td class="sec">345</td><td class="sec">345</td><td>ldfppfdf</td><td>34dfdfdfdf5</td><td>34dfdfdfdfd,lkl5</td><td>34dfdfdfdfdfdfdffdfdfd5</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td></tr>
<tr><td class="sec">345</td><td class="sec">345</td><td class="sec">345</td><td class="sec">345</td><td>ldfppfdf</td><td>345</td><td>34lklkjnjnkjmkjk5</td><td>34dfdfdfdfdfd5</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td></tr>
<tr><td class="sec">345</td><td class="sec">345</td><td class="sec">345</td><td class="sec">345</td><td>ldflfal</td><td>3lkjugujfhcafajjsdj45</td><td>34 kjijjjhuhhuhijhijih5</td><td>3dfdfdfdfd45</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>dfdfdfdf</td><td>adfdfdf</td><td>dfdfdfdf</td></tr>









</table>











</div>

</body>
</html>
Hi,

i need to remove all files from one folder in sftp from java? please let me know which api is best to do this task?


Thanks in advance
Ganesh Kumar CH
if(lstData.size()>0){
String sTdColor = "#D2D6D9";
int Q1index = 0,Q2index = 0,Q3index = 0,Q4index = 0,Q5index = 0,Q6index = 0 ;
for(int i=0;i<lstData.size();i++){
if((i%2)==0){
System.out.println("i value="+i);
System.out.println("i%2 value="+(i%2));
System.out.println("number for colour"+((i%2)==0));
sTdColor = "#ffebbb";
}else{
System.out.println("i value="+i);
System.out.println("i%2 value="+(i%2));
System.out.println("number for colour"+((i%2)==0));
sTdColor = "#fcf9f2";
}>
8 years ago
JSP
Hi,

Can anybody explain me approach in detail to integrate SSRS in java for reports?

Thanks in advance
8 years ago
Hi friends,

can anyone help me on these, i am trying to calling a stored procedure, it should be the resultset in the form of Map object. For these i used spring jdbc concept but i am getting a error like BadSqlGrammerException.

dao classes method.

public Map getClassificationView(String sUser,String sLocation,String sPattern, String sCurrPage){
LOG.info(">>>>>>>>>>>METHOD NAME getClassificationView Starts in Classification DAO>>>>>>>>>>>>>");
ProcedureAndFunctions stproc = new ProcedureAndFunctions();
stproc.setJdbcTemplate(getJdbcTemplate());
stproc.setSql("DF_Get_classification_view");

stproc.declareParameter(new SqlOutParameter(sLocation,Types.VARCHAR));
stproc.declareParameter(new SqlOutParameter("null", Types.VARCHAR));
stproc.declareParameter(new SqlOutParameter(sCurrPage, Types.INTEGER));
stproc.declareParameter(new SqlOutParameter("Y", Types.VARCHAR));
stproc.compile();
Map results = stproc.execute();
for (Iterator it = results.keySet().iterator(); it.hasNext();)
{
System.out.println(results.get(it.next()));
}

LOG.info(">>>>>>>>>>>METHOD NAME getClassificationView Ends in Classification DAO>>>>>>>>>>>>>");
return results;
}

ProcedureAndFunctions.java:

public class ProcedureAndFunctions extends StoredProcedure
{
public ProcedureAndFunctions()
{
}

public Map execute()
{

Map inputs = new HashMap<String,Object>();
return super.execute(inputs);



}


}

and my stored procedure contain four IN parameters, can help me any on these, tell me this is better one for converting the resultset into Map object or any other alternative in spring.



8 years ago
okay then i will try and catch you if i get any problem anyway thanks for your response...
8 years ago
i would like to add some job schedulers in my project which should be run as part of jboss quartz services...
8 years ago
please anyone give reply...
8 years ago
Hi,

Can any one tell me the steps to configure quartz scheduling jobs in jboss server?

Thanks
Ganesh Kumar CH
8 years ago

function allow_numericandminus_Tracking(obj){
if (!/^\d+(\d*)?$/.test(obj.value)){
obj.value= theVal = obj.value.replace(/[^0-9.]/g,''); //alert(theVal);
if(theVal>""){
obj.value=parseFloat("0"+theVal);
obj.focus()
}
}
}
above code is not allowing hyphen so please guide how to change the regular expression?
Hi
Can anybody provide me the code to accept only negative numerics which doesnot allow special characters, decimals and letters?


Thanks
Ganesh Kumar CH
Hi all
i have three dropdowns like area , district and location and go button in my jsp page..i have used ajax in order to get values in to these dropdowns like...

we will get data only if we click on Go button based on the selection by area/district/location wise....

assume that i click on Go button by selecting one area and i got records

now i am changing area i should click on Go buttion to get the records for that area...

Between these two action Change Area <-----------------------------> Click on Go its showing previous data which i got for old area..so how to clear that data?

i am getting that data in the form of list(lstData) from java action...

how to clear the java arraylist data from ajax code?
At present, i done it using encryption/decryption with

Is there any other way except shared DB,server and SSL?
8 years ago
JSP