Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

bean and jsp file

 
lynn ng
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • 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
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I *think* this is a SpringMVC question? I'll move it to our Application Frameworks forum. In the future, be as specific as you can with your questions subject. We discuss many many different Java related technologies here.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64851
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
lynn ng, This is the third time you have posted this question. Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place. I have closed the duplicate posts.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic