Previous
The syntax says that any request which ends with .do will be handled by test-servlet that is described by test-servlet.xml.To set the index file, the first jsp to be loaded from the application, can be set as:
In the above case index.jsp file is to be placed directly under the application folder. This jsp redirects the url to another request as:
To include the taglibs (Java Standard Tag Library) into your jsp first add the following lines into the web-xml:
To include spring tags include the following lines:
We have used only a few of them in our project (core and fmt tags). Before you use this tags in your jsp, you must place those .tld files in WEB-INF.
Next
0 comments:
Post a Comment