cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Torsten Curdt" <tcu...@apache.org>
Subject Re: Cookies in Javaflow
Date Sun, 03 Sep 2006 10:31:27 GMT
> import org.apache.cocoon.environment.Cookie;
>
> public class Cookie extends AbstractContinuable {
>
>  public void doCookie() {
     ...
>   Cookie[] cookies = request.getCookies();
>
> In eclipse, I can't generate Java bytecode. I get the message: The import org.apache.cocoon.environment.Cookie
conflicts with a type defined in the same file. How can I avoid the conflict?

This is a general java question.

Problem is that the "Cookie" you are referring to is the flow class
not the imported one you are after. Either use the full qualified name
or rename your flow class.

cheers
--
Torsten

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message