aspose file tools
The moose likes JSP and the fly likes Migration of  website pages in ASP to JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Migration of  website pages in ASP to JSP " Watch "Migration of  website pages in ASP to JSP " New topic

Migration of website pages in ASP to JSP

Naveen Chand

Joined: Sep 05, 2005
Posts: 5
We are trying to migrate an ASP based website into JSP based site which will be hosted in a Linux environment.

We are struck about selecting the right approach for converting an ASP containing some web based methods into JSP. In the existing website many ASP files are calling some common methods from another ASP for displaying header, footer and content. How we can achieve the same in JSP?
[ March 19, 2008: Message edited by: Naveen Chand ]
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

In JSP, this is typically done by moving that functionality into beans or plain old Java objects and binding those objects to one of the scope objects (request, session, context, etc...).

It is also considered a best practice, with server side Java, not to respond to requests directly with JSP but to respond to them with servlets and then, when all processing is complete, forward to the JSP (view) for final markup and forwarding.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Migration of website pages in ASP to JSP
It's not a secret anymore!