Meaningless Drivel is fun!*
The moose likes JSP 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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSP
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: 60048
    
  65

What system are you using that is processing this servlet.xml file? It's not part of the servlet or JSP standard.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

"lynn ng",
Please check your private messages.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60048
    
  65

Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place.
 
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..
jsp error in spring
bean in servlet.xml and jsp file
Need help with a SimpleFormController