• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

error in xml file netbeans

 
Rachit Kumar Saxena
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when i provide a link to my servlet in the index.jsp after configuring the build.xml it gives error as: failed to create task or type servlet cause the name is undefined action check spelling whats wrong
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could you provide more details such as:

* Post the index.jsp with the " link to my servlet" highlighted
* What do you mean by "configuring the build.xml"?
* The full text of the actual error message (copy and paste the text if possible, if not then post a screen shot)
 
Rachit Kumar Saxena
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the index.jsp is just the default one generated by netbeans in web application plus a link to the servlet the error reads:failed to create task or type servlet.cause:the name is undefined.check the spelling.action:check that any custom types have been declared.action:check that any <macrodef> or <presetdef> declarations have taken place.
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm sorry, but could you reformat you post so that I can understand which part if your test and which part is the error message (having it all as one big long sentence makes it hard to interpret).

Also, I am not going to create a project just to see what results. Post the index.jsp!

Please see: ShowSomeEffort
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic