JSP for developers . NET

Asked

Viewed 163 times

2

I’m a developer . NET who needs to understand a bug that occurs in a JSP application. (I don’t need to compile or fix, just understand how it is using the database and etc.)

I already have Eclipse, solution loaded, I have the sources and etc. But I need a Quick start in architecture. I’m still having basic difficulties like this page is being populated as?

There is some kind of quick tutorial for JSP developers for developers . NET?

I have questions like :

  1. JSP is more like ASP, ASP.NET or ASP.NET MVC?
  2. Type what differences between ASP.NET and JSP, where they are similar and etc..
  3. There is codebehind?
  4. Use type controllers in ASP.NET MVC?
  5. A URL http://meusite/test.do, where I find the jsp file?
  • At first, it doesn’t exist. An answer explaining this would fit better.

1 answer

6

JSP is more like ASP, ASP.NET or ASP.NET MVC?

At first, for all three, although it is not exactly correct to establish this kind of parallel. JSP is an HTML processing technology, as well as ASP, ASPX or Razor notation. Microsoft’s three technologies use, respectively, Classic ASP and languages within the . NET to process markup content. JSP does the same with Java.

Type what differences between ASP.NET and JSP, where they are similar and etc.

There are more similarities than differences. They both process a page with markups in order to obtain a dynamic result, usually in HTML.

There are some answers about that here.

There is codebehind?

JSP is not event-oriented. Here is confusion with ASP.NET Web Forms, which is a stack of frameworks. JSP is just one framework, specialized in replacing an annotated document with the characteristic notation for content processed by Java.

Use type controllers in ASP.NET MVC?

As in the previous answer, ASP.NET MVC is an architecture, an stack of frameworks. A more equivalent comparison would be JSP vs. Razor, or JSP vs. ASPX.

However, Java has its own frameworks MVC that can be used together with JSP, such as Spring MVC and the Play! Framework.

A URL http://meusite/test.do, where I find the jsp file?

Depends on the framework. If it is a framework MVC, for example, usually these files are in a directory Views.

  • 1

    It is common when we engage with other technologies, have the habit, which can be bad, to make relations with what we already know. So in that sense your answer is of great help so that I do not make the wrong relationships. Thank you. Already helps in understanding what lies ahead.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.