use
% String str=request.getParamter("varName");
String query="insert into urtablename values(str)";
executeQuery(query);
%
and dont forget to register class and opening connection as well which
i'm not writing here :)
Naveen
-Original Message-
From: Agarwal Gokul [mailto:[EMAIL
just use script language="javascript"
javascript functions
script
in head of jsp file and it will work as in ordinary HTML files
-Original Message-
From: Muhammad Arsyad [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 22, 2000 6:28 AM
To: [EMAIL PROTECTED]
Here is one example of getting a value with request.getParameter(),
http://www.jspinsider.com/beans/beans/email/BeanMailer/index.html
Hope it helps!
[EMAIL PROTECTED]
- Original Message -
From: "Agarwal Gokul" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, August 20, 2000 11:45
on NT is easy http://www.modssl.org/contrib/apache-ssl-win32-howto.html
on other O.S. is more complex
regards,
--
Antonio
mike dell wrote:
Hi all...
How to run apache on mod_ssl?
Thanks in advance.
-Mike,
__
Do You Yahoo!?
Yahoo! Mail
Hi,
Please let me know whether WebSphere 3.0 Standard Edition supports EJBs.
regards,
Diwakar.
(office) +91-40-3308600 x8547.
The information transmitted is intended only for the person
or entity to which it is addressed
Howdy, Diwakar.
Only the Advanced Edition of WebSphere Application Server supports EJB's.
Best Regards,
Luís Miguel Neto,
IBS Portugal
Diwakar Killamsetty [EMAIL PROTECTED]@java.sun.com on 08/22/2000
08:47:38 AM
Please respond to A mailing list about Java Server Pages specification and
Est ce que quelqu'un saurait d'où vient le Pb?
org.apache.jasper.JasperException: Unable to compile class for
JSPC:\jakarta-tomcat\work\localhost_8080\_0002fmyfirst_0002ejspmyfirst_jsp_0
.java:172: Incompatible type for method.
Can't convert javax.servlet.jsp.JspWriter to java.io.PrintWriter.
hi all.. i'm having difficulties with loading class..
please help :)
in myclasspath i have
c:\;c:\jdk1.2.2\lib;c:\myjava;
I have directory c:\myjava\hardware
and inside the hardware directory i have Harddisk.java
and i already stated inside it: package hardware;
compile it, and to test it, i
Hi all guru
...i've one problem which is bugging me
since last two days.I NEED URGENT HELP
from all of u
...the problem is like this:
...creating a web-based application in which
one of the functionality is to UPLOAD a file
(in my case it will be .xls file)from the client's
machine. Now
Hi friends,
See the code below,
This following code is in some.jsp file
%@ page errorPage ="/ib/error/DirectAccess.htm" %
How can I show the errorPage (exceptions,printStackTrace) in the
DirectAccess.htm
Thanks in advance
venna
IMHO the only real solution for this is smarter or better trained users -
maybe put a warning next to the browse button, or popup a javascript prompt
when they click the button, like confirm("Hey, are you sure you saved your
most recent changes?").
As for a hack, if you are on an intranet using
Hi Rajesh. Try the following
1. For intracting with the client (node) :- Try using java web start . it
allows u to interact with the client(node) or may be signed applets.
2. use boolean java.io.File.canWrite() method to see if u can write to
file. if u r sucessful in writing to the file
Won't that depend on how much memory tomcat is allocated, and how much you
store in the sessions?
-Original Message-
From: Kim [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 22, 2000 4:56 AM
To: [EMAIL PROTECTED]
Subject: Up to how many concurrent sessions can tomcat support?
I can't
There is a great book, a very thin green book that our team uses as a basis
for our standards with some small modifications. The book is "Elements of
Java Style". Scott Ambler is one of the major contributors and he has some
documents on his web site (ambysoft.com?) on this subject.
Just FYI,
Use PreparedStatement to Insert the values. It will allow tic also.
shibi
Enter your default signature here
Sent by Indya Messaging Service
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Hi
Put your hardware in classes dir of the webserver
ie
\jakarta-tomcat\webapps\ROOT\WEB-INF\classes
Hope this Help You
At 05:00 PM 22/08/2000 +0700, you wrote:
hi all.. i'm having difficulties with loading class..
please help :)
in myclasspath i have
c:\;c:\jdk1.2.2\lib;c:\myjava;
I have
Hi
Try this
a) Frist Create a Error page with name errorPage.jsp having following code
body text ="red"
%@ page isErrorPage="true"%
Error Found
%=exception.getMessage()%
Here
/body
b) Second add the below line any of the jsp file where error occurs
%@ page errorPage ="errorPage.jsp"%
Hope
is there away to go to digest mode for this list?
boaz
__
Do You Yahoo!?
Yahoo! Mail Free email you can access from anywhere!
http://mail.yahoo.com/
===
To unsubscribe:
Hello everyone,
I'm looking for some good (better great) book on EJB and JSP to buy,
and also for free e-books (online books) or tutorials on EJB and JSP.
If you know any titles (or ISBNs) or websites,
please email them.
Thank you,
Stas
[EMAIL PROTECTED]
Does anybody what is my problem? with:
out.println( styleTableBeg );
org.apache.jasper.JasperException: Unable to compile class for
JSPC:\jakarta-tomcat\work\localhost_8080\_0002fmyfirst_0002ejspmyfirst_jsp_1
8.java:80: Exception java.io.IOException must be caught, or it must be
declared in the
check out http://theserverside.com/home/index.jsp for a free EJB book in
PDF.
-Original Message-
From: Leonov, Stanislav (RSCH) [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 22, 2000 5:05 PM
To: [EMAIL PROTECTED]
Subject: EJB and JSP
Hello everyone,
I'm looking for some good (better
Is there any way of displaying a popup confirmation box (like javascript
"confirm()" box) from an applet?
What I need is confirmation from the user that an applet can continue with
it's work... like say modifying a string sent in from the user and the
applet wants confirmation that the changes
Yes,
The "out" implicit object is of type javax.servlet.jsp.JSPWriter
which derives from java.io.Writer. Your method doReport apparently
requires a PrintWriter
Try:
doReport("select * from " + strTableName, new PrintWriter(out));
I would also recommend you evaluate the SRC attribute of the SCRIPT tag. I
have always found it better to farm out my scripts to a separate .js file.
Of course, you do need to download the file when the page loads but this is
more than offset by the following facts
- it is harder for your users
In your jsp file you have certainly use a class method which throws a IOException
and you should catch this exception ... Can't you send
the portion of your code which causes the problem ?! It would be easier to explain
what's going on ...
Regards
veronique
Erwan TROEL a crit :
Does anybody
I am trying to install iPlanet6.0 on windows NT. Can someone tell me if of
any sites that give information, dos and donts about the installation and
setup?
Thanks
Get Your Private, Free E-mail from MSN Hotmail at
le principe out.println( styleTableBeg );
ne semble pas marcher chez moi styleTableBeg étant une balise html
(TABLE)
l'erreur suivante se produit:
org.apache.jasper.JasperException: Unable to compile class for
Hello
Goto archives.java.sun.com n search for the JSP-INTEREST list
You will find every message listed there n you can change your options there
for any mode you want.I am not sure whether you can get a digest kind of a
setup .
Sanjay
-Original Message-
From: A mailing list about Java
I am using JServ. I have a zone properties file. I want to load the MySQL
Driver. Where shall I set the Classpath--
1) In the jserv.properties file
or
2) In the zone.properties file.
What is the difference between these two?
Thanks ,
Saravanan
- Original Message -
From: Suresh kumar
vous pouvez ecrire ca
try
{
( Le chose qui fait l'erreur)
}catch(Exception e)
{
}
ou
vous pouvez ecrire ca
private void (Le nombre de la method) throws java.io.IOException {
}
Steve Bayouk
[EMAIL PROTECTED]
Mad Scientist in the lab at www.com
Log On. Tune In.
-Original Message-
I have an example of a jsp calling an applet:
HTMLHEADTITLEINTERNAL USER/TITLE
BODY bgColor=#ece9d9FONT face=Arial
pimg src="../../connectadminheaders/usersmain.jpg" width="800"
height="67"font face="Arial"
/font/pfont face="Arial"center
jsp:plugin type="applet" code="internalUsers.class"
Hi,
I am using jdbc 1.1 driver. I want to know the records fetch by any select
query statment.
thanks.
Amar Singhal
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
There is no direct way of getting the record count using JDBC 1.1 , you can do
it with JDBC 2.0 though.
With JDBC 1.1 , you can do a resultset.last() , that takes you to the last
record , this is an indirect way of
getting the record count. That's all I can think of.
Santosh
amar singhal
I have question regarding error handling in JSP.
My site say 'Today' has two jsp files under two seperate folders
namely
'News.jsp' under 'News' folder and 'failure.jsp' under 'failure'
folder. As you can see failure is my error page.
Now when an exception occurrs in news.jsp, my error page gets
DId you get an answer to your question?
Why do you need the session ID? Each servlet and JSP has access to the
session object. YOu can just call getId() on it.
Ed
-Original Message-
From: Hussain Shah [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 15, 2000 9:10 AM
To: [EMAIL
Hi, please can I have a copy of your example of jsp calling an applet.
Thanks
From: "Menard, Demetria" [EMAIL PROTECTED]
Reply-To: A mailing list about Java Server Pages specification and
reference [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Applets as GUI
Date: Tue, 22 Aug 2000
I have a JSP page that builds a form with hidden fields only and calls
document.form.submit() on the body's onLoad event. This works fine on
IE, but Netscape comes up with the error "Document contains no data".
How else can I do this automatic submit?
Thanks in advance
cal
Hi I have an example of a shopping card ( from Java Pro ), I am trying to
run it in JavaWebServer2.0 (or JRUNS + Apache), the directores and files are
like this :
jsp folder that has the files :
(error.jsp, footer.html, header.html,Inventory.jsp..)
servlets folder has antoer folder called
[EMAIL PROTECTED] 08/22/00 08:03 AM
Use PreparedStatement to Insert the values. It will allow tic also.
shibi
Enter your default signature here
Sent by Indya Messaging Service
===
To unsubscribe: mailto [EMAIL PROTECTED]
I am using Netscape ver 4.5 and the onLoad works fine. It appears that either you are
using an older version or javascript is not enanbled on the browser. To verify that
javascript is enabled, go to Preferences and check.And send the code that you are
using ( b'cause iexplore is more
How to change this to a useBean tag :
%
BasketBean basket = (BasketBean)session.getAttribute(BasketBean.BASKET);
%
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about
The bean goes into the WEB-INF/classes directory (if its a class) or into
WEB-INF/lib if it's a jar.
Even if you have an application you don't need to change your HREFs you can
still use relative paths,
Kevin Jones
DevelopMentor
www.develop.com
-Original Message-
From: A mailing list
This is really puzzling me..
Is there a way I can use the JSP/bean shortcut of doing, for example:
jsp:getProperty name="sample" property="name"/ so that the session
bean is also updated with the information? It seems like in order to
do the above I had to set the bean scope to "request" which
Hi All,
I am trying to display binary data from the database directly to the browser
using OutputStream. This worked fine with a servlet using
ServletOutputStream.However, when I tried to do the same thing in JSP, It's
giving me an Illgal State Exception.
I went through the doc's, it says .. one
"Santapur, Rao" wrote:
Hi All,
I am trying to display binary data from the database directly to the browser
using OutputStream. This worked fine with a servlet using
ServletOutputStream.However, when I tried to do the same thing in JSP, It's
giving me an Illgal State Exception.
I went
When I test INPUT TYPE=3DFILE NAME=3Dfile, I can only upload one file =
at a time. Is anybody know how to upload mutiple files at same time.
Thanks!
James Lee
===
To unsubscribe: mailto [EMAIL PROTECTED] with body:
We are lookiing for good performance and stable servlet engine with work
well with Apache on Linux.
Currently we use Resin 1.3 but it seems pretty unstable.
Anyone has any comment on other servlet engine?
Such as JRUN, Jserv, etc?
Do anyone know about any compiler to compile the jsps and give the servlets
in return. It will be very easy to develop the Servlets then?
Saravanan
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
I guess the code inside jsp:usebean and /jsp:usebean is executed only if
that bean is instantiated.for session since that bean might have been
instantiated already,the code inside will not be executed.if you move the
jsp:setProperty out of jsp:usebean the properties will be set whenever
the page
Guys where can i find a simple code to generate a simple secret Key using
java.security package ??
regards
a Beginner
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on
Hello Kanojia,
thx for your answer,
i noticed that the way you suggest has been working well,
but i tought it's possible to put my classes in directory different
than webserver's classes directory? if yes, how?
btw, in classpath (i'm using win nt), is this the same between c:\;
and .;
thx
Up to how many concurrent sessions can tomcat support?
I can't seem to get the above info.
Anybody has the answer or ref. to this?
thanks,
kim.
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
There is no container-mandated limit in Tomcat (or, I suspect, in any other servlet
container). After all, in most of them the set of sessions is just a Hashtable or
something like that, which has no arbirtary limit at all.
The real issues to consider are: how much memory do each of your
Hi,
Is there any way I can access the client-side history object from a
servlet before sending back a jsp.
Basically I would like to know from the server side whether the page
request is coming from a newly opened window.
Thanks
Sandipan.
Hi:
please try :
try{
file://you can get bianary data from the database
BufferedInputStream in=new BufferedInputStream(new FileInputStream("/1.gif"));
ByteArrayOutputStream byteStream=new ByteArrayOutputStream(512);
int imageByte;
while ((imageByte=in.read())!=-1){
byteStream.write(imageByte);
Hi!!
my friend had a problem.. so I suggested to put it on
our mailing list.. hope someone of u would be helpful
for him.
Regards..
Leena
Hello !!
I have been facing problem while running PowerTier
6.0 (Persistence application server which supports
J2EE, it will have
Apache web server,
I wrote a javabean and test it in main function, I found it cann't work,
the error as following:
java.lang.UnsupportedOperationException
java.sql.Statement sun.jdbc.odbc.JdbcOdbcConnection.createStatement(int, int)
java.sql.ResultSet lyf.mydb.executeQuery(java.lang.String, int)
Hi,
I create an instance of a Bean with jsp:useBean ...
how can I drop (finalize) this object?
I'm using Tomcat 3.1 on NT
Thanks in advance
Istvan
===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
I am using J2EE server to deploy my Enterprise Java Beans(EJBs).Since
servlet chaining/forwarding is not supported by Tomcat we have put our
servlets on Java Web server.These servlets will do a lookup for the EJBs
residing on J2EE.The problem starts here:
How can i call the EJBs which are
Hi,
Please let me know whether WebSphere 3.0 Standard Edition supports EJBs.
regards,
Diwakar.
(office) +91-40-3308600 x8547.
The information transmitted is intended only for the person
or entity to which it is addressed
60 matches
Mail list logo