Mapping URLs to the JSP File

Using the tag “<servlet>” we can map the URL to the files a JSP.

Example:

    <servlet> <servlet-name> Edit </ servlet-name> <jsp-file> / edit.jsp </ jsp-file> </ servlet> <servlet-mapping> <servlet-name> Edit </ servlet-name > <url-pattern> /edit</ url-pattern> </ servlet-mapping>

For example, the URL “/ edit” will be ‘supported’ by ‘/ edit.jsp’ without redirection.

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • MySpace
  • PDF

Related Posts

  1. No comments yet.

  1. No trackbacks yet.

*

Founder:

Tylkow 2w2.pl w niskiej cenie, także z wysyłką, tusz HP 72 black+yellow / czarna matowa+żółta, HP C9384A. Zapraszamy. Tusz do HP Designjet T1100 mfp, Tusz HP 72 black+yellow / czarna matowa+żółta, HPwww.wizjasieci.pl