开发者

Tutorial for using spring beans in jsp pages

(I am not familar with technologies related to HTML delivery, like JSP... But I know basic concepts...)

In my application I use Spring Beans and Spring Security together with Blaze DS to communicate with Flex applications over AMF protocol. Everything works just fine.

Now I have a task to deliver some services via HTTP/HTML eg. it should be s开发者_JAVA百科ome sort of servlets or JSP pages that generates HTML for users. To not reproduce all business and data access logic I want to utilize my existing Spring Beans (I love Spring.). So, basically I want to create HTML view for my Spring Beans.

My question: What would be the best way to do it? Which technologies I should use? What guru-guys will suggest?

The best tip would be a link to small tutorial that will explain how to access Spring Beans for JSP pages. I tried to goole myself but there are too much information and I am a little bit nixed up with different version - so I really have no clue what should I start with...


You should look into Spring MVC. You can find an introduction here.

Also the accepted answer to this question discusses how to do what you want specifically (i.e. access your Spring Beans from JSP pages).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜