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
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
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
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
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
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-
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
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
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
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
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
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:
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
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
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
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
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
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
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
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
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
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"
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
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
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
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
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".
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
??
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:
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
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
56 matches
Mail list logo