Skip to Main Content

Application Development Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Need to execute jsp page instead of file download using mapped folder web location

shwetha nayak-OracleJun 9 2014 — edited Jun 10 2014

I have defined web url mapped folders as

Mapped Folder   /Contribution Folders/OLMContentstorage/

Url for Folder  http://rws60121rems.us.oracle.com:16203/contentstorage/

I then checkin a simple jsp file(helloworld.jsp under folder"/Contribution Folders/OLMContentstorage/Ucm Folder1/")

Content info post checkin

Hidden: False

Read Only: False

Inhibit Propagation: False

Force Folder Security: False

wwxWebsiteObjectType:

wwxWebsites:

wwxDontShowInListsForWebsites:

wwxWebsiteSection:

wwxRegionDefinition:

Security Group: Public

Checked Out By:

Status: Done

Formats: Application/jsp

Mapped Folder Web Location: http://rws60121rems.us.oracle.com:16203/contentstorage/Ucm Folder1/helloWorld.jsp

Web Location:   http://rws60121rems.us.oracle.com:16203/cs/groups/public/documents/document/zwxs/b3dv/~edisp/helloworld.jsp

Native File: helloWorld.jsp

Now, if I click on http://rws60121rems.us.oracle.com:16203/contentstorage/Ucm Folder1/helloWorld.jsp

It tries to downloads hellowWorld.jsp file

while

if I click on http://rws60121rems.us.oracle.com:16203/cs/groups/public/documents/document/zwxs/b3dv/~edisp/helloworld.jsp

it executes jsp file( after I checked checkbox "Enable Java Server Page(JSP)" and set JSP Enabled Groups to "Public" in General configeration page)

My requirement:

I would need to execute .jsp file(instead of it asking for file download) when I use Mapped Folder Web Location URL i.e  http://rws60121rems.us.oracle.com:16203/contentstorage/Ucm Folder1/helloWorld.jsp

Is this achievable? If so could you please guide me with setup or any kind of customization required to achieve this

Thanks

Shwetha

Comments

Jonathan Hult

Can you use a web server (such as Apache or nginx) to front-end WebCenter Content? If so, you can very easily make this happen with URL rewrites (instead of WebUrlMaps).

Jonathan

http://jonathanhult.com

shwetha nayak-Oracle

Thanks for your quick reply Jonathan. But we will not be able to use a web server to front end WebCenter content.

We will be invoking the jsp present in web center content from our application using  WebUrlMaps i.e  http://rws60121rems.us.oracle.com:16203/contentstorage/Ucm Folder1/helloWorld.jsp and we want the jsp to be executed, inorder to refer other files in that folder("UCM Folder1") relative to the jsp. So this is not achievable?

Thanks,

Shwetha

1 - 2
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jul 8 2014
Added on Jun 9 2014
2 comments
1,414 views