Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_jsp thread: configuring tomcat 4.0


Message #1 by sjr_r@y... on Sat, 22 Dec 2001 06:06:00
Hi
do you have to compile the program at a package name  a

like this

package a

public class xxxx

the the program is write  or copy by you to the directory a

the jsp useBean id="a" is not the name of the package is a variable of work,
you cant put any name.

this is like an instance of the java servlet like this.

(class)  c   (name) a )= new (class) a();


jsp:useBean id="a" class="a.c"

Julio Oliveira
Oliveira_Julio@y...
Buenos Aires - Argentina


-----Mensaje original-----
De: sjr_r@y... [mailto:sjr_r@y...]
Enviado el: Sábado, 22 de Diciembre de 2001 06:06 a.m.
Para: Pro_JavaServer_Pages
Asunto: [pro_jsp] configuring tomcat 4.0


Hi All,
          iam creating a folder for the project and placing it in the
Webapps,does tomcat4.0 automatically picks the context or we have to do it
automatically.Iam placing javabeans for the jsp's in the
webapps\project\web-inf\classes\a\.class ,but the jsp file are not able
to pick the bean class file in <jsp:useBean id="a" class="a.c" />
where a is the package, is this right or need any corrections

  Thanks in advance

---
Do you need true END-TO-END (e2e) Java Messaging (JMS)?  Softwired
offers industry's ONLY complete 100% JMS messaging solutions for your
needs TODAY.
Visit
http://adtracking.wrox.com/track.asp?x=p2p%2Fe%2Fjava%2Dsoftwired&url=www.so
ftwired-inc.com NOW and find
out more!
Our unique product range includes: iBus//Mobile (wireless data),
iBus//MessageBus (IP Multicast), iBus//MessageServer (store and forward)
and much more!




_________________________________________________________

Do You Yahoo!?

Get your free @yahoo.com address at http://mail.yahoo.com




  Return to Index