• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Where to put the class file while calling Beans from JSP

 
Maghvendra Singh
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am trying to call a bean from a JSP. But I could not understand where should I put the class files pertaining to that bean(s). I am using the JRun 3.0 as the Web Server.
Could somebody help me in putting the class files (beans) to run the JSP succesfully?
I have prepared the applications using JSP earliar. But never tried with Beans.
Thanks,
Maghvendra.
 
Carl Trusiak
Sheriff
Posts: 3341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JRUN 3.0 is Servlet 2.2/JSP 1.1 compliant You can deploy Beans the same as Servlets. If you put them in a Jar file, put them in the /WEB-INF/lib/ directory. If you are just placing the class files up, put them in /WEB-INF/classes/path/equal/to/packagename/

------------------
Hope This Helps
Carl Trusiak, SCJP2
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic