autopostback in JSP

Hi,
1)  I want the contents of my HTML page display to refresh automatically based on a selection made by the user. I am using HTML + JSP.
 For Example:
   There are three radio buttons
           - Thesis
           - Non-Thesis
           - Software Engineering
   Drop Down Menu1          

If the user selects 'thesis' there should be one drop down menu appearing on the screen else there should be two drop down menus appearing.
  How can I do that?
2)  Also what function in JSP will allow my page to display one image if the mouse is placed on it and another image if the the mouse is not place on it?
Thanks,
I shall appreciate any help.
Thanks,
Runu
ruraAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

zehebCommented:
The code below refer to paragraph 1

<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<TITLE></TITLE>
</HEAD>
<SCRIPT LANGUAGE=javascript>

<!--
    function OnClick()
    {
        if (document.all.item("radio")[0].checked)
           DropDown2.style.visibility = "hidden"
        else
           DropDown2.style.visibility = "visible"
    }
//-->
</SCRIPT>

<BODY>
    <INPUT type="radio" name="radio" value="Thesis" OnClick="JavaScript:OnClick()"> Thesis <BR>
    <INPUT type="radio" name="radio" value="Non Thesis" OnClick="JavaScript:OnClick()"> Non Thesis <BR>
    <INPUT type="radio" name="radio" value="Software Engineering" OnClick="JavaScript:OnClick()"> Software Engineering <BR>
   <SELECT ID="DropDown1">
      <OPTION></OPTION>
   </SELECT>
   <SELECT ID="DropDown2" STYLE="visibility:hidden">
      <OPTION></OPTION>
   </SELECT>
</BODY>
</HTML>
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
zehebCommented:
The code below refer to paragraph 2

<SCRIPT LANGUAGE="JavaScript">
function OnMouseOver()
    {      
       yourImageID.src = "yourMouseOverImage.gif"
    }
   
    function OnMouseOut()
    {
       yourImageID.src = "yourImage.gif"
    }
//-->
</SCRIPT>
<BODY>
    <IMG SRC="YourImage.gif" OnMouseOver="JavaScript:OnMouseOver()" OnMouseOut=JavaScript:OnMouseOut()">
</BODY>
</HTML>
0
COBOLdinosaurCommented:
This question has been classified abandoned. I will make a recommendation to the
moderators on its resolution in a week or two. I appreciate any comments
that would help me to make a recommendation.

<note>
Unless it is clear to me that the question has been answered I will recommend delete.  It is possible that a Grade less than A will be given if no expert makes a case for an A grade. It is assumed that any participant not responding to this request is no longer interested in its final disposition.
</note>

If the user does not know how to close the question, the options are here:
http://www.experts-exchange.com/help/closing.jsp


Cd&

0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.