Passing parameters to JSP
Hello,
I have a jsp page that needs to receive parameters to look up an image. I pass the parameters in the url like so: <page url>?year=1974&month=01&day=01&hour=00&sattelite=GOES1&channel=IR . FYI <page url> is just a place holder for the url of the image page. The image page is a jsp page. I am trying to receive the parameters and display the image using this JavaScript code:
<script language="text/JavaScript">
<!--
var pic="ftp://eclipse.ncdc.noaa.gov/pub/isccp/b1/.D2790P/images/"+year+"/001/Img-"+year+"-"+month+"-"+day+"-"+hour+"-"+satellite+"-"+channel+".jpg"
document.write('<img src=pic style="border: 0px solid ; width:550px; height: 550px;">')
-->
</script>
However, when the page is displayed there is no image displayed. Does anyone have any ideas a to why the image isn't displaying? I am thinking that I cannot use JavaScript to receive parameters passed by the url. If that is the case then how would I get the parameters? I will be happy to provide any more information that you need to help me fix this problem.
Thank you in advance.

