Catriona McCann

Greenhorn
+ Follow
since Aug 31, 2000
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
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 Catriona McCann

Hi,
I need to timeout out my application after a period of inactivity. However each page is made up of many iframes. I have used the tag:
<meta http-equiv="Refresh" content= " ; URL= "></meta>
The problem being: each iframe is treated seperatly i.e even if I am working in one iframe, the page still times out as i'm not using each of the iframes.
I tried putting the 'refresh' code into the main calling page only(which holds each of the iframes) but the same problem occures?!
Is there anyway I can prevent it from timing out if any of the iframes on the page as being used?!
Thanks in advance!
I have tried window.location.replace("URL"), but it still loads each URL into the History folder ?! Is there anything else I need to do/change?!
Hi,
I need to stop the URLS from a web application being saved to the history foler (IE).
I have tried setting all forms to have method='post', but for iframes populated using Javascript, or any hrefs seem to be saved into the history folder!
Any ideas?!
Thanks in advance
Thanks for the reply ! ...
The calling page is generated using an XSL style sheet where I display some results.. basically when the user clicks a certain button, I want to call a servlet which will generate new results . I then want to write these NEW results back to the origional page .... but not over write all of the previous data - just part of it ! ...??? !

Originally posted by sridhar satuloori:
I have an idea!! i donno how much useful it is... lemme try it
in doGet/doPost method instead of writing the output to PrintWriter/OutputStream, just buffer the output and send that info as part of the name/value pair in the ServletRequest object. if you have huge amount of data better write it to some file and send that file info through your request parameters.
Does the make any sense
Sridhar


22 years ago
Hi,
Is it possible to get a servlet to return the html it created, rather that writing it out to the browser itself ?? I want this servlet to update a div on the previous page ..???
Is this possible - if so - how ??
Thanks in advance !
22 years ago
Hi,
Is is possible to write to a layer (div) or any other element on the previous page, i.e get a hold on the previous document ?
If so - how ??
Thanks !!
Hi,
I am using frames in certain parts of my project. When calling error pages etc, I want them to take over the entire browser page, i.e not to load them into one of the frames. Is there javascript that I could place at the top of such HTML files to ensure they will always be loaded to the full browser page regarless of whether or not frames are being used ???
Thanks in advance !
Catriona.
Hi,
Hi,
Instead of having a log in page I need to authenticate and authorise the username and password using JAAS and get the u/name and p/word from the System that the user is already logged in to e.g Windows NT.
I think you do this in the LoginModule - login() but don't know how to access the systems username and password...Any examples I have seen use Callback handlers to prompt the user..
Any ideas ??
Thanks in advance.
22 years ago
Hi,
The problem is solved - the error was being caused because I had a submit button on my form (for testing purpuses). The name of this submit button was 'submit' . This conflics with a javascript built-in method causing the run time error!
Thanks
Catriona.
Hi,
I am trying to submit a form called 'newForm' from a javascript function by:
document.forms["newForm"].submit();
also by:
document.newForm.submit();
Both giving the runtime error:
"Object doesn't support this property or method"
All of this is within a style sheet ...
Any ideas ???
Thanks
Catriona.
Hi,
In my style sheet I create a form containing a table holding results from an XML file. I need to use the 'submit' functionality, but there is no 'submit' button on my form and no reason to have one displayed.
Is there any way I can use the submit functionality (to submit all my parameters from the form for later use ) WITHOUT having a 'submit' button ?
Any ideas ??
Thanks
Catriona.
Hi,
I am building a HTML table dynamically from XML using XSL. In this table I have popup menus (also populated dynamically - visible on mouse over).
The column names are the div names - this works fine if only one row in the table but if more than one row I get errors as multiple divs have the same name (id).
Is it possible to define a div for an entire column??
Any ideas ?
Catriona.
Hi,
I have a servlet whcih generates a screen in HTML using the out.println(" ") ... technique. In this HTML, I have a sumit button, on the action of that submit I want to call a method (which is within that same servlet) which would pull all information from the screen i.e using request.getParameter(). However I am having problems calling that method ... Is it possible to do this - if so .... how ??
Thanks !!!
Catriona.
22 years ago
Hi,
In my stylesheet I need to store values read from an XML file into an array. I then need to pass this array into a Javascript function.
Is this possible??
Hi,
I need to apply a style sheet to an XML document WITHIN a JSP ... I know the style sheet is correct as I have tested it in an XML/XSL editor. However the same XML/XSL will not work with the JSP.
Anyone have any ideas.. or examples...??
Thanks in advance !
C.
22 years ago