I have a form working perfectly except that the creation date is null. I want to use a hidden textField with an overrideValue that will force this creation date to be the system date at the time the page loads.

Any ideas on how I could find out what would throw this exception? Log does not point to any jsp page number:

At webapp reload:
2005-04-06 00:31:47 StandardContext[/manager]Manager: restart: Reloading web application at '/prayerdb'
2005-04-06 00:31:52 StandardContext[/prayerdb]config: finalizing
2005-04-06 00:33:09 ApplicationDispatcher[/prayerdb] Servlet.service() for servlet jsp threw exception
java.lang.ThreadDeath
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1229)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1189)


At page reload after webapp reload:
2005-04-06 00:33:09 StandardWrapperValve[control]: Servlet.service() for servlet control threw exception
java.lang.ThreadDeath
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1229)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1189)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at org.apache.log4j.spi.LoggingEvent.<init>(LoggingEvent.java:145)
at org.apache.log4j.Category.forcedLog(Category.java:372)
at org.apache.log4j.Category.log(Category.java:864)


My code to implement the date:

<%@ taglib uri="/WEB-INF/dbforms.tld" prefix="db" %>
<html>
<%@ page import="java.util.Date,java.text.*" %>
<%!
Date d = new Date();
SimpleDateFormat df = new SimpleDateFormat('yyyy-MM-dd k:mm:ss');
%>

---- code removed for clarity, line below is a test expression in the body -----

The Date Is <%= df.format(d); %>




Thanks in advance for any insight.

Bill


------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ DbForms Mailing List

http://www.wap-force.net/dbforms

Reply via email to