I wish to publish two different websites one out of JSP and the other in ASP.internet with same domain title because I'm focusing on asp.internet site and i wish to then add options that come with jsp and so i will design these functions in jsp.

With proper configuration of the server you can most likely send demands either to one application or even the other. You'd also need to consider how periods are meant to be shared between your programs etc.

I'd most likely then add base-hyperlink to both programs, and employ this to create the server redirect the request towards the correct application:

  • ASP.Internet application: your.domain.com/asp/
  • J2EE application: your.domain.com/j2ee/

Possess a rewrite-cond around the asp/j2ee parts and do what you'd normally caused by serve the request.