Win a copy of Kubernetes in Action this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Jsp Fragments  RSS feed

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

These are valid JSP code fragments?

<%@ page import="java.util.*" autoFlush="true"%>
<%@ page import="java.io.*" autoFlush="true"%>

???

Tks

Rafael
 
Ranch Hand
Posts: 310
1
Java Linux Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Rafael L Cintra wrote:Hi all,

These are valid JSP code fragments?

<%@ page import="java.util.*" autoFlush="true"%>
<%@ page import="java.io.*" autoFlush="true"%>

???

Tks

Rafael



Hi Rafael, welcome to the ranch.
These are valid JSP page directives if you used in separate pages! The only attribute you can have in multiple lines of 'page directive' in a JSP page is import. In other words you can have
in a JSP page OR
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!