This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Spring and the fly likes getting Problem In Spring Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "getting Problem In Spring" Watch "getting Problem In Spring" New topic

getting Problem In Spring

arif aghariya

Joined: Apr 29, 2012
Posts: 6
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


String Emp_Code;
int Emp_No;



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

Joined: Aug 31, 2007
Posts: 787

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.

SCJP 5.0 - JavaRanch FAQ - Java Beginners FAQ - SCJP FAQ - SCJP Mock Tests - Tutorial - JavaSE7 - JavaEE6 -Generics FAQ - JLS - JVM Spec - Java FAQs - Smart Questions
Bill Gorder

Joined: Mar 07, 2010
Posts: 1646

What version of Spring are you using? Can you post your controller and relevant pieces of you JSP? Please UseCodeTags when you do so.

[How To Ask Questions][Read before you PM me]
It is sorta covered in the JavaRanch Style Guide.
subject: getting Problem In Spring
Similar Threads
value for the useBean class attribute Invalid Problem
Display ArrayList data on jsp page
char to binary
problem in accesing a db from a servlet
org.apache.jasper.JasperException: Cannot find any information on property 'EmpID' in a bean of type