Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

getting Problem In Spring

 
arif aghariya
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friend currently i m working on Spring.

I have one Problem In that. I m making Custome Binding for EmployeeID, AS Emp_Code(String) Emp_No(integer) , I have Created On Class

EmpId
{

String Emp_Code;
int Emp_No;

}

EmployeeLogin
{


EmpId empid;
String password;

}


I have also created Binder Class for Binding. and one Controller class.Its Working fine.

But the problem is when i call result.Jsp i only can get Value Of EmployeeLogin Attribute. and getting null value for EmpId attribute.So please help me.... I want to print empId. Becoz in EmployeeLogin empid it print Something Disgusting Value
 
Ninad Kulkarni
Ranch Hand
Posts: 802
Hibernate Linux Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Arif,

The information provided is insufficient and difficult to understand the problem. I didn't understand what exactly you want. Please provide all details like why you want to use result.jsp etc.
 
Bill Gorder
Bartender
Posts: 1682
7
Android IntelliJ IDE Linux Mac OS X Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What version of Spring are you using? Can you post your controller and relevant pieces of you JSP? Please UseCodeTags when you do so.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic