Hi,
I want to check whether the checkboxes in my JSP are checked or not.The checkboxes are generated dynamically and their names are: bean0.check,bean1.check,etc.
when I use 'eval' to access these checkboxes, it gives error on page, stating object expected.
the structure of checkbox:
<input...
Hi,
Any idea how to solve this?
I am using <bean:write> within logic iterate to display a particular attribute of a bean. I want that instead of displaying attribute name, it should display a diferent namespecified in properties file. How is that possible?
Structure of my code:
<logic:iterate...
Hi,
Need some help reg shell script. I have a shell script which gets the filesystem space usage percentage and displays it. Here is the piece of script which does that.
filesystem=${arr[$i]}
spaceusage=`df -k|grep $filesystem|awk ' { print $5 } '`
echo ${arr[$i]}"="$spaceusage
don't bother...
Hi,
I have a requirement where i need find out if any of the files in a given folder has been modified(modification in the file content).I plan to set this script in my crontab and run it once daily.Thus i can know if any of the files in the given folder were modified during the day.How shall...
Still the problem.
Here is the piece of code where i form the strings
String remoteCommandStringnew= "rsh gpseai02.corporate.ge.com -l jhaso" +" \""+ "/export/home/jhaso/getdata.sh /eai02/e001,/dev/vx/dsk/var"+"\"";
String remoteCommandString = "rsh " + hostName.trim() + " -l "+...
Hi ,
I am having strange issue while using the rsh command to invoke remote commnad on a unix host from a java pgm.
the code is simple.
Runtime runtime = Runtime.getRuntime();
Process p = runtime.exec(remoteCommandString);
Now here the string "remoteCommandString" is formed while reading...
Thanks olded
Will need just a further help.
Here is what my script(getdata.sh) is.
It take comma separated filesystem names as input parameter.It should return the same comma separated space usage(%) data for those filesystems
-------start------------
#!/bin/ksh
filesystems=$1
OFS=$IFS
IFS=","...
Hi,
What is the function i shall use to put a command separated string into an array.My req is to put the comma separated strings into an an array and loop through them
Thanks,
-Sourabh
Hi Mike,
Going ahead with my requiremenet i am stuck at one point.
I want to extract the cpu load figure(middle one out of the three displayed) from the "uptime" command.
I was using something like
uptime|cut -d":" -f3,3,4
to do that.
But i saw that the uptime command output differs on diff...
Thanks Mike,The commands you mentioned fits.
Since i wanted the Host level information but not pgm level, i have decided to use
"uptime" for getting the load
"iostat" for cpu usage
Can you help me out parsing the exact number out of these commands.I am not very comfortable using awk,sed.Little...
Hi,
Wanted some commands for getting cpu usage and cpu load which should generally work on all unix platform(my Os is sun-solaris so it shud work on it for sure).
I know commands like top,vmstat.Just not comfortable with filtering out just that number(load/average)
Actually i will be firing...
Hi,
Suddenly my IE browser is showing all the pages in bold.I donot know which setting to look for.I have tried the font option in tools-options-
Any help
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.