• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

bean and jsp file

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Uh oh, we're definitely being carded. Here, show him this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic