Can I use my own JSP files in JIRA?

Hey guys thats my first question here.

I’m currently developing a plugin for my diploma thesis and I’m already familiar with JIRA’s plugin development. I created a sevlet pugin but for my purposes it would be a lot easier to use jsp’s because in the Servlet I would get massive if-else constructs.

So is it possible in any way that I use JSP files instead of Servlet plugin modules?

Hope you can help!
Greets,
Alex