Hi all,
I need help regarding following problem.
I'm getting HTTP get responses from a program(Kannel) periodically.
The HTTP is in the following format.
"http://localhost/sms.php?A=10&B=abc"
I want to know whether is it possible to get the values of A & B using a Java program (not JSP) as soon as I get the response. (This link can be change as I want. I mean it needs not to be sms.php)
Pls help me with this..
Thank you in advance!
tha_ratl
0
Newbie Poster
Recommended Answers
Jump to PostHow do you get the responses?
Are they String objects like the one in your example or are they HttpServletRequest, HttpServletResponse objects?What you said about the JSP is irrelevant. You don't need a JSP to get the response. If they were, how you think you get the request …
Jump to PostIf you are getting the "response" then you also sent the "request" so you should already have "A and B".
You need to better explain your situation and your goal.
All 5 Replies
javaAddict
900
Nearly a Senior Poster
Team Colleague
Featured Poster
masijade
1,351
Industrious Poster
Team Colleague
Featured Poster
tha_ratl
0
Newbie Poster
masijade
1,351
Industrious Poster
Team Colleague
Featured Poster
tha_ratl
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.