Hi Simone,
my Login class is situated in WEB-INF/Classes. If I define the javaflow by itself:

  <map:flow language="java">
     <map:script src="">   </map:flow>

the class is found no problem, but as as soon as I do:

  <map:flow language="java">
     <map:script src="">   </map:flow>

  <map:flow language="_javascript_">
     <map:script src="">   </map:flow>

then the Login class cannot be located. Conversely if I define the _javascript_ before the java then the _javascript_ cannot be found!

Andrew

On 3/20/06, Simone Gianni <[EMAIL PROTECTED]> wrote:
Hi Andrew,
supposing you have a com.mycompany.javaflow.Login class, you have to put
this class either under
WEB-INF/classes/com/mycompany/javaflow/Login.class or in a jar inside
WEB-INF/lib and then use the fully qualified name inside the map:script,
for example :

  <map:flow language="java">
     <map:script src="">  </map:flow>

This seems to be your error, the fact that there is no "Login" class
found. I haven't done it personally, but shouldn't be a problem to use
both technologies in a single sitemap.

Hope this helps,
Simone

Andrew Madu wrote:

> Hi,
> can anyone tell me whether it is possible to mix both JavaFlow and
> flowscript resources in a sitemap? For example when I do:
>
>   <map:flow language="java">
>      <map:script src="">>   </map:flow>
>
>  <map:flow language="_javascript_">
>      <map:script src="">>  </map:flow>
>
> I get an error message informing me that the class file Login does not
> exist. How can I manage both in the same sitemap?
>
> regards
>
> Andrew

--
Simone Gianni

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


Reply via email to