• Post Reply Bookmark Topic Watch Topic
  • New Topic

jsp and servlet linkage errror

 
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: 3326
61
  • 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: 65661
129
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.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!