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.
LVL 7
gudii9Asked:
Who is Participating?
 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.