• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Jsp Fragments

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Oracle Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
reply
    Bookmark Topic Watch Topic
  • New Topic