This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jsp Fragments

 
Rafael L Cintra
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
 
Rajeev Rnair
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic