In my code I have a drop-down menu that redirects and sets a cookie. The value of one of the options selected is the following:
<option value="<isa:webappsURL name="/b2b/init.do"/>?shopId=COMPANY&<%= request.getQueryString() %>">United States</option>
Redirection works when...
Can I have more than one argument serve as the delimiter in the SPLIT method? Whenever I read about SPLIT, I read about passing one delimiter to it. However, I need to split a string on encountering both an "=" sign and a ";". Is there a way to do it?
Thanks
I have a JSP page with some embedded javascript. When the page loads, it tries to detect the presence of a cookie by means of the "if (document.cookie.length > 0)" javascript statement. The strange thing is that, without a cookie present, the "document.cookie.length" statement returns either...
I have a simple webpage to test the functionality of a cookie. THe user chooses an animal from the menu, and if the checkbox is selected, the cookie is written and the document loads another page. After the cookie is set, a ReadCookie function is called to redirect the user.
When I click on...
I have a main page where the user selects a chocolate maker from a drop-down menu, and checks the "Remember my selection" box to have the browser set a cookie. This page doesn't work. When I select a region and click on the submit button, I get a "The page cannot be displayed" page. I don't...
I have a page with a drop-down menu to select a region, and a check mark to allow the region to be remembered in future sessions.
When the user selects a region and clicks on "GO", the redirection works. If the user checks the "Remember my selection" box, a cookie is set, but redirection...
I have a cookie with a value that will control what page is loaded when the user types www.somesite.com.
Apart from:
PRINT "Location: $url \n\n"; and the
and
print $query->redirect($url),
is there any other way to load a page based on cookie value?
Thanks
Let's say I have an image of a rectangle on my page. Then I create a layer with the same dimensions of that rectangle, and position it exactly above the rectangle. I use Dreamweaver to create that layer and to make it visible only when the mouse cursor moves over the rectangle image.
When I...
What are the contents of the HTTP_Cookie environment variable if no cookie has been created? I want to start a script by testing whether a cookie exists or not.
Thanks
I have a dat file looking like this:
__________
Running totals:
Question 1: 60
Question 2: 123
Question 3: 99
Averages:
Question 1: 4.6
Question 2: 9.5
Question 3: 7.6
___________
I have a code to store the Running totals into a hash, such as the following:
my %hash; my $key; my $value...
I have created an executable file from a script written in PERL. I have put it in the SCRIPTS directory of INETPUB, as instructed by some websites. The SCRIPTS directory is configured to allow for the execution of EXE files. But whenever a user clicks on the submit button of a form (which is...
Total PERL newbie here.
Let's say I have a text file with the following:
count = 485
lookfeel = 3245
navigation = 6709
usability = 9976
detail = 8567
These are answers from a questionnaire. They are running totals. Every time a questionnaire is answered, I'd like to add to the count and to...
I have an animated gif file that, when opened individually through Internet Explorer, will animate correctly. However, when it appears in the context of a web page, it does not animate. It's only 2K big.
Does anyone know why this is so?
Thanks
I added a linked stylesheet defining font colors, font type and font size for a form. For some reason, though, my form's radio buttons now have borders around them. The text field, which before had a standard shadowed border, is now a plain rectangle. So my question is "Why have the form...
I have help file icons on my pages that, when clicked on, should open up a small window with the appropriate help text. How do link to pages that will open up in a specific size, and yet have a scroll bar?
Thanks
Complete newbie here...
I want to do an online photo album that's more like a presentation/movie, with music playing in the background and letter floating across the screen. I want the photos to change at specific points of the soundtrack. Is it possible to do this kind of synchronized...
I'm trying to get values entered into a JTextField. I have heard of using "Double.parseDouble(variable_name.getText())" to change the string into a double. Is there an equivalent method for changing the string into an int?
Thanks
I'm trying to assign values in the billion range to two LONG variables. The message I get from the compiler is:
"Integer number too large", in reference to the two large numbers I try to assign. Now, long integers can hold values much larger than the ones I'm trying to assign. So why am I...
I have an HP DLT Autoloader. In Backup Exec 9.1, when I click on SLOTS in the DEVICES tab, I see the tape slots, but they're now out of order!
Slot 4
Slot 1
Slot 2
Slot 5
Slot 6
Slot 3
Slot 8
Slot 7
This is the first time this happens, and I don't know how to correct it. I'm trying to remove...
Newbie here. I have the following simple program. The readChar() method, which reads in character values and returns the integer equivalent, is located in the tio package being imported. Yet the compiler keeps telling me:
cannot resolve symbol
symbol: method readChar ()
location: class...
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.