Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java and JDK > J2EE
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
J2EE General J2EE (Java 2 Enterprise Edition) discussions. Questions not specific to EE will be redirected elsewhere.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the J2EE section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old April 15th, 2006, 02:11 AM
Registered User
 
Join Date: Apr 2006
Location: , , .
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Creating Dynamic Menu in JSP

Hi Pals,
       I am using Jsp and database is MYSQL.

       I want to creat a menu structure dynamically.I have tabs in my main manu home,menu1,menu2,menu3.

        when i click on add new menu ,i need a page asks for menu name,and drop down listing all menu structure asking for which parent menu i want to add this menu.After submission the menu shold be added.Same should happen to to sub level menus also.

for eg

Home Menu1 Menu2 Menu3
      ..Menu11 ..Menu21
      ..Menu12 ..Menu22
                   ...Menu221

     I will have a link Add new menu.when i click on that a new page should be like

    Menu name text box
    Parent menu listbox ..consists all the menu structure

   when i give a Menu name and select a particular menu from list box that menu should add under that parent menu.Suppose the user clicks on Menu221 and gave menu name as "support" then the menu structure
shold b like this..

Home Menu1 Menu2 Menu3
      ..Menu11 ..Menu21
      ..Menu12 ..Menu22
                   ...Menu221
                     ...Support


   Thanks in advance

Regards
...Rama


Reply With Quote
  #2 (permalink)  
Old January 13th, 2010, 08:13 AM
Registered User
 
Join Date: Jan 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default How To Create Dynamic Menu In JSP

I am also having the similar problem, actually i am creating a role based access system, so i have to create menu's from database according to user roles.
Can any one help me out to create menu in jsp and that is coming from any database.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
dynamic menu in .net anuMScIT C# 2005 1 December 30th, 2006 11:26 AM
creating dynamic menu in jsp geethagowri J2EE 2 April 15th, 2006 01:49 AM
onclick dynamic menu sionsolo42069 ASP.NET 1.0 and 1.1 Basics 3 March 31st, 2006 04:26 PM
List/Menu and JSP Debb Dreamweaver (all versions) 0 November 29th, 2005 08:37 PM



All times are GMT -4. The time now is 09:33 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.