Opening JSP pages from within Alfresco

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2006 11:27 AM
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?
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?
Labels:
- Labels:
-
Archive
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2006 04:08 AM
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.
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.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2006 04:43 AM
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.
