Inherited from ScalatraServlet
Inherited from ServletBase
Inherited from ScalatraBase
Inherited from DefaultImplicitConversions
Inherited from LowPriorityImplicitConversions
Inherited from LowestPriorityImplicitConversions
Inherited from TypeConverterSupport
Inherited from ScalatraParamsImplicits
Inherited from Initializable
Inherited from DynamicScope
Inherited from RequestResponseScope
Inherited from CoreDsl
Inherited from Control
Inherited from Handler
Inherited from ScalatraContext
Inherited from CookieContext
Inherited from SessionSupport
Inherited from ServletApiImplicits
Inherited from HttpServlet
Inherited from GenericServlet
Inherited from Serializable
Inherited from ServletConfig
Inherited from Servlet
Inherited from AnyRef
Inherited from Any
Provides JavaScript file which contains some functions for client side validation.
You can map this servlet to the path which you want as following:
In this case, you can refer validation.js in HTML as following: