UrbanPro
true

Ask a Pro

UrbanPro has lakhs of Expert Tutors and Trainers to answer your Questions.

?

Questions Guidelines

  • Start your question with simple statements like "what", "when", "where", or "how".
  • Ensure your question or answer is not offensive or insensitive - it may be voted down or banned.
  • Please provide as much detail as possible as this will allow our members to better understand and respond to your question.
  • Take some time to categorize your question. This will greatly help other users find the question.

You can add upto 6 Images

How it works?

Trending Discussions

Krishna 4 days ago in  10 Years of Experience in B.Tech Tutions

How to remove Maths fear in primary school kids (Class 1 to 6)?

0 0

Priyanka replied | 3 days ago

To remove fear, just play games like ludo.

It will be funny for them to forward blocks.

Make them visit market and buy something 

5 chocolates, 10 pens so multiplication will understood 

A

Abhijith 30/05/2024 in  IT Courses/Java/JSP (Java Server Pages)

What are session and cookies in Java Server Pages (JSP)?

0 0

Balmukund replied | 3 days ago

  • Session: Stores user data on the server while the user is logged in.
    Example: session.setAttribute("username", "John");
  • Cookie: Stores small pieces of data in the user's browser.
    Example: remembering username or login preferences.

In short: Session = server-side, Cookie = client/browser-side.

K

Kirti 30/05/2024 in  IT Courses/Java/JSP (Java Server Pages)

What is JSP file format in Java programs and how to use them?

0 0

Balmukund replied | 3 days ago

JSP = Java Server Page (.jsp) used to create web pages.

  • JSP → UI / HTML
  • Servlet → Java logic
  • JDBC → Database connection

Example:

<h2>Hello <%= username %></h2>

Typical flow:

login.jsp → LoginServlet.java → Database → home.jsp

K

Karunanidhi 30/05/2024 in  IT Courses/Java/JSP (Java Server Pages)

How do I create a login page in Java using servlets and JSP?

0 0

Balmukund replied | 3 days ago

Java Servlet + JSP Login Flow

login.jsp
   ↓
LoginServlet
   ↓
Check username/password in MySQL
   ↓
Valid? ── Yes → Create HttpSession → home.jsp
   │
   └── No → Back to login.jsp with error

Main components

  • JSP → Login form/UI
  • Servlet → Handles login request
  • JDBC → Connects Java to MySQL
  • MySQL → Stores users
  • HttpSession → Keeps user logged in
  • Logout Servlet → Invalidates session

For a real project, use BCrypt/password hashing, not plain-text passwords.

Balmukund 3 days ago in  CBSE - Class 9/Mathematics/Mensuration/Heron's formula/Maths Geometry concepts on prooving geometrical theorems, CBSE - Class 10/Mathematics, CBSE - Class 10/Mathematics Class 1-10

"Why does Physics feel harder than Maths for most students, even though it's 'just numbers'?"

0 0

Show previous answers

Anil replied | 3 days ago

Maths teaches you how to calculate. Physics teaches you what to calculate, why to calculate it and how it applies to the real world.

Satya Tripathi replied | 2 days ago

Physics feels harder than math bcoz math gives you the rules,but physics forces you to apply them to the messy real world

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more