Reputation: 795
I'm new to jsp and need to change some html values within a jsp file. I'm unable to find out which jsp files I need to change as there are several files with the same name scattered throughout the system. I'm using RedHat Enterprise Server 6.2. The CMS we used is Liferay. There is a separate server for Liferay, Jboss, Database and LDAP.
Where are the jsp files for the life site stored? And do I need to create and deploy a new war file after making any changes?
Upvotes: 0
Views: 607
Reputation: 486
I think I understand you and I'll try to answer.
Your portlet (and it's called portlet since you are using Liferay) use that jsp which path is mentioned in your portlet.xml file. For example:
<init-param>
<name>view-template</name>
<value>/html/mygreeting/view.jsp</value>
</init-param>
In my situation Im using jsp in the html folder. You can use as many jsp as you want, but you should initialize it correctly.
And about your second question - no, you don't need to do it, Liferay has autodeploy.
Upvotes: 1
Reputation: 48057
This sounds suspiciously like a wrong understanding of Liferay. The live content is in a database. Jsps make up how this content is rendered by portlets and it depends which portlet renders content. You sound like you want to change content - which you'd edit through the cms UI. Changing jsps is possible but considered a customization of the platform and a developer task. If you want to change the overall appearance, you deploy a theme. The mechanics of customization vary depending on the version.
Upvotes: 0