Where to Place Bean files

2001-06-06 Thread Hemant Singh

HI ALL:
Where do i need to place the JSP bean which i m going
to use in JSP files.
Cheers

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/



RE: Where to Place Bean files

2001-06-06 Thread Pernica, Jan

into WEB-INF/classes
or into jar which will be in WEB-INF/lib

On Wednesday, June 06, 2001 8:52 AM, Hemant Singh
[SMTP:[EMAIL PROTECTED]] wrote:
 HI ALL:
 Where do i need to place the JSP bean which i m going
 to use in JSP files.
 Cheers
 
 __
 Do You Yahoo!?
 Get personalized email addresses from Yahoo! Mail - only $35 
 a year!  http://personal.mail.yahoo.com/


__
Tato komunikace je urcena vyhradne pro adresata a je duverna. 
This communication is intended solely for the addressee and is confidential.






RE: Where to Place Bean files

2001-06-06 Thread Phillip Gibb

JSP Bean? don't you mean java bean, in that case use the jsp:useBean tag,
and you can place it anywhere in the page so long as you insert it before
any reference to the bean. It is good design to put it at the top.

be sure to place the java bean in the WEB-INF/classes dir of the context
that you are working with.

If you actually mean JSP Bean, then tell me more, I've never heard of this
before.

Phill

-Original Message-
From: Hemant Singh [mailto:[EMAIL PROTECTED]]
Sent: 06 June 2001 08:52
To: [EMAIL PROTECTED]
Subject: Where to Place Bean files


HI ALL:
Where do i need to place the JSP bean which i m going
to use in JSP files.
Cheers

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/



Re: Where to Place Bean files

2001-06-06 Thread Manish Bhatnagar

Hello all!
I am facing the same problem. I created a bean that I am using in a JSP.
The JSPs are in
F:\jakarta-tomcat-3.2.1\jakarta-tomcat-3.2.1\webapps\manish\jsp

I tried putting the Bean in the same directory where my JSP is present. It
doesn't work. Also I placed it in

E:\jakarta-tomcat-3.2.1\jakarta-tomcat-3.2.1\webapps\manish\WEB-INF\jsp\bean
s
but that too of no avail.

Any suggestions?
Manish
- Original Message -
From: Hemant Singh [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 06, 2001 12:21 PM
Subject: Where to Place Bean files


 HI ALL:
 Where do i need to place the JSP bean which i m going
 to use in JSP files.
 Cheers

 __
 Do You Yahoo!?
 Get personalized email addresses from Yahoo! Mail - only $35
 a year!  http://personal.mail.yahoo.com/




RE: Where to Place Bean files

2001-06-06 Thread Phillip Gibb

to make things simplier change F:\jakarta-tomcat-3.2.1\jakarta-tomcat-3.2.1
to f:\tomcat

and make sure that TOMCAT_HOME is set to f:\tomcat

don't place them into WEB-INF\jsp\bean, put them into WEB-INF\classes. and
if they are package (eg jsp.bean) then place them in
WEB-INF\classes\jsp\bean

phill

-Original Message-
From: Manish Bhatnagar [mailto:[EMAIL PROTECTED]]
Sent: 06 June 2001 08:59
To: [EMAIL PROTECTED]
Subject: Re: Where to Place Bean files


Hello all!
I am facing the same problem. I created a bean that I am using in a JSP.
The JSPs are in
F:\jakarta-tomcat-3.2.1\jakarta-tomcat-3.2.1\webapps\manish\jsp

I tried putting the Bean in the same directory where my JSP is present. It
doesn't work. Also I placed it in

E:\jakarta-tomcat-3.2.1\jakarta-tomcat-3.2.1\webapps\manish\WEB-INF\jsp\bean
s
but that too of no avail.

Any suggestions?
Manish
- Original Message -
From: Hemant Singh [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 06, 2001 12:21 PM
Subject: Where to Place Bean files


 HI ALL:
 Where do i need to place the JSP bean which i m going
 to use in JSP files.
 Cheers

 __
 Do You Yahoo!?
 Get personalized email addresses from Yahoo! Mail - only $35
 a year!  http://personal.mail.yahoo.com/



RE: Where to Place Bean files

2001-06-06 Thread Hemant Singh

HI Gibb:
Well sorry for little ambigous
Yeah u got it right
Cheers
--- Phillip Gibb [EMAIL PROTECTED] wrote:
 JSP Bean? don't you mean java bean, in that case use
 the jsp:useBean tag,
 and you can place it anywhere in the page so long as
 you insert it before
 any reference to the bean. It is good design to put
 it at the top.
 
 be sure to place the java bean in the
 WEB-INF/classes dir of the context
 that you are working with.
 
 If you actually mean JSP Bean, then tell me more,
 I've never heard of this
 before.
 
 Phill
 
 -Original Message-
 From: Hemant Singh [mailto:[EMAIL PROTECTED]]
 Sent: 06 June 2001 08:52
 To: [EMAIL PROTECTED]
 Subject: Where to Place Bean files
 
 
 HI ALL:
 Where do i need to place the JSP bean which i m
 going
 to use in JSP files.
 Cheers
 
 __
 Do You Yahoo!?
 Get personalized email addresses from Yahoo! Mail -
 only $35 
 a year!  http://personal.mail.yahoo.com/


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/



Re: Where to Place Bean files

2001-06-06 Thread Manish Bhatnagar

Thanks to all of you. The problem is solved.
Manish
- Original Message -
From: Boris Niyazov [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 06, 2001 8:27 PM
Subject: Re: Where to Place Bean files


 Beans should reside in WEB-INF/classes, so in you case (assuming the bean
belong
 to package jsp) in


F:\jakarta-tomcat-3.2.1\jakarta-tomcat-3.2.1\webapps\manish\WEB-INF\classes\
jsp

 HTH
 *
 * Boris NiyazovPh:  212-854-4094  Fax: 212-854-1749 *
 * Systems Manager  Email: [EMAIL PROTECTED] *
 * Columbia Law School  URL: http://www.law.columbia.edu *
 *



 Hello all!
 I am facing the same problem. I created a bean that I am using in a JSP.
 The JSPs are in
 F:\jakarta-tomcat-3.2.1\jakarta-tomcat-3.2.1\webapps\manish\jsp
 
 I tried putting the Bean in the same directory where my JSP is present.
It
 doesn't work. Also I placed it in
 
 
 s
 but that too of no avail.
 
 Any suggestions?
 Manish
 - Original Message -
 From: Hemant Singh [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, June 06, 2001 12:21 PM
 Subject: Where to Place Bean files
 
 
  HI ALL:
  Where do i need to place the JSP bean which i m going
  to use in JSP files.
  Cheers
 
  __
  Do You Yahoo!?
  Get personalized email addresses from Yahoo! Mail - only $35
  a year!  http://personal.mail.yahoo.com/