my dog learned polymorphism*
The moose likes JSP and the fly likes Help on JSTL doubts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Help on JSTL doubts" Watch "Help on JSTL doubts" New topic
Author

Help on JSTL doubts

Tina Desai
Ranch Hand

Joined: Mar 13, 2003
Posts: 365
Hi all,

I need help on JSTL.

1. Where can I find the JSTL tag help? I always land on the Java API of it or some basic tutorials. I am interested in a comprehensive listing of the tags and how and where to use them. Where can I find such help? Or do I study the taglib for it?

2. Can I make use of the fmt tags for error handling in a pure JSP based client side? Its model 1 architecture. Can we use fmt tags and reduce hard coding to more extent?

3. Can I check a key in the JSP page with JSTL? Like if in my HashMap I have a key value pair as name='myName'. Can I check in the JSP with JSTL core library tags that 'name' is present in the HashMap. In short, I am expecting some containsKey kind of behaviour.

Thank you in advance.

Regards,
Tina


Alongwith being a good coder, try to be a good professional as well!
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

About the documentation, you'd probably want to refer tho the specification:
http://www.jcp.org/aboutJava/communityprocess/final/jsr052/


[My Blog]
All roads lead to JavaRanch
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

About question 3, using EL should be enough. ${myhash.name} will return null if it does not exist.
Tina Desai
Ranch Hand

Joined: Mar 13, 2003
Posts: 365
Originally posted by Satou kurinosuke:
About the documentation, you'd probably want to refer tho the specification:
http://www.jcp.org/aboutJava/communityprocess/final/jsr052/


Thank you. It wa svery helpful.

Regards,
Tina
Vishnu Prakash
Ranch Hand

Joined: Nov 15, 2004
Posts: 1026

Where can I find the JSTL tag help? I always land on the Java API of it or some basic tutorials. I am interested in a comprehensive listing of the tags and how and where to use them. Where can I find such help? Or do I study the taglib for it?


You can find it in my signature.


Servlet Spec 2.4/ Jsp Spec 2.0/ JSTL Spec 1.1 - JSTL Tag Documentation
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Help on JSTL doubts
 
Similar Threads
Resource bubdles in JSP
Resource bundle properties file in Spring MVC
loading a html page with data from a file
Internationlization JSP Labels
internationalization