0

I have done a lot of PHP but never JSP. I have checked tutorial but not gone too far. I see there are Java beans and some servlets which I'm zero brain at. So I have two questions:
1. Where to read a concise tutorial (Not too detailed I mean) on those prerequisites to grasp the tutorial (Having some Java/Swing background)?

2. What is difference between JSP login and PHP(HTM forms/$_POST, session, etc)?

3
Contributors
4
Replies
5
Views
7 Years
Discussion Span
Last Post by Stefano Mtangoo
0

>Where to read a concise tutorial

Readme.

Thanks I will have to check again

>What is difference between JSP login and PHP

Not a real question. (http://en.wikipedia.org/wiki/Login)

It is friend. In PHP I have to submit a form and catch it via $_POST superglobal. I will then have to start session and so thing goes on and on. I was asking how does this differ in JSP? Are things the same or dramatic different?

Thanks

1

In PHP I have to submit a form and catch it via $_POST superglobal. I will then have to start session and so thing goes on and on. I was asking how does this differ in JSP? Are things the same or dramatic different?

Thanks

Fundamentally same:

  • servlet will use doGet() or doPost() (other methods are not used often)
  • create session
  • attach it to next forward/redirect servlet does
0

Fundamentally same:

  • servlet will use doGet() or doPost() (other methods are not used often)
  • create session
  • attach it to next forward/redirect servlet does

Thanks Peter,
I'm trying to familialize with JSP as I have to do something with my colleagues which are Java addicts ;)

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.