Standard action tags are better alternative for the scrptlet.

Name Syntax Description
attribute jsp:attribute Dynamically defined XML element's attribute
body jsp:body Dynamically defined XML element's body
element jsp:element XML elements dynamically
forward jsp:forward Forwards the request to a different page
getProperty jsp:getProperty Insert the value of a property into output stream
include jsp:include On demand file include. (upon page request)
plugin jsp:plugin Browser specific construct
setProperty jsp:setProperty Set value to a property of a Bean
text jsp:text To write template text in JSP pages and documents
useBean jsp:useBean Construct a a JavaBean object