Convert JSP's to ASP.Net

G

Guest

I have to convert some JSP's to C#(ASP.Net),I know there are a number of
tools to do this task including the Microsoft Java Language Conversion
Assistant 2.0.

I a looking for some recommendations from people who have successfully used
some of the tools.

TIA,
Vinny
 
H

Hans Kesting

Vinny said:
I have to convert some JSP's to C#(ASP.Net),I know there are a number
of tools to do this task including the Microsoft Java Language
Conversion Assistant 2.0.

I a looking for some recommendations from people who have
successfully used some of the tools.

TIA,
Vinny

AFAIK the Conversion Assistant converts *java code* to some dotNet language
(J#, C#, VB.Net??).
I don't think it will translate JSP's to useable asp.net files, as they have a very different structure.

Hans Kesting
 
J

John Timney \(ASP.NET MVP\)

I think your going to struggle to do this via a conversion tool, the problem
is that there are a multitude of ways to write a JSP site, and quite a few
to develop and asp.net site. The conversion tools are really desogned to
take java code and replace it with comparable code from C# for example, they
wont be able to take your inline java snippets, or your taglibs and
automatically convert the jsp page into an asp.net equivalent. The best you
could try is to take the code from a class and try to convert that
automatically, and then re-engineer your interface code to asp.net to use
the new methods in code behind.

--
Regards

John Timney
ASP.NET MVP
Microsoft Regional Director
 
Joined
Oct 10, 2009
Messages
2
Reaction score
0
jsp to asp.net

i want to convert the below code to asp.net how
<struts-config>
<data-sources/>
<form-beans>
<form-bean name="PortalHomeForm" type="com.osl.forms.staticcontent.PortalHomeForm" />
</form-beans>
<global-exceptions/>
<global-forwards/>
<action-mappings>
<action path="/PortalHome" type="com.osl.action.staticcontent.PortalHome" name="PortalHomeForm" scope="request" validate="false">
<forward name="default" path="/application/staticcontent/index.jsp"></forward>
<forward name="failure" path="/application/staticcontent/index.jsp"></forward>
<forward name="agentlogin" path="/agents/AgentHome.do"></forward>
</action>
</action-mappings>
<message-resources parameter="com.osl.resources.ApplicationResources"/>
<controller/>
</struts-config>
 
Joined
Oct 10, 2009
Messages
2
Reaction score
0
i want to convert the below code to asp.net how
<struts-config>
<data-sources/>
<form-beans>
<form-bean name="PortalHomeForm" type="com.osl.forms.staticcontent.PortalHomeForm" />
</form-beans>
<global-exceptions/>
<global-forwards/>
<action-mappings>
<action path="/PortalHome" type="com.osl.action.staticcontent.PortalHome" name="PortalHomeForm" scope="request" validate="false">
<forward name="default" path="/application/staticcontent/index.jsp"></forward>
<forward name="failure" path="/application/staticcontent/index.jsp"></forward>
<forward name="agentlogin" path="/agents/AgentHome.do"></forward>
</action>
</action-mappings>
<message-resources parameter="com.osl.resources.ApplicationResources" />
<controller/>
</struts-config>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,139
Messages
2,570,804
Members
47,350
Latest member
TamiPutnam

Latest Threads

Top