This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Servlets and the fly likes JSP Exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "JSP Exception" Watch "JSP Exception" New topic

JSP Exception

Piyush Jain
Ranch Hand

Joined: Apr 25, 2003
Posts: 60

Can somebody tell what might cause the following error:

"Root cause of ServletException
javax.servlet.jsp.JspException: Define tag cannot set a null value
at org.apache.struts.taglib.bean.DefineTag.doEndTag(
at jsp_servlet.__Frm_createProcedure._jspService(__Frm_createProcedure.j

Checked in the (__Frm_createProcedure.j
ava:1523 file, and the corresponding line in the jsp. The corresponding code is:

<bean efine id="probAdverseRiskList" name="TestProcedureBean" property="probAdverseRisk" type="java.util.ArrayList" scope="session"/>

There is nothing that I could find wrong with the code. More surprising all the code is working great in IST, we are facing problem only in UAT.

[ October 12, 2005: Message edited by: Piyush Jain ]
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60072

Perhaps you should read this.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: JSP Exception
Similar Threads
Finding a sub-string within a string
A standardized jsp code that performs a search and a corresponding javabean code using JDBC
how tomcat container convert jsp page..
Nested Tag (in Form of Table ) :: not able to submit masterForm
how to delete a row from database by selecting it in jsp page using checkbox?