File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes bean in servlet.xml and jsp file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic

bean in servlet.xml and jsp file

lynn ng

Joined: Aug 07, 2007
Posts: 6
I have a file call servlet.xml and have the code as follows:
<bean name="/" class="com.remy.fpp.view.spring.BudgetTreeController">
<property name="petStore">
<ref bean="petStore" />
<property name="petStore2">
<ref bean="petStore2" />
When the page is loading "" bean get called and it is loading the JSP page "budgetReport.jsp".
I don't know how the "" bean linked to the "budgetReport.jsp" file.
I think it must have some config file to define that but I don't know what is it. Can you help.

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63534

Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: bean in servlet.xml and jsp file
It's not a secret anymore!