I am trying to convert a string into an Object. I can not find documentation on how to implement the StrutsTypeConverter.
The documentation says:

To create a type converter one would need to extends StrutsTypeConverter.

public class MyConverter extends StrutsTypeConverter {
   public Object convertFromString(Map context, String[] values, Class toClass) 
{
      .....
   }

   public String convertToString(Map context, Object o) {
      .....
   }
}



An no more details. This doesn't help. Same thing with the book starting struts2. Any idea what are these parameters that are passed to the interface methods ?
How to use them ?


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to