2,452 Topics
| |
How can I pass multiple values from a JSP to a servlet using an hyperlink. Following is my code [CODE]<div style="width:500px;height:20px;border:2px solid blue; padding-top:25px; padding-left:40px; padding-right:20px; padding-bottom:10px;"> <jsp:include page = "/Alphabet.jsp"/> </div> <a href = "cart.jsp"><img src="shopping_cart.jpeg" width=50 Height=75 alt="Shopping Cart" border="0" style="float:right;"></a> <%@ page import="com.classes.chemical.*, java.util.ArrayList" %> <td width … | |
I am building some SW modules in Linux environment and at the end of a build the artifacts are stored in the env in a particular folder called HW. This HW folder contains a number of folders underneath for individual targets and those contains one or more folders and files … | |
Hello - This is my first perl scripting try. I am trying to read a file into a hash so i can track it by id the file looks like this: ID FILNAME SIZE 1 logfilename 346202741018308 2 logfilename 0261512802421464 3 logfilename 612262297692848 4 logfilename 3268022049187 5 logfilename 888755246426701 6 … | |
Hi, I need to pass the value of hyperlink to another jsp page. For eg., <a href="sample.html" id="myAnchor">[B]sample[/B] </a> Now, i need to retrieve the value, [B]sample[/B] and pass it to another page. Kindly help me on this. Thanks. | |
Anyone got any example for me to test on the Win32::Process::Create to run on Window64bits, doubt that function couldn't be run. Any lib need for this to run on Perl 5.10.1 | |
Hi, we have some scheduled jobs.The jobs will truncate the data and inserting the data and update the data.This process will happen daily. we receive files like truncate_file,Insert_file and update_file to our INBOX in scheduled time.once we got the update_file we will connect to front end application by using user_id … | |
I got a file: [CODE]I wake up in the morning What time? Always wakeup at 6am.[/CODE] what would be an easy way to determine the number of white spaces between each word? Thanks in advance David | |
so i need to have a script that takes input from a command and parses it for some info im still pretty new to perl, but from what i understand, to do something like that youd have something like: [CODE] while ($line = <STDIN>) { blah blah blah } [/CODE] … | |
I've found a simple timer program and it seems to work (for the most part). The problem is that certain cout functions aren't showing up. The timer originally didn't include milliseconds in the code, so I added them myself (which could be the problem) based on the code for the … | |
The width spreads across the whole page, i only want it to be as long as the content in the div. How can i solve this? [code]<style type="text/css"> .three { display:block; width:auto; height:100px; position:relative; border:1px solid black; } .three a { width:100%; height:100%; position:absolute; } </style>[/code] [code]echo "<div class='three'><a href='two'></a>test</div>";[/code] | |
I have a file of format: BRAND VERSION MODEL OPTIONS BOUGHT ------ ------- ------- ------- ---------- toyota lxi 2007 4 years ago nissan mxi 2008 3 years ago Actually the formatting goes awry when I save- So its Brand(toyota nissan under it) VERSION(lxi mxi under it) MODEL(2007 2008) OPTIONS -this … | |
hi im a beginninger at perl/cgi and this cookie is hard to understand lol. I'm trying to modify the script so that it displays an appropriate Web page if the name passed to the script is blank. but i get this in the browser: CGI Error The specified CGI application … | |
Hi Experts, Please help me, i am writing code for csv conversion, in middle i facing one issue. i have one array which contains 3 elements like wise @array contanis: var1= '455,0,0,0,0\n 135,0,0,0,0\n 199,0,0,0,0\n', var2= '131.253.4.131,1,0\n 131.253.7.54,1,0\n 10.80.5.3,1,0\n'; i need to convert like wise as below var1= '455,0,0,0,0 , 131.253.4.131,1,0\n … | |
I have two lists: list1 and list2 listing a set of files. For each file in list1 if a corresponding file exists in list2, I want the script to print the columns of common files. EX: list1............data1 1aw7_AB.fit => 1 2 3 1bjw_AB.fit => 9 4 7 1biq_AB.fit => 8 … | |
Hi, This is my first post in the forum. I got a situation where i have to find a file in a folder based on its extension and there by use the file name and contents of the file. Thanks for the reply. | |
Hi, My program does 2 functions i.e. a) It creates text files b) The text files gets copied to some other locations. The program is as below: [CODE] $n=5; #Count of files to be created. for($i=0;$i<=$n;$i++) { print "\n$i file is getting created \n"; open(FH,">file_$i.txt") || warn "cannot create a … | |
I'm trying to convert a bitstring to a signed 32 bit integer value. The bitstring is in big-endian. I can get this to work for unsigned values, I use: [CODE] sub bin2dec { return unpack("N", pack("B32", substr("0" x 32 . shift, -32))); } [/CODE] But I can't get it to … | |
Hello All, Could you please help me with the following VBA code that I have to understand (but I am not aware of VBA) [CODE]Public Function ErlangB(Servers As Single, Intensity As Single) As Single 'The Erlang B formula calculates the percentage likelyhood of the call ' being blocked, that is … | |
hi there is a problem in my sound device........ my system stops producing sound after every minute or two. and resumes after a while.and sometimes it stops for eternity and i have to log off . i have talked to lot of persons but nobody was able to even discribe … | |
Hi Everyone, I'm new the forum and also Newbie to Perl programming. Please go easy on me. Any help or input will be appreciated. Thanks so much. Ragards, Vincent. I have the following requirements that need to write in Perl. Sorry for the long sentences below. Also please see attached … | |
we were asked to create a calculator in java applet......My codes are working except for one thing....whenever I click the clear button, it only erases the first,second and the total sum.....it does not clear the total difference, total product and total quotient....please help me what to do?...... here is the … | |
Hi everyone.. I am trying to write a perl code which appends a text file after taking two inputs from the user. It saves the file in tab delimited format. I have the input text file attached here. Now I want the file to check if the user given input … | |
I am looking to learn best practices for working with strings. Two issues that I have with strncat are that it is difficult to calculate how much space to allow, and that there may not be a null character in the string after the procedure. So if I have two … | |
is there any way to access some hyperlink on another webpage? the problem is that link always changes. thanks :) | |
#================================== # Script: Finding and Replace word in excel # #======================================= use Spreadsheet::ParseExcel; use strict; use Win32::OLE; use warnings; use Cwd; use Win32::OLE qw(in with); use Win32::OLE::Const; use Win32::OLE::Const 'Microsoft Excel'; $Win32::OLE::Warn = 3; # die on errors... my $oExcel = new Spreadsheet::ParseExcel; my $oBook1 = $oExcel->Parse('path/find.xls'); my $Excel = … | |
My new Dell Latitude runs Windows 7 Professional. I previously worked under Win XP Pro. The previous (XP) machine was used as the development platform for a website, which mined a database using Perl scripts. I need to recreate this functionality on the new machine, but it appears that Perl … | |
Hi, I'm reading a file and trying to write it out with the current date in the file name. But I'm getting an error when trying to run this code[CODE]use D_Db; my $dbh = D_Db::connect('EDW'); my $Curr_dt=D_Dates::get_curr_ccyy_mm_dd({dbh=>$dbh}); my $sth4BobExt=$dbh->prepare("Select * from TableX"); $sth4BobExt->execute(); while ( my @BobExtrow = $sth4BobExt -> … | |
Hi Experts, Here i have trying and written the perl script for extract the information from csv file and create the output to another csv file. Contents are occured in row by row format in attached input file and also i have attached corresponding out file also. [CODE] my $dir … | |
I'm new to php mysql. i'm creating website for my community. help me out... My web page has one search page. user to feed few letters in the search box. it is proceesed and the result displaced in a table. here is my code [COLOR="Red"]for getting input : search.php[/COLOR] [CODE] … | |
[CODE]void printer(char x) { int d, b, z; for(z=x; z>=1; z--) { for(b=z; b<=x-1; b++) printf(" "); for(d=z; d>=1; d--) printf("%d ", d); printf("\n"); } }[/CODE] that's my code which is supposed to print 4 3 2 1 4 3 2 4 3 4 when input is 4. however, it … |
The End.