This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Portals and Portlets and the fly likes Convert JSP/Servlet Application to portlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "Convert JSP/Servlet Application to portlet" Watch "Convert JSP/Servlet Application to portlet" New topic
Author

Convert JSP/Servlet Application to portlet

Phuc Bui
Greenhorn

Joined: Feb 19, 2009
Posts: 26
Dear all,
I have changed a Struts app and JSF app to a portlet successfully by using bridges from this site http://portals.apache.org/bridges/
But I do not know how to change a JSP/Servlet app to portlet, I do not see any bridge, or instruction to do that :-(
Would you please tell me how to do that ?

Thanks a lot.
Phuc Bui
Ankur Srivastav
Ranch Hand

Joined: Aug 31, 2009
Posts: 57

Actually I am also trying to do the same, convert a Struts app to Portlet using Bridge but I am facing problems with my Action Classes.

Can you tell the steps that you followed and are the bridges compatible with Liferay, if you have any clue.


Sun Certified Java Programmer v 1.4
Oracle Certified Associate, Java SE 7 Programmer
JEE 5 Web Component Developer Certified Professional
Phuc Bui
Greenhorn

Joined: Feb 19, 2009
Posts: 26
Dear,
I followed this instruction (download file here) and did well.
Hope it helps :-)

Phuc Bui
Ankur Srivastav
Ranch Hand

Joined: Aug 31, 2009
Posts: 57

Thanks for sharing the same.

I had a question : we dont need to change the Action Class in Struts. It uses Action and other Struts classes.

Also which jars did you include in your project for Struts?

Thanks for the help..
Ankur Srivastav
Ranch Hand

Joined: Aug 31, 2009
Posts: 57

Actually I have managed to convert an existing Struts EJB Application to a JSR 168 Portlet. Now I am using IBM Websphere and Liferay for the same.

I have outlined all the steps here : http://createportlet.blogspot.com/2009/10/struts-a...jb-application-to-jsr-168.html
 
GeeCON Prague 2014
 
subject: Convert JSP/Servlet Application to portlet