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

  • SEARCH
  • Home
  • 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 6021823
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T03:46:09+00:00 2026-05-23T03:46:09+00:00

From 1st page I pass 2 parameters http://in164263:5050/csm/csminfo.jsp?cfgid=48&filepath=files/csmclientbuckeye.xml How to read the request parameter

  • 0

From 1st page I pass 2 parameters http://in164263:5050/csm/csminfo.jsp?cfgid=48&filepath=files/csmclientbuckeye.xml

How to read the request parameter in csminfo.jsp and get xml file from filepath?

I suppose for reading and parsing xml I can us something like this

$.ajax({
    type: "GET",
    url: "sites.xml", //here i want to read request parameter `filepath`
    dataType: "xml",
    success: function(xml) {

    }
});

The problem is i am passing the filepathon onLoad of page’s body, so the spry region tries to load itself through the dataset(which is not yet initialised) but since it does not have the path yet it is not displayed. So how can I get the filepath before onLoad so that spry:region gets this filepath?

  • 1 1 Answer
  • 1 View
  • 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-23T03:46:10+00:00Added an answer on May 23, 2026 at 3:46 am

    With JSP you can use something like this to setup properly your ajax call

    $.ajax({
        type: "GET",
        url: "<%= request.getParameter("filepath") %>",
        dataType: "xml",
        success: function(xml) {
    
        }
    });
    

    Otherwise, if you really NEED to read the get or post parameters via javascript (jQuery), you can follow this answer :
    how to get GET and POST variables with JQuery?

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

Sidebar

Related Questions

How do I pass a hidden field value from one application(html) page to GWT
how to generate image of 1st page from pdf document using acrobat 7.0 sdk.
I'm trying to get the number of days from 1st of current month of
I have an application that is good from September 1st of the current year,
I just started using rapidxml. I 1st create an xml file to read from.
I am getting a json array string as response from a page. I want
I have gridview that is loaded from another aspx page after an ajax call,
Here is the simple scenario: User triggers some operation from a web page of
I was wondering about the textarea box bit.ly has on the 1st page you
On the 1st page that is displayed in my JSF application, I want to

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.