2013年12月15日星期日

Are Spring mvc struts can be used inside the label ?

struts action tag inside a tag .
My current frame spring mvc, want to use a similar action label.
Will , spring inside it?
Or , spring struts can use the label?
control layer , I would like to use spring mvc set
------ Solution ----------------------- ---------------------
want to use , then put the tag library and guided into the jar package , no problem
------ Solution - -------------------------------------------
fact jstl on can .
------ Solution ---------------------------------------- ----
spring own tag library is very powerful ah , why do you want to detour
------ Solution ------------------ --------------------------
you say form form it?
------ For reference only -------------------------------------- -

In addition to the configuration file web.xml configuration look , but also requires additional configuration?
------ For reference only -------------------------------------- -


wooden similar action label it?
------ For reference only -------------------------------------- -


not form: form action = "xxx"
is form: action ....
------ For reference only ------------------------- --------------


here if you jsp page called xxx.jsp, he will find the default
@ RequestMapping (value = "/ xxx.htm", method = RequestMethod.GET)
Just pay attention to the different method here , GET is to take the data , POST is sending data to the Controller
should be able to replace

role of
------ For reference only ------------------------------- --------



role is to call allBookAction, and returns a child view back. In the parent screen load when he called.


only when submitted will run it.

I do not know that right
------ For reference only --------------------------- ------------
long as they can achieve the htmlhelper.action asp function can be, we understand you
------ For reference only -------- -------------------------------
I have encountered this problem , then the solution to the google search .
can resolved. (Url = "menu.html" is Action Path )

web.xml DispatcherServlet intercept in which to fill in what, if do, then use .
This will be treated as a request .

没有评论:

发表评论