struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "rablists" <rabli...@yahoo.co.uk>
Subject null control servlet in the ActionForm constructor
Date Wed, 25 Jun 2003 12:23:06 GMT
Hello. 

ActionServlet as = this.getServlet(); return null from ActionForm 
constructor.

I am having problem getting hold on the ActionServlet from an 
ActionForm constructor. It returns null. I dont want to populate the 
form by an Action, I want to do it through the form's constructor. I 
want to get the servlet in the form's constructor because I want to 
acess the MessageResources from the ActionForm. Any idea? Thanks



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message