JSF: Servlets...

Hello Dev...As new bies to JSF. Just want to know whether I can use Servlets in the JSF project?Tnks
[121 byte] By [Doga] at [2007-11-27 6:44:43]
# 1

> As new bies to JSF. Just want to know whether I can

> use Servlets in the JSF project?

Yes you can...

JSF is no big Monster it is Just a MVC 2.0 Pattern supported Framework which life easy instead of reinventing the wheel by writing customized framework on your own.

btb use the below link to learn abt framework to me i think it cud be one of the best site for newbie's

http://www.coreservlets.com/JSF-Tutorial/

Hope this might help :)

REGARDS,

RaHuL

RahulSharnaa at 2007-7-12 18:16:13 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

I would add, JSF is an extra layer added and maintained by a .. Servlet (the FacesServlet to be exact). So yes, you can use Servlets in JSF ;)

Although if you have Action Servlets in mind, then rather use backing beans instead. It give you access to the FacesContext where you can access the JSF components and values. You can always use Servlets for another tasks, like streaming images, downloads, etc.

BalusCa at 2007-7-12 18:16:13 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...