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 7649991
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T11:08:10+00:00 2026-05-31T11:08:10+00:00

I found this link… Java:how to pass value from class/bean to servlet I tried

  • 0

I found this link…

Java:how to pass value from class/bean to servlet

I tried it and it works (thanks to BalusC) This was very helpful and answers all my questions that I’ve been researching for several days now.

However I’m trying to figure our how to pass the parameter from JSP to the sql query in DAO

if for example I want to create a jsp form to filter the result that the servlet will be producing…

Thanks in advance

  • 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-05-31T11:08:13+00:00Added an answer on May 31, 2026 at 11:08 am

    It depends on how do you want to invoke DAO methods, (please clarify it):

    1. If you want to call DAO methods directly from your JSP (which is a bad practice), I recommend using JSTL’s SQL tag library.
    2. If you want you can develop your custom tag-library to invoke your DAOs.
    3. If you are invoking DAO methods from a Servlet (or using an MVC framework), you cant use request.getParameter(paramName) to get what user have filled in the inputs, then call the DAO methods, and set the result of DAO in request attributes.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I found this link http://artis.imag.fr/~Xavier.Decoret/resources/glsl-mode/ , but there isn't a lot of description around
I found this link on how to embed custom fonts in XAML apps. Is
i have a problem using the Catch Clipboard Events code found on this link
I've found a code which opens this link after logging in to google account
I have found some info on the subject ( like this link) , but
I have found this link http://smartclient.codeplex.com/ which has some updates for vs 2010 ....
I found this link and I wanted to try the carousel example out. I
I'm getting this fault intermittently. I found this link which summarises fairly well what
What is the best way to get the return value from IHTMLWindow2::execScript? I found
I found this link How to return all records if parameter is null I

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.