Computing.Net > Forums > Programming > menu creation in jsp

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

menu creation in jsp

Reply to Message Icon

Name: kowsalya
Date: April 22, 2004 at 01:51:54 Pacific
OS: windows xp
CPU/Ram: pentuim 3 processor 128 m
Comment:

Hi,
i want to develope menus in jsp page.
i am doing this by extending frame & creating required objects but iam getting errors .
how can i do this


kowsalya



Sponsored Link
Ads by Google

Response Number 1
Name: gpp
Date: April 22, 2004 at 05:28:08 Pacific
Reply:

You have to give us more info. than that. What errors are you getting? How are you trying to create the menu? A little code might help too.


0

Response Number 2
Name: kowsalya
Date: April 22, 2004 at 21:23:19 Pacific
Reply:

The code i tried is as follows


<%@page language="java" import="java.awt.*"%>
<%Frame f1=new Frame("menu ex");
MenuBar kk=new MenuBar();

Menu a=new Menu("aa");
MenuItem a1=new MenuItem("a1");
MenuItem a2=new MenuItem("a2");
a.add(a1);
a.add(a2);
kk.add(a);
f1.setBackground(Color.pink);
f1.setMenuBar(kk);
f1.setVisible(true);

%>

but this is completly different this wont satisfy my requirementwith this separate frame get appeared with the menu.
But my requirement is the menu should appear on the browser itself.

kowsalya


0

Response Number 3
Name: gpp
Date: April 23, 2004 at 05:32:24 Pacific
Reply:

That wont work by itself. But if you're trying to get the look and feel of a drop down menu, you should look into a javascript menu.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: menu creation in jsp

urgent help in jsp www.computing.net/answers/programming/urgent-help-in-jsp/10248.html

SSL & ON Line payment in JSP/Servle www.computing.net/answers/programming/ssl-amp-on-line-payment-in-jspservle/8570.html

menu bar in vba www.computing.net/answers/programming/menu-bar-in-vba/3013.html