PDA

View Full Version : JSP Spring


mathiasberg
Oct 10th, 2007, 06:37 AM
Hi, im using MyFaces 1.1.5 and Spring 2.0 .
Now i would like to reach my spring beans without going through JSF. Sounds strange maybe, but from my JSP page, i would like to call a spring bean and from there call the DAO.
(im doing this because my JSF dont work inside of my sitemesh decorator files.)

Is this possible?

mathiasberg
Oct 11th, 2007, 02:36 AM
I found a link regarding this.

http://mail-archives.apache.org/mod_mbox/ws-axis-user/200612.mbox/%3CBC46A44FE7941D4B85D53EA9B916E3AA03691681@hma-mx1.hma.com%3E

Now i can reach my spring beans within in my object without going through jsf context.

/Mathias.