Re: Encrypt and Decrypt Password

2000-09-19 Thread Stefan Bushev
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

Re: Servlets vs JSP

2000-09-19 Thread Purnendu Mishra
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

Re: JSP's, JavaBeans, and JDBC

2000-09-19 Thread Pau GarcĂ­a
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.

Re: Displaying rows from a Scrollable ResultSet

2000-09-19 Thread Muhammad Asim Ajmal
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

New Page

2000-09-19 Thread Stephen Toner
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

Re: New Page

2000-09-19 Thread Alok Kumar
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

Design Question

2000-09-19 Thread Powell, Wayne
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,

PLEASE HELP

2000-09-19 Thread Leena Albert
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

Re: PLEASE HELP

2000-09-19 Thread Hensley, Zachary
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

Re: Displaying rows from a Scrollable ResultSet

2000-09-19 Thread Vineet K Jain
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

question about import

2000-09-19 Thread Yan Zhu
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:

Re: problem with IE

2000-09-19 Thread Antonio W. Lagnada
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

Re: RV: Access MySQL databases

2000-09-19 Thread Alarcon Fabio
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

Re: New Page

2000-09-19 Thread sun_king
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;

Any JSP Compiler for JavaWebServer

2000-09-19 Thread Rajesh Daita
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

Server config. Help

2000-09-19 Thread sukalyan
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

Re: Encrypt and Decrypt Password

2000-09-19 Thread Raj S
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

Urgent please help!

2000-09-19 Thread Leena Albert
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

Re: Any JSP Compiler for JavaWebServer

2000-09-19 Thread Reza U. Nabi
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

Re: Encrypt and Decrypt Password

2000-09-19 Thread Raj S
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

Re: Encrypt and Decrypt Password

2000-09-19 Thread Shen, Tony
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,

Re: Encrypt and Decrypt Password

2000-09-19 Thread Cogley, Jonathan
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.

problem with scope in use bean

2000-09-19 Thread RAJESH SINGHANIA
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

Response has already been committed

2000-09-19 Thread Gabriel J Zimmerman
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

Re: question about import

2000-09-19 Thread Hans Bergsten
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

Re: question about import

2000-09-19 Thread Yan Zhu
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

Re: JSP's, JavaBeans, and JDBC

2000-09-19 Thread RAJESH SINGHANIA
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

Server side java script

2000-09-19 Thread sumit shah
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

Re: Response has already been committed

2000-09-19 Thread Hans Bergsten
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

Re: question about import

2000-09-19 Thread Hans Bergsten
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

Including HTML files.

2000-09-19 Thread Krishna Srinivasan
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

Re: JSP's, JavaBeans, and JDBC

2000-09-19 Thread Oleg V Alexeev
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

Re: Including HTML files.

2000-09-19 Thread Pascal BLANC
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

Re: Including HTML files.

2000-09-19 Thread Krishna Srinivasan
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

classFormatError

2000-09-19 Thread Leonard Bouchet
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")) {

Re: Urgent please help!

2000-09-19 Thread wensj
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) {

login.jsp

2000-09-19 Thread sufi malak
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

problem with scope in useBean

2000-09-19 Thread RAJESH SINGHANIA
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

servlet initialization

2000-09-19 Thread William Wu
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

Re: problem with scope in useBean

2000-09-19 Thread Pranav Bansal
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

Jsp 1.0 to Jsp1.1

2000-09-19 Thread Aravind Kumar LNS
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 --

Re: How to Identify whether a session has expired

2000-09-19 Thread Nitin Khattar
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