aspose file tools*
The moose likes Struts and the fly likes two forms on one jsp. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "two forms on one jsp." Watch "two forms on one jsp." New topic
Author

two forms on one jsp.

Raghuram Chaluvadi
Greenhorn

Joined: May 23, 2006
Posts: 8
HI,

Functionality:- User enters an associate_id and clicks search. The results are displayed in the bottom half of the page.




The problem is, it throws a null pointer exception since the associate object is not there the first time the page loads. It gets created in my DAO class once the results are fetched. Can you please suggest a turnaround.
Anooplal .A.H
Greenhorn

Joined: Sep 06, 2007
Posts: 6
Hai try this
Place those portion of code which use associate object in a if condition like
if(request.getAttribute("associate")!=null){}
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: two forms on one jsp.
 
Similar Threads
error in form display?
Information lost on error.
I am unable to find error in this program.
which jar file need to strug.taglib
tags