aspose file tools
The moose likes JSP and the fly likes Jsp page returns null while trying to read property from java bean which is set from servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "Jsp page returns null while trying to read property from java bean which is set from servlet" Watch "Jsp page returns null while trying to read property from java bean which is set from servlet" New topic
Author

Jsp page returns null while trying to read property from java bean which is set from servlet

Silu gill
Greenhorn

Joined: Dec 31, 2011
Posts: 10
Hello, everyone, I am new to the forum. I went through many posts and article that explains what I am facing now. I followed the post and tried, still I am getting null. I did not want to repeat the question, however, thinking, some member will save my life. I am new to jsp and servlet.

ListServlet.java(This is my servlet)



employeeInfo.jsp(This is my jsp page)

Thank you in advance, please save my life.

Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56207
    
  13

Why are you not using the EL rather than old-fashioned getProperty tags?


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Silu gill
Greenhorn

Joined: Dec 31, 2011
Posts: 10
Thanks Bear, any good links for learning EL?

Silu gill wrote:Hello, everyone, I am new to the forum. I went through many posts and article that explains what I am facing now. I followed the post and tried, still I am getting null. I did not want to repeat the question, however, thinking, some member will save my life. I am new to jsp and servlet.

ListServlet.java(This is my servlet)



employeeInfo.jsp(This is my jsp page)

Thank you in advance, please save my life.

Claudiu Chelemen
Ranch Hand

Joined: Mar 25, 2011
Posts: 66

Here and here.

Cheers
Claudiu
Silu gill
Greenhorn

Joined: Dec 31, 2011
Posts: 10
Claudiu Chelemen wrote:Here and here.

Cheers
Claudiu


Thank you for the links Claudiu
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Jsp page returns null while trying to read property from java bean which is set from servlet
 
Similar Threads
HTTP Status 500 - --Only a type can be imported
java.lang.NullPointerException
JSP Bean,not able to work my first bean
Unable to get property values using jsp:getProperty
Changing a view from a Servlet to Jsp