Re: [Simpleweb-Support] Problem of trying simple
Brought to you by:
niallg
|
From: Carfield Y. <car...@gm...> - 2005-10-05 04:20:27
|
Nearly done, thx for support, still have some minor issue
> You can create your own Mapper object to return the
> name of your ActionService implementation. For
> example:
>
After I do that, at the constructor, it complaint system is null, thus
instead of
core.Context temp =3D (core.Context)system.get("core=
");
if(temp =3D=3D null) {
final File file =3D new File("WEB-INF/data/"=
);
temp =3D new core.Context(file);
system.put("core", temp);
}
ctx =3D temp;
At constructor, now I just use static variable to held core.Context
The other problem is context.getMimeType(location.getName()) always
return "application/octetstream" for unknown type, which is not very
handle for me.
Otherwise , all are working :-)
|