<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Migrating from JSP/Servlets to ASP.NET</title><link>http://forums.asp.net/45.aspx</link><description>Discuss moving from JSP/Servlets to ASP.NET.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Converting Java to C#</title><link>http://forums.asp.net/thread/2444120.aspx</link><pubDate>Tue, 24 Jun 2008 19:10:58 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2444120</guid><dc:creator>bonafiden</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2444120.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=45&amp;PostID=2444120</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have decided to pass Session object. When I added to the dll statement:&lt;/p&gt;&lt;font color="#0000ff" size="2"&gt;
&lt;p&gt;using&lt;/font&gt;&lt;font size="2"&gt; System.Web.SessionState;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;I&amp;nbsp;was able to accept it as input parameter to the method&amp;nbsp;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;&amp;nbsp;&lt;/p&gt;&lt;/font&gt;</description></item><item><title>Re: Converting Java to C#</title><link>http://forums.asp.net/thread/2443583.aspx</link><pubDate>Tue, 24 Jun 2008 15:46:30 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2443583</guid><dc:creator>bonafiden</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2443583.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=45&amp;PostID=2443583</wfw:commentRss><description>&lt;p&gt;I am sending Request object as parameter to dll. Can I get Session out of Request? If not - how could I pass Session object as parameter? When I am trying to, I am getting an error that System.Web.UI.HTTPSessionState object can not be defined, and it looks like I cannot add reference for System.Web.UI to the class library.&lt;/p&gt;</description></item><item><title>Re: Converting Java to C#</title><link>http://forums.asp.net/thread/2443419.aspx</link><pubDate>Tue, 24 Jun 2008 14:54:59 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2443419</guid><dc:creator>MelvynHarbour</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2443419.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=45&amp;PostID=2443419</wfw:commentRss><description>&lt;p&gt;The first roughly translates as Session[...]. The second translates to Request.URL.&lt;/p&gt;</description></item><item><title>Converting Java to C#</title><link>http://forums.asp.net/thread/2443294.aspx</link><pubDate>Tue, 24 Jun 2008 14:14:04 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2443294</guid><dc:creator>bonafiden</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2443294.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=45&amp;PostID=2443294</wfw:commentRss><description>&lt;p&gt;I need to write in C# ASP.NET application analog of the following calls in Java:&lt;/p&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font size="2"&gt;Request.getSession(..)&lt;/font&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;objRequest.getSession()&lt;/font&gt;&lt;font size="2"&gt;.getAttribute(...)&lt;/font&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;objRequest.getRequestURI()&lt;/p&gt;
&lt;p&gt;How can I &amp;quot;translate&amp;quot; them to C#?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>