A
A
Andrei Vurtatov2013-11-28 00:49:25
Spring
Andrei Vurtatov, 2013-11-28 00:49:25

What is the correct way to send dynamic web pages to the user using Spring MVC?

There is Spring MVC.
How to properly use it to give dynamic pages of a website to the user.
Option 1, Bad:
Build the page with Java. string + string

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vit, 2013-11-28
@fornit1917

Have you tried to understand the abbreviation MVC?

K
KombI4, 2013-11-28
@KombI4

In spring you can use mvc namespace for this.
in dispatcher-servlet config xml you can specify
where location is a path relative to webContent
this configuration is used if the dispatcherServlet is mapped to / in web.xml

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question