saptak patra

Greenhorn
+ Follow
since Nov 18, 2011
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
1
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by saptak patra


Hi, I am new to Struts2. I am doing a project using Struts2-Spring-Hibernate.
I am facing problem to store data to database.
codes are following :

insertRegion.jsp



POJO Class :

Region.java


Country List is populated from country table value.
when i going to save Region it gives error like:


I can not find the actual reason. Please help
12 years ago
Hi I am new to Struts 2 framework. I am doing a project with struts2-Spring-hibernate. I have country master . In region insert page I have to select Country form select box,and its value comes from country table.
In inserRegion.jsp I wrote it like.

<s:select list="countryList" listKey="countryList.{countryId}" listValue="countryList.{name}"/>
It's not working.
please give some solution
12 years ago