Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9067527
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T16:57:45+00:00 2026-06-16T16:57:45+00:00

While working on an ASP.NET project, I really liked the concept of a class

  • 0

While working on an ASP.NET project, I really liked the concept of a class for each page or webform, where I could write all the method and actions I want, and more importantly, the Page Load method.

Everyone says that we should avoid using scriplets, either in ASP or JSP.

And I suppose that the Page Load existed for us so that we don’t use scriplets anymore.

Because I heard and read many times that we can’t know when these scriplets will run, but in the Page Load method, we know exactly how the codes will run and how the page will be rendered.

But in JSP, as far as I know, we don’t have this type of server-side class for each page.

Instead we have something called servelts, which everyone encourages to use.

But technically servlets are independent from the normal JSP pages.

So still, I’m using scriplets in my JSP pages, even though I’m trying to make them less as much as I could, but I still use some scriplets to check the Session and some URL parameters.

Isn’t there a similar idea or approach to the Page Load (ASP) in JSP?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T16:57:47+00:00Added an answer on June 16, 2026 at 4:57 pm

    BalusC was right in saying you are comparing apples to oranges. JSF was created in response to asp.net. (source @ 47 minutes) It has grown independently and you might do well to look into all the different frameworks and paradigms out there. While JSF will work similar to asp.net there are plenty of alternatives worth exploring. In .NET you might want to look into MVC4. In Java there is Tapestry, Spring MVC, Seams, etc.

    I would start with wiki comparison and go from there. At your stage in the game I would pick one and try to get familiar with it, than try 2 more to do that same thing.

    http://en.wikipedia.org/wiki/Comparison_of_web_application_frameworks#Java_2

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

All my questions in this topic related to asp.net 2.0 While working on some
I've been working with ASP.NET(WebForm) for a while, but new to ASP.NET MVC. From
While working with jquery unobtrusive validation in my ASP.NET MVC 3 project I noticed
I'm working on asp.net (C#) project which include some page files (aspx, aspx.cs) and
Working with Solr for ASP.net project using Solrnet library. While querying with Faceted field
I've got a relatively small project written in ASP.NET MVC3. After working a while,
While working on one ASP.NET project hosted within web farm including two front ends
While working on ASP.NET MVC3 application, by mistake I have added a Class library
Hi I have been working on asp.net for a while. I am wondering if
As I'm working on a asp.net/c# project, I'm confronted with the foobar.aspx.designer.cs that auto

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.