Re: Passing param to a included file in a JSP

2000-08-04 Thread Caspar van Vroonhoven
funy, how I just asked and answered that question myself..: <%@ include file="/path/file.html?var1=name1 etc etc" %> DOES NOT work.. Works fine (!) For nicer-looking code, one can use the jsp:param statements insinde the include tag... regards, Caspar van Vroonhoven www.tradingcars.com Amst

Re: Import Error

2000-08-04 Thread Sergey A. Vorobiev
Hi! George Varghese wrote: > > our jsp files deployed under sun's javaserver 2.0 (evaluation version) are > not able to import the javax.xml.parsers.*, org.w3c.dom.*, org.xml.sax.* > packages etc... > our java classes have no problem in finding them. > there seems to be no such settings for javas

Re: Question about the <%@ include %> directive

2000-08-04 Thread Flak DiNenno
Sure, try passing http parameters to it "/> "/> Flak DiNenno Director of Technical Innovation -- ClearCross 505 8th Avenue Suite 1500 New York, NY 10018 (212) 714-0440 ext. 3616 (212) 967-4623 fax (ClearCross was formerly known as S

trouble with startup.bat

2000-08-04 Thread Erwan TROEL
When i click on the startup.bat to run tomcat i have this message: "commande ou nom de fichier incorrect" what does it mean? === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs o

Re: Passing param to a included file in a JSP

2000-08-04 Thread Flak DiNenno
e.g. "/> As you can see, the variable you pass to the included JSP, could have been a HTTP param that was passed to this page, so you can just pass it along to the next. Flak DiNenno Director of Technical Innovation -- ClearCross

minutes ,seconds????

2000-08-04 Thread subramanian Athimoolam
hi in jsp some methode getMinutes, getHours its not working why? subu Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com === To

Re: trouble with startup.bat

2000-08-04 Thread Sergey A. Vorobiev
Hi! Erwan TROEL wrote: > > When i click on the startup.bat to run tomcat i have > this message: > "commande ou nom de fichier incorrect" what does it mean? Could you please translate it into English? -- Regards, Sergey Vorobiev ==

Re: interesting one, 200 concurent users, large resultstes

2000-08-04 Thread Sergey A. Vorobiev
JSP Insider wrote: > > NO, Limit is not standard, I wish it was > > However, it is begining to make its way into more and more databases, I am > not sure if it is making in with the same format across the databases. > > Casey Kochmer > [EMAIL PROTECTED] > > >From: Donald Vandenbeld <[EMAIL PRO

JSP thread-safe

2000-08-04 Thread Panagiotis Konstantinidis
By default servlets generated from JSP pages are thread-safe. I guess that this means that the servlets generated implement the SingleThreadModel. My question is if requests to the same page will be serialized thus decreasing site performance. And what if I don't compile JSP pages with

Start

2000-08-04 Thread Zeeshan Mansoor
Hi All. I'm going to start JSP. So, wut should I do if there is Java Web Server 2.0 is installed at server. If the name of server is "ABC" & I have a share in 'Servlets' folder of JWS & there is a file 'XYZ.jsp' in that folder then wut should I do to execute JSP file. ___

MD5 Hash

2000-08-04 Thread Risto Reinpold
Hi, How can I calculate md5 hash of String in Java. Thanks, Risto === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/pr

jsp-bean

2000-08-04 Thread Deepak Arora
Hi friends i am trying to acess a bean from my jsp pages i have placed my jsp pages & bean in public_html directory of weblogic but my jsp pages are not able to locate the class file is there any other directory where i should keep the class files i am also unclear about id and class attributes o

Re: MD5 Hash

2000-08-04 Thread Matthews,Paul
http://sariel.miyako.co.jp/~uni/MD5.html http://www.best.com/~quong/java/ both have ports of the rsa c stuff there is also a sun version com.sun.server.admin.toolkit.security.MD5 but i don't know where I got it from regards, paul

trouble with startup.bat

2000-08-04 Thread Erwan TROEL
When i click on the startup.bat to run tomcat i have > this message: > "command or file name incorrect" what does it mean? === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on

Re: trouble with startup.bat

2000-08-04 Thread Veronique Dupierris
It means : Command or File not found the startup.bat file just call the tomcat.bat file ... Are you sure you didn't copy the startup.bat file without modifying the path to point also to tomcat directory. If No, it may be in the tomcat.bat file Regards Veronique "Sergey A. Vorobi

OLE DB drivers for Java ?

2000-08-04 Thread Franck Rageade
Dear JSP gurus, I tried to use ODBC JDBC drivers to upload a blob in a SQL Server database. Unfortunately, I got the error message : java.sql.SQLException: [Microsoft][ODBC SQL Server Driver]Optional feature not implemented A friend of mine suggested me to use an OLE DB provider inste

Re: trouble with startup.bat

2000-08-04 Thread Joost Verhagen
it probably means you don't have the java executable in your path. > -Original Message- > From: Erwan TROEL [mailto:[EMAIL PROTECTED]] > Sent: vrijdag 4 augustus 2000 9:30 > To: [EMAIL PROTECTED] > Subject: trouble with startup.bat > > > When i click on the startup.bat to run tomcat i hav

Re: static initialiser block in JSP page

2000-08-04 Thread Dowd, Brian
I think your right, I was initially going the other route because a lot of the JSPs are not *mine* and I needed to make the minimum of changes to the system, but this is better. Cheers. > -Original Message- > From: Oren Klichevsky [SMTP:[EMAIL PROTECTED]] > Sent: 03 August 2000 18:44 > T

Re: MD5 Hash

2000-08-04 Thread Matthews,Paul
Oh yeah, and there's also java.security.MessageDigest === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs on JSP/Servlets can be found at: http://java.sun.com/products/jsp/faq.

Re: trouble with startup.bat

2000-08-04 Thread Matthews,Paul
don't click on it in explorer- it won't have the correct working directory try starting it from a dos prompt regards, paul > -Original Message- > From: Erwan TROEL [mailto:[EMAIL PROTECTED]] > Sent: 04 August 2000 09:26 > To: [EMAIL PROTECTED] > Subject: trouble with startup.bat > > > W

Re: OLE DB drivers for Java ?

2000-08-04 Thread Flak DiNenno
I know that Jbuilder 3.5 has a pure JDBC Type IV driver (JBDCKona) for MS SQL Server 6.5 & 7.0. This driver should support blobs. Flak DiNenno Director of Technical Innovation -- ClearCross 505 8th Avenue Suite 1500 New York, NY 10018 (212) 714-0440 ext. 3616 (212

Re: static initialiser block in JSP page

2000-08-04 Thread Dowd, Brian
But surely a Java Bean can't be a singleton (in our typical usage of the word), because it must have a public default constructor, and calling on it will not allow you to call the static XBean.getInstance() method ? Doesn't making it application scope have the same effect ? > -Original Mess

Re: Passing param to a included file in a JSP

2000-08-04 Thread Dowd, Brian
The easiest way (I've found) is through the implicit request object then in somefile.jsp: <% String name = (String) request.getParameter("arg1"); %> > -Original Message- > From: Saket Raizda [SMTP:[EMAIL PROTECTED]] > Sent: 04 August 2000 01:58 > To: [EMAIL PROTECTED] > Su

How can I run the Tomcat statup.bat at the login screen?

2000-08-04 Thread Oscar Silván
I have instaled Tomcat-Apache on Windows NT 4.0 Server with Service Pack 6. I Run Apache as a service. Does any one know how can I run the Tomcat statup.bat at the login screen?. that is, before any one logs in the computer. Thanks to all... Oscar Silván Oró Globaliza Network, S.A. Telf.: 91 3

Re: jsp-bean

2000-08-04 Thread Jens Melzer
You must place your bean in the serverclasses directory! Jens -Original Message- From: Deepak Arora [mailto:[EMAIL PROTECTED]] Sent: Friday, August 04, 2000 10:28 AM To: [EMAIL PROTECTED] Subject: jsp-bean Hi friends i am trying to acess a bean from my jsp pages i have placed my jsp pa

Fw: How can I run the Tomcat statup.bat at the login screen?

2000-08-04 Thread Oscar Silván
I have instaled Tomcat-Apache on Windows NT 4.0 Server with Service Pack 6. I Run Apache as a service. Does any one know how can I run the Tomcat statup.bat at the login screen?. that is, before any one logs in the computer. Thanks to all... > Oscar Silván Oró > Globaliza Network, S.A. > Tel

Re: Passing param to a included file in a JSP

2000-08-04 Thread Dowd, Brian
Actually, you don't even need to do this if it is already part of the current request it automatically gets passed to the request of jsp:included files as well So you will need param1 below, but not param2 (it'll already be in the request params). Brian. > -Original Message- > From:

Runtime classpath, repositories and dynamic class loading

2000-08-04 Thread Matt Wilson
This one again! I've got a problem that I have tried to solve by looking thro' all the archive's of this list. I have the following class path set for JServ, Apache on Linux. /usr/local/apache/libexec/ApacheJServ.jar /usr/local/jsdk/lib/jsdk.jar /usr/local/jdk1.2.2/lib/tools.jar /usr/local/jserv/l

Re: OLE DB drivers for Java ?

2000-08-04 Thread Suriya Narayan Varatharajan
hi all ... i want to know clear cut idea... about... 4 type of driver... i used only JDBC-ODBC.. and thin driver... well...if anybody know about other drive mail me yaar... as well as i want to know... which suituation we have to use which driver... looking forward for ur answer thanks in advance

using any crypt algorithms in JSP

2000-08-04 Thread Ionel Condor
Hi, For all that want to use some crypt algorithms in your Java applications (JSP) I have found an interesting site: http://www.cryptocd.net/cryptocd/ Hope it helps. Have a nice day, Ionel CONDOR. === To unsubscribe: mailto

Re: minutes ,seconds????

2000-08-04 Thread Ionel Condor
Hi, If you refer to the methods of the java.util.Date class, they are deprecated (considerate old), since it is encouraged the use of the java.util.Calendar class or better the java.util.GregorianCalendar. If you refer to the methods of java.sql.Date class, they are deprecated because an SQL JDBC

Re: OLE DB drivers for Java ?

2000-08-04 Thread Ionel Condor
Hi, A solution is to use the JDBC driver provided by Bea: http://www.bea.com/products/weblogic/drivers_platforms.html Regards, Ionel CONDOR. Franck Rageade wrote: > Dear JSP gurus, > > I tried to use ODBC JDBC drivers to upload a blob in a SQL Server database. >Unfortunately, I got the er

Re: MD5 Hash

2000-08-04 Thread Ionel Condor
Here is the code for the two classes, owned by Sun Microsystems: 1. class MD5.java /* * @(#)MD5.java 1.9 95/08/07 * * Copyright (c) 1994 Sun Microsystems, Inc. All Rights Reserved. * * Permission to use, copy, modify, and distribute this software * and its documentation for NON-COMMERCIAL p

Session Tracking

2000-08-04 Thread [Malcolm Burlington]
Hi, I'm trying to set up a few simple JSP pages as follows: Login screen: Enter username + pswd and validate. Once validated redirect to Update screen where database fields can be viewed/updated. I don't want anybody to be able to access the Update screen without having first been validated in

Jserv

2000-08-04 Thread Marcelo Mayworm
Does anybody know if Jserv works with servlet api 2.1 or 2.2? Thanks Marcelo de Mattos Mayworm Java 1.1 Programmer Brainbench Certification BL Informatica Tel.: 0xx21 220-3642 0xx24 9901-2929 [EMAIL PROTECTED] [EMAIL PROTECTED] Conhecendo-se a quietude, pode-se possuir a estabilidade. Conhecend

Re: jsp-bean

2000-08-04 Thread Manish Bijay Kumar
Hi Deepak, I never worked on weblogic but I do have experiance of other Application Servers. In our case we have a folder called classes where we dump our beans. The other way to do this would be to make a jar file of all the classes and put them in your lib directory and start the server. This w

Re: Jserv

2000-08-04 Thread Jacky Cheung
Jserv implements servlet 2.0 only. Jacky Marcelo Mayworm wrote: > Does anybody know if Jserv works with servlet api 2.1 or 2.2? > > Thanks > Marcelo de Mattos Mayworm > Java 1.1 Programmer Brainbench Certification > BL Informatica > Tel.: 0xx21 220-3642 0xx24 9901-2929 > [EMAIL PROTECTED] > [E

Re: interesting one, 200 concurent users, large resultstes

2000-08-04 Thread Jay Thoden Van Velzen
Use a Bean. To be used as a regular "data holding class" if that makes any sense. Like, when you have an Employee class with several "fields" and get/set methods, you use that one class to hold all the Employee info. In this case your Bean would hold the resultset. J -Original Message- F

Re: good joke

2000-08-04 Thread Jitendra Gupta
hey men, this mail list is for people who wants to learn don't send jokes come out with your queries or solutions OK - Original Message - From: Khem Chand Sachdeva <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 03, 2000 1:29 AM Subject: good joke > =

Re: trouble with startup.bat

2000-08-04 Thread Jay Thoden Van Velzen
"Bad command or filename" or literally: "command or filename incorrect" -Original Message- From: Erwan TROEL [mailto:[EMAIL PROTECTED]] Sent: 04 August 2000 08:30 To: [EMAIL PROTECTED] Subject: trouble with startup.bat When i click on the startup.bat to run tomcat i have this message: "

Re: jsp-bean

2000-08-04 Thread Jay Thoden Van Velzen
In weblogic.properties you will find an entry for weblogic.httpd.servlet.classpath. Append it so it includes your .jar file Remember also that by default weblogic listens on port 7001, so your URL (in case of a jsp called default.jsp) would be something like http://localhost/default.jsp J -

Starting tomcat in new window

2000-08-04 Thread Erwan TROEL
I'm having trouble starting tomcat. I'm using win98/jdk1.2.2/tomcat3.1 (I've put tomcat under C:\jakarta-tomcat) when I execute tomcat start, the server appears to start up fine, but I'm not able to access via my browser (through ). The error may be in the classpath variables,

VisualAge for Java - component problem

2000-08-04 Thread Maciej Tylczyński
Hi I am trying to create JSP's using VisualAge 3.0 Professional Edition. The manual says I need to add IBM JSP Execution Monitor feature, but it does not appear on my feature list. What is wrong ? Can anyone help, please ? =

Synchronized an executeUpdate

2000-08-04 Thread Efrain Gtz
i use customized Beans in my JSP pages to share info and to make the connections to the Database so i want to know i a have to use a synchonized method or code on this: i got a Database where i'm going to store a unique requisition number depending on the order they come so, i first enter to the D

Starting tomcat in new window

2000-08-04 Thread Luc Saint-Elie
Erwan, Using Tomcat under Windows is VERY easy if (and only if) you follow step by step theses steps 1) Donwload http://jakarta.apache.org/builds/tomcat/release/v3.2-beta-2/bin/jakarta-tomcat.zip 2) Verify, Control and get certain you have the JDK installed properly 3) Open you AUTOEXECT.b

Re: jsp-bean

2000-08-04 Thread Richardson, Simon IT
Deepak Sounds like you haven't deployed your beans properly. With WLS you can deploy a bean by setting the following properties in your weblogic.properties file: weblogic.ejb.deploy=\ /.jar,\ /.jar ...etc And then start WLS. You can also hot deploy your beans (WLS 4.5 and late

Re: Starting tomcat in new window

2000-08-04 Thread ralhan
it never starteed if you never got another window ralhan -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Erwan TROEL Sent: Friday, August 04, 2000 7:00 PM To: [EMAIL PROTECTED] Subject: Starting tomcat in n

Options for time-consuming requests

2000-08-04 Thread Vladimir Blagojevic
Hi, Here is the problem: Browser user makes a request that takes long time to process. The final response is flushed after appx 10-15 seconds. In that time span of 10-15 seconds you want to update the user on the progress of the request. I am aware that you can flush some data periodically to

Javascript + JSP + Including

2000-08-04 Thread Caspar van Vroonhoven
Hey everyone, I've got a little question about using Javascript and JSP together..: How can I include parameters () in a window constructed by window.open in javascript... This particular parameter is requested at the page where the javascript is, so the real question is how to get a JSP st

Re: Options for time-consuming requests

2000-08-04 Thread Sergey A. Vorobiev
Hi! Vladimir Blagojevic wrote: > > Hi, > > Here is the problem: > > Browser user makes a request that takes long time to process. The final > response is flushed after appx 10-15 seconds. > > In that time span of 10-15 seconds you want to update the user on the > progress of the request. I am aw

Re: Javascript + JSP + Including

2000-08-04 Thread Veronique Dupierris
I added the following in my javascript function, but i'm surprised that the <%= %> for only the wanted param doesn't work ! <% out.println("window.open('"+response.encodeURL("/AppArom/CreateArom.jsp")+"?type=class','','resizable,status,height='+screenH+',width='+screenW+',scrollbar=yes')"); %>

Re: Options for time-consuming requests

2000-08-04 Thread Vladimir Blagojevic
Hi Sergey, I dont want to use timer since I want report real update events through short response flushes. -Original Message- From: Sergey A. Vorobiev [mailto:[EMAIL PROTECTED]] Sent: Friday, August 04, 2000 11:56 AM To: [EMAIL PROTECTED] Subject: Re: Options for time-consuming requests

Re: Javascript + JSP + Including

2000-08-04 Thread Sergey A. Vorobiev
Caspar van Vroonhoven wrote: > > Hey everyone, > > I've got a little question about using Javascript and JSP together..: > > How can I include parameters () in a window > constructed by window.open in javascript... > This particular parameter is requested at the page where the javascript is, >

Re: Options for time-consuming requests

2000-08-04 Thread Matt Wilson
I think you can do a multi-part response, I've only ever done with a servlet not jsp though. Sorry I've not got the code any more it was at my last contract. -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of

Re: Options for time-consuming requests

2000-08-04 Thread Sergey A. Vorobiev
Hi! Vladimir Blagojevic wrote: > > Hi Sergey, > > I dont want to use timer since I want report real update events through > short response flushes. > Well, DHTML without timer. > -Original Message- > From: Sergey A. Vorobiev [mailto:[EMAIL PROTECTED]] > Sent: Friday, August 04, 2000 11

Re: interesting one, 200 concurent users, large resultstes

2000-08-04 Thread Karanjit Singh
Dear Lee Collonns, Thx for ur valuable time , but my data is not ordered. actually its a banking application so requering is also very costly, the sql statement involved has very heavy nesting. Regards, Karan >From: Lee Collins <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Page

Re: VisualAge for Java - component problem

2000-08-04 Thread Minor Frank
>Maciej wrote, > Hi > > >I am trying to create JSP's using VisualAge 3.0 Professional Edition. The manual says I need to add IBM JSP >Execution Monitor feature, but it does not appear on my feature list. >What is wrong ? >Can anyone help, please ? Sorry to say if your OS is Windows 98, that f

Re: VisualAge for Java - component problem

2000-08-04 Thread Hines, Bill
You are probably running under Win 95 or Win98. I think this is only supported under NT. I believe that changes with VAJ 3.5, which is due at the end of this month. Check on IBM's web site or Visual Age Developer Domain. Bill Hines Hershey Foods -Original Message- From: Maciej Tylczynski

Help! XML intergration!

2000-08-04 Thread Howard Lee
Hi folks, Maybe some of you have done this before and shed some light on me. We have a third party vendor who is working on web pages which basically collect information and turn it into XML and wants to give it to us (they are on a separate web server). Our environment is EJB/JSP/Servlet, and my

Re: VisualAge for Java - component problem

2000-08-04 Thread Hensley, Zachary
That is useful, I've been trying to get to the bottom of that for months now, good luck trying to find the answer from IBM or any of their documentation. -Original Message- From: Minor Frank [mailto:[EMAIL PROTECTED]] Sent: Friday, August 04, 2000 11:02 AM To: [EMAIL PROTECTED] Subject:

Re: Help! XML intergration!

2000-08-04 Thread Daryani Santosh
I am doing something similar to your requirement. I know of 2 possible ways If either of the 2 sites has an FTP server , the XML file can be stored on the FTP directory and your java client application can retrieve the file from the FTP site.(using net.FTPClient class) The other option is to up

Re: interesting one, 200 concurent users, large resultstes

2000-08-04 Thread Thor Heinrichs-Wolpert
If you're using a rdbms for storage, then requerying shouldn't be too bad since the data, parsed statement, plan, etc. will already be cached in the rdms shared memory (unless you are using a crappy rdbms). Why not build a simple test harness and try it. If you layer your system properly, you can

Re: JSP thread-safe

2000-08-04 Thread Jim Preston
I think you are under a slight misunderstanding. By default, the "isThreadSafe" page directive is true. This means that the JSP code is (supposed to be) thread-safe, and therefore the generated servlet does NOT implement SingleThreadModel. The "isThreadSafe" directive equal to true is not a guaran

Re: static initialiser block in JSP page

2000-08-04 Thread Jim Preston
(Off the JSP topic.) The singleton pattern simply says that you have only one instance of the class. How you go about implementing it to ensure that you have only one instance is up to you. One way is to force users to go through a static accesser, as you suggest. But I can also make a Java Bean,

How can I pass an argument from a JacaScript function to a Jsp file?

2000-08-04 Thread Tom Yang
Hi all: Can anyone please tell me that how I can invoke a Jsp file within the body of a JavaScript function AND pass an argument to the Jsp file? such as function(file_obj) { Window.location="MyFile.jsp"; } I would like the MyFile.jsp to see the variable file_obj, and use it. But I don't kno

Re: Expiring page

2000-08-04 Thread Hensley, Zachary
Well Said -Original Message- From: Julia Reynolds [mailto:[EMAIL PROTECTED]] Sent: Friday, July 21, 2000 8:48 AM To: [EMAIL PROTECTED] Subject: Re: Expiring page What's the point of this post, Jim? You haven't had a chance to be snide today, so you're taking it out on this mailing lis

JSP Internal Servlet Error

2000-08-04 Thread Hiren Dossani
Hello Everybody, I am getting the Error # 500 saying that java.lang.IllegalStateException: Response has already been committed Any idea about how to fix it. Any help will be highly appreciated. Thanks. Sincerely, hiren dossani

Re: Javascript + JSP + Including

2000-08-04 Thread Jim Preston
Once again, always remember that JavaScript and JSP live in two different worlds, and execute in different places and at different times. The JSP is processed on the server and it's what creates the HTML (including JavaScript) which is then sent to the browser. JavaScript lives in the HTML and on

WEBLOGIC JDBC PROBLEM

2000-08-04 Thread Lamport, Mark
Hi I wonder if anyone out there can help me. I've compile a Java program which accesses an MS SQL database via JDBC, which works fine as a stand alone program. However when I run a servlet using Weblogic 5.1 that also accesses the MS SQL database I get the following error: java.lang.ClassNotFoun

Design patterns (Was: static initialiser block in JSP page)

2000-08-04 Thread Jim Bailey
This is a little off topic but a very interesting discussion to me. I don't agree that design patterns limit your problem solving ability. Patterns are only a tool for describing common programming practices. They give everyone who uses them a common jumping off point in terms of basic architectu

Re: [advanced-servlets] JSP + Servlets and getLastModified()

2000-08-04 Thread Ted Neward
Why can't your JSP do the same? Put a scriptlet at the top that checks the last modified date/time, and responds exactly as the servlet would. I'm confused why this doesn't work for you. Ted Neward Java Instructor, DevelopMentor (http://www.develop.com) http://www.javageeks.com/~tneward -Ori

Inner classes, java beans and JSP

2000-08-04 Thread Hensley, Zachary
First of all Inner classes inside JavaBeans conforms with the Java beans specification right? Second, I want to be able to use the inner class of a bean that is itself a bean. Is there any way to use JSP tags to set the properties of that inner class. For example this is kind of what I am tryin

newbie seeks wisdom

2000-08-04 Thread Julia Reynolds
I know this is a basic question: I'm new, have mercy! I want to include jsp files with different url variables. I want to do this: String barFile = "catalogBar.jsp?catPg=" + request.getParameter("catPg"); <%@ include file= "<%= barFile %>" %> However, of course jsp is having none of this. He

How can I pass an argument from a JacaScript function to a Jsp file?

2000-08-04 Thread Tom Yang
Hi all: Can anyone please tell me that how I can invoke a Jsp file within the body of a JavaScript function AND pass an argument to the Jsp file? such as function(file_obj) { Window.location="MyFile.jsp"; } I would like the MyFile.jsp to see the variable file_obj, and use it. But I don't know ho

Re: newbie seeks wisdom

2000-08-04 Thread Jim Bailey
Instead of: <%@ include file= "<%= barFile %>" %> Try: The tag has to be outside of any scriptlet <% ... %> tags. You are trying to do a server side static include. This is computed at first compile of the JSP page. This is long before their is an actual request to fetch parameters from. Th

nesting custom tags

2000-08-04 Thread Tony Abbott
Hi there I am trying to create a custom tag that can be nested inside itself (like can), but I want it to set a page variable. The problem comes with the declare field in VariableInfo that the TEI returns. I can't set it true, becuase when it reaches the inner tag it complains that it is redefin

Re: How can I pass an argument from a JavaScript function to a Jsp file?

2000-08-04 Thread Jim Preston
"Tonight on 'It's the Mind', we examine the phenomenon of Deja Vu . . ." Again, Java and JavaScript live in different worlds. Not only that, but when the Java in the JSP is executed, the JavaScript doesn't even exist. So getting JavaScript data and variables into the Java just isn't possible, per

Re: newbie seeks wisdom

2000-08-04 Thread Ken Torimaru
You need to use mailto:[EMAIL PROTECTED] | http://www.clickz.com - - - - - - - - - - - - - - - - - - - - - - - - - - - -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Julia Reynolds Sent: Friday, August 0

Re: Tomcat Used in Production Environment

2000-08-04 Thread Craig R. McClanahan
Manuel Ley wrote: > Is Tomcat only used as a reference implementation only? Do you know of any > sites that have used Tomcat in a real production environment? (Sorry for the late response to this ... a "thank you" mail was recently sent to the Tomcat related mail groups, talking about a site re

Re: How can I pass an argument from a JavaScript function to a Jsp file?

2000-08-04 Thread Tom Yang
Many thanks to Jim Preston! Tom >From: Jim Preston <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages specification and > reference <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: How can I pass an argument from a JavaScript function to a > Jsp file? >D

Re: Design patterns (Was: static initialiser block in JSP page)

2000-08-04 Thread Thor Heinrichs-Wolpert
Jim & Jim: Sounds like you might want to look at Anti-Patterns. This is a great resource. Patterns are great, and we all use them if we know it or not. Jim P.s solution is a pattern of sorts too. Thor HW - Original Message - From: "Jim Bailey" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>

Re: nesting custom tags

2000-08-04 Thread Hans Bergsten
Tony Abbott wrote: > > Hi there > > I am trying to create a custom tag that can be nested inside itself (like > can), but I want it to set a page variable. The problem comes with the declare > field in VariableInfo that the TEI returns. I can't set it true, becuase when > it reaches the inner tag

Re: nesting custom tags

2000-08-04 Thread Tony Abbott
Hi Hans, I was hoping to avoid that, I want keep the tags as clutter free as possible. I'm trying to build a tag for handling the logic (and state persistance within a session) of a collapsible tree structure and I'd like to have the tags as simple as possible since the html for the tables is alr

unsubscribe

2000-08-04 Thread Sudeep~Kumar~ K~S
- Mind boggling features only at http://mail.indiainfo.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant FAQs

Refreshing Page after few minutes

2000-08-04 Thread Sumit Honwad
Hello Experts, Can anyone tell me how can i refresh my page say after 4-5 minutes Regards Sumit >From: "Hensley, Zachary" <[EMAIL PROTECTED]> >Reply-To: A mailing list about Java Server Pages specification and > reference <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: Expiring

Re: Refreshing Page after few minutes

2000-08-04 Thread Ron Chan
Hi, try: res.setHeader( "Refresh", "300" ); ron --- Sumit Honwad <[EMAIL PROTECTED]> wrote: > Hello Experts, > > Can anyone tell me how can i refresh my page say > after 4-5 minutes > > Regards > Sumit > > > > > > >From: "Hensley, Zachary" > <[EMAIL PROTECTED]> > >Reply-To: A mailing list ab

Jrun2.3.3 can not run my JSP

2000-08-04 Thread Tieu, Jason, NBSO
Please help! I am using Jrun2.3.3 build 153, on jdk1.1.8 on IIS. my jsp file test1.jsp : Using JavaBeans with JSP <%= testbean.getMessage() %> my class file is compiled and in /jrun/jsm-default/classes/test1.class : public class test1 { public String getMessage() { return(messag

Re: minutes ,seconds????

2000-08-04 Thread subramanian Athimoolam
hi thanks. the date function i am decleare the time also. no problems .not its working fine.thanks. [getMiutes, getSeconds, getHours] with regards subu Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

Re: VisualAge for Java - component problem

2000-08-04 Thread Sheldon Wosnick
The WebSphere Tools *are* indeed a part of VisualAge for Java 3.0x Pro. However, there are a number of situations in which you would not see the feature to load and among those reasons, the most common are: 1 - You are running your VA/Java image on Window 95/98. The WebSphere Tools are only supp

Re: minutes ,seconds????

2000-08-04 Thread subramanian Athimoolam
hi thanks. subu Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com === To unsubscribe: mailto [EMAIL PROTECTED] with body: "sig

Re: request scope for bean from servlet

2000-08-04 Thread Manish Bijay Kumar
You can do it using RequestDispatcher. > -- > From: Karl Roberts[SMTP:[EMAIL PROTECTED]] > Reply To: A mailing list about Java Server Pages specification and > reference > Sent: Wednesday, August 02, 2000 10:54 PM > To: [EMAIL PROTECTED] > Subject: request scope