File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic
Author

bean in servlet.xml and jsp file

lynn ng
Greenhorn

Joined: Aug 07, 2007
Posts: 6
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

Joined: Jan 10, 2002
Posts: 60059
    
  65

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] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: bean in servlet.xml and jsp file
 
Similar Threads
bean and jsp file
apping with Action Class in Spring..
bean in servlet.xml and jsp file
jsp error in spring
Need help with a SimpleFormController