File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 802

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: 1682

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]
I agree. Here's the link:
subject: getting Problem In Spring
It's not a secret anymore!