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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T22:25:41+00:00 2026-05-18T22:25:41+00:00

Do you happen to know of an opensource Java component that provides the facility

  • 0

Do you happen to know of an opensource Java component that provides the facility to scan a set of dynamic pages (JSP) and then extract all the input parameters from there. Of course, a crawler would be able to crawl static code and not dynamic code, but my idea here is to extend it to crawl a webserver including all the server-side code. Naturally, I am assuming that the tool will have full access to the crawled webserver and not by using any hacks.

The idea is to build a static analyzer that has the capacity to detect all parameters (request.getParameter() and such) fields from all dynamic pages.

  • 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-18T22:25:42+00:00Added an answer on May 18, 2026 at 10:25 pm

    The idea is to build a static analyzer that has the capacity to detect all parameter fields from all dynamic pages.

    You cannot use a web crawler (basically, a HTML parser) to extract request parameters. They can at highest scan the HTML structure. You can use for example Jsoup for this:

    for (Element form : Jsoup.connect("http://google.com").get().select("form")) {
        System.out.printf("Form found: action=%s, method=%s%n", form.attr("action"), form.attr("method"));
        for (Element input : form.select("input,select,textarea")) {
            System.out.printf("\tInput found: name=%s, value=%s%n", input.attr("name"), input.attr("value"));
        }
    }
    

    This prints currently

    Form found: action=, method=
        Input found: name=hl, value=en
        Input found: name=source, value=hp
        Input found: name=ie, value=ISO-8859-1
        Input found: name=q, value=
        Input found: name=btnG, value=Google Search
        Input found: name=btnI, value=I'm Feeling Lucky
        Input found: name=, value=
    Form found: action=/search, method=
        Input found: name=hl, value=en
        Input found: name=source, value=hp
        Input found: name=ie, value=ISO-8859-1
        Input found: name=q, value=
        Input found: name=btnG, value=Google Search
        Input found: name=btnI, value=I'm Feeling Lucky
    

    If you want to scan the JSP source code for any forms/inputs, then you have to look in a different direction, it’s definitely not to be called “web crawler”. Unfortunately no such static analysis tool comes to mind. Closest what you can get is to create a Filter which logs all submitted request parameters.

    Map<String, String[]> params = request.getParameterMap();
    // ...
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does anyone happen to know if there is a token I can add to
Would anyone happen to know how to convert type LPTSTR to char * in
Does anyone happen to know what the maximum length of a method name is
I have an open source Java application that uses Hibernate and HSQLDB for persistence.
Would anyone happen to know how you would run a Twitter search query based
I know that, under typical conditions, a class is only loaded once. I also
Although Github provides a nice home for Java open source projects, there are some
From the question How Does Appcelerator Titanium Mobile Work? I know that the JS
I was wondering if anyone with some Jelly experience would happen know how one
Does anyone happen to know of any live WebSocket servers which are accessible over

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.