Link to home
Start Free TrialLog in
Avatar of royalcyber
royalcyber

asked on

How to make a web page template in JSP

I am creating a  web application(using Java, JSP, Servlets) in which I need a layout that should be consistent within all the pages of the applications (menu to the left, header on top, ...) etc

similar to this website

http://houston.ccimnet.com/

As you see in the example only the center portion changes while the rest rest of the page doesn't even move

Any help will be greatly appreciated.

Avatar of fargo
fargo

Use Sitemesh
http://www.opensymphony.com/sitemesh/

it's a very good templating framework and stable too. Let us know if u have any questions.

Or Use Tiles. But i m not in favour of Tiles.
Good article on Sitemesh
http://www.onjava.com/pub/a/onjava/2004/09/22/sitemesh.html

http://www.learntechnology.net/sitemesh.do (this link does tell why sitemesh over tiles)
Avatar of royalcyber

ASKER

but i need to iclude .jsp files in the templates. So id there a way to design the template in JSP

Thanks
ASKER CERTIFIED SOLUTION
Avatar of fargo
fargo

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial