Re: lists won't get refreshed?!

2002-08-19 Thread Peter Claesson (EUS)
It sounds like you are retrieving a cached page. Are you using any cache parameter to ensure that page is not cached, or a unigue URL paramter (e.g. timestamp). /Peter -Original Message- From: Fabian Sommer [mailto:[EMAIL PROTECTED]] Sent: Monday, August 19, 2002 6:44 AM To: [EMAIL PROTE

Re: RadioButtons

2002-05-29 Thread Peter Claesson (EUS)
Is the calculation started by submitting a form? or do you expect dynamic HTML update? The first is handled through "regular" JSP. The second you need to complement the calculated value with dynamic HTML, or DOM. Maybe you can elaborate some... /Peter -Original Message- From: Elahi, Ei

Re: off topic ( How to refresh opener window ) ??

2002-05-23 Thread Peter Claesson (EUS)
I'm not 100% sure of the syntax but you can at any time refresh the opener page by top.opener.top.location.reload; This refers to the top of the child window (in case you have a frameset), the opener of that top window, then the top window in the opener, and then the regular location.reload. Ho

Re: disable back button

2002-05-03 Thread Peter Claesson (EUS)
Using javascript: e.g. var params = "location=no,status=no,toolbar=no,menubar=no,scrollbars=no,resizable=yes,width=200,height=300"; window.open( "http://www.yahoo.com";, "", params); /Peter -Original Message- From: LUIS BARRERA [mailto:[EMAIL PROTECTED]] Sent: Friday,

Re: Junk in JSP files with Japanese

2002-03-12 Thread Peter Claesson (EUS)
It could be related to encoding, missing fonts, or something else. Could you post one of the JSP pages that gives you this problem. /Peter -Original Message- From: Jatin Taneja [mailto:[EMAIL PROTECTED]] Sent: Saturday, August 12, 2000 11:15 AM To: [EMAIL PROTECTED] Subject: Junk in JSP

Re: Jsp Parameters [Urgent!]

2002-03-11 Thread Peter Claesson (EUS)
Nancy, Does the user enter the userid and password in the valida.jsp? If so, then it is safe to use javascript to pass the information to another jsp page. Both what Gar and I suggest would work. The ony other thing is how much you want to shield jsp pages from functions in other jsp pages. This

Re: Jsp Parameters [Urgent!]

2002-03-11 Thread Peter Claesson (EUS)
If you don't want to use the session object, then you could use javascript on the client side. The simpliest form is just to call a function residing in the left.jsp page. Name the window you open and the frame you target and then later when you navigate to the frame (window), use the name. Yo

Re: images disabled

2002-03-05 Thread Peter Claesson (EUS)
There is no way for you to prevent people from copying your images. If you want them to be seen, then they will be downloaded to the browser. Hence available in the cache. Disabling IE context menus still doesn't disable the cache. The only option I can think of is to imprint into the images yo

Re: Leaving the JSP page

2002-03-01 Thread Peter Claesson (EUS)
Yes, the event is called onUnload. Check out the DHTML spec for more info. /Peter -Original Message- From: John Vanderbrook [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 28, 2002 2:57 PM To: [EMAIL PROTECTED] Subject: Re: Leaving the JSP page BTW, is there a single JavaScript eve

Re: Browser Closed

2002-02-27 Thread Peter Claesson (EUS)
One way is to have a poller function in the client, which polls the server at a certain interval. On the server to can listen for this poller and if it doens't come within a specified interval, invalidate the session. /Peter -Original Message- From: sanjib B [mailto:[EMAIL PROTECTED]] S

Re: dynamically generated anchor tags

2002-02-15 Thread Peter Claesson (EUS)
AM To: [EMAIL PROTECTED] Subject: Re: dynamically generated anchor tags No, I'm not. But I could. What do you propose? I'm not that familiar with the HTML side of JSP. > -Original Message----- > From: Peter Claesson (EUS) [mailto:[EMAIL PROTECTED]] > Sent: Friday, Februa

Re: dynamically generated anchor tags

2002-02-15 Thread Peter Claesson (EUS)
This sounds like it might be a caching issue. Are you taking any measure to prevent the page from being cached? /Peter -Original Message- From: Jay Wright [mailto:[EMAIL PROTECTED]] Sent: Friday, February 15, 2002 9:36 AM To: [EMAIL PROTECTED] Subject: dynamically generated anchor tags

Re: reading text file ?

2002-02-14 Thread Peter Claesson (EUS)
How do you determine end of line? I could simply be a Unix vs Dos for format. E.g. CR vs CR+LF. /Peter -Original Message- From: sufi malak [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 14, 2002 12:18 PM To: [EMAIL PROTECTED] Subject: Re: reading text file ? I tried trim(), but it

Re: JAVASRIPT FUNCTION

2002-02-14 Thread Peter Claesson (EUS)
One way to accomplish this is, in the window trap window.onBlur. Once this happens just reset the focus using windows.focus. /Peter -Original Message- From: Richie Bab A. Boyboy [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 13, 2002 6:05 PM To: [EMAIL PROTECTED] Subject: JAVASRIPT

Re: Object garbage collected

2002-02-12 Thread Peter Claesson (EUS)
From: Hans Bergsten [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 12, 2002 3:45 PM To: [EMAIL PROTECTED] Subject: Re: Object garbage collected Peter Claesson (EUS) wrote: > Very true. Not having access to the actual code is very limiting. I took your > suggestion and started lookin

Re: Object garbage collected

2002-02-12 Thread Peter Claesson (EUS)
garbage collected Peter Claesson (EUS) wrote: > I've continued to isolate and have found that the session Bean that I'm supposed > to have is somehow lost. I added a finalizer method to the bean class. What I see > throgh my debugging is that I get the session bean instantiated.

Re: Object garbage collected

2002-02-12 Thread Peter Claesson (EUS)
t; + this); } } /Peter > -Original Message- > From: Peter Claesson (EUS) > Sent: Tuesday, February 12, 2002 12:31 PM > To: [EMAIL PROTECTED] > Subject: Object garbage collected > > Hi, > > I'm having a problem which I don't understand

Object garbage collected

2002-02-12 Thread Peter Claesson (EUS)
> Hi, > > I'm having a problem which I don't understand how it happens, nor do I know > how to continue isolating it. Let me try to explain the problem. > > I have a customer application running in IE. I also have a call center application, > an Windows MDC app with IE browser objects embedded. Th

Re: JSP-INTEREST Digest - 5 Feb 2002 to 6 Feb 2002 (#2002-37)

2002-02-07 Thread Peter Claesson (EUS)
Javascript works great when it comes to dynamic contents. We heavily use javascript to download dynamic contents. However, when it comes a a browser or page reload, then that's a different situation. We haven't found ways around the page reload when it comes to contents. I'm not sure how you plan

Re: simple question please

2002-02-04 Thread Peter Claesson (EUS)
Try using single quote for the inner string and double quote for the outer string. Reenter IP Address /Peter -Original Message- From: sufi malak [mailto:[EMAIL PROTECTED]] Sent: Monday, February 04, 2002 10:38 AM To: [EMAIL PROTECTED] Subject: Re: simple question please No, it does n

Re: Looking for a little help

2002-01-30 Thread Peter Claesson (EUS)
Title: RE: Looking for a little help You can add a URL parameter that states the bookmarked URL the user was accessing. In the login page, after the user been succesfully authenticated, redirect them the the bookmarked URL using the URL parameter, and if it doesn't exist, redirect them to a s

Off topic: Javascript list and debugger

2002-01-29 Thread Peter Claesson (EUS)
Title: Off topic: Javascript list and debugger This is an off topic issue, but I'm getting desperate. Sorry to inconvenience most of you. I'm started lately getting exceptions thrown in my javascript. The javascript complements the server side java/jsp. I've exhausted my ideas. Where can I fin

Re: Getting JSPs to recompile in Tomcat 4.0

2002-01-18 Thread Peter Claesson (EUS)
Title: RE: Getting JSPs to recompile in Tomcat 4.0 Tomcat will create a working directory called localhost_8080 (if you use port 8080). Find that directory and delete. This will cause Tomcat to recompile your jsp pages. /Peter -Original Message- From: Means, Garann R. [mailto:[EMAI

Re: How to use Different Fonts

2002-01-18 Thread Peter Claesson (EUS)
Title: RE: How to use Different Fonts In your font tag, you can specify a number of fonts to use. The first font found (in the list) is the being used. E.g. This example looks for a font supporting Thai. Of course, you can use style sheets if you want. /Peter -Original Message-

setContentType

2002-01-18 Thread Peter Claesson (EUS)
Title: setContentType I have this piece of code that sets the content type dynimically in the jsp file. It compiles and runs. My question is, how is this information sent to the client? I do not see an HTML tag generated, but when I check the encoding in the client, it has the correct encoding

Re: Difference between html meta tag and jsp page directive

2002-01-11 Thread Peter Claesson (EUS)
Title: RE: Difference between html meta tag and jsp page directive Great. I wasn't aware of the setContentType method. If I take this approach, would it cause problems if I remove all characterset info,using the page directive, from my jsp pages and instead insert a bean, which sole function i

Difference between html meta tag and jsp page directive

2002-01-10 Thread Peter Claesson (EUS)
Title: Difference between html meta tag and jsp page directive What is the difference of specifying a characterset in the page directive compared to the html meta tag. The reason is that I want to define the character set at run-time using a configuration file. <%@page contentType="text/

Reusing or replacing a session object??!!

2002-01-08 Thread Peter Claesson (EUS)
Title: Reusing or replacing a session object??!! I have a question/problem related to the session object, which I hope I can get some help with. The problem is as follows. A user accesses the application for the first time. The initial JSP page uses a bean to create the top object in the ap

Re: xml loading ?

2002-01-02 Thread Peter Claesson (EUS)
One option is to use the onload method in the body tag. For example,   /Peter     -Original Message-From: Kam Premkumar [mailto:[EMAIL PROTECTED]]Sent: Wednesday, January 02, 2002 11:43 AMTo: [EMAIL PROTECTED]Subject: xml loading ? All, I try to display an xml through xsl in the b

Null Pointer handling in bean

2001-09-21 Thread Peter Claesson (EUS)
Title: Null Pointer handling in bean I have a dilemma. The application I'm working on depends on a poller mechanism being active on the client browser. This works fine, even the timeout on the server for detecting if the poller stops. The problem arises when the client hits the Browser Stop b

Re: Is there anyway to disable the getForcus and inout for textbo x entry?

2001-09-21 Thread Peter Claesson (EUS)
Title: RE: Is there anyway to disable the getForcus and inout for textbox entry? Use javascript to accomplish this. For example, removes focus from the text box as soon as the user tries to put the cursor there. /Peter -Original Message- From: Richard Yee [mailto:[EMAIL PROTEC

JSP Page directive vs HTML META tag

2001-08-16 Thread Peter Claesson (EUS)
Title: JSP Page directive vs HTML META tag Is the JSP Page directive, more specifically, <%@page contentType="text/html; charset=tis-620"%> be equivalent and substitutable with HTML tag The reason for asking is that I need to use Thai characters for all platforms, Windows, Unix, and Mac.

Thai character set, windows-874 vs tis-620

2001-08-15 Thread Peter Claesson (EUS)
Title: Thai character set, windows-874 vs tis-620 I have this jsp application that needs to support thai characters. After being in contact with the ServletExec people, I was recommended to use characterset windows-874 in the jsp pages and use code pages Cp874 on the server. This all works

Re: Thai character encoding using ServletExec

2001-08-01 Thread Peter Claesson (EUS)
Title: RE: Thai character encoding using ServletExec Thanks Prashant for your input. I tried it but wasn't successful. It could be due to incorrect syntax. This is what I used in server.properties servletexec.request.params.charset=TIS620 For the JSp pages I used: <%@page contentType="