JSP and JAVAScript - dynamic content

2005-04-05 Thread Jörg Wiesmann
Hi @ all, i am trying to find a solution for the following problem: We want to show a website with different content without realoding the page. I tried to solve this problem with a combination of javascript and jsp, but i can not get it working. here the code i tried. I want to call the jsp

Re: JSP and JAVAScript - dynamic content

2005-04-05 Thread Francisco Manuel Martínez Suárez
[mailto:[EMAIL PROTECTED] Enviado el: martes, 05 de abril de 2005 7:49 Para: JSP-INTEREST@JAVA.SUN.COM Asunto: JSP and JAVAScript - dynamic content Hi @ all, i am trying to find a solution for the following problem: We want to show a website with different content without realoding the page. I tried

Re: JSP and JAVAScript - dynamic content

2005-04-05 Thread Jörg Wiesmann
Hi Fran, sorry, but that will not help me out. The changing issues are just changing on server-site and not through interaction with the client. The client / website do not know that something changed. That is why i tried to use a timer and query the server every 1000 ms. But the result is alway

Re: How to transfer information between JSP and Javascript?

2003-03-23 Thread jay halvorson
Not really a javascript guy, but how about using document.thisform.index.value++ instead of index++ . I believe index++ would be referencing a javascript variable local to the PageNext function. - Original Message - From: Edward King [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent

Re: How to transfer information between JSP and Javascript?

2003-03-23 Thread sathish
!-- function PageNext() { index++; document.thisform.submit(); } -- the function u have return in the javascript PageNext() is incrementing java variable so u need to add the tag like %index++%; again what will happen is every time it gets incremented while page gets load and u

Re: How to transfer information between JSP and Javascript?

2003-03-23 Thread Sandeep Kumar Agrawal, Noida
is getting re-loaded using PageNext() function. So a better solution will be to store the array on the page or in Session and access that array using Javascript without re-loading the page. Hope that helps. Regards, Sandeep -Original Message- From: sathish [mailto:[EMAIL PROTECTED] Sent: Monday

How to transfer information between JSP and Javascript?

2003-03-22 Thread Edward King
I have a question about transfer information between JSP and Javascript. I have a Vector variable,it has several values,such as Peter,John,Kate. I show it in the table and show one each time.I provide a link,when click this link,show next value.For example: first time show Peter,when I click

JSP to JavaScript error

2003-02-04 Thread Jan Arenö
Hi, this is a JSP/Javascript question I send a Oracle db Rowid between two pages. Since the Rowid can contain '+' char i use URLEncoder.encode. I have a link a href=javascript: nextPage('%=URLEncoder.encode(Rowid)%')Next page/a script function nextPage(rowid) { //Do some stuff... and end

Re: JSP to JavaScript error

2003-02-04 Thread Vikramjit Singh
PROTECTED] Subject: JSP to JavaScript error Hi, this is a JSP/Javascript question I send a Oracle db Rowid between two pages. Since the Rowid can contain '+' char i use URLEncoder.encode. I have a link a href=javascript: nextPage('%=URLEncoder.encode(Rowid)%')Next page/a script function nextPage

Re: JSP to JavaScript error

2003-02-04 Thread Vikramjit Singh
call the unescapeFields function to decode the field data JavaScript Source - // Function Name : escapeFields // Description : All spaces, punctuation, accented characters, and any // other non-ASCII characters are replaced with %xx // encoding, where xx is equivalent

Re: how to compare values in javascript

2002-12-26 Thread Deepak Rustagi
= and -Original Message- From: Abdul jeelani [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 26, 2002 11:01 AM To: [EMAIL PROTECTED] Subject: how to compare values in javascript Hi, I need to compare the selected value of a combo box with a string. I tried using

Re: how to compare values in javascript

2002-12-26 Thread Amit Ghaste
deepak a single = might work in vbscript but u need a == in javascript but I believe guatam gave the proper way of accesing value selected in the select list -Amit -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED

how to compare values in javascript

2002-12-25 Thread Abdul jeelani
Hi, I need to compare the selected value of a combo box with a string. I tried using == and !=, but it is not working correctly. can any body out there give me the correct the syntax. tnx, Abdul === To unsubscribe: mailto

Re: how to compare values in javascript

2002-12-25 Thread Amit Gautam
try document.formname.comboboxname.options[document.formname.comboboxname.select edIndex].value == xyz - Original Message - From: Abdul jeelani [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, December 26, 2002 11:01 AM Subject: how to compare values in javascript Hi, I need

Re: how to compare values in javascript

2002-12-25 Thread Amit Gautam
while defining the combo box, please use quotes to enclose the values of the options - Original Message - From: Amit Gautam [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, December 26, 2002 12:07 PM Subject: Re: how to compare values in javascript try

Re: JSP inside Javascript

2002-12-10 Thread Francisco Manuel Martínez Suárez
You can use the tags JSP wherever you need as it: script language=JavaScript //javascript sentences... % // JSP sentences. See the tags starting and ending the JSP code % // continue with JavaScript sentences /script But, remember... JSP is executed at ServerSide. Actually, when the page

Re: JSP inside Javascript

2002-12-09 Thread M. Simms
[mailto:[EMAIL PROTECTED]]On Behalf Of Richard Yee Sent: Monday, December 09, 2002 12:22 AM To: [EMAIL PROTECTED] Subject: Re: JSP inside Javascript Yes you can. You need to remember, however, that the JSP expression will be evaluated on the server before the page is rendered at the client

Re: JSP inside Javascript

2002-12-09 Thread Partha Ranjan Das
Hi, yes, you can do this . but be careful what will be the output from the jsp. Foe example, the following code can be used to generate a javascript(validating for the browser) from jsp. Regards, Partha script language=javascript var

JSP inside Javascript

2002-12-08 Thread Amit Gupta
Can we have JSP expression inside javascript? I have javascript which is generating tree structure but I want to have JSP expression inside the tree. If anybody knows how to put this I will appreciate if somebody forward me example or link. Thanx Amit

Re: JSP inside Javascript

2002-12-08 Thread Steven J. Owens
On Sun, Dec 08, 2002 at 10:11:39PM -0500, Amit Gupta wrote: Can we have JSP expression inside javascript? I have javascript which is generating tree structure but I want to have JSP expression inside the tree. If anybody knows how to put this I will appreciate if somebody forward me example

Re: JSP inside Javascript

2002-12-08 Thread Richard Yee
Yes you can. You need to remember, however, that the JSP expression will be evaluated on the server before the page is rendered at the client. The JSP expression should output valid JavaScript. Regards, Richard At 10:11 PM 12/8/2002 -0500, you wrote: Can we have JSP expression inside

Re: JSP inside Javascript

2002-12-08 Thread Vikramjit Singh
-Original Message- From: Amit Gupta [mailto:[EMAIL PROTECTED]] Sent: Monday, December 09, 2002 8:42 AM To: [EMAIL PROTECTED] Subject: JSP inside Javascript Can we have JSP expression inside javascript? I have javascript which is generating tree structure but I want to have JSP

Javascript and JSP

2002-10-28 Thread Wesley Choate
I am wanting to display a popup prompt using javascript to get a value, and then use this value in my JSP page. Is there anyway to do this? Thanks, Wesley Choate Programmer / Analyst Lavender Wyatt Systems, Inc. [EMAIL PROTECTED] 5805 West 12th Street Little Rock, AR 72204 (501)664-7039

Re: Javascript and JSP

2002-10-28 Thread Branden Root
Wesley, Given that Javascript is client-side, and JSP is server side, the only way to do this would be to submit the information (in a form perhaps) after the user hits the popup. On Monday, October 28, 2002, at 10:05 AM, Wesley Choate wrote: I am wanting to display a popup prompt

Javascript and JSP Question?

2002-10-15 Thread Daniel
Hi All, I have a Srting array Object String[] str = a.getCity(); //returns an array of City I have a Javascript Code here script language=javascript var arrCity = new Array(); for(i=0; i%=str.length%;i++) I want to put all the elements in the str array Object into arrCity Javascript array

Re: Javascript and JSP Question?

2002-10-15 Thread Giovanni Azua
(\, ); } else { sb.append(\); } } return sb.toString(); } % script language=javascript var arrCity = new Array(%=generateJavascriptArr()%); /script There you have it ;-) HTH, Best Regards, Giovanni -Original Message- From

Re: Javascript and JSP Question?

2002-10-15 Thread Harsha Sanjeewa
- Original Message - From: Daniel [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 15, 2002 3:39 PM Subject: Javascript and JSP Question? Hi All, I have a Srting array Object String[] str = a.getCity(); //returns an array of City I have a Javascript Code here

Cursor Control in JavaScript

2002-09-24 Thread Jagan K Samuel
hi, How can I set the cursor to a particular position using JavaScript?? Anyone having a clue? With Best Regards Jagan K Samuel === To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST. For digest

Re: Cursor Control in JavaScript

2002-09-24 Thread Sami Saul
This is a JSP Forum... Try this. document.all.OBJECT.style.cursor = wait; Works for IE. Sami Saul How can I set the cursor to a particular position using JavaScript?? Anyone having a clue? With Best Regards Jagan K Samuel

JavaScript and MS-Excel Application

2002-09-19 Thread Lakshmeenarayana G G
Hi all, How can I open MS-Excel application from JavaScript and populate the excel sheet. I want to do this on the client side without giving any request to server. If we are using activex object, then there is a problem in IE, if activex objects are disabled. Thanks. L G Goundalkar

Off Topic - forum for DHTML/ JavaScript

2002-09-17 Thread Aruniima Chakrabarti
Hi all, I am stuck on some JavaScript, DHTML - Behavior problems... Is there any email forums where I could write to... Thanks In advance Regards, aruniima This message contains privileged and confidential

Re: Off Topic - forum for DHTML/ JavaScript

2002-09-17 Thread Kesavanarayanan, Ramesh (Cognizant)
for DHTML/ JavaScript Hi all, I am stuck on some JavaScript, DHTML - Behavior problems... Is there any email forums where I could write to... Thanks In advance Regards, aruniima This message contains privileged

Re: A doubt on use Java within JavaScript: object javaObject of JavaScript.

2002-09-08 Thread Martin Gainty
ubt on use Java within JavaScript: object javaObject of JavaScript. Date: Sat, 7 Sep 2002 09:48:53 +0200 MIME-Version: 1.0 Received: from mc4-f4.law16.hotmail.com ([65.54.237.139]) by mc4-s17.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Sat, 7 Sep 2002 23:09:22 -0700 Received: from s

A doubt on use Java within JavaScript: object javaObject of JavaScript.

2002-09-07 Thread [EMAIL PROTECTED]
I would like create an object of any class written in Java for me, within JavaScript, but the sentence: var= new Package. Class ()inside a JavaScript code , which it create an object javaObject in JavaScript, only it operate me if Package it is a Package included in the JSDK. May

Why I can't transfer String Array variable into Javascript function in JSP?

2002-08-29 Thread Edward King
I have a JSP file,it include a Javascript,it follows: SCRIPT language=javascript !-- function display(message) { alert(message); } -- /script % String[] msg=new String[2]; msg[0]=Hello; msg[1]=world; % Then I transfer msg into Javascript,like follows: td width

Re: jsp javascript

2002-08-27 Thread Paul Copeland
Or just return a 204 HTTP Status Code and you don't have to go into the Hidden Frame stuff perhaps. Paul Copeland, JOT Object Technologies -- http://www.jotobjects.com Date:Fri, 23 Aug 2002 22:46:48 -0600 From:Walter Meyer [EMAIL PROTECTED] Subject: Re: jsp javascript

Re: jsp javascript

2002-08-27 Thread Martin Gainty
Most secure browsers requirethe appletto be signed..then you will have to have to acquire a Certificate which travels with the applet whichcontains avalid authenticatication leaseto aCertificate Server..The long and short is there are alot worse things than having Javascript enabled

Re: jsp javascript

2002-08-26 Thread Walter Meyer
trying to do. What happens after the data is sent to the server? Do you need to send data to the server without reloading the page? One way to send the data to the server would be to store the javascript array in a hidden form field and submit the form to the server. If the form is in an inline

Re: source javascript in JSP

2002-07-15 Thread Francisco Manuel Martínez Suárez
JavaScript only works at client side, I mean, when the page arrives to the browser. JSP works at the server, so you can, of course add JavaScript code in your JSP but it will be executed when the page gets rendered at the browser. To add JavaScript in JSP just add the html tags to do

source javascript in JSP

2002-07-12 Thread SUBSCRIBE JSP-INTEREST Lennie Gu
I know we can import external javascript in html pages. But I tried to import the javascript in JSP, it seems that it can't work. May I know is it posible to do it? how should I do it? I need the javascript to do some common input validations. Thanks

Re: source javascript in JSP

2002-07-12 Thread Hans Bergsten
SUBSCRIBE JSP-INTEREST Lennie Gu wrote: I know we can import external javascript in html pages. But I tried to import the javascript in JSP, it seems that it can't work. May I know is it posible to do it? how should I do it? I need the javascript to do some common input validations

How to buld up a link which opens a new window with JavaScript and invokes a Struts action simultaneously?

2002-07-02 Thread Michael Chelmowski
I have tried the following: html:link href=javascript:window.open('/queryList.do?action=top','Edtij0fm01','to olbar=yes,location=no,directories=no,status=yes,menubar=yes,scrollbars=y es,resizable=yes,copyhistory=no,,'); return false; onmouseover=window.status='Onderhouden Teksten bij

Re: tree structure in javascript

2002-06-21 Thread Villén Pizarro, Julia
Take a look here. http://www.dansteinman.com/dynduo/ Regards, Julia -Mensaje original- De: Kesav, Ramesh [mailto:[EMAIL PROTECTED]] Enviado el: jueves, 20 de junio de 2002 12:09 Para: [EMAIL PROTECTED] Asunto: tree structure in javascript Hi all, pardon me for this out of topic

Re: tree structure in javascript

2002-06-20 Thread James Yu
in javascript I have to implement Tree View using JSP. Here the Tree is bulit dynamically. How to go about this. Check out the TICL tag library, at http://www2.kobrix.com/index.jsp. It's free. I haven't used it on a live site, but installed it and played with it a bit on my local

Re: tree structure in javascript

2002-06-20 Thread Chen, Gin
depending on how much data you need to put into the treeview, alot of the javascript ones (havent tried the one from nostree) hog memory and take a LONG time to come up. this is the case for me when I have to show a tree structure that contains 10 years worth of data (about 1 row per month

off topic (form, javascript question)

2002-06-04 Thread sufi malak
I'm working on a form , they would like to provide an incentive to users to get them to fill out these forms. Can anyone suggest a way that a random user could get a message letting them know that they have won something (prize to be determined at a later time) this would probably occur monthly.

Re: off topic (form, javascript question)

2002-06-04 Thread Chen, Gin
javascript in a page. have a Math.random() into a percentage (from 1-100%) call that is checked against a range of percentages (maybe say the 10% of people win a prize?) and if it falls in that range.. do a window popup. -Tim -Original Message- From: sufi malak [mailto:[EMAIL PROTECTED

Re: off topic (form, javascript question)

2002-06-04 Thread Joseph Ottinger
Lie and tell every user they've won. It seems to work for some sites... From: sufi malak [EMAIL PROTECTED] I'm working on a form , they would like to provide an incentive to users to get them to fill out these forms. Can anyone suggest a way that a random user could get a message letting them

Re: off topic (form, javascript question)

2002-06-04 Thread Andy Engle
time) this would probably occur monthly. If I were designing this, I would have the JSP/servlet that is serving the page with the form on it to include some Javascript in the code that would alert the user of their winning when they complete the form. This way, you would be able to more closely

Re: off topic (form, javascript question)

2002-06-04 Thread sufi malak
: Re: off topic (form, javascript question) Date: Tue, 4 Jun 2002 14:35:04 -0700 sufi malak [EMAIL PROTECTED] wrote: I'm working on a form , they would like to provide an incentive to users to get them to fill out these forms. Can anyone suggest a way that a random user could get a message

u can not get COLSPAN in javascript

2002-05-23 Thread [Vaishali S. Pandya]
i have tried a lot and don't able to know colspan of mytd which is td id=mytd width=10% colspan=5 in alert(mytd.id) alert(mytd.width) alert(mytd.colspan) it gives me mytd 10% undefined Why? Vaishali Relience Ind Ltd A'bad

Re: u can not get COLSPAN in javascript

2002-05-23 Thread Francisco Manuel Martínez Suárez
. Pandya] [SMTP:[EMAIL PROTECTED]] Enviado el: jueves 23 de mayo de 2002 10:12 Para: [EMAIL PROTECTED] Asunto: u can not get COLSPAN in javascript i have tried a lot and don't able to know colspan of mytd which is td id=mytd width=10% colspan=5 in alert(mytd.id) alert(mytd.width

Re: u can not get COLSPAN in javascript

2002-05-23 Thread [Vaishali S. Pandya]
alert(document.all.mytd.getAttribute(colspan,true)) alert(document.all.mytd.getAttribute(width,true)) here too it gives me null in colspan when i gave it 8 and it shows the width 10% which is correct. i can't get colspan in javascript help Vaishali Relience Ind Ltd A'bad I

Re: u can not get COLSPAN in javascript

2002-05-23 Thread Matt Sims
about Java Server Pages specification and reference [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: u can not get COLSPAN in javascript Date: Thu, 23 May 2002 15:47:04 +0530 alert(document.all.mytd.getAttribute(colspan,true)) alert(document.all.mytd.getAttribute(width,true

Re: u can not get COLSPAN in javascript

2002-05-23 Thread LaPlante, Bryan
td/td /tr tr td/td td/td /tr /table -Original Message- From: [Vaishali S. Pandya] [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 23, 2002 4:12 AM To: [EMAIL PROTECTED] Subject: u can not get COLSPAN in javascript i have tried a lot and don't able to know colspan of mytd

Re: u can not get COLSPAN in javascript

2002-05-23 Thread Vaishali S. Pandya
] To: [EMAIL PROTECTED] Subject: Re: u can not get COLSPAN in javascript Date: Thu, 23 May 2002 15:47:04 +0530 alert(document.all.mytd.getAttribute(colspan,true)) alert(document.all.mytd.getAttribute(width,true)) here too it gives me null in colspan when i gave it 8

off topic ( javascript question ??

2002-05-20 Thread sufi malak
How to call a function in a function in javascripts : Here is what I did, but it does not work : script language=JavaScript function gotoFunction() { var parameter = form.emplyee.options[form.employee.selectedIndex].value; return parameter; } function faction(target

Re: off topic ( javascript question ??

2002-05-20 Thread Emmanuel Eze
] Subject: off topic ( javascript question ?? How to call a function in a function in javascripts : Here is what I did, but it does not work : script language=JavaScript function gotoFunction() { var parameter = form.emplyee.options[form.employee.selectedIndex].value; return

how to use javascript variable in html?

2002-05-17 Thread [Vaishali S. Pandya]
it with javascript or html itself? Answer will be appriciated ThankX in advance Vaishali RIL Ahm'd === To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST. For digest: mailto [EMAIL PROTECTED] with body: set

Re: how to use javascript variable in html?

2002-05-17 Thread [Vaishali S. Pandya]
Thanks Vaishali RIL Ahm'd in a javascript function function changeColspan( amt ) { myTD.colspan = amt; } from button: BUTTON onclick=changeColspan( 2 )Change to 2/BUTTON Of course you dont have to hardcode the 2 and you dont need a parameter amount. You can use a dynamic value or read

off topic (javascript :var from main to popup window)

2002-05-15 Thread sufi malak
I have main.jsp window that has a link : tda href=history.jsp?name=GoLive onMouseover=showtip(this,event,'Who took it!') onMouseout=hidetip()history/a/td And I want to popup a window history.jsp when clicking in the link. How to do it ? How to pass the variable name to history.jsp. thanks,

Re: off topic (javascript :var from main to popup window)

2002-05-15 Thread Bhushan_Bhangale
The most simple way is by defining a target in the href tag like this:- a href=history.jsp?name=GoLive target=_newhistory/a Other way is by using javascript window.open method: a href=JavaScript:window.open('history.jsp?name=GoLive', 'WindowName', 'directories=no,height=480,width=590,left=50

problem with javascript and jsp

2002-03-16 Thread [Your Full Name]
An: [EMAIL PROTECTED] Kopie: Blindkopie: Absender: [EMAIL PROTECTED] Thema: problem with javascript and jsp Hello to all, perhaps somebody has a useful hint ... The JSP-File f2_logon1.jsp invokes f2_logon2.jsp. When doing this, I need to change 4 HTML-frames simultaneously

Re: Have hash table in javascript?

2002-02-21 Thread BootedBear
Every array in javascript has characteristics of a hash table: var xyz = new Array(); xyz['this'] = 'that'; xyz['other'] = 'thing'; and so on. Is this what you are looking for? hth, bear At 11:57 AM 2/21/2002 +0700, you wrote: Have hash table in javascript? If it has, how deploy it thank

Have hash table in javascript?

2002-02-20 Thread teerapong
Have hash table in javascript? If it has, how deploy it thank you ==To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST. For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST. Some

Re: Javascript Clock

2002-02-12 Thread Ganszky, Balazs (GEL,NonGE,MSX)
Hungarian. -Original Message- From: Arnold Shore [mailto:[EMAIL PROTECTED]] Sent: Friday, February 08, 2002 18:41 To: [EMAIL PROTECTED] Subject: Re: Javascript Clock Dynamite! I've changed the arrays to English, but what language are the days/months? I don't recognize them

Re: Javascript Clock

2002-02-08 Thread Arnold Shore
Dynamite! I've changed the arrays to English, but what language are the days/months? I don't recognize them. Arnold Shore Annapolis, MD USA -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Ganszky,

Re: Javascript Clock

2002-02-08 Thread Joe Cheng
That was seriously off topic, but really cool nonetheless... Kind of irritating to cut and paste that HTML though. I've posted it here instead: http://www.joecheng.com/clock.html -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL

Re: Javascript Clock

2002-02-08 Thread horwat
a website like you've done. Justy jsp-interest list moderator - Original Message - From: Joe Cheng [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, February 08, 2002 12:15 PM Subject: Re: Javascript Clock That was seriously off topic, but really cool nonetheless... Kind

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

Re: Off topic: Javascript list and debugger

2002-01-29 Thread E. Michael Akerman
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 find a good javascript list and a good

Re: Tag libs, JavaScript, XML

2002-01-14 Thread Henry Friedberg
Hi, Try using TICL (http://www.kobrix.com). It's got custom tags for creating DHTML menus. Cheers, Henry === To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST. For digest: mailto [EMAIL PROTECTED]

Tag libs, JavaScript, XML

2002-01-03 Thread Joe Blow
Hello everyone, I'm trying to merge the code accompanied by following articles http://developer.java.sun.com/servlet/PrintPageServlet?url=http%3A//developer.java.sun.com/developer/technicalArticles/javaserverpages/jsp_templates/ and

instead of javascript

2001-12-26 Thread Eric Cho
Hi all, is there a way to have a confirmation box popup confirming your click. An "ok" would bring the user to another page and a "cancel" will keep the user where they are at? I would like to avoid javascript so if you have a method in jsp, that wou

Re: instead of javascript

2001-12-26 Thread Arnold Shore
JSP is a server-side facility - you want a client-side thing, so JavaScript is really the only reasonable way way to go. Arnold Shore Annapolis, MD USA -Original Message-From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED

Re: instead of javascript

2001-12-26 Thread Ashwani Kalra
/ ~~ -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Eric Cho Sent: Thursday, December 27, 2001 3:55 AM To: [EMAIL PROTECTED] Subject: instead of javascript Hi all, is there a way to have a confirmation box popup

Re: instead of javascript

2001-12-26 Thread Ashwani Kalra
I am sorry please read javascript instead of jsp scriplet -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Ashwani Kalra Sent: Thursday, December 27, 2001 9:37 AM To: [EMAIL PROTECTED] Subject: Re: instead

Re: instead of javascript

2001-12-26 Thread ShriKant Vashishtha
JavaScript method is the reasonable and desired solution as it serves the desired purpose on the client side only. In JSP it is always advisable to have as less amount of Java code confirming the MVC pattern. I don't find any reason to do it on server side. A mailing list about Java Server

JavaScript - Java communication problem.

2001-12-06 Thread Lim, Joshua M (VisualTron Business Development)
, I did this: at the end of the page, execute a javascript statement: document.SearchApplet.search(0,1,''); However, in some PCs, javascript error occurs (Does not supplort the property). This is because the javascript is executed before the applet is fully loaded. So, I added a javscript function

JSP in Javascript...

2001-12-04 Thread Praveen Potineni
Hi All,Can we use JSP in javascript. Because i'm trying to dynamically generate treemenu and i would like to pass the values using JSP.Example:var MTMenuText = "Site Contents:+%loginId%";menu.MTMAddItem(new MTMenuItem("%SiteName%","display.jsp","disp"

Re: JSP in Javascript...

2001-12-04 Thread Joe Cheng
yeah, should work fine. === To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST. For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST. Some relevant FAQs on JSP/Servlets can be found

Re: Using a JSP value in javascript

2001-12-04 Thread David Rice
Joe, Actually I did intend to say javascript. I mispoke myself in the body though (saying JSP instead of javascript in the last sentence... ;)), which confused the issue. What I meant to ask it how one can use jsp:request.getParameter() values in javascript, which I think has been answered

Re: JSP in Javascript...

2001-12-04 Thread Chen, Gin
[EMAIL PROTECTED]]Sent: Tuesday, December 04, 2001 11:54 AMTo: [EMAIL PROTECTED]Subject: JSP in Javascript... Hi All,Can we use JSP in javascript. Because i'm trying to dynamically generate treemenu and i would like to pass the values using JSP.Example:var MTMenuText = "Site Contents:

Re: JSP in Javascript...

2001-12-04 Thread Praveen Potineni
in Javascript... you forgot the = sign. The code should be: var MTMenuText = "Site Contents:+%=loginId%";menu.MTMAddItem(new MTMenuItem("%=SiteName%","display.jsp","disp", "Saturn details")); -Tim -Original Mess

Using a JSP value in javascript

2001-12-03 Thread David Rice
Still new to JSP--how would one use a variable derived from a request.getParameter() call in JSP? Thanks in advance for any help offered. Cheers, Dali === To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff

Re: Using a JSP value in javascript

2001-12-03 Thread Chen, Gin
script myvariable = %= request.getParameter(myparam) % /script Now the hard part is getting a javascript variable back to jsp. -Tim -Original Message- From: David Rice [mailto:[EMAIL PROTECTED]] Sent: Monday, December 03, 2001 2:55 PM To: [EMAIL PROTECTED] Subject: Using a JSP

Re: Using a JSP value in javascript

2001-12-03 Thread Joe Cheng
I don't know if you mean to say javascript in your subject line. But if you are looking to use request parameters in your JavaScript (which is client-side) then you can either do what Tim suggested or use JavaScript to retrieve the parameters directly. You'll need this JS file: http

help please(javascript)

2001-11-17 Thread Gochwal Meenu
We have two list boxes..list box 1 contains all the data from the system. On click of the button whatever data is selected from the list box 1 it moves to the list box 2. The data in the list box 1 is such that it also contains related data uptil n level of hierarchy displayed in the list box

Re: how to embed Javascript in Jsp?

2001-11-15 Thread Joe Cheng
but then I can not hide the Javascript file, I saw a website has floating object, I knew it is running Javascript, but can see it in Soure menul in brower, but frame somthing, just wondering how this web guy hide the javascript. I guess this guy program javascript run at server side

Re: how to embed Javascript in Jsp?

2001-11-14 Thread Noble Long
{ color: #FF; font-size: 8pt; font-weight: normal; font-family: Times New Roman, Times, serif} -- /style /head body bgcolor=#FF script language=JavaScript function doRefresh(theFilter) { var QS; QS = ItemsGrid.jsp?ActiveOnly= + document.cbform.cbUseActive.checked + filter

Re: how to embed Javascript in Jsp?

2001-11-14 Thread Miao, Franco CAWS:EX
but then I can not hide the Javascript file, I saw a website has floating object, I knew it is running Javascript, but can see it in Soure menul in brower, but frame somthing, just wondering how this web guy hide the javascript. I guess this guy program javascript run at server side

Re: how to embed Javascript in Jsp?

2001-11-14 Thread Chris Tucker
There was a long discussion on this a while ago in this list which went into some detail about this whole issue. In fact, reviewing it, you were involved in the discussion! Basically, your JavaScript has to go, in source form, to the browser (i.e. the client) because it is a client-side

Re: how to embed Javascript in Jsp?

2001-11-14 Thread Noble Long
to embed Javascript in Jsp? but then I can not hide the Javascript file, I saw a website has floating object, I knew it is running Javascript, but can see it in Soure menul in brower, but frame somthing, just wondering how this web guy hide the javascript. I guess this guy program

how to embed Javascript in Jsp?

2001-11-13 Thread Miao, Franco CAWS:EX
Basically I would like to put javascript file .js inside %%, just don't know the syntax. thanks! Franco === To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST. For digest: mailto [EMAIL

Re: hide JavaScript ?

2001-10-28 Thread Miao, Franco CAWS:EX
Hi Dwacon, do you have the web link, so I can download one to try, thanks! Franco -Original Message- From: Conyers, Dwayne [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 25, 2001 2:59 PM To: [EMAIL PROTECTED] Subject: Re: hide JavaScript ? There was a tool on the MSDN site

Javascript grammer help?

2001-10-28 Thread Miao, Franco CAWS:EX
The following sentence works fine in Javascript if ((ch = a ch = z) || (ch = A ch = Z ) ) but if I change to : if ((ch = a ch = z) || (ch = A ch = Z ) || (ch = 0 ch = 9 )) The (ch = 0 ch = 9 ) part won't functioning. Franco

Re: Javascript grammer help?

2001-10-28 Thread Pete Freitag
:[EMAIL PROTECTED]]On Behalf Of Miao, Franco CAWS:EX Sent: Sunday, October 28, 2001 7:00 PM To: [EMAIL PROTECTED] Subject: Javascript grammer help? The following sentence works fine in Javascript if ((ch = a ch = z) || (ch = A ch = Z ) ) but if I change to : if ((ch = a ch = z) || (ch = A ch = Z

Re: Javascript grammer help?

2001-10-28 Thread Miao, Franco CAWS:EX
have you tried a, A, 1 for fild input? it only accept a, A, not 1. Franco -Original Message- From: Pete Freitag [mailto:[EMAIL PROTECTED]] Sent: Sunday, October 28, 2001 4:43 PM To: [EMAIL PROTECTED] Subject: Re: Javascript grammer help? It worked fine for me on IE 5.5, I just

Re: hide JavaScript ?

2001-10-27 Thread Sebastian Schulz
language=javascript src=js.jsp /script -js.jsp code % if (pageContext.getAttribute(session.getId()+callJs)==null) return; % function xx(){ } % pageContext.removeAttribute(session.getId()+callJs); % --end

Re: hide JavaScript ?

2001-10-27 Thread Conyers, Dwayne
There was a tool on the MSDN site that claimed to allow encryption of Jscript. I tried it. It didn't work. Or maybe it was just me... Dwacon http://www.dwacon.com === To unsubscribe: mailto [EMAIL PROTECTED] with body:

  1   2   3   4   5   >