• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JSP and ServletMapping

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Guys I am new Member here
ive got this question
I have created a folder under WEB-INF FOLDER name
Admin Page
under it ive created a jsp file that has form
that is submitted to a servlet

WHEN I HAVE MADE MY JSP FILE AS A WELCOME PAGE
THE PROGRAMS FLOWS CORRECTLY.

THE PROBLEM IS:

WHAT I WANT TO DO IS TO CREATE ANOTHER PAGE THAT WILL
MAKE A LINK TO THE ONE THAT I HAVE CREATED IN ADMINPAGE FOLDER
AS I RUN THE PROGRAM AND WHEN I CLICK THE LINK PAGE ,IT GOES ME THERE,
BUT WHEN I SUBMITTED IT " THE ERROR 404 APPEARS "
IT FAILS TO FIND THE SERVLET


COULD YOU PLEASE HELP ME WITH THIS
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please read KeepItDown and avoid posting in all uppercase.
 
melvin corbes
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

melvin corbes wrote:hello guys i am new member here Ive got this question
i have created a folder under web-inf folder name “admin page “
under it ive created a jsp file that has form that is submitted to a servlet.

when i have made my jsp file as a welcome page the programs flows correctly.
What i want to do is to create another page that will Make a link to the one that i have created in adminpage folder As i run the program and when i click the link page ,it goes me there, But when i submitted it " the error 404 appears " It fails to find the servlet


Could you please help me with this


i hope its alright bieber
 
Bear Bibeault
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Bieber? :hunf:
 
reply
    Bookmark Topic Watch Topic
  • New Topic