Having your JSP built using tiles, each (if necessary) having its own dynamic 
Tileaction is excellent. 
It offers so much flexibility, especially when its combined with JSTL.

The only gripe I have is with JSTL and not having the ability to get map sizes. Its 
easy
to code around this, but it would have been nice out of the box :P

If you ask the JSP or velocity question on a list that has a good mix of both sets of 
users,
then you are going to get a few biased opinions for either side. 
Try and figure out the requirements of what you want your application to do and would 
like it to be able
to do in the future. Then see if either does not or, is unable to offer this feature 
list. That should make your decision 
a bit easier.

Chris

-----Original Message-----
From: Andrew Hill [mailto:[EMAIL PROTECTED]
Sent: 27 February 2004 12:59
To: Struts Users Mailing List
Subject: RE: [OT] JSP or Velocity


Havent used velocity myself , but from what Ive seen it is very good.
(Theres also a very good introduction for newbies in Teds "Struts in Action"
book where hes given a chapter to using velocity with Struts)

That said, if you learn JSP its probably a much more portable skillset that
will stand you in good stead for future projects and jobs, and theres a lot
of freely available taglibs out there you can utilise. Much more support on
the list too for any problems you may come across, and of course theres the
Tiles stuff which (again Ive not used!) is really very very cool and
powerful!

My own personal opinion of JSP otoh is rather low. I just dont like the
whole 'vibe' of it! Suffice it to say Im not a big fan of serial rendering
mechanisms - especially where the page layout and rendering instructions are
combined in the same file - and also much prefer a mechanism where I can
render to any part of the view at any part of my rendering process (Im using
a homebrew library for this that revolves around using a tree of decorator
classes to modify xhtml DOM templates - there are some open source libraries
for DOM based rendering available too such as XMLC which you might want to
look at if you have time). Of course that power comes at a cost in terms of
performance and memory usage, but for the type of apps Im working on its not
really an issue.

But weighing up the arguments for your case, Id say the best advice I can
give is that nobody got sacked for choosing JSP and its the one with the
most mindshare despite its flaws, so you wont go wrong going with it for
your project even if it can be a pain to work with sometimes!



-----Original Message-----
From: A.White [mailto:[EMAIL PROTECTED]
Sent: Friday, 27 February 2004 20:45
To: [EMAIL PROTECTED]
Subject: [OT] JSP or Velocity


Howdy

I am starting to develop an application using struts and have been
looking round the rest of the Jakarta project and came across the
Velocity project.

I was interested to see which which people recommended for a relative
newbie

Cheers

Andrew


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


***********************************************
This e-mail and its attachments are confidential
and are intended for the above named recipient
only. If this has come to you in error, please 
notify the sender immediately and delete this 
e-mail from your system.
You must take no action based on this, nor must 
you copy or disclose it or any part of its contents 
to any person or organisation.
Statements and opinions contained in this email may 
not necessarily represent those of Littlewoods.
Please note that e-mail communications may be monitored.
The registered office of Littlewoods Limited and its
subsidiaries is 100 Old Hall Street, Liverpool, L70 1AB.
Registered number of Littlewoods Limited is 262152.
************************************************


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to