• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

JSTL doubt  RSS feed

 
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
which two JSTL URL-related tags are used for URL rewiting? (choose two)
A. url
B. link
C. param
D. import
E. redirect

the correct options are A and E.

but the documentation (http://java.sun.com/products/jsp/jstl/1.1/docs/tlddocs/index.html) says that redirect is used only for redirecting.

Please help :?:
 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Minu,
the javadoc is a little concise on this, but you can read the full description for the jsp:redirect tag in the jstl specification
(http://jcp.org/aboutJava/communityprocess/final/jsr052/index.html).
This says:

<c:redirect> follows the same rewriting rules as defined for <c:url>



Matteo
 
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I read this question I thought the answers are A (url) and C (param), because when I want to rewrite an url, and if the browser doesn't accept cookies, then I 've to encode the parameters of the url in <c:param>-Tags.

In HFSJ 2end edition I've not found any information about the redirect-Tag. Does the exam cover this tag ?
 
Matteo Palmieri
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Objective 9.3 of the SCWCD exam says:

Given a design goal, use an appropriate JSP Standard Tag Library (JSTL v1.1) tag from the "core" tag library


The c:redirect tag is part of the "core" subset of JSTL (JSTL v1.1 core )

Matteo
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!