Bookmark Topic Watch Topic
  • New Topic

bean in servlet.xml and jsp file

 
lynn ng
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi,
I have a file call servlet.xml and have the code as follows:
<bean name="/budget.do" class="com.remy.fpp.view.spring.BudgetTreeController">
<property name="petStore">
<ref bean="petStore" />
</property>
<property name="petStore2">
<ref bean="petStore2" />
</property>
</bean>
When the page is loading "budget.do" bean get called and it is loading the JSP page "budgetReport.jsp".
I don't know how the "budget.do" 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.

Thanks
Lynn
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64717
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place.
 
    Bookmark Topic Watch Topic
  • New Topic