I'm learning the JSP. After i studied some important concepts in JSP. I have a doubt. Why i have to use Java Beans in JSP? For Example
i'm filling the form and i can get the value of the form fields by using the easy expression or normal method. But when it's going to beans first i have to set the property and then i can get the value. Why this much complexity? Or i misunderstood the concept?? or is any necessary we have to use this??
You are quite correct to state that javabeans need not be used everywhere. Your example is a good illustration of when not to use a javabean in a JSP.
That being said, as applications become bigger and business logic grows more complex then javabeans are a good option.