spring-mvc

    2熱度

    1回答

    我試圖實現,以便Thymeleaf可以與Spring MVC 3一起工作,並使用2視圖解析器,一個用於jsp和一個用於html模板。我想先要求我的Thymeleaf ServletContextTemplateResolver嘗試解析視圖,如果它找不到,則傳遞給Spring MVC 3 InternalResourceViewResolver。 我ServletContextTemplateRes

    0熱度

    1回答

    我們使用了weblogic 10,並且一切正常。我們升級到Weblogic 12c和嘗試部署的應用程序,讓錯誤時, java.io.IOException: Resource not found: "org/joda/time/tz/data/Etc/GMT+1" ClassLoader: [email protected] finder: [email protected] ann

    1熱度

    1回答

    沒有檢測到我有一個表格聲明如下: <form id="reply-form-frm" novalidate="novalidate" action="/reply/responsive" method="POST"> [@spring.bind "model.form"/] [@spring.bind "model.form.message" /]

    0熱度

    1回答

    我有問題將ajax與spring-mvc耦合在一起。我想創建一個簡單的計算器,提供給JSP中的數字發佈它們並得到總和。這些值是正確發送的(根據日誌 - 帖子底部),但我無法在jsp頁面上顯示結果。 我的代碼: HelloController.java @Controller @RequestMapping("/springMVCTest/") public class HelloControl

    13熱度

    3回答

    這可能嗎? @Controller @RequestMapping("/login") public class LoginController { @RequestMapping("/") public String loginRoot() { return "login"; } @RequestMapping(value="/erro

    1熱度

    1回答

    我需要從彈簧控制器內調用另一個@RequestMapping。現在我可以很容易地做到這一點 return "redirect:anotherMapping.htm"; 但我需要在表單對象中傳遞值。 @RequestMapping("/anotherMapping") public ModelAndView addUser(final @ModelAttribute("userLogi

    3熱度

    2回答

    我有一個這樣的形式: <form:form method="POST" action="searchProjects" commandName="projectcriteria"> <table> <tr> <td class="label"><spring:message code="number" /></td> <td><form:input

    0熱度

    1回答

    我有一個帶有兩個多選下拉列表的表單, 使用java腳本我正在將值從一個下拉列表中選擇到其他列表中,當單擊該按鈕時從seconf移動到第一個下拉列表select當另一個按鈕被點擊時。 WHN我提交表單我想在形式的所有值:選擇 的JSP是folllows(即,值它們也不是由用戶選擇的,也被檢索。): <form:form id="adduser" commandName="Bean" actio

    4熱度

    2回答

    我在其中我實現Spring Security的Web應用程序我spring-security.xml是 <?xml version="1.0" encoding="UTF-8"?> <beans:beans xmlns="http://www.springframework.org/schema/security" xmlns:beans="http://www.springfram

    0熱度

    2回答

    我已經把學習春天(2.5)的任務,我已經陷入了一個問題,使用屬性,其中,當表單加載時,我不會得到任何預先選定的值。所以情況如下: 在我的系統中我有公司,客戶和用戶。客戶延伸公司,並且公司可以擁有用戶列表(getMethod是公開的,因此客戶也有一個用戶列表)。 因此,這是怎樣的形式,我.JSP選擇容貌: <form:select multiple="true" id="selectAccountM