2013年9月11日星期三

action request , why suffix htm?

See someone write code in such a :
action = "$ {basePath} / shop / micro_blog_center / save.htm"
corresponding method is to shop here below microBlogCenterAction class package following the save method , I want to ask is , where the suffix htm What does it mean ?
Also, why do I add parameters [ action = "$ {basePath} / shop / micro_blog_center / save.htm? messgae = 2323 & url = 2323" ] request is not successful ?

------ Solution ------------------------------------ --------
url suffix does not necessarily have any meaning , url can be rewritten. htm may be to look like static pages ( pseudo-static ) . Request is unsuccessful , you need to debug debug know
------ Solution ------------------------------- -------------
web.xml url-pattern with the look it is so
------ Solution ------------ --------------------------------
xml configuration inside submitted suffix
---- - Solution --------------------------------------------


web.xml in


FileUrl
*. htm


configured interceptor already . htm request


Your request is unsuccessful , the method is certainly no action request parameters
------ For reference only ------------------ ---------------------
that it does not matter , springmvc or struts set , confuse .
------ For reference only -------------------------------------- -


where to set it ? how to add parameters?
------ For reference only -------------------------------------- -

  
web.xml in   
  
  
FileUrl   
*. htm   
  
  
configured interceptor already . htm request   
  
  
Your request is unsuccessful , the method is certainly no action request parameters  
+1
------ For reference only -------------------------------- -------

  
web.xml in   
  
  
FileUrl   
*. htm   
  
  
configured interceptor already . htm request   
  
  
Your request is unsuccessful , the method is certainly no action request parameters  
+1
------ For reference only -------------------------------- -------
en Right Now Thank you O (∩ _ ∩) O ~

没有评论:

发表评论