[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 416
  • Last Modified:

props for URL mappings within Spring MVC framework.

I was reading folowing lines and I did not understand clearly.
You use <props> several places in Spring, including when you create URL mappings
within Spring MVC framework.

An example
showing how the <props> element is used to declare URL mappings:
<property name="mappings">
<props>
<prop key="/viewCourseDetails.htm">viewCourseController</prop>
</props>
</property>

Any ideas, resources,sample code,links, highly appreciated. thanks in advance.
0
gudii9
Asked:
gudii9
  • 2
2 Solutions
 
objectsCommented:
its saying you can use props to define a mapping
what exactly don't you understand?
0
 
mrjoltcolaCommented:
<props>
</props>

is just a way to create/initialize a HashTable of key/value pairs.
0
 
gudii9Author Commented:
does it means Property collection item right. please advise
0
 
objectsCommented:
yes
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now