Setting all bean 's properties in servlet 2003-10-17 - By Jason Viers
Back Is there a way in a servlet to set all the properties you can in a bean with the parameters passed to the servlet, similar to the way you do in a .jsp with <jsp:setProperty name="foo" property="*"/> ? It seems like it should be easy enough, but Goggling only found someone asking the same question here in 2000 with no responses.
I know that I could have my form submit to a .jsp that uses <jsp:setProperty> and then forward to the servlet, but it seems as though there should be a more elegant way to do it.
Thanks Jason
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected) For additional commands, e-mail: tomcat-user-help@(protected)
|
|