Looking for free JSP/Servlet WEB hosting!

2001-03-28 Thread Hoang Manh Hung
Hi all, Can anyone of you provide these info? Thanks in advance! HungHM. === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST

Connection Pooling in JSp usings Beans

2001-03-28 Thread Anubhav Jain
Hi All I am having some problem regarding the conncetion pooling with my site. I have a container bean and few Jsp to do some stuff ,a site is totaly database oreinted. I am using Tomcat 3.2.1 and Oracle 8i . For information we have implemention of different Oracle DB users submitting the

Session timeout

2001-03-28 Thread Marino Vittorio
Jsp gurus, I've a couple of quick questions: 1) How can I trap a session timeout. I need to do some cleanup before invalidating the session itself. 2) I've two frames in my app. When the session expires the user is redirected to the login page, but not full screen(browser) as I'd like to, but

onClick=javascript: form1.submit();

2001-03-28 Thread paniny serou
hello JSPkids ! so this is my problem :it looks easy but ... I want to submit my FORM when I click on an image img src="images/supprimer.jpg" name="supprime" value="%=rsOrg.getString("ORG_ID")%" width="9" height="10" onClick="javascript:form1.submit();" this code above doesn't work but

Re: onClick=javascript: form1.submit();

2001-03-28 Thread anuj
you can make it a hyperlink and call a function to submit onclick. - Original Message - From: "paniny serou" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 28, 2001 3:14 PM Subject: onClick="javascript: form1.submit(); " hello JSPkids ! so this is my problem :it

Re: onClick=javascript: form1.submit();

2001-03-28 Thread VoiD
Do it like this instead... added border=0 to remove the border that comes with the a tag... a href="#" onClick="javascript:form1.submit();"img src="images/supprimer.jpg" name="supprime" value="%=rsOrg.getString("ORG_ID")%" width="9" height="10" border="0"/a /Daniel -Original Message-

Re: onClick=javascript: form1.submit();

2001-03-28 Thread Rob L'Estrange
onClick="form1.submit();" That is, you don't need the "javascript" part of your original code. Rob - Original Message - From: "paniny serou" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, March 28, 2001 1:44 AM Subject: onClick="javascript: form1.submit(); " hello JSPkids

Application object

2001-03-28 Thread Marino Vittorio
How can I access the application object from inside a bean of my app? Thanks === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST

Re: onClick=javascript: form1.submit();

2001-03-28 Thread Rodrigo Costa
Or make only: a href="javascript:form1.submit();"img src="images/supprimer.jpg" name="supprime" value="%=rsOrg.getString("ORG_ID")%" width="9" height="10" border="0"/a []s Rodrigo. -Original Message- From: VoiD [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 28, 2001 07:36 To: [EMAIL

Re: Session timeout

2001-03-28 Thread Rob van Oostrum
1) You write a class that implements javax.servlet.http.HttpSessionBindingListener 2) You put your cleanup code (or the calls to your cleanup code) in the valueUnbound method. 3) When your session is instantiated (i.e. when the user hits the first JSP), you create a new instance of the class you

Re: Looking for free JSP/Servlet WEB hosting!

2001-03-28 Thread Rodrigo Costa
Hi friends! HungHM, I didn't try its yet but... www.mycgiserver.com www.webappcabaret.com www.f2s.com []s Rodrigo. -Original Message- From: Hoang Manh Hung [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 28, 2001 05:48 To: [EMAIL PROTECTED] Subject: Looking for free JSP/Servlet WEB

Re: Application object

2001-03-28 Thread Sachin S. Khanna
Do the following : Import the javax.servlet.* package in your bean. So that the interface ServletContext is available in your bean. From your jsp pass the application object to your bean. Have a nice day. With regards, Sachin S. Khanna. www.emailanorder.com - Original Message - From:

Re: Session timeout (follow-up)

2001-03-28 Thread Rob van Oostrum
actually, whether or not this works (well enough) will depend on the Servlet/JSP engine that you're running on. I know that WebLogic doesn't automatically clean up sessions right as they're invalidated, and the session doesn't start removing attributes (causing the call to your valueUnbound

Last question

2001-03-28 Thread Marino Vittorio
Sorry aboout all the questions I am posting here but I've got a time critical app to set up as fast as I can. I am setting a timeout for my sessions, but I cannot figure out if I should use the session timeout prop of my servlet container or use the setMaxInactiveInterval method of the session

Re: Session timeout (follow-up)

2001-03-28 Thread Marino Vittorio
I've tried with Tomcat v3.1 and works fine. Thanks a lot for your support. Ciao, Vittorio -Original Message- From: Rob van Oostrum [mailto:[EMAIL PROTECTED]] Sent: mercoled 28 marzo 2001 15.17 To: [EMAIL PROTECTED] Subject: Re: Session timeout (follow-up) actually, whether or not this

Re: Last question

2001-03-28 Thread Rob van Oostrum
Setting in the Tomcat (?) props should do it. I would go this route unless it gives you problems, then you could hardcode it (or put the value in a properties file, load it at startup time and call setMaxInactiveInterval to set it manually). Of course, if the value has major significance for you

Re: onClick=javascript: form1.submit();

2001-03-28 Thread Daniel Lynn
well, I'm going on the premise that the image is inside of form1 here... in which case you can make it an input type="image" src="whatever.jpg" and that will automatically submit the form. -- ah, wait, hold the phone, just tried something... the img tag (according to my html guide) doesn't have

hex in ascii string

2001-03-28 Thread Peter Palombi
hi all, how can i convert one string in hex to one ascii string thanks for your help Peter === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set

Servlet needs to run till the lifetime of Webserver

2001-03-28 Thread Ganesh MohanRao
Hi, Please tell me how to make a Servlet Run till the lifetime of Webserver. Whenever the webserver starts, Servlet needs to start and should run till the Webserver shuts down. Please help me. Thanx. Ganesh === To

Re: Servlet needs to run till the lifetime of Webserver

2001-03-28 Thread Rob van Oostrum
what do you mean by "run"? By definition, a servlet works in a request/response kind of way. If you have code that you want to run in a servlet, and you want the code to run continuously, I'd say you generate a request to the servlet at server startup, and write the servlet code so that it never

Re: Servlet needs to run till the lifetime of Webserver

2001-03-28 Thread Karau, Joe
Why does it need to be a servlet, why not just create a separate thread to run while the webserver is running? Joseph Karau Kingland Systems [EMAIL PROTECTED] 507-536-3629 AIM: jkara3629 -Original Message- From: Ganesh MohanRao [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 28, 2001

Re: onClick=javascript: form1.submit();

2001-03-28 Thread Oliver Wood
Why not create a javascript function that submits the form function postDetails() { document.form1.method = "post"; document.form1.action = "url"; document.form1.submit(); } Then in your image img src="images/supprimer.jpg" name="supprime" value="%=rsOrg.getString("ORG_ID")%" width="9"

Display records like google, HOW ??

2001-03-28 Thread sufi malak
I am trying to display records like the way done in google.com, with the Next and Previous buttons, and pages numbers link, has anybody done is using jsp or servlet, could you please explain do they do it ? Thanks lot _ Get your

Re: Servlet needs to run till the lifetime of Webserver

2001-03-28 Thread Ganesh MohanRao
We are trying to do something similar to Stock and News alert in "my.yahoo.com". Stock messages are broadcasted in Tibco. Tibco is a Messaging Component which is used to broadcast messages. There needs to be a Engine or Daemon "UP and Running" always to make sure that it checks the user alert

Re: refreshing problem

2001-03-28 Thread Oliver Wood
Vincent If you don't want JSP page to cache then there are two ways to stop this. 1. Set Meta information in the Head Tags. meta http-equiv="Cache-Control" content="no-cache" forua="true" 2. Or use the response method % response.setHeader("Cache-Control", "no-cache"); % Hope this helps

Re: Display records like google, HOW ??

2001-03-28 Thread Marino Vittorio
Just work on the ResultSet and ResultMetaData classes. Ciao, Vittorio -Original Message- From: sufi malak [mailto:[EMAIL PROTECTED]] Sent: mercoled 28 marzo 2001 17.25 To: [EMAIL PROTECTED] Subject: Display records like google, HOW ?? I am trying to display records like the way done in

Re: Display records like google, HOW ??

2001-03-28 Thread Christopher K. St. John
sufi malak wrote: I am trying to display records like the way done in google.com, with the Next and Previous buttons, and pages numbers link, has anybody done is using jsp or servlet, could you please explain do they do it ? Do a google search, any search. Do a "View Page Source", or just

Re: Display records like google, HOW ??

2001-03-28 Thread Mirek Chowaniok
Check out this good tutorial. It explains very well how to create logical pages using MVC architecture http://www7.software.ibm.com/vad.nsf/Data/Document2342?OpenDocumentp=1BCT=3Footer=1#download Marino Vittorio vittorio.marino@FTo: [EMAIL

Re: Display records like google, HOW ??

2001-03-28 Thread Julia Reynolds
Sufi, Check out this jsp tag at jsptags.com which does exactly what you are describing: http://jsptags.com/tags/navigation/pager/ Julia sufi malak wrote: I am trying to display records like the way done in google.com, with the Next and Previous buttons, and pages numbers link, has anybody

Re: Display records like google, HOW ??

2001-03-28 Thread James Klicman
You can create paging navigation identical to google.com by using the Pager Tag Library. It even has google.com as one of it's example pagers. http://jsptags.com/tags/navigation/pager/ -James On Wed, Mar 28, 2001 at 09:59:31AM -0600, Christopher K. St. John wrote: sufi malak wrote: I am

Re: Display records like google, HOW ??

2001-03-28 Thread sufi malak
Thank you, it's cool From: Julia Reynolds [EMAIL PROTECTED] Reply-To: A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Display records like google, HOW ?? Date: Wed, 28 Mar 2001 10:21:06 -0600 Sufi, Check out this jsp

Re: Display records like google, HOW ??

2001-03-28 Thread sufi malak
Hi, thanks for the link, but when downloading I got only the jar file , there is no examples or pager-taglib.tld, please where are they ? Thanks From: James Klicman [EMAIL PROTECTED] Reply-To: A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] To: [EMAIL

AW: Open new Window

2001-03-28 Thread Alex Meyer
a href="javascript: window.open('helpdocument.jsp?some=params');"Help/a or a href="helpdocument.jsp?some=params" target="_blank"Help/a Hope it hepls. Greetings Alex +-+ | Alexander Meyer | +-++ | Sponackerweg 54

Re: Display records like google, HOW ??

2001-03-28 Thread James Klicman
Everything is in the jar file. You can jar xvf or unzip it. jar xvf pager-taglib-1.1.jar or unzip pager-taglib-1.1.jar -James On Wed, Mar 28, 2001 at 04:40:09PM -, sufi malak wrote: Hi, thanks for the link, but when downloading I got only the jar file , there is no examples or

Re: Servlet needs to run till the lifetime of Webserver

2001-03-28 Thread Steve Weiss
Create a servlet which implements the Runnable interface. In this servlet's init() method create and start a Thread which does whatever processing you need. To load it when the servlet container starts, add something like this to web.xml: servlet servlet-namemyServlet/servlet-name

[Off topic] How do I set environment variables in Linux?

2001-03-28 Thread Gallardo Giancarlo
I'm new in this stuff of Linux, and I still have to learn many things. One of them is this about setting variables. So, this is my problem: I've just downloaded Forte for Java. But when i try to install it (using the RPM file), it says JAVA_HOME not found in environment variables set. So where

Are ArrayLists supported in JSP1.1?

2001-03-28 Thread joe smith
I'm using Tomcat 3.2.1, which supports servlet2.2 and JSP1.1. Are ArrayLists supported in JSP1.1? In my implementation, I would like to use an ArrayList vs. an array. Thanks __ FREE Personalized Email at Mail.com Sign up at

input type=file

2001-03-28 Thread Martin Pribyl
Hi, how could I get the content and the name of the file, when I use the input form element with the type=file? Either using the request object, or using the java bean to handle the form with the directive jsp:useBean (rather) Thanks a lot, Martin

Re: Servlet needs to run till the lifetime ofWebserver

2001-03-28 Thread Ganesh MohanRao
I would like to do this. Separate application(Engine) written in java which listens to Broadcast messages(Stock Values). This Engine will have the alert information(i.e alert me when "Dell's" stock raises to 10 or X something like that) set by the user in Memory(Hash,Array,Vector etc...). It

Re: Display records like google, HOW ??

2001-03-28 Thread Karau, Joe
Not sure, but willing to bet that it is because you're uri attribute has two "=" before the value of it. Joseph Karau Kingland Systems [EMAIL PROTECTED] 507-536-3629 AIM: jkara3629 -Original Message- From: sufi malak [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 28, 2001 12:19 PM

Re: Display records like google, HOW ??

2001-03-28 Thread sufi malak
pager-demo.jsp : %@ page session="false" % %@ taglib uri= "/WEB-INF/tlds/pager-taglib.tld" prefix="pg" % html head titlePager Tag Library Demo/title % STILL DOES NOT WORK, ERROR : A Servlet Exception Has Occurred Exception Report: org.apache.jasper.JasperException: Unable to compile

Re: Display records like google, HOW ??

2001-03-28 Thread Tim Hengst
Have you put the taglib.jar file in your tomcat classpath? or try putting the jar file in the jakarta-tomcat/lib directory. -Original Message- From: sufi malak [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 28, 2001 2:41 PM To: [EMAIL PROTECTED] Subject: Re: Display records like

A tip on how to avoid browser caching problems..

2001-03-28 Thread Duffey, Kevin
Hi there all, I just wanted to pass on a bit of info I finally got working for web browsers..just incase some of you out there may be seeing a similar situation. On our site, we have 3 "top" tabs that all call the same one URL to log in to various parts of the site. The URL the browser sees for

Does JSP support RMI ??

2001-03-28 Thread Smitha Uthappa
Is it possible to call remote rmi objects from JSP ?? === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant

Re: onClick=javascript: form1.submit();

2001-03-28 Thread Maizatulakmam Ali
Assalamu'alaikum/Salam Sejahtera paniny, Wednesday, March 28, 2001, 10:44:34 AM, you wrote: ps hello JSPkids ! ps so this is my problem :it looks easy ps but ... I want to submit my FORM when I click on an ps image ps img src="images/supprimer.jpg" name="supprime" ps

Re: input type=file

2001-03-28 Thread Jay Foster
Martin: Here is a snippet of code based on the examples that come with the com.oreilly.servlet (COS) package written by Jason Hunter. The COS package is a set of servlet utility classes. The COS package and examples are available from http://www.servlets.com -- public void

Re: input type=file

2001-03-28 Thread Dan Parkinson (MQNet Inc)
signoff JSP-INTEREST -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Jay Foster Sent: Wednesday, March 28, 2001 8:25 PM To: [EMAIL PROTECTED] Subject: Re: input type=file Martin: Here is a snippet of

unsubscribe me...

2001-03-28 Thread BOON PING LIM
_ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff

Re: onClick=javascript: form1.submit();

2001-03-28 Thread Chitra Muthukrishnan
You can use a href tag like this : a href="#" onclick="javascript:document.form1.submit()"img src="images/supprimer.jpg" name="supprime" value="%=rsOrg.getString("ORG_ID")%" width="9" height="10"/a M.Chitra www.3rdagenda.com - Original Message - From: Maizatulakmam Ali [EMAIL

displaying data in sets

2001-03-28 Thread S. Jyotinarayan
I want to display data from my database by sets on an internet browser. I have displayed the first set of data from the database. I am using JSP and the JDBC-ODBC architecture to connect to the MS Access database. How could I now on the same page with 'next' and 'previous' buttons for example

Re: Servlet needs to run till the lifetimeofWebserver

2001-03-28 Thread Christopher K. St. John
I paraphrased to confirm that I understand, let me know if I have something wrong: Ganesh MohanRao wrote: Separate application (engine) written in Java which listens to broadcast messages (stock values). The engine has alert information set by the user When the alert information matches

TextPane Applet

2001-03-28 Thread Razal Jr., Manuel C.
how do you save the contents of a JtextPane applet into a database? === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".

Re: Does JSP support RMI ??

2001-03-28 Thread asitha ranjan
u cam call rmi from jsp by creating stub importing that stub in ur environment call lookup mehtod of remote object bey --- Smitha Uthappa [EMAIL PROTECTED] wrote: Is it possible to call remote rmi objects from JSP ??

Re: Are ArrayLists supported in JSP1.1?

2001-03-28 Thread Sachin S. Khanna
Whether you can use ArrayList instead of Arrays would depend on the version of the JDK that you are using, nothing really to do with the JSP Specification. Have a nice day. With regards, Sachin S. Khanna. www.emailanorder.com - Original Message - From: joe smith [EMAIL PROTECTED] To:

Re: Display records like google, HOW ??

2001-03-28 Thread sufi malak
Hi, thanks, I got them, I put page-taglib.tld in /WEB-INF/tlds/pager-taglib.tld the pager-demo.jsp and in pager-demo.jsp I have : %@ page session=false % %@ taglib uri== /WEB-INF/tlds/pager-taglib.tld prefix=pg % html head titlePager Tag Library Demo/title .more code BUT WHEN CALLING

Re: Looking for free JSP/Servlet WEB hosting!

2001-03-28 Thread Martin, Janet
You might want to try http://java.isavvix.com/index.jsp. They use Tomcat for the JSP container. Plus it is a good site for lots of other Java info. Cheers, Janet -Original Message- From: Hoang Manh Hung [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 28, 2001 3:48 AM To: [EMAIL