I guess I'm glad I don't use any of that stuff, then ;-D I only have
two different styles in my app: data-entry pages and report pages, so
simple css will probably do just fine.
Thanks!
Johnny Kewl wrote:
Hey... u going to confuse David... ;)
Yes.... David.... Tomcat is one fancy machine and it also supports tag
libs.
These things are like html tags... just well formed xml.
Struts, Spring and Sun (tomcat frameworks) all have tag libs for just
about everything...
So for example... one can (simplified) type
<html:form blah blah>
and tomcat will stick all the HTML that you would have to write for a
form into your page for you..
and thats wot martin is showing you.... that you can also associate
styles with these fancy things... and if there are errors you can even
associate styles with that.
BUT without the frameworks tomcat is very much plain old HTML...
so you can use it either way....
In the new netbeans you can see where the whole tag thing is going....
in there you will find a "visual web" designer.... it feels like you
using swing... just drag and drop, set properties, write a little
event code.... etc
If you look at the HTML (JSP) page it makes... its one complex
combination of tag libs, script, CSS and everything else you can think
of.
Thing that is really important to understand is that all these
frameworks are in competition with each other....
Struts competes with Spring who competes with Jboss who competes with
Suns EJB servers.... its chaos.
Now Java Server Faces is suns latest an greatest and you'll see its
used in the Visual designer... and if I'm correct they seem to have
left out struts... now I wonder why ;)
EJB3 some say has stolen good ideas from Spring.... Resin have taken
tomcat and reinvented protocols to make EJB better...
It gives me a huge head-ache!...
So... dont use any framework blindly.... I always try and imagine who
is going to win, and its not always who is the best technology right now.
One thing is for sure.... Basic Tomcat is a winner..... after that,
your guess is as good as mine.
I still like doing it the hard way... HTML, CSS, and a little JSP...
now and then a little XML....
and I steal like crazy from the frameworks.... ha ha.
.... u c.... Tomcat is very very good ;)
----- Original Message ----- From: "Martin Gainty" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Tuesday, April 17, 2007 10:51 PM
Subject: Re: Cascading style sheets and tomcat
David--
I would suggest incorporating style and or styleClass and errorStyle
and or errorStyleClass attributes which derive from supplied CSS
If your thinking MVC (and Struts specifically) I would look at the
Tag documentation available at
http://struts.apache.org/1.x/struts-taglib/tlddoc/html/file.html
HTH
Martin--
This email message and any files transmitted with it contain
confidential
information intended only for the person(s) to whom this email
message is
addressed. If you have received this email message in error, please
notify
the sender immediately by telephone or email and destroy the original
message without making a copy. Thank you.
----- Original Message ----- From: "Johnny Kewl" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Tuesday, April 17, 2007 4:09 PM
Subject: Re: Cascading style sheets and tomcat
I've used css in JSP files.... no problem.... javascript also no
problem
----- Original Message ----- From: "David Kerber"
<[EMAIL PROTECTED]>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Tuesday, April 17, 2007 9:43 PM
Subject: Cascading style sheets and tomcat
Can I use .css files with .jsp's, particularly when they are being
served up by Tomcat 5.5? Or do they only work with static html files?
TIA!
Dave
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]