Win a copy of Getting started with Java programming language this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

jsp and servlet linkage errror  RSS feed

 
Tsepo Mphongoa
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i tried to make a jsp log in and made its servlet to get data from a form and verify the log in through the use of a java bean but  it always says file not found..     so how can i link my jsp login form with its servlet file?
 
Tim Moores
Saloon Keeper
Posts: 3422
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please post the entire error message as well as the URL you're trying to access, and the relevant mapping of the servlet from the web.xml file.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65767
130
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your form action URL is likely wrong. Be sure you are using server-relative addressing that starts with the context path.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!