The Jetty web application server is great. It is just not very well document and when it is documented it is aimed for the very uninitiated. If you’re using Jetty, it is almost like an old boys club - ‘you made it’.
Still, it appears that Jetty and Tomcat are becoming much more similar in their […]
Deploying a web application to Jetty
August 29th, 2008 No Comments
Tags: context · context.xml · http · Java · jetty · jsp · tomcat · web application server · web application · web.xml · XML
Working with Jetty
July 31st, 2008 No Comments
For my thesis, I am going to use the Jetty lightweight web server and as such am going to need a lot of trying and learning around how to use it, as it is more ‘embedded’, for lack of a better word, than Tomcat. For me, Tomcat is a relatively known entity, having worked with […]
Tags: Java · jetty · Jetty's default Port · lightweight web server · setup · web server · XML
Using Velocity date tool with Spring MVC
June 17th, 2008 No Comments
I was having trouble getting Velocity’s date tool to work with Spring MVC. I followed the instructions, most copied verbatim from what was most likely one ancient source. Those instructions said that to enable Velocity’s date formatting tool, DateTool, I needed to configure the VelocityViewResolver like this (WRONG):
<bean id="viewResolver">
class="org.springframework.web.servlet.view.velocity.VelocityViewResolver"></bean>
<br /><property name="numberToolAttribute"><value>numbertool</value></property>
<br /><property name="dateToolAttribute"><value>datetool</value></property>
And […]
Tags: Java · Spring MVC · Veloicty