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
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
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
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
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
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
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
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
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
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
===
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
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
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
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.
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:
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
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:
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
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
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
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]
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
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
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
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
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:
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
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
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
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
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
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
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
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
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
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
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
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:
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
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.
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
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
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
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
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
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
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
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
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
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
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).
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
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"
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
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
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
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
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
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
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
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
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
62 matches
Mail list logo