Menu

DOMException with Div tag

2004-02-29
2004-03-09
  • zulfahmi andri

    zulfahmi andri - 2004-02-29

    Hi,
    I have not seen div tag work in my tomcat. There is a DOMException when I access home.do example after login. It was completly blank, and the source show . I don't know the cause. Is it xml parser problem? I'm using tomcat 4.1.27 and JDK 1.4.2.
    Other features are ok.

     
    • Nick Thomson

      Nick Thomson - 2004-02-29

      I will try to duplicate your environment and give you an answer.  If you have any log entries showing the exception trace, that would also help.

      I have tested VXiew4Struts with Tomcat versions 4.1.?? and 5.0.18 with no problems.

      I will investigate this immediately and get back with you within 24 hours.

       
    • zulfahmi andri

      zulfahmi andri - 2004-03-01

      Well, I tested also on Tomcat 5.0.19 today. It seemed working cause I can see the url type handler populate the page. But there are more bugs I found. If you try to catch exception in every code more spesific (not just catching Exception) the bugs will be found. Try InputTagHandler, it will throws exception because the code inherently assume that the logonForm bean has been populated (I think) and return null if you try to get any field value.
      Then there is a warning at startup about struts-config.xml line :  <action path="/upload" forward="/uploadLoad.do" redirect="true"/> (SAXParseException)

      Anyway, I like XView4Struts in simplify design html page in Struts environment. Nice feature.

       
    • Nick Thomson

      Nick Thomson - 2004-03-09

      Yes, you are right.  If a formBean property is null then an exception will be thrown.  This is not acceptable behavior.  This will be fixed in the next release.

      I was aware of the SAXParserException.  One of those things I kept forgetting to clean up.  This too will be removed in the next release.

      Thank you for your feed back.  You obviously put in a little extra effort chasing down the source of the undesired exceptions.  Your efforts are appreciated.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.