Html select change to make JSP page forward keeping the exsting field value

Hello, All,
I am trying to make the change of a selection box in HTML form to reload the page and populate the second selection box based on the value in the first selection box. The content of the second selection box is from database....
i used a javascript funtion and called it by the onChange(), the onChange redirect the page to the same page. However all my previous input is lost and the second selection box is not populated based on the first selection box.
The question is how do I keep the current input and reload the page based on the change of a selection box?
Please help..
Thanks..
Here is the code
<script language=javascript type="text/javascript">
function forward(){
location.href="trdCapDetail.jsp";
</script>
<select name=vehicle onChange="forward()">
<%for(int i = 0; i < Vehicle.getAll().size(); i++){
     Vehicle vehicle = (Vehicle)(Vehicle.getAll().elementAt(i));     
     out.write("<option value=" + vehicle.getKey()+" >" + vehicle.getCode() + "</option>");
%>

Ok two things.
1 - you need to submit the value which was selected.
2 - you need to repopulate the select box with it.
1 - you need to submit the value which was selected.
You do this by either appending the parameter to the url, or calling form.submit().
<script language=javascript type="text/javascript">
// either set parameter on url manually
function forward(control){
var param = control.value;
location.href="trdCapDetail.jsp?vehicle=" + param;
// or submit the form:
function forward(control){
  control.form.submit();
<% pageContext.setAttribute("vehicles", Vehicle.getAll() ) ; %>
<form name="myForm" action="trdCapDetail.jsp"> 
  <select name="vehicle" onchange="forward(this)">
      <c:forEach var="vehicle" items="${vehicles}">
        <option value="<c:out value="${vehicle.key}"/>"> <c:out value="${vehicle.code}"/> </option>
      </c:forEach>
   </select>   
</form>2: populating the control
One way is to use javascript again:
<c:if test="${not empty param.vehicle}">
  <script language="javascript">
    document.myForm.vehicle.value = "<c:out value="${param.vehicle}"/>";
  </script>
  </c:if>
// or scriptlet code if you must
<%
String selectedVehicle = request.getParameter("vehicle");
if (selectedVehicle != null){  %>
  <script language="javascript">
    document.myForm.vehicle.value = "<%= selectedVehicle%>";
  </script>
<%
%>The other way to keep the current input is to generate the string "selected" inside the option tag for the selected item. In your loop, check if the current id equals the submitted id, and print "selected" if it is.
Hope this helps,
evnafets

Similar Messages

  • Session Timout JSP Page Forward

    Hi All,
    I am currently working on a JSP site and want to add a JSP page forward that takes place when the user's session times out after a period of inactivity.
    I have created a servlet that implements HttpSessionBindingListener and has methods in place for valueBound and valueUnboud. The methods are getting called as they should, however because there isn't an HttpResponse object I cannot do a response.forward....
    So my question: Is the HttpSessionBindingListener the correct interface to be implementing to accomplish my goal? If so, how do I forward the user to the login page? If not, what should I use and how do I forward the user to the login page?
    Thanks for your time and help.
    Aaron

    valueUnbound method? Arent you using a Model
    View Controller type architecture? The servlet
    is mainly used to to handle logic and navigate
    to the appropriate view(your java server pages).
    The code I supplied should be placed in the service
    method of your servlet.. then it can handle the
    request and determine where to go from there. Your
    servlet should have three methods, the doPost, the
    doGet, and the service method. The doPost and Get
    should pass the request and response objects on to
    the service method. Any other logic should be handled
    in other classes that you create. The service method
    basically decides what the next page should be.
    Hope this helps..

  • Make jsp page read only

    dera frds,
    im working on a site,i make a web page based on jsp,that page has a download file,i want the authorized user can download that file,other can see that file as read only mode,but can't download,so plz provode me some program to make jsp page as read only.

    ya well i want that other can see that file,but only authories users can download that page or file.unauthories user can see that page or file,but can't download.
    basially assume that file might be having some course that can download by authoried users.

  • Why do the thumbnails not reflect changes I make to pages?

    I am working on a pdf in Acrobat DC.
    I am working on a page with all the layers hidden.
    So the thumbnail is blank
    When I show a layer it appears on the page.
    The thumbnail however does not change.
    Why do the thumbnails not reflect changes I make to pages?

    Hi Jules,
    The behavior is same in Acrobat 11 as well. The thumbnails do not get refreshed till you close the document and reopen.
    Regards,
    Rave

  • Please recommend a good tool to make JSP page.

    Hi, can someone please recommend me a good tool to make JSP page? Until now, I use notepad which I found is not professional.

    Hi kvols:
    Thanks a lot for your reply. I had used JEditor before I switched to JCreator. I found both of them quite good. I also tried to use CVS sometime back, but got totally confused about it. I will try to search for the other toolkits you mentioned. Just now, I find one named XMLspy from google. Yet I don't know whether or not it is really as good as stated on its website. I will try it out soon.

  • None of the changes I make to system preference or the dock will hold after restart. I've cleared the RAM, run disk repair and reinstalled the OS. Now what?

    None of the changes I make to system preference or the dock will hold after restart. I've cleared the RAM, run disk repair and reinstalled the OS. Now what?

    MobileMe closed on July 31, 2012.
    It is true that the only way to sync your Mac with iCloud is to upgrad.  You need to be running OS X Lion 10.7.2 or higher in order to sync your Mac with iCloud.  At this point, you can upgrade directly to OS X Mountain Lion from the version of OS X you are now running (10.6.8).   You can purchase and download the Mountain Lion upgrade from the Mac App Store for $19.99.  After upgrading you will see iCloud in System Preferences.  This guide explains how to sync your Mac with iCloud after upgrading: http://www.apple.com/icloud/setup/mac.html.
    Once all your devices are signed into the same iCloud account and you have turned on your iCloud data syncing, you will be able to keep them all in sync using iCloud.  You will still have to sync with iTunes to manage your iTunes media such as music, movies, podcasts, etc.  You will have the option to either continue backing up automatically with your computer when you sync with iTunes, or to back up your iOS devices automatically to iCloud every 24 hours (as long as they are connected to wifi and your chargers).

  • JSP page error: JSPtranslate: attribute | has no value.

    Hi again,
    I've written the JAVA class, the TLD and the JSP but when I try to provide the parameters to the TLD file in the JSP I get this error: JSPTranslate: attribute | has no value. /**** My TLD file is in a WEB_INF/tags/ directory. ***/
    I've included my JAVA class, JSP and TLD files below.
    package com.ibm.samples.TEMP;
    import javax.servlet.jsp.*;
    import javax.servlet.jsp.tagext.*;
    public class TEMP extends TagSupport
         private int mandatory = 0;
    //Set method base upon info from .tld file
         public void setMandatory(int mandatory)
             this.mandatory = mandatory;
    //Init tag called from .JSP page that used the custom tag.
        public int doStartTag() {
           try
                JspWriter out = pageContext.getOut();
                out.println("<table border=1>");
           if (mandatory == 1)
               out.println("<tr><td> <input type=\"text\"" +
                     "style=\"background-color:yellow\" size=\"25\" name=\"user\">");
              else
               out.println("<tr><td> <input type=\"text\"" +
                     "style=\"background-color:white\" size=\"25\" name=\"user\">");
           catch (Exception ex)
                  throw new Error("Failure");
    // Must return SKIP_BODY because there isn't a body for this tag.
           return SKIP_BODY;
    //End tag ends table and exits, along with error / exception catching
         public int doEndTag(){
            try  {
                                  JspWriter out = pageContext.getOut()
                                  out.println("</table>");
                          catch (Exception ex)
                                  throw new Error("Failure.");
          return EVAL_PAGE;
    --------------END OF CLASS--------------
    ----------------------JSP----------------------
    <%@ taglib [tagdir="/WEB-INF/tags/" | uri="/WEB-INF/tags/inputTAGS.tld"] prefix="I" %>
    <HTML>
      <HEAD> 
           <TITLE>Custom Tags</TITLE> 
      </HEAD>
      <BODY BGCOLOR = "WHITE">
          <H3>Custom Tags!</H3>
          <FORM METHOD="GET" ACTION="customTags.jsp">
            <P>
            Enter First Name:<br>:
            <P>
            <I:inputTags mandatory="1"/>
            <P>
            Enter Last Name:<br>:
            <P>
            <I:inputTags mandatory="1"/>
            <P>
            Enter Phone Number:<br>:
            <P>
            <I:inputTags mandatory="0"/>
            <P>
            <INPUT TYPE="SUBMIT" VALUE="Submit">
            <INPUT TYPE="RESET" VALUE="Reset">
          </FORM>
      </BODY>
    </HTML>
    --------------END OF JSP--------------
    --------------------TLD--------------------
    <?xml version = "1.0" encoding = "ISO-8859-1"?>
    <!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
    "http://java.sun.com/dtd/Web-jsptaglibrary_1_2.dtd">
    <taglib xmlns = "http://java.sun.com/JSP/TagLibraryDescriptor">
    <tlib-version>1.0</tlib-version>
    <jsp-version>1.2</jsp-version>
    <short-name>Input tags library</short-name>
    <description>Custom tags test</description>
    <tag>
    <name>inputTags</name>
    <tag-class>com.ibm.samples.temp.TEMP</tag-class>
    <description>
    Formatted text box:
    </description>
    <attribute>
    <name>mandatory</name>
    <required>true</required>
    <rtexprvalue>true</rtexprvalue>
    </attribute>
    </tag>
    </taglib>
    - LS6V

    I made a new web project and the TLD link is fine. But I have a new error:JspTranslate: unable to load class null I'm recieving the error in my JSP page editor.
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <%@ taglib uri = "/WEB-INF/lib/tag.tld" prefix="I" %>
    <HTML>
      <HEAD>
           <TITLE>Custom Tags</TITLE>
      </HEAD>
      <BODY BGCOLOR = "WHITE">
          <H3>Custom Tags!</H3>
          <FORM METHOD="GET" ACTION="JSPTAG.jsp">
            <P>
            Enter First Name:<br>:
            <P>
    ERROR FOUND HERE ----------->>> <I:inputTag mandatory="1"/>
            <P>
            Enter Last Name:<br>:
            <P>
            <I:inputTag  mandatory="1"/>
            <P>
            Enter Phone Number:<br>:
            <P>
            <I:inputTag mandatory="0"/>
            <P>
            <INPUT TYPE="SUBMIT" VALUE="Submit">
          </FORM>
      </BODY>
    </HTML>---------------------------JAVA CLASS-------------------------
    import javax.servlet.jsp.*;
    import javax.servlet.jsp.tagext.*;
    public class TAG extends TagSupport
         private String mandatory="";
         private int iMandatory = 0;
    //Set method base upon info from .tld file
         public void setMandatory(String hold)
             mandatory = hold;
             iMandatory = Integer.parseInt(mandatory);
         public String getMandatory()
          return(mandatory);
    //Init tag called from .JSP page that used the custom tag.
        public int doStartTag() {
           try
            JspWriter out = pageContext.getOut();
            out.println("<table border=1>");
             if ( iMandatory == 1)
               out.println("<tr><td> <input type=\"text\"" +
                     "style=\"background-color:yellow\" size=\"25\" name=\"user\">");
            else
               out.println("<tr><td> <input type=\"text\"" +
                     "style=\"background-color:white\" size=\"25\" name=\"user\">");
           catch (Exception ex)
                  throw new Error("Failed in doStartTag");
    // Must return SKIP_BODY because there isn't a body for this tag.
           return SKIP_BODY;
    //End tag ends table and exits, along with error / exception catching
         public int doEndTag(){
            try {
                 JspWriter out = pageContext.getOut();
                out.println("</table>");
            } catch (Exception ex){
                  throw new Error("Failed in doEndTag");
            return EVAL_PAGE;
    }---------------------------TLD------------------------
    <?xml version ="1.0" encoding = "UTF-8"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
    <taglib xmlns ="http://java.sun.com/JSP/TagLibraryDescriptor">
      <tlib-version>1.0</tlib-version>
      <jsp-version>1.2</jsp-version>
      <short-name>Input tags library</short-name>
      <description>Custom tags test</description>
      <tag>
        <name>inputTag</name>
        <tag-class>source.TAG</tag-class>
        <description>
            Formatted text box:
        </description>
        <attribute>
          <name>mandatory</name>
          <required>true</required>
          <rtexprvalue>true</rtexprvalue>
          <type>String</type>
        </attribute>
      </tag>
    </taglib>

  • I just bought a used Macbook Pro. How do I make the changes to make it personal. Example the iTunes comes up as the old user and I have to have his password to make changes on the laptop. Can you make any suggestions?

    I just bought a used Macbook Pro. How do I make the changes to make it personal. Example the iTunes comes up as the old user and I have to have his password to make changes on the laptop. Can you make any suggestions?
    Also I cant make a right click on the pad. Is that normal?

    Your first going to have to remove all your personal data off the machine to a external storage drive, do not use TimeMachine when it asks as this will copy the entire drive and is unnecessary at this time (also takes too long).
    You need to drag and drop copy your personal data folders (Music, Pictures, Movies etc) to a external storage drive, once done, unmount and disconnect this drive.
    Most commonly used backup methods
    Next your going to follow the Zero Erase and install method for your OS X version, either 10.6 or 10.7, here
    How to reinstall just OS X or erase/install OS X
    10.7 requires your AppleID and password to install, so make sure to have that ready.
    Once you reboot your into the real setup of OS X, which will require your name etc, so it's now your machine.
    Install your programs, iLife package is only free for the owner of the machine.
    If you have the 10.6 machine specific disks, then it's on there.
    If your using 10.7, then you'll have to purchase it from the App Store.
    Last, return your files from the storage drive, consider setting up a TimeMachine or clone on the external drive.

  • How do I make a page marker so the module will resume from tha last page, including quiz slides.

    How do I make a page marker so the module will resume from tha last page, including quiz slides.

    Whow that is a long time ago. If I remember well, even then bookmarking was enabled by default, Resume Data were sent. Did you try it out on the LMS? Because even though all claim to be SCORM compliant, they don't always have all the functionality

  • Who has changed the Custom Field value?

    Dears,
    Need to know the information regarding how to fetch that who has changed the Custom field value from PWA/MPP.
    Example:
    There is a PDP (say ProjectInfo):
    There is a Custom Field added to that PDP (say Project Status = In Progress).
    Now for ProjectA, someone has checked out and changed the Custom Field "Project Status" from "In Progress" to "Closed".
    I need to fetch the information regarding who has changed that Custom field.
    In which direction should I move: Event Handlers, PSI???? Any other stuff?
    Thanks & Regards,
    Shravan

    Hi Shravan,
    I'm not a developer but I do know that you can use an event handler pushing the resource name and date in custom fields.
    Another way is to use a 3rd-party tool like
    FluentPro Audit Tool.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • How can we read the screen field values from the report selection screen wi

    Hi expart,
    How can we read the screen field values from the report selection screen with out having an ENTER button pressed  .
    Regards
    Razz

    use this code...
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_posnr.
    **Read the Values of the SCREEN FIELDs
    CALL FUNCTION 'DYNP_VALUES_READ'

  • Changes made in jsp pages not showing in weblogic 92

    Hi:
    I am using Weblogic 92.
    I ran an ant script and it copy the ear file
    to the following directory.
    C:\bea92\user_projects\domains\Inquiry\autodeploy
    This should autodeploy the application but it doesn't seemed to show the changes I made.
    I also copy the ear file to the following directory:
    C:\bea92\user_projects\applications\Inquiry
    and
    C:\bea92\user_projects\applications\Inquiry\autodeploy
    The worst part is even if I delete the ear files in the above directory and when I restarted weblogic 92, in the admin console it still shows it and when I tried to delete it, it says the ear file was deploy autodeploy and you must delete it manually something like that.
    But I already deleted it manually but it still shows in the weblogic console. This is very frustrating.
    In weblogic 8.1 I didn't use autodeploy and I don't have any of these type of problems!!
    I also noticed that in the directory:
    C:\bea92\user_projects\domains\Inquiry\servers\AdminServer\stage\_appsdir_inquiry_ear
    it contains an old ear file.
    What are the directory I have to updated exactly with the new ear files for the changes to show up in the application?
    Any help would be greatly appreciated.
    Yours,
    Frustrated
    Edited by jadeite100 at 03/22/2007 3:38 PM

    Hi, Shonda, I can find "Main Mode" for my Jdeveloper 9.0.5.0.0 at
    Tools -> Embedded Oc4j Server settings -> Global -> JSP Container.
    If you can not find this parameter as above, can you use the index search for "Jsp container" or full text search for "embedded oc4j"?
    Anyway, I believe there is way to confirm / change this parameter. At a last resort, you might search for files that contains "main_mode" or "main mode", case ignored, so as to get a clue where this parameter is stored.
    I have been using 9.0.3 oc4j for some time. If the main_mode is recompile, any change of my jsps is always reflected immediately.

  • Html block of code into jsp page.

    Is there possible, using JSF and tiles, to include dynamically a block of html code into a jsp file, or tile ?
    I've tried to create an html file and to include it in a jsp, but at runtime the contents of the html code is not refreshed.
    Any ideas ?
    Maybe using a custom component that acts like a div container for the html code ?
    Thanks in advance.
    Edited by: veveu on Mar 4, 2008 7:18 AM

    I thought about including it in an outputText tag but i never tried it because the output text shouldn't be rendered as html code (by definition).
    Thank you for your brilliant solution, it works fine now.

  • It´s possible to make different page sizes in the same document?

    hi there familiy,
    I´m just learning InDesign (wich it´s fantastic) on line, and i ´d like to know how is possible to change 1 or few pages inside one document o make a flap (for example)? . But I want them to continue facing, to control de design. I know i could do it in different documents, and then mounted in pdf o whatever, but i supossed it´s possible...
    Any help?, thanks in advance, sorry for my english, i´m learnig also!,
    cheers,
    nando

    If the goal is to make a flap, then you can do this in InDesign. A spread can be any contiguous number of pages, so if your document is generally speaking double-page spreads, you can have a single spread that is composed of three contiguous pages.
    To do this, in the Pages palette, select a double-page spread you want to expand. Go to the flyout menu and deselect "Allow selected spread to shuffle." Then drag new page to the left of the left page or to the right of the right page (depending on where your flap is).
    Then you're all set.
    Here's a screenshot of the Pages panel:
    In this case, I've created a flap to the right of page 3 (numbered page a) and its reverse to the left of page 4 (numbered page b).

  • Can't us Oracle API on the simple JSP pages added to the portlet........

    Hi,
    I added a jsp page in the portlet which is not a standard page like the default show mode pages. I have added some code which actually access a resource inside the porltet.
    " img src="<%= UrlUtils.constructResourceURL (pReq, HttpPortletRendererUtil .absoluteLink(request, "icon.png")) %> "
    For that you have to add the following two imports in the code
    mport="oracle.portal.provider.v2.render.http.HttpPortletRendererUtil"
    import="oracle.portal.provider.v2.url.UrlUtils"
    This library is available with the JDeveloper and I dont get any error while compiling and even deploying the portlet war file on the applcation server. Strangely the same piece of code shows the image perfectly for the default show page of the portlet but it generates 500 Internal server error for the other simple jsp page I added, which suggests that the server is unable to find the function:
    500 Internal Server Error
    java.lang.NullPointerException
         at oracle.portal.provider.v2.url.UrlUtils.constructResourceURL(Unknown Source)
         at _htdocs._elogbooksubsystems._DAQ._jspService(_DAQ.java:54)
         [SRC:/htdocs/elogbooksubsystems/DAQ.jsp:15]
         at com.orionserver[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    Can anybody help? Is this possible to use oracle api in the pages which are though added to the portlet but not the standard show modes pages?
    Thanking you in anticipation
    Regards,
    Omer Alvi
    Message was edited by:
    user574208
    Message was edited by:
    user574208

    Thanks Nrintala. I tried to work with multipage portlet example provided in the jpdk. In fact I created another portlet with two pages and copied the code of the two pages of the multipage portlet. (Off course I took care of the names and stuff). Later I modified the provider.xml by defining "next_page" parameter. When I viewed my portlet, first page appeared fine but when I click on the link which should show the second page, I got an error which says.
    Error:      Error occurred while rendering portlet - see provider log file for details.
    Do you think I have missed something? I am depoying my war file on the stand alone OC4J and some how I have not been able to find the application.log file in my application inside the application_deployments of the J2EE_HOME. I have pasted the provider.xml file and I would be grateful if you can help.
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <?providerDefinition version="3.1"?>
    <provider class="oracle.portal.provider.v2.DefaultProviderDefinition">
    <session>false</session>
    <passAllUrlParams>true</passAllUrlParams>
    <portlet class="oracle.portal.provider.v2.DefaultPortletDefinition">
    <id>1</id>
    <name>mulitpage</name>
    <title>testing multi page</title>
    <description>My Portlet Description</description>
    <timeout>40</timeout>
    <showEditToPublic>false</showEditToPublic>
    <hasAbout>false</hasAbout>
    <showEdit>false</showEdit>
    <hasHelp>false</hasHelp>
    <showEditDefault>false</showEditDefault>
    <showDetails>false</showDetails>
    <renderer class="oracle.portal.provider.v2.render.RenderManager">
    <contentType>text/html</contentType>
    <showPage>/htdocs/mulitpage/first.jsp</showPage>
    <pageParameterName>next_page</pageParameterName>
    </renderer>
    </portlet>
    </provider>
    Best regards,
    Omer
    Message was edited by:
    user574208
    Message was edited by:
    user574208

Maybe you are looking for

  • While creating the Data source for Sql server am getting this error?

    Hi i new to Power BI sites and office 365, For my first step  1. i have successful creaeted Gateway in Office 365 2.Now i have creating  the Data source for that gateway using Sql server R2 3.While Creating the Data source using the Corresponding gat

  • Setting Name of Loaded Movie Clips

    I'm getting this error after I use the loader to load in an swf- and then try to rename it to something useful. Error #2078: The name property of a Timeline-placed object cannot be modified. This is a new one - this means that I cannot rename a loade

  • In Mac how to get the Full name of a file Programmatically?

    Hi Friends,          I am doing one Mac application for displaying the contents of a file. I can able to get some information about the file by using this code below...   NSDictionary *dict=[fileManager attributesOfItemAtPath:myPath error:nil]; Now I

  • Using multiple LISTBOX in single Policy of Microsoft Group Policy .adm file?

    OK, I am writing a .adm file and here is code for a policy within a category CATEGORY !!A_CATEGORY POLICY !!A_POLICY KEYNAME "Software\Policies\ABC\ListBoxes" PART !!PART_1_Text LISTBOX ALUEPREFIX "FirstListBox" END PART PART !!DestPort_Label LISTBOX

  • Help desperately really needed please

    Im using front page and im trying to put a macromedia flash player into my webpage so when people click on it it will give them the allow or deny box for their webcam how can i do this? html code i cant seem to find only for movies nothing to enable