The Artima Developer Community
Sponsored Link

Java Answers Forum
struts error/debug how?

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
John Beenen

Posts: 1
Nickname: verobel
Registered: Jun, 2003

struts error/debug how? Posted: Jun 23, 2003 8:09 AM
Reply to this message Reply
Advertisement
Hi All.. I am working on a simple struts based webApp in JBuilder7. It uses the following struts-config info:

<action path="/Verify"
type="hotrez5.VerifyAction"
name="verifyForm"
validate="true"
input="/verify1.jsp" >
<forward name="failure" path="/verify1.jsp"/>
<forward name="success" path="/Success2.jsp"/>
</action>

in essence, the verify1.jsp page submits 3 params that are checked in a database, If they exist 'success' else 'failure'. The failure path works fine but for some unknown reason the success path fails with the following error message:

java.lang.IllegalAccessException: hotrez5.VerifyAction
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:237)

both paths use the same VerifyAction class. Why would it work in one case and not in the other?

Thanks, John

Topic: java Previous Topic   Next Topic Topic: Customizing the Method Area of a JVM

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use