Thanks,
www.Admakr.in
Originally posted by Abhinit Saxena:
best practice to use a bean in tomcat
Step1) put your java file in classes folder
value="<jsp:getProperty name="mybean" property="firstname"/>"/>
Thanks,
www.Admakr.in
my directoy structure is:
context/
index.html
view.jsp
WEB-INF/
web.xml
classes/
mvc/
Controller.class
Mybean.class.
Balasubramani SD,<br />SCJP 1.4,SCWCD 1.4,SCJP 5.0<br /><a href="http://sd.balasubramani.googlepages.com" target="_blank" rel="nofollow">www.sd.balasubramani.googlepages.com</a>
Thanks,
www.Admakr.in
[My Blog]
All roads lead to JavaRanch
Originally posted by Shrinivas Mujumdar:
or (if JSP 2.0 is supproted by your server)
I hope this helps
Do focus on suggestions given earlier related to code conventions
Shrinivas
Thanks,
www.Admakr.in
Originally posted by Bear Bibeault:
This is not something that I'd consider doing or consider a best practice. Only class files need be placed in the WEB-INF/classes hierarchy.
Thanks,
www.Admakr.in