How to migrate one jsp from the separate application to cq5? | Community
Skip to main content
DEBAL_DAS
New Member
October 16, 2015
Solved

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

  • October 16, 2015
  • 2 replies
  • 931 views

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

 
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by joerghoh

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

2 replies

Community Advisor
October 16, 2015

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)

joerghoh
Adobe Employee
joerghohAdobe EmployeeAccepted solution
Adobe Employee
October 16, 2015

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