do you use request.getParameter() to get it's value?
just like:
input type=hidden name=blah value="Directory Manager"
...
so in the jsp:
%=request.getParameter("blah")%
should return:
Directory Manager
s.b.
From: Raj S [EMAIL PROTECTED]
Reply-To: A mailing list about Java Server Pages
Hi!
Jsp gets compiled into servlet and works in the same manner.
Purnendu
Mark Jorritsma wrote:
is the list still alive? Haven't got any mail in two days.
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On
Hi,
We are also developing a JSP+JDBC based Web and we have a question: Where is
better to open the connection to the DB through the JDBC driver?
- JSP page (one connection for the entire session)
- Java Bean (one connection for each query, isn't it?)
Thanks in advance.
Pau.
can anybody give the code for this problem??
- Original Message -
From: Robert Nicholson [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, September 19, 2000 9:27 AM
Subject: Re: Displaying rows from a Scrollable ResultSet
The short answer to this is that you use a scrollable
Hi,
I was wondering if it is possible to call up a new page from the Java part
of the JSP. Basically in my page I have a loop where a lot of processing is
done. This can take a lot of time to do, and so the compilation time can be
quite large. I would like to be able to bring up something like
You can use the java script code to write status bar that The processing is
going on..
- Original Message -
From: Stephen Toner [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, September 19, 2000 5:17 PM
Subject: New Page
Hi,
I was wondering if it is possible to call up a new
Hello all:
I'm creating a report in HTML using JSP.
The JSP hits a database using JDBC and then loops through a result set to
access the data. There is "control break" logic in the loop so that when a
control field in the result set changes, an HTML total line is created for
that control field,
Hi,
I have a small problem in using datatype. In a javabean, I am getting a value
"A" from pl/sql procedure and am comparing it with a value "B" entered in a textbox ,
that is "B" should be greater than or equal to "A". I have declared "B" as double in
the bean, as i need to use a
Have you tried using the static function Double.parseDouble in package
java.lang.* The statement "double B = request.getParameter("txt1");"
shouldn't even compile. try changing it to
"Double.parseDouble(request.getParameter("txt1"));"
See how that works
-Original Message-
From: Leena
if you are using bean then put the result set in a vector. and
make loop for first ten record and put in the method after call
this method in jsp. it will give you ten tesult.
On Tuesday, September 19, 2000 at 09:53:57 AM, A mailing list about Java Server Pages
specification and reference
hey all,
hmm, I am using iPlanet web server (enterrpise edition) sp2.
trying to write some jsps, here is my problem, in my page, I have
something like this:
%@ page import="yan.test.*" %
then if I do this:
Hi,
IE is viewing the file automatically because it is registered to launch
automatically in your folder options. Plus you've set the type to:
response.setContentType("application/vnd.ms-excels;
charset=us-ascii");
The probable reason that netscape downloads and not opens is you don't
have
Hi Luis
Check this site: http://www.mysql.com/downloads/api-jdbc.html,
there you'll find some JDBC drivers.
I'll hope this helps
Regards
Fabio Alarcon Ortiz
Seguro Social de Salud, Lima - Peru
Gerencia Central de Desarrollo e Informatica
Gerencia de Sistemas
Phones : (51 1) 265 6000, 265
do a "please wait" page - try this inside your page:
% void sendWaitToClient(java.io.PrintWriter out) {
/*
replace 'java.io.PrintWriter out' with:
'int error, javax.servlet.jsp.JspWriter out'
for 1.00 + JSP engines
*/
out.print("div id=\"ShowPage\" style=\"position:absolute; z-index:10;
Hi All,
We are using Java Web Server for developing JSPs. Can anybody tell me
how to compile the jsps without using the browser? (We are using the browser
to test the jsps. I heard that we can compile the jsps like java programs
using jsp compiler).
Thanks
Hi
We have a problem in hand - our website is on a pathetic P-II -333 machine
with 256 RAM and is built on Oracle using JSDK 2.1
The problem is - what should we do at present : we are moving to a new
machine. At the same time should we move to iPlanet or JWS or Webshpere -
any suggestions? I
HI,
Yes that's what I have used,and it works fine when transferred from JSP1
to JSP2,but when I transfer from JSP2 to JSP3 the value that I get I get is
just Directory and not Directory Manager.
What I have done,is implemented a method which searches for a blank and
inserts a character
Hi,
I have a small problem in using datatype. In a javabean, I am getting a value "A" from
pl/sql procedure and am comparing it with a value "B" entered in a textbox , that is
"B" should be greater than or equal to "A". I have declared "B" as double in the bean,
as i need to use a
Try Forte For Java community edition.
You can download at http://www.sun.com/forte/ffj/ce/
HTH,
Reza
Rajesh Daita wrote:
Hi All,
We are using Java Web Server for developing JSPs. Can anybody tell me
how to compile the jsps without using the browser? (We are using the browser
to test
Hi,
Iam trying Sessions.Pls let me know if this is correct.
%HttpSession Hsession= request.getSession(true);
%
Hsession.putValue(slog,Ologin);
Hsession.putValue(spwd,Opassword);
Object Ologin1 = Hsession.getValue("slog");
Object Opassword1 = Hsession.getValue("spwd");
String
Would anyone out there kindly remind me how to unsubscribe and re-subscribe
again. I'll be out of town for about 3 weeks.
Thanks
--
From: Raj S[SMTP:[EMAIL PROTECTED]]
Reply To: A mailing list about Java Server Pages specification and
reference
Sent: Tuesday,
Read the bottom of any email in the list.
-Original Message-
From: Shen, Tony [mailto:[EMAIL PROTECTED]]
Sent: 19 September, 2000 12:29 PM
To: [EMAIL PROTECTED]
Subject: Re: Encrypt and Decrypt Password
Would anyone out there kindly remind me how to unsubscribe and re-subscribe
again.
hi guys,
sorry for eating ur time
first page:
i am using usebean tag to my jsp page and giving
scope="application" and doing nothing in this page
then i go to
second page:
since i have declared the bean scope as application in
the first page then that instance of a bean must be
visible to this
Hi,
I have created a custom tag library, which if a certain condition is
met, forwards the request and response to another page. However,
unfortunately, when the page is too long (before the forward
evaluation), I get the following error: 500 Internal Server Error.
Response has already been
Yan Zhu wrote:
hey all,
hmm, I am using iPlanet web server (enterrpise edition) sp2.
trying to write some jsps, here is my problem, in my page, I have
something like this:
%@ page import="yan.test.*" %
then
really? according to the book i am read now, "web developement with java server pages",
it should.
thanks
Hans Bergsten wrote:
Yan Zhu wrote:
hey all,
hmm, I am using iPlanet web server (enterrpise edition) sp2.
trying to write some jsps, here is
hi,
we too r in process of doing this and we have thought
to use java bean for connection.
we will be passing query from the jsp page to this
generalized bean which will take care of the
connection and will return the results according to
the query fired .
we have thought to have one 2
hi all,
I want to have 2 dependent drop downs i.e if i change the value in one
then it affects the list of the other. We dont want the page to be refreshed
eveytime so we want to use javascript for it.
i got some help in asp for writting the server side javascript. the idea
was to generate a
Gabriel J Zimmerman wrote:
Hi,
I have created a custom tag library, which if a certain condition is
met, forwards the request and response to another page. However,
unfortunately, when the page is too long (before the forward
evaluation), I get the following error: 500 Internal Server
Yan Zhu wrote:
really? according to the book i am read now, "web developement with java server
pages",
it should.
thanks
Well, then the book is wrong, because the JSP 1.1 spec says:
classThe fully qualified name of the class that defines the
implementation of the
I would like to include a HTML file in a JSP.
I'm running JRUN 3.0 on Apache1.3.
is something like this possible ?
html
head/head
body
!--#include virtual="hello.html"--
%out.println("sucess"); %
/body
/html
Do i need to configure my apache to allow server side includes ?How do i do
that?
If
Hello Pau,
Tuesday, September 19, 2000, 12:52:00 PM, you wrote:
PG We are also developing a JSP+JDBC based Web and we have a question: Where is
PG better to open the connection to the DB through the JDBC driver?
PG - JSP page (one connection for the entire session)
PG- Java Bean
Why don't you include the following:
%@ include file="../../HEADER/GEFFHEAD.JSP" %
and maybe replace the jsp extension with your html extension. I think it
should work.
I am using the above code in JRun 3.0 and it works perfectly. The other good
thing is that you don't have to implement the
that works.
thanks.
- Original Message -
From: "Pascal BLANC" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, September 19, 2000 6:10 PM
Subject: Re: Including HTML files.
Why don't you include the following:
%@ include file="../../HEADER/GEFFHEAD.JSP" %
and maybe replace
Hi,
I have a classFormatError exception using tomcat and jdk 1.2.2 with this
code:
// source code
public ResultSet action() {
Statement stmt = null;
try {
stmt = dbConnect.createStatement();
if(stmt.execute("Select asdf from Reservations")) {
hi:
you can try
%
String tmpb=request.getParameter("txt1");
int Tmpb1=0;
//define variant who equals the part of integer
int Tmpb2=0;
// define variant who equals the part of decimal
if(tmpb.indexOf(".",0)!=-1)
{
Hi, I am looking for a login jsp file that keep track (session) of the user
name ( because I need the username to save it whenever the user do some
actions like add, delete or update, and when the username/password are
correct, forward to a framset.
I saw this example somewhere but don't
hi guys,
i am facing problem in defining scope actually my aim
is to declare bean as application scope and then i
want to use the same bean instance to all the pages.
can anybody suggest me how to retrieve the bean
instance in different pages.
and what all i have to do for this.
plz help me it's
Hello everyone,
I've been learning jsp with Tomcat 3.1 recently, encountered a small problem:
In web.xml I setup initialization parameters to one sevlet, but the servlet was not
picking them when running, the piece of code for initialization is as follows:
private String message;
private
hi,
you have to use
jsp:useBean class="Your beanclass Name" id="beanid"
scope="session"/
regards,
Pranav Kumar
Software Engineer
Informica India Pvt. ltd.
Noida,India
Phone: -91-118-4514702
www.informica.com
- Original Message -
From: RAJESH SINGHANIA [EMAIL
Hi all,
I would like to know the variations in JSP1.1 when compared to the JSP 1.0 .What
issues one is likely to encounter when migrating from 1.0 to 1.1.
Any experiences in this regard can prove helpful to me since we are planning for a
migration infact
Regards
Aravind
--
Hey Kevin
I tried the example given in Jason Hunter's book (eg 7.8) and it does work
the way Jason Hunter describes it.
It works with both IE and Netscape.
The output in Weblogic Console is under...
Wed Sep 20 11:13:30 GMT+05:30 2000:I ServletContext-General UNBOUND as
bindings.listener from
42 matches
Mail list logo