struts-user mailing list archives

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

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

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:
For additional commands, e-mail:

View raw message