Expand my Community achievements bar.

SOLVED

How to migrate one jsp from the separate application to cq5?

Avatar

Employee Advisor

Hi,

I am planing to migrate one jsp file used in separate application (built in different technology ) to CQ5. Initially, I thought to create content.jsp for a component in CQ5 and  copied the the first jsp to that content.jsp file.

What would be the efficient way to migrate if I have multiple or single jsp?

Please suggest.

Thanks in advance

Debal

 
1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Hi,

just copying over the JSP files is in most cases not that what you want. You normally use JSPs to render resources, and I don't know if your other plattform has the very same notion of resources as AEM/Sling. So it requires adaption.

Copying the files is easy, if you have a maven setup and if you can add the JSPs just to the content package.

kind regards,
Jörg

View solution in original post

2 Replies

Avatar

Level 9

For migrating code and contents use package manager.

Edit the path(s) or files

Build the package

Download the package

Upload to the server where you want these

Install on the new server(machine)

Avatar

Correct answer by
Employee Advisor

Hi,

just copying over the JSP files is in most cases not that what you want. You normally use JSPs to render resources, and I don't know if your other plattform has the very same notion of resources as AEM/Sling. So it requires adaption.

Copying the files is easy, if you have a maven setup and if you can add the JSPs just to the content package.

kind regards,
Jörg