Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Exception Report

 
john von
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What could be the possible reason of the errors below? I made a very simple jsp application that uses struts own html tag library and it prompts me these errors. While, i copied the part of the code that uses struts to another file, it works ok.

thanks for the help.


HTTP Status 500 -

--------------------------------------------------------------------------------

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: /my/index.jsp(164,0) Unterminated <html:form> tag
at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:94)
at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:428)
at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:170)
at org.apache.jasper.compiler.Parser.parseBody(Parser.java:835)

...more error lines
 
Kedar Dravid
Ranch Hand
Posts: 333
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, I think as the error says, your <html:form> tag has not been closed properly.
Is there a </html:form> tag in ur JSP page?
 
john von
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, there is. What surprises me is, when i copied the lines(code) that has struts part to another file, save it, the file runs perfectly.

Any idea?
 
Kedar Dravid
Ranch Hand
Posts: 333
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Either u have not copied the necessary tag library descriptor(tld) files, or one of your Struts <html> tags has not been closed properly.
 
Kedar Dravid
Ranch Hand
Posts: 333
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Either u have not copied the necessary tag library descriptor(tld) files, or one of your Struts <html> tags has not been closed properly.
 
john von
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've resolved. I stupidly hide jsp lines using html comment tag.

Thanks for the help!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic