How do I render Math expressions in my JSP pages?

Hi,

I am sort of a beginner using JSF. I am currently working on a project, where I need to render Math expressions such as fractions, square-roots, power-functions etc.

The problem is, that currently all I am able to do is to use the standard text operators such as '/', '^' etc. I would like to have 'real' math expressions rendered.

Does anyone know how to do this easiest? Is there any tag-libs available for doing so?

I realize it is doable using HTML, but because of the design of my application, it is not an option to insert HTML directly into the JSP pages.

Thanks in advance :)

Best Regards

Thomas

[662 byte] By [Kof1982a] at [2007-10-2 19:45:41]
# 1
Do the calculation in the ManagedBean and output the result to the pages.
pringia at 2007-7-13 22:24:17 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

Thank you for the quick answer!

My problem is not to do the math, my problem is how to display the math on the JSP page. I want to display fractions, power-functions, square roots with the actual mathmatical symbols, not the symbols mentioned above (/, ^, sqrt, etc.).

Does anyone know how to do this, or if there exists any taglibs?

Kof1982a at 2007-7-13 22:24:17 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...