Re: plain JSP in a ASP.NET page
- From: "Flip" <[remove_me]phenry_w@xxxxxxxxxxx>
- Date: Wed, 4 May 2005 13:32:59 -0400
> fairly large JSP web site, and long term they want to convert it to
> ASP.net
Are you in Ontario? I have a lot of jsp experience but am now moving to C#
too! :> I much prefer doing work in C#/.NET than anything java.
> Question: Is it possible to "incorporate" a JSP page within an ASP.net
> page?
There isn't anything AFAIK that will get IIS natively to understand JSPs.
However, what you could do, is setup IIS to forward JSP requests to your JSP
server (Apache, Tomcat?), and setup your transition strategy to convert the
lowest pages (or the highest) to ASPX. If you do a mix (pages in the middle
of your website) then passing off of variables can get complicated (if you
use the URL there's the 2k limit for one, security for another :<). Also
calling servlets from ASPX can be done, getting session variables I don't
think can be done. From the other side, you won't be able to have your JSP
pages responding to button clicks natively.
So, IMHO one strategy would be to have your website go through IIS, and have
a solid transition and variable passing strategy. Passing variables in a
session won't work, so either you setup something custom or use the
url/querystring. Just some thoughts.
> How does security come into play here?
It's different in .net 1.1 and 2.0, and very different from JSP security. :<
I hate JSP security. I believe .net 2.0 is going the java way, but I'm sure
there will be MUCH better docs for it.
Good luck.
.
- Follow-Ups:
- Re: plain JSP in a ASP.NET page
- From: melinda
- Re: plain JSP in a ASP.NET page
- References:
- plain JSP in a ASP.NET page
- From: melinda
- plain JSP in a ASP.NET page
- Prev by Date: Re: Login failed for user '(null)'. Reason: Not associated with a
- Next by Date: Re: URGENT!!!: ASPX Page not served through external access
- Previous by thread: plain JSP in a ASP.NET page
- Next by thread: Re: plain JSP in a ASP.NET page
- Index(es):