How we can generate dynamic menu in jsp page

Hi all,
how we can generate dynamic menu in jsp page.
Thanks
Manjinder

by reading more about them on the web or in a good book, OR BY HIRING SOMEBODY TO DO SO. ;)

Similar Messages

  • Hi all.... how to display tables dynamically in a JSP page

    im trying to display the list of tables in MYSQL datbase into a JSP.... i have a database name link on the page.... once i click on that the list of tables should be listed dynamically in the page as a link...Also is it possible to click on each table link and go to see the table details ...if so how.... please some one help me ...its very urgent........

    im trying to display the list of tables in MYSQL
    datbase into a JSP.... i have a database name link on
    the page.... once i click on that the list of tables
    should be listed dynamically in the page as a
    link...Also is it possible to click on each table
    link and go to see the table details ...if so how....DatabaseMetaData has a method (look in the documentation) to get the list of tables. It also has methods to get information on specific database objects
    please some one help me ...its very urgent........It's even urgent that you look in the documentation.

  • How to produce a graph in the jsp page dynamically

    I want to generate a graph dynamically in my jsp page, depending on the data in my database. Please help how can i do this and the possible ways to do this.

    What you need to do is to represent the graph as an image on some part of the page, using an IMG tag.
    That means you need a second transaction to fetch the image data, and you need to tie the two together.
    The standard approach is to use a servlet to deliver the image, and the src URL generated on your HTML output has some kind of token to identify which graph is to be delivered. So the intial transaction creates a indetifier of some kind, which is likely used to identify image data accessed from session context. Then, when the browser interprets the HTML, it sends a request to the server for the image, which the servlet then generates based on the identifier.
    If you use JFreeChart much of this stuff is available from the library.

  • Urgent....How can i redirect to my jsp page from servlet in init() method..

    How can i redirect to my jsp page from servlet in init() method..Becoz that servlet is calling while server startsup..so im writing some piece of code in init() method..after that i want to redirect to some jsp page ...is it possible?
    using RequestDispatcher..its not possible..becoz
    RequestDispatcher rd = sc.getRequestDispatcher("goto.jsp");
    rd.foward(req,res);
    Here the request and response are null objects..
    So mi question can frame as how can i get request/response in servlet's init method()..

    Hi guys
    did any one get a solution for this issue. calling a jsp in the startup of the servlet, i mean in the startup servlet. I do have a same req like i need to call a JSP which does some data reterival and calculations and i am putting the results in the cache. so in the jsp there in no output of HTML. when i use the URLConnection i am getting a error as below.
    java.net.SocketException: Unexpected end of file from server
    at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:707)
    at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:612)
    at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:705)
    at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:612)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
    nection.java:519)
    at com.toysrus.fns.alphablox.Startup.callJSP(Unknown Source)
    at com.toysrus.fns.alphablox.Startup.init(Unknown Source)
    at org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
    so plz do let me know how to call a jsp in the start up of a servlet.
    Thanks
    Vidya

  • How i can generat the ".top" file at ultiboard

    Hello
    how i can generat the files of our pcb design like " .top " file to use it for making our bourd by the machine

    I assume you are talking about exporting gerber files and NC drill files. Go to File >> Export and you can select one of the options...
    a) Select one of the Gerber RS274 options, then click Properties, here you can select which layer you want to export. Based on your comments, you are looking for probably Copper Top, Copper Bottom... but maybe you may want to export also the Board Outline, Silkscreen Top and Bottom, etc. It will depend on your board manufacturer which files they need. On you have configured which layers to export, then click OK and you are back to the Export dialog, now click the Export button and it will start exporting.
    b) For the .drl and .rep files, in the same Export dialog, select NC  Drill, you can then select Properties to configure it, or Export to create the files.
    Nestor
    National Instruments

  • How i can generat VHDL or Verilog code from labview code

    how i can generat VHDL or Verilog code from labview code ( i have a labview code and i want to convert it to VHDL or Verilog code how i can do that )

    Mouath,
    There is no feature in LabVIEW to export your VIs as VHDL files. You are able to include your own HDL in your LabVIEW VI (using the HDL node). I encourage you to provide your feedback related to this issue at ni.com/contact. The product suggestion submitted are taken seriously and reviewed by National Instruments.
    Cheers,
    Jonah
    Applications Engineer
    National Instruments
    Jonah Paul
    Marketing Manager, Embedded Software
    Evaluate the LabVIEW RIO Platform! - ni.com/rioeval

  • How I can insert a menu in my portuguese version of Dreamweaver?

    How I can insert a menu in my portuguese version os Dreamweaver? In the "Inserir" mode there is not a "Spry" way!

    Use a jQuery menu like Superfish, or you can purchase an extension like the ones offered by Project VII
    http://plugins.jquery.com/superfish/
    http://www.projectseven.com/products/index.htm

  • How do i use Connection pool in JSP pages

    Hey everyone,
    I am using a connection pool in my web application. I am using DbConnectionBroker from Javaexchange.com. It has a class that creates a connection pool available for the servlets. I am trying to figure out that how to use connection pool within the JSP pages if I want to connect to the database. In the servlets i am using DBConnectionBroker pool = (DbConnectionBroker) getServletContext().getAttribute("dbPool") to get database connection. How Can i use this in JSP page to get a db connection.
    Thanks

    If the reference to the connection pool is already stored as an ServletContex attribute, try:
    <jsp:useBean id="dbPool" scope="application" class="com.javaexchange.dbConnectionBroker" />
    <%
    Connection con = dbPool.getConnection();
    %>

  • Ive just learned that i can use loadjava to load jsp pages into the database.

    Ive just learned that i can use loadjava to load jsp pages into the database. How is that possible. How can someone go to my lets say, index.jsp page and actually see it if its inside the database? What authenticates it? Where would you set the parameters to tell http(apache) to look inside the db for the pages?
    Any ideas?

    Thanks for the reply. If I put the file on the database, does it have to be in a particular location? I've put it on the database server, launched sql*plus (as APPS) and ran the following:
    execute dbms_java.loadjava('-v', 'ZebraGetPrinterFromXML.class');
    PL/SQL procedure successfully completed.Then when I try to run a process that uses this I get this:
    ORA-29540: class ZebraGetPrinterFromXML does not exist

  • Servlet with no dynamic code inside jsp pages

    Hello,
              I saw that a servlet is created even if there is no dynamic code inside jsp pages (scriplets & tags). Is it possible to avoid it on bea side ? (I am using portal 8).
              By the way, do you know if is it possible to define apache in order to avoid to send to bea the jsp which have no dynamic code inside ?
              thank you !

    JSP's always generate a servlet on all web containers. Apache/Tomcat is no
              different. If you have static content, make it an HTML page.
              Bill
              "hournon jc" <[email protected]> wrote in message
              news:22255787.1103297053148.JavaMail.root@jserv5...
              > Hello,
              >
              > I saw that a servlet is created even if there is no dynamic code inside
              jsp pages (scriplets & tags). Is it possible to avoid it on bea side ? (I am
              using portal 8).
              >
              > By the way, do you know if is it possible to define apache in order to
              avoid to send to bea the jsp which have no dynamic code inside ?
              >
              > thank you !
              

  • Need Dynamic Table in JSP page

    Hi Friends,
    I need to build table dynamically in my JSP page.
    My requirement like:
    I have a Button in my JSP page when i click that it should go to another jsp where it will ask me the row and column counts, after i entered some values then i have a button to say OK it should go to the first page again there i want the table for the rows and columns dynamically.
    (like MS- Word when u create table it will ask the row count and column count after that its building a table)
    Please help me....

    Make use of JSTL's c:forEach.

  • How I can set the spelling language in Pages for iPad?

    how I can set the spelling language in Pages for iPad? may for german...

    how I can set the spelling check to other language in Papers/iPad?
    The only choices you have in the iPad itself are to change the keyboard or change the user interface language. If that doesn't do what you want, probably best ask the people who make Papers.

  • HOW to send a value to another jsp page

    HOW to send a value to another jsp page, like user name in one jsp page to another jsp page

    In the most simplest form...
    // pageA.jsp
    <html>
    <body>
    <form action="pageB.jsp" method="post">
    <b>First Name:</b> <input type="text" name="FNAME" value="Joe">
    <input type="submit" value="Submit">
    </form>
    </body>
    </html>
    // pageB.jsp
    <html>
    <body>
    <b>Name:<b> <%=request.getParameter("FNAME")%>
    </body>
    </html>

  • In Muse - how do i create a menu of 4 pages off of a second level page?

    In Muse - how do i create a menu of 4 pages off of a second level page?

    I will check the Sub Menu for the Drop Down tomorrow (after the 
    Boston snow).
    As to styling difficulty with the drop down --  I am not succeeding 
    in singling out the Text and then assigning it the State I want.
    I guess that should happen on the 3rd click - right?
    Same with the assignment I want with each State color container. It 
    seems to resist the gradients I want to apply to the text boxes.
    Throughout Muse this general assignment operation I am finding moves 
    along in a "sticky" manner, not smooth fluid operation like AI or 
    PS.  Is that just me or what?
    I have been struggling for some time now -- but I do have my own site.
    Thanks again

  • How to add a dynamic menu to the Portal?

    Dear all,
    I am restructuring the company's Intranet on which I plan to put a left-side vertical menu. On the menu, most links are accessible to all Intranet users except some KPI (key performance indicators) links which are only accessible to managers.
    I am evaluating a third-party dynamic menu builder so called "Sothink DHTML Menu" which is javascript based and provides features for connecting to database via JDBC in jsp.
    For static menu scenario, "Sothink DHTML Menu" is perfect for Oracle Portal in the sense of easy development and deployment.
    For dynamic menu scenario, if I really want to use "Sothink DHTML Menu", I need to put the codes in jsp file and then place the jsp file on the Portal page. Here is the tutorial http://www.sothink.com/product/dhtmlmenu/store/jspdb/jspdb.htm
    I still can't figure out how to do that. Can any experts here tell me how or suggest other alternatives for generating a dynamic menu on Portal?
    Thanks
    George (HK)

    Hi
    I also use SoThink menus in Oracle Portal, but for static menus (I upload them in the HtDocs of Apache and then refer to them with an URL Item).
    In my previous version of Portal I also had to display some kind of dynamic menus, some parts should only be visible to some users/groups. But I didn't use Sothink at this moment but "DHTML Menus" from an other company.
    Starting from an example and using their libraries I wrote my own menu in javascript. In this .js I wrote some functions
    - 1 that document.write(s) the start of the menu and the public part of the menu
    - 1 that document.write(s) the reserved part of the menu
    - 1 that document.write(s) the last part of the menu.
    Then in a navigation page I defined 3 regions, each region contains some jscript code that launchs the function/menu part of the same range. And I used the item level security to set right access to the second region/menu part.
    It worked fine, I just had to add some /* at the end of region 1 ent */ at the beginning of region 2 to remove the HTML code Portal writes between the regions.
    But it was very time consuming if your menu changes often.

Maybe you are looking for

  • Using variables in the title of the graph

    Hi Gurus, I would like to use - for example a presentation- variable in the title of a graph. I assign a value for that variable in dashboard prompt. Does anybody know the syntax of using variable in the title of a graph (Not in a Title view!) Thanks

  • In LR CC 2014 how to change darkness/lightness of interface as in other CC programs

    In all the other programs I've used in CC 2014 I can change the interface to a lighter one that doesn't hurt my eyes.  I've just taken awesome training for LR and want to do some major revamping of photos, but can't seem to find this option.  What am

  • SwingWorker and Exceptions in doInBackground() function

    Hi. I have GUI and task which communicate with database. I have special class with prepared statements fields, data (returned from database) fields, get methods and construcor. Constructor assume one parameter, query data and fill data fields. So in

  • OER REX query question

    Can anyone help explain behavior in the OER Extensibility Framework/REX openapi that I am seeing. I may have misunderstood the documentation and I admit I'm looking at the 11g version of the api online and using it against 10.3 Anyway I'm trying to f

  • Html -- less than a whole pixel

    I am trying to align an image height as "17.2" pixel but iphone renders the image height as 17 pixel. Is there any way I could get it to work for less than a whole pixel value. I minimally tried adjusting the border etc.. thanks,