Dave Jamz

Greenhorn
+ Follow
since Sep 29, 2012
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Dave Jamz

Hi

How Can I get the value when I type something new into the jsp and then submit the list to the actionclass? Currently I am able to submit to the action class from the jsp and see the new list that I create inside my action. But I would like to be able to retirieve the values that I type into the jsp.



Employee object class:



Employee JSP:


Action Class:
11 years ago
Hi

My problem is when I click submit on my jsp. when I update values that I retrieve from the database inside of the c:foreach the only thing coming back is the headers for the table. the row that contains the data is gone. When using debug on the first time in I can see the values that populate the list and when I click on submit all of the values for the list are null. What do I need to add so that on a submit I will not have null values coming back and have the row disappear?


UnitAction


jsp
11 years ago
Thanks

What do the question mark and colon do?
11 years ago
JSP
I was trying to set the value from the actionform

When private Boolean testRadio = false; I want the no radio button to be selected and when private Boolean testRadio = true; i would like the yes radio button selected
11 years ago
JSP
Hi

I am trying to set the value of my radio buttons from my action form but in the jsp I am just seeing two unselected radio buttons.

I have tried both of the ways below in the jsp:




action form code:


11 years ago
JSP
Hi I tried



inside of the jsp and still received the error:

No getter method for property: "type" of bean: "teamObj"

I also tried



and got:

javax.servlet.ServletException: javax.servlet.jsp.JspException: No getter method for property: "" of bean: "unitForm"
11 years ago
Hi I am trying to use struts to get a bean to my jsp code the bean I am using in my jsp page is: <bean:write name="unitForm" property="testData.team.type" /> but whenever I run the jsp I am receiving No getter method for property: "testData.team.type" of bean: "unitForm". I am trying to write baseball to my jsp page.

the code for my action form is:



testing data class has:


and finally in my sport class:




11 years ago
Hi I am trying to use struts to get a bean to my jsp code the bean I am using in my jsp page is: <bean:write name="unitForm" property="testData.team.type" /> but whenever I run the jsp I am receiving No getter method for property: "testData.team.type" of bean: "unitForm". I am trying to write baseball to my jsp page.

the code for my action form is:



testing data class has:


and finally in my sport class:




11 years ago