Back to Problem Solutions forum
Hi! I can't understand why I have - WRONG! second url should start http:// Could you check ny URL? http://caqsp-sergeylotvin.rhcloud.com/horoscope.html
A=22, B=50, C=17
the second URL is, for ex., - http://caqsp-sergeylotvin.rhcloud.com/response.jsp?name=testName&year=2011&month=3&day=31
What is the problem with URLs?
HI! I have the same problem. this my url: http://vanceavladimir.atwebpages.com/SimpleForm.html
It's pity. But do you have the solution? :) SOS, colleagues!
Oleg! What hosting did you use ? openShift ?
Yes! it's openShift. I use JAVA (JSP) and openShift is free as JAVA host.
Vladimir_V, but you have this task done, haven't you? I've seen it, because I've figure the issue out. The was exactly in the SECOND URL. My, not mistake I think, was that I use
<form action="response.jsp" method="get">:
instead of
<form action="http://caqsp-sergeylotvin.rhcloud.com/response.jsp" method="get">:
inside the code of the first page
<html>
<head>
<title>QueryStringParameters</title>
</head>
<body>
<h1>Personal Horoscope</h1>
<form action="http://caqsp-sergeylotvin.rhcloud.com/response.jsp" method="get">
<p align="center">Name: <input type="text" name="name" value="" size="24" />
<p align="center">Birth Year: <input type="text" name="year" value="" size="6" /> and Month: <input type="text" name="month" value="" size="3" /> and Day: <input type="text" name="day" value="" size="3" /></p>
<p align="center"><button type="submit" >Send data</button></p>
</form>
</body></html>