cancel
Showing results for 
Search instead for 
Did you mean: 

Opening JSP pages from within Alfresco

simon
Champ in-the-making
Champ in-the-making
Alfresco,

I would like to store a JSP file in Alfresco, no problems here but there is no content type to support this. I tried plain text, octet stream, HTML, etc. but they all open the file without parsing the JSP.

Tomcat is a JSP engine so it should be possible to parse this, isn't it?

I just want to store a file in Alfresco and provide a direct link to this file. If the user is logged in, the file is parsed and shown to the user.

Can I do this?
2 REPLIES 2

gavinc
Champ in-the-making
Champ in-the-making
Hi Simon,

As far as I know this is not possible. The behaviour you are seeing is what I would expect. The appserver will only parse and execute JSP pages that live within the web application's folder structure. Other non-executable content i.e. images, CSS, JavaScript etc. should work fine, however.

If anyone knows differently let us know.

simon
Champ in-the-making
Champ in-the-making
Thanks Gavin. This may be something to take into account with the upcoming WCM? I needed this for some JSP forwarding script but I'll use the ugly HTML redirection meta tag instead.
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.