This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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
Author

Migration of website pages in ASP to JSP

Naveen Chand
Greenhorn

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
Sheriff

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
 
wood burning stoves
 
subject: Migration of website pages in ASP to JSP