Re: jsp in iplanet4.1 - useBean ?????

2000-10-20 Thread vivek tiwari
Do the following : 1.) Put the bean in a package 2.) Include the package in the classpath 3.) In jsp reference it using packagename.classname That should do Vivek --- Venkatesh Kesavan [EMAIL PROTECTED] wrote: Please help, I am not able to get through this issue so far. I have

Re: encryption and form signing

2000-10-20 Thread Stefán Freyr Stefánsson
Hi Zhou. I've been considering this problem a little and we came to a conclusion to use an applet. You could also do a plugin for your browser but that's alot of work. We've also tried to hack a specific type of Java browser so that the form tags in HTML are modified... in other words our

taglib??

2000-10-20 Thread c tang
Hi all, I am trying to use jrun's taglib with J2EE RI. I put the jar file in WEB-INF/lib and tld file into WEB-INF/tlds. When the tld file is reference in JSP using taglib tag. I got the following error, java.lang.ClassCastException: com.sun.xml.tree.TextNode at

problem post from archives.java.sun.com?

2000-10-20 Thread c tang
I tried to post a message from sun's website and got my mail return. However, if I post from my email program, it works. What is wrong? Date: Fri, 20 Oct 2000 07:15:22 From: LISTSERV SMTP interface [EMAIL PROTECTED] | Block address Subject: Undelivered mail To: [EMAIL PROTECTED] Add

Re: string in javascript

2000-10-20 Thread Ron Chan
Hi, this comes to mind but is probably not the correct way! StringTokenizer st = new StringTokenizer( s, "\n" ); String ss = ""; while( st.hasMoreTokens() ) { ss += st.nextToken() + "br"; } something like that, then show ss in the jsp. ron --- david chan [EMAIL PROTECTED] wrote: Hi, I

oracle thin driers in JWS

2000-10-20 Thread manoj nahar
hi how to install oracle thin drvers in javawebserver i have thin driver file classes12.zip how to do it? thanks manoj nahar === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some relevant

Re: Uploading file

2000-10-20 Thread Antonio Jimenez
the solution is LONG RAW Oracle datatype Cheong Takhoe wrote: Hi, I'm trying to achieve the method above with Oracle and it works ... but only for files less than 5k This is what I get when it fails.. sql.SQLException: ORA-01461: can bind a LONG value only for insert into a LONG column

Re: Uploading file

2000-10-20 Thread Ron Chan
Hi, http://technet.oracle.com/doc/java.815/a64685/basic4.htm#1002507 ron --- Antonio Jimenez [EMAIL PROTECTED] wrote: the solution is LONG RAW Oracle datatype Cheong Takhoe wrote: Hi, I'm trying to achieve the method above with Oracle and it works ... but only for files less

Re: oracle thin driers in JWS

2000-10-20 Thread Sanjay Gomes
u dont have to include it in JWS Point ur classpath to it after placing it in some directory Sanjay -Original Message- From: manoj nahar [mailto:[EMAIL PROTECTED]] Sent: 20 October 2000 16:07 To: [EMAIL PROTECTED] Subject: oracle thin driers in JWS hi how to install oracle thin drvers

Re: oracle thin driers in JWS

2000-10-20 Thread Antonio Jimenez
you only need set the classes.zip file in the classpath server manoj nahar wrote: hi how to install oracle thin drvers in javawebserver i have thin driver file classes12.zip how to do it? thanks manoj nahar ===

Why 3 writers in body tag?

2000-10-20 Thread Dave Ford
From within a body tag, there seems to be multiple writers for outputting data. What is the difference between these 3 choices: bodyContent.getEnclosingWriter().println("Hello"); bodyContent.println("Hello"); pageContext.getOut().println("Hello"); Thanks, Dave

Re: Uploading file

2000-10-20 Thread T A Flores
You need to use the BLOB datatype for multimedia files and is supported very well by Oracle 8i. - Original Message - From: Cheong Takhoe [EMAIL PROTECTED] Date: Thursday, October 19, 2000 7:49 pm Subject: Uploading file Hi, I'm trying to achieve the method above with Oracle and it

Re: taglib??

2000-10-20 Thread Martin Cooper
Try putting the tld files in WEB-INF instead of WEB-INF/tlds. -- Martin Cooper Tumbleweed Communications - Original Message - From: "c tang" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, October 20, 2000 7:17 AM Subject: taglib?? Hi all, I am trying to use jrun's taglib

JSP, Servlet, Bean and MySQL

2000-10-20 Thread Mohammed Ali
Hi All, I need some advice: I am writing a web application with JSP as the presentation layer and MySQL as the backend database server. In order to separate the application logic from the presentation layer, I am using Java bean(s) to write my application logic and use them in the JSP pages.

Re: Why 3 writers in body tag?

2000-10-20 Thread Sanjay Gomes
How are the taglibs as compared to beans I found only one point in its favour that it doesnt complicate the code But how is it like if u already have beans in place is it advisable to go in for Tags to repolace it Sanjay -Original Message- From: Dave Ford [mailto:[EMAIL PROTECTED]] Sent:

Re: Why 3 writers in body tag?

2000-10-20 Thread Robert Nicholson
I would expect their only to be two and for the send and third to be the same _eventually. The first one is for the enclosing tags output stream. -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Dave

Re: Why 3 writers in body tag?

2000-10-20 Thread Robert Nicholson
Just wrap your beans with tags and have both. Tags are only good in JSP so keep that in mind. -Original Message- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Sanjay Gomes Sent: Friday, October 20, 2000 9:58 AM To:

Re: WebSphere

2000-10-20 Thread Modassir Sattar
Hi, Does anybody know how to deploy beans on IBM's WebSphere Server. Can you please let me know where should I place my .class and .jar files. Your help is reaply appreciated. Thanks, Modassir === To unsubscribe: mailto

Servlet/JSP Development

2000-10-20 Thread Antonio W. Lagnada
Hello, When I am developing JSP/Servlets, I find that I don't get the changes that I've made to a particular class unless I restart Tomcat. I find this to be real annoying because I could be depending on the state of session variables--and when I restart the server I lose the session. Does

ASP 2 JSP

2000-10-20 Thread Nova Bhojwani
Is there any too for converting ASP to JSP. __ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/ === To unsubscribe: mailto [EMAIL

ASP 2 JSP

2000-10-20 Thread Nova Bhojwani
any tool for converting ASP to JSP __ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/ === To unsubscribe: mailto [EMAIL PROTECTED]

Re: Servlet/JSP Development

2000-10-20 Thread Mahesh Thirumurthy
Hi, You can force tomcat to check if the .class has been modified . You need to change the server.xml and set the reloadable element in context path tag to true. This will make tomcat to shutdown and reload automatically, if any change is made to classes in the WEB-INF directory.But there is

RES: ASP 2 JSP

2000-10-20 Thread André Sampaio
No know, but may be found you with dificulted. Probhability...impossible !!! Regards, André [EMAIL PROTECTED] -Mensagem original- De: Nova Bhojwani [mailto:[EMAIL PROTECTED]] Enviada em: Friday, October 20, 2000 2:57 PM Para: [EMAIL PROTECTED] Assunto: ASP 2 JSP any tool for

Help - Tomcat and IIS

2000-10-20 Thread Zhao Zhipeng
Hi, There I'm trying to integrate Tomcat with Personal Web Server on Win NT4.0 by using isapi_redirect.dll (out-of-process). When running a jsp file, I got the following error message in isapi log file (isapi.log): [jk_connect.c (142)]: jk_open_socket, connect() failed errno = 61

Dynamic Array Storage

2000-10-20 Thread Dennis Leary
Here is what I'm doing. Have a form that has up to 10 records of input all of type text. I have written JSP that processes the form and checks a particular field. if the record is good then it stores it into a dynamic array. Now that I have this array I need to store it in a bean somehow but

Using Tomcat as NT Service

2000-10-20 Thread jaspreet
Hi, I m using Tomcat on Windows NT4.0. Is there anyway through which I can run Tomcat as service? It would be very nice if anybody can explain. Thanks Jaspreet === To unsubscribe: mailto [EMAIL PROTECTED] with body:

How risky it is to store passwords in a session variable

2000-10-20 Thread Lorena Carlo
Hello all, Can somebody tell me if there is a risk in declaring a session variable that contains passwords?. Thanks in advance Lorena === To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". Some

Re: Using Tomcat as NT Service

2000-10-20 Thread Craig Ducharme
Jaspreet, Try http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/NT-Service-howto.html Craig From: jaspreet [EMAIL PROTECTED] Reply-To: A mailing list about Java Server Pages specification and reference [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Using Tomcat as NT Service

Re: Using Tomcat as NT Service

2000-10-20 Thread Halterman, Jon
I would also be interested in the information. I am running Tomcat on Win2000 professional. TIA, Jonathan -Original Message- From: jaspreet [mailto:[EMAIL PROTECTED]] Sent: Friday, October 20, 2000 3:12 PM To: [EMAIL PROTECTED] Subject: Using Tomcat as NT Service Hi, I m using

Re: ASP 2 JSP

2000-10-20 Thread JSP Insider
I dont know of any tools to convert asp to JSP, But I did write up some charts http://www.jspinsider.com/articles/jspasp/asp_to_jsp.html to help asp programmers make the switch easier. Hope they help Casey [EMAIL PROTECTED] From: Nova Bhojwani [EMAIL PROTECTED] Reply-To: A mailing list

Re: How risky it is to store passwords in a session variable

2000-10-20 Thread T A Flores
I am unclear as to why you want to store a password in session. Why don't you just pass around some type of validated indication and not the password. Such as login=true; - Original Message - From: Lorena Carlo [EMAIL PROTECTED] Date: Friday, October 20, 2000 12:12 pm Subject: How

Re: How risky it is to store passwords in a session variable

2000-10-20 Thread Nicholson Robert
Ask yourself why you need to. People usually store them encrypted in cookies. On Fri, 20 Oct 2000, Lorena Carlo wrote: Hello all, Can somebody tell me if there is a risk in declaring a session variable that contains passwords?. Thanks in advance Lorena

Re: Using Tomcat as NT Service

2000-10-20 Thread jaspreet
Craig, Thanks. I did the same thing and created one service called tomcat but whenever I try to start the service it says "tomcat service could not be started" and on next line "The service did not report any error." . Do you have any idea how to solve this problem?. Regards Jaspreet

Re: Servlet/JSP Development

2000-10-20 Thread T L
You can use Weblogic. Only Weblogic can detect the changes automatically. _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at

Re: Why 3 writers in body tag?

2000-10-20 Thread Hans Bergsten
Dave Ford wrote: From within a body tag, there seems to be multiple writers for outputting data. What is the difference between these 3 choices: bodyContent.getEnclosingWriter().println("Hello"); bodyContent.println("Hello"); pageContext.getOut().println("Hello"); The BodyContent class is

Re: Dynamic Array Storage

2000-10-20 Thread Luis Javier Beltran
You can create a couple of get/set methods in your bean so that you can exchange data between the JSP, and the Servlet. Something like: class array[] ; public class[] getArray() { return array; } public void setArray(class array[]) { this.array = array; } class = the class type

Re: WebSphere

2000-10-20 Thread Luis Javier Beltran
Assuming that you're not refering to EJB, you can place them under \websphere\appserver\servlets. You can create a sub folder, to make it cleaner, but don't forget to include it in the classpath variable. - Original Message - From: "Modassir Sattar" [EMAIL PROTECTED] To: [EMAIL

Re: Why 3 writers in body tag?

2000-10-20 Thread Nicholson Robert
All of this stuff may be explained in the WROX tag library chapter on javasoft right now... from the Java Server Programming J2EE edition book. If anybody has a TOC for this I'd like to see it. Cheers. === To unsubscribe:

Re: Using Tomcat as NT Service

2000-10-20 Thread Antonio W. Lagnada
One thing to check is to see if Tomcat actually starts on the command line before running it as a service. Also, tomcat may be writing to stdout...it may explain why you don't see any error msgs. -- Antonio W. Lagnada Ecommerce Consultant [EMAIL PROTECTED] This email address is specifically

Re: Dynamic Array Storage

2000-10-20 Thread Antonio W. Lagnada
Is it a must that u use a bean? Why can't u just pass it as a session object and then retrieve that object on another page. -- Antonio W. Lagnada Ecommerce Consultant [EMAIL PROTECTED] This email address is specifically for JSP-Interest email list. Remove _NOSPAM for the actual email.

Re: How risky it is to store passwords in a session variable

2000-10-20 Thread Steven Owens
On Fri, 20 Oct 2000, Lorena Carlo wrote: Can somebody tell me if there is a risk in declaring a session variable that contains passwords?. Ask yourself why you need to. People usually store them encrypted in cookies. Back before JSP and the servlet spec became popular, the session

Re: How risky it is to store passwords in a session variable

2000-10-20 Thread Lorena Carlo
Hello all, Thanks for the answers, but you haven't really answer me if it is dangerous to do this or not. The reason why I want to do this is for validating a user after he has accessed the program, I want him to re-enter the password for some operations, and I don't want to access again the

Re: How risky it is to store passwords in a session variable

2000-10-20 Thread Kaseman, Mark T
It really depends on your company's or your customer's auditors and if they view this as a security exposure. -Original Message- From: Lorena Carlo [mailto:[EMAIL PROTECTED]] Sent: Friday, October 20, 2000 4:19 PM To: [EMAIL PROTECTED] Subject: Re: How risky it is to store passwords in a

Re: How risky it is to store passwords in a session variable

2000-10-20 Thread Michael Donnelly
If you're worried about the session data being compromised or otherwise stolen, you could just hash it. MD5 the user's password at login and store the hash. Then when you need to re-prompt the user, hash the answer and compare. That way the password can't be ripped off if someone finds a way

Re: How risky it is to store passwords in a session variable

2000-10-20 Thread T A Flores
I think it would not necessarily be a dangerous thing to do. The question you need to ask yourself is whether or not this is the right thing to do. It is much easier to be security conscience then to add a weakness to the system from the word go. I personnally would never pass around a

Re: Servlet/JSP Development

2000-10-20 Thread Luis Javier Beltran
You can configure that when you define your application, there's a directive that specifies if Tomcat should check for changes in your classes. Sorry for not being more specific, but I have that info at home. It's all in the documentation. :) I hope that helps you - Original Message

Re: How risky it is to store passwords in a session variable

2000-10-20 Thread Sven van 't Veer
Michael Donnelly wrote: If you're worried about the session data being compromised or otherwise stolen, you could just hash it. MD5 the user's password at login and store the hash. Then when you need to re-prompt the user, hash the answer and compare. That way the password can't be ripped

Re: Dynamic Array Storage

2000-10-20 Thread Dennis Leary
Tried to use the session object but. it wouldn't take. session.setAttribute(data, datalist) where datalist is datalist[][] I had error saying that HttpSession does not support it. "Antonio W. Lagnada" [EMAIL PROTECTED] 10/20/00 04:49PM Is it a must that u use a bean? Why can't u just

Re: How risky it is to store passwords in a session variable

2000-10-20 Thread Sven van 't Veer
T A Flores wrote: I think it would not necessarily be a dangerous thing to do. The question you need to ask yourself is whether or not this is the right thing to do. It is much easier to be security conscience then to add a weakness to the system from the word go. I personnally would

Re: Dynamic Array Storage

2000-10-20 Thread Luis Javier Beltran
Well, not a must, but I thought you had to... Personally, I'd use a bean, I don't like leaving the programming and logic to the JSP, I only use it to generate an HTML page, but I almost associate a JSP to a bean where I can define variables and methods to process that data. LJ - Original

Re: Dynamic Array Storage

2000-10-20 Thread Sven van 't Veer
Dennis Leary wrote: Tried to use the session object but. it wouldn't take. session.setAttribute(data, datalist) where datalist is datalist[][] I had error saying that HttpSession does not support it. That's funny. Must be a bug somewhere in HttpSession.setAttribute(String, OBJECT).

Re: Dynamic Array Storage

2000-10-20 Thread Antonio W. Lagnada
That's what I was wonderin'. Strange. -- Antonio W. Lagnada Ecommerce Consultant [EMAIL PROTECTED] This email address is specifically for JSP-Interest email list. Remove _NOSPAM for the actual email. "Sven van 't Veer" [EMAIL PROTECTED] wrote: Dennis Leary wrote: Tried to use

Bean: Unable to do setProperty

2000-10-20 Thread Sushil Singh
Hi, I am unable to setProperty for a bean, its giving error: com.sun.jsp.JspException: "setProperty(shiptoBean): Cant Find the method for setting {1}" Following is the code snippet: jsp:setProperty name="shiptoBean" property="dbUser" value="db2inst1"/ jsp:setProperty name="shiptoBean"

Re: Bean: Unable to do setProperty

2000-10-20 Thread Luis Javier Beltran
To set all parameters you can use jsp:setProperty name="bean name" property="*" - Original Message - From: "Sushil Singh" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, October 20, 2000 5:38 PM Subject: Bean: Unable to do setProperty Hi, I am unable to setProperty for a

Re: Servlet/JSP Development

2000-10-20 Thread Antonio W. Lagnada
Well...I just got a reply saying you can do it in Tomcat. Are you a WebLogic sales person? -- Antonio W. Lagnada Ecommerce Consultant [EMAIL PROTECTED] This email address is specifically for JSP-Interest email list. Remove _NOSPAM for the actual email. T L [EMAIL PROTECTED] wrote: You

Re: Bean: Unable to do setProperty

2000-10-20 Thread Shawn Zhu
but does that mean all property will be set to the same value? -Original Message- From: Luis Javier Beltran [mailto:[EMAIL PROTECTED]] Sent: Friday, October 20, 2000 4:24 PM To: [EMAIL PROTECTED] Subject: Re: Bean: Unable to do setProperty To set all parameters you can use

Using extends

2000-10-20 Thread Nicholson Robert
If you use "extends" attribute of the page directive. What should you be extending? An implementor of javax.servlet.jsp.HttpJspPage only? I know it's illadvised to use "extends" but a lot of code on this project has already been factored into a common jsppage superclass. For oracles

Page cannot be displayed

2000-10-20 Thread Eugene Voznesensky
Dear friends, For our production e-commerce system we use Java Web Server 1.1.3. Very offten instead of creared by servlet html output page user receives 'Page cannot be displayed'. Thank you in advance for any advice or idea. Regards, Eugene

Re: Bean: Unable to do setProperty

2000-10-20 Thread Rob Gordon
Hi, I am unable to setProperty for a bean, its giving error: com.sun.jsp.JspException: "setProperty(shiptoBean): Cant Find the method for setting {1}" Following is the code snippet: jsp:setProperty name="shiptoBean" property="dbUser" value="db2inst1"/ You don't say what jsp engine you

Aborting JVM

2000-10-20 Thread Kimi H. Kitase
Helo I got below messages Aborting JVM Exiting JVM due to: jvm_abort () and jvm.exitOnAbort 0 JVM exit statistics: AttachedThreads/Max=1/1, ActiveThreads/Max=1/1 Loading Simple Session Manager by default. Specify MMapSessionManager in servlets.properties to load persistent session manager

Aborting JVM

2000-10-20 Thread Kimi H. Kitase
re-sending.. Helo I got below messages Aborting JVM Exiting JVM due to: jvm_abort () and jvm.exitOnAbort 0 JVM exit statistics: AttachedThreads/Max=1/1, ActiveThreads/Max=1/1 Loading Simple Session Manager by default. Specify MMapSessionManager in servlets.properties to load persistent

Re: WebSphere

2000-10-20 Thread Nath Niraj
1.go to websphere admin console - topology 2. right click on any container and select create enterprise bean 3. browse and select the .ser file 4. specify the data source also (if entity bean) 5. once the bean is added restart the container Regards, Niraj Nath, IBM Global Services India