Re: plain JSP in a ASP.NET page



What do you mean by "the lowest pages"? Thanks for the great advice. And
no, I'm not in Ontrario, sorry.

"Flip" wrote:

> > 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.
>
>
>
.