Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

To call javabeans from JSP using Weblogic

 
Vivek Puthiyonnan
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where should i keep the javabeans classes to use it with Weblogic Server ? I used the same way as done in Tomcat, but its not working!!
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64980
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
.but its not working


This is not a useful description of the problem.
 
stef li
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
copy anywhere, run anywhere

may be u have some configuration error
 
Shrinivas Mujumdar
Ranch Hand
Posts: 328
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
MAke sure you have a package for Javabean class & keep it under classes folder.


If you are going to access it through JSP i think <jsp:useBean> is best way to access it.

Shrinivas
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64980
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Shrinivas Mujumdar:

If you are going to access it through JSP i think <jsp:useBean> is best way to access it.


Not always. In scriptless JSPs, such scoped variables are directly accessible to the Expression Language.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic