Questions tagged [spring-tld]

spring.tld tag library

One of the view technologies you can use with the Spring Framework is Java Server Pages (JSPs). To help you implement views using Java Server Pages the Spring Framework provides you with some tags for evaluating errors, setting themes and outputting internationalized messages.

Please note that the various tags generated by this form tag library are compliant with the XHTML-1.0-Strict specification and attendant DTD.

11 questions
3
votes
1 answer

Spring forms: "Type [java.lang.String] is not valid for option items"

I have an old MVC application. It has a controller with a method like: @RequestMapping(method=RequestMethod.GET) public ModelAndView handleGet(@RequestParam(value="userId") String userId){ ModelMap model = new ModelMap(); List
Paul
  • 3,318
  • 8
  • 36
  • 60
2
votes
1 answer

bind enum to radio button in jsp

I found a few examples and posts regarding this but couldn't find a complete solution or example. I want to use enum to hold the value of radio buttons. Please help. I have an enum like below: public enum MyEnum implements Serializable { SUNDAY,…
user3865751
  • 21
  • 1
  • 3
1
vote
2 answers

Check boxes not showing as checked even though values set to true on server side

All my check boxes stay unchecked even though the test variable has been set to true on the server side. When i inspect the code all checkbox values=true.
b.d
  • 53
  • 2
  • 11
1
vote
1 answer

What is the purpose of EVAL_BODY_AGAIN, SKIP_BODY and EVAL_BODY_INCLUDE

I am pretty new to custom tag creation in JSP. When I went through some tutorials, I saw them using EVAL_BODY_AGAIN, SKIP_BODY and EVAL_BODY_INCLUDE tags. Can anyone tell me what it actually means and what is it for?
sreehari
  • 189
  • 6
  • 16
1
vote
0 answers

Spring form tag select is not selecting option upon giving path?

i have a contrller @Controller public class EmployeeController { @ModelAttribute("employeeForm") public EmployeeForm createForm(Model map, HttpSession session){ EmployeeForm form = new EmployeeForm (); form.setName("TestName"); …
user007
  • 9
  • 3
0
votes
2 answers

Spring mvc throwing exception- IllegalStateException: Neither BindingResult nor plain target object for bean , when using form tld in jsp page

When i use plain html in jsp page , then app works fine , as i add form tag in jsp , it gives the exception , i have pasted my code and exception here , please help me out .i am not able able to resolve this and stuck from 3 days now. Whats going…
0
votes
1 answer

Spring- JSF War Deployment on Tomcat 9 fails(no TLDS Jars found)

I want to create a JSF Spring Application and my war is not deployed, because of this error: 09-Oct-2018 12:02:54.383 INFORMATION [RMI TCP Connection(6)-127.0.0.1] org.apache.catalina.startup.ContextConfig.processServletContainerInitializers Unable…
gigashark
  • 29
  • 9
0
votes
0 answers

Enum static method call on JSP not working properly on AWS

Here is my code (.jsp file)
Select
Vinay
  • 21
  • 6
0
votes
0 answers

Need to convert .TLD file to CSV

I have been provided with a .TLD file . It contains categories data for my products( they are in thousands). The problem is I need to convert it to CSV but I cannot find anything online that can do it. I tried using Excel but it converts the…
User56756
  • 352
  • 4
  • 19
0
votes
1 answer

Get value of a property inside jstl tag

I'm developing a simple tag library in order to centralize the creation of form components. In my custom tag I need to get the value of the backing object mapped field. Here is how I pass the field name value to my library:
gipinani
  • 14,038
  • 12
  • 56
  • 85
0
votes
1 answer

spring.tld tag library attributes differences

In many tags of spring.tld there are those attributes: htmlEscape javaScriptEscape The question may seem trivial, but which is the difference from html escape and javascript escape in this context?
gipinani
  • 14,038
  • 12
  • 56
  • 85