Hi, I'm a new cocoon user and I have just developed a Cocoon application:
XSP ---> (Applying XSL stylesheet) --> HTML, WML ... files
here there are no problems.
Now, in the XSP file I'd like want a code like
if (user-agent="WAP") { statement1}
if (user-agent="Explorer") { statement2}
....
....
where "WAP" and "Explorer" are the user-agents saved in the
cocoon.properties file.
In other words I'd like execute different java code (in the XSP file) for
different browsers.
For example the statement1 and statement2 instructions could be a different
database connection.
Thanks
Stefano Bonnin
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>