This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

jsp-file  RSS feed

 
pallavi utukuri
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<servlet>
<servlet-name>TestServlet</servlet-name>
<jsp-file>/requestinfo.jsp</jsp-file>
</servlet>
In this mapping, we are defining a servlet but instead of using a servlet class we are using a jsp-file. So any request like http://localhost:8080/test/aaa/abc.a would go to requestInfo.jsp�is this right and this means <sevlet-class> is not mandatory in <servlet>
Can these kind of questions appear in exam? and should <jsp-file> must start with a /
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!