aspose file tools*
The moose likes JSP and the fly likes when to use jsp xml syntax Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "when to use jsp xml syntax" Watch "when to use jsp xml syntax" New topic
Author

when to use jsp xml syntax

Pat Villa
Greenhorn

Joined: Jan 05, 2004
Posts: 19
hi!
i'm new to jsp so this is probably a basic question.
I'm just wondering if the jsp xml syntax is something everyone should shift to, or is it a case to case basis?
thanks!
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
In my opinion you should choose for each case. Generally if I'm using JSP, I use the regular <%-style syntax as it's simpler and more familiar to most people. For one project where I was generating jsp files from XML using XSLT, I needed to use the XML syntax, so I did.
Use whichever is most appropriate.


Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61421
    
  67

Welcome to the Ranch patlv23!
You'll find this forum a great place to seek help on JSP pages, and there aren't many rules you'll have to worry about, but one is that proper names are required. Please take a look at the JavaRanch Naming Policy and change your display name to match it.
In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.
Thanks!
bear
JSP Forum Bartender


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: when to use jsp xml syntax