LinkButton

LinkButton

i want to create a one link button if i click that button it has to go another page.

can u give me a simple program......plz..

becoz i have seen all ur posted questions and answers but it is not there . If it is available can u give me link itself....

View Answers

July 13, 2010 at 4:59 PM

Hi Friend,

Try the following code:

1)link.jsp:

<a href="login.jsp">Sign Up</a>

2)login.jsp:

<html>
<head>
</head>
<body>
<form name="form" method="post" action="mod.jsp">
<br><br>
<table align="center"><tr><td><h2>Login Authentication</h2></td></tr></table>
<table width="300px" align="center" style="border:1px solid #000000;background-color:#efefef;">
<tr><td colspan=2></td></tr>
<tr><td colspan=2>&nbsp;</td></tr>
<tr>
<td><b>Login Name</b></td>
<td><input type="text" name="username" value=""></td>
</tr>
<tr>
<td><b>Password</b></td>
<td><input type="password" name="password" value=""></td>
</tr>

<tr>
<td></td>
<td><input type="submit" name="Submit" value="Submit"></td>
</tr>
<tr><td colspan=2>&nbsp;</td></tr>
</table>
</form>

</body>
</html>

Thanks

July 13, 2010 at 9:35 PM

excuse me i want that link into swings(java) code not in html....


i know the html code but i want java(swings) code in that i forgot to write using swings....

if u know plz tell me how to write a link button using swings..........









Related Tutorials/Questions & Answers:
LinkButton in Flex4
LinkButton in Flex4: The LinkButton is a MX component. It has no Spark component. The LinkButton in Flex is much like the hyperlink option of HTML... with it. You can use NavigateToURL() method to open the URL. The Tag of LinkButton
LinkButton in Flex
LinkButton in Adobe Flex: The LinkButton in Flex is much like the hyperlink... of the button changes. Following examples will help you to learn LinkButton in details: ADS_TO_REPLACE_1 Flex LinkButton Example: <?xml version="1.0"
Advertisements
LINKBUTTON - Swing AWT
javax.swing.*; import java.awt.event.*; public class LinkButton { public
LinkButton - Swing AWT
Java Swing Create LinkButton
Java Swing Create LinkButton You all are aware of JButtons, JRadioButtons, JToggleButtons and you have used these components in your applications. Here we... javax.swing.*; import java.awt.event.*; public class LinkButton { public static
Flex Behavior
; horizontalAlign="center">ADS_TO_REPLACE_4 <mx:LinkButton...;/> <mx:LinkButton id="LinkButton2" label="Click Me...; fontWeight="bold"/> <mx:LinkButton id="LinkButton3
Canvas Layout Container
; backgroundColor="white">ADS_TO_REPLACE_3 <mx:LinkButton...:LinkButton label="Button 2" x="100" y="30"/> <mx:LinkButton label="Button 3" x="10" y="100"/>
Style through namespace in Flex4
: green; } mx|LinkButton { ADS_TO_REPLACE_5 fontSize: 12...;ADS_TO_REPLACE_7 <mx:LinkButton label="My Link Button"
DividedBox layout container
:LinkButton label="Introducing Flex" click="articleText.text='Flex is developed on adobe technology.'"/> <mx:LinkButton
Flex Simple ToolTip
; <mx:LinkButton id="linkbutton1" label="My Link Button... how to create tooltip for Image, Button, and LinkButton. ADS_TO_REPLACE_4...;mx:LinkButton id="linkbutton1" label="My Link Button"
Flex Skin index
:Style> LinkButton {ADS_TO_REPLACE_3 upSkin: Embed("assets/button.jpeg... <mx:LinkButton id="linkbutton" label="Link Button Skin"
Canvas Layout Container in Flex4
;>ADS_TO_REPLACE_4 <mx:LinkButton label="JAVA" x...;))"/> <mx:LinkButton label="iPHONE" ADS...://www.roseindia.net/iphone'))"/> <mx:LinkButton label="
Flex Style Property
;/> <mx:LinkButton label="This is my Link Button" styleName
Flex Style Manager
;ADS_TO_REPLACE_6 <mx:LinkButton id="myLinkButton" label="
Action Script custom components
Flex Custom Components using Action Script:- You can create custom components by define Action Script class. User can create two type of custom components. First is visual custom components like Button, LinkButton, CheckBox, ComboBox
LinkBar in Flex
_TO_REPLACE_1 A LinkBar control creates LinkButton controls which are based
View states in Flex4
; <mx:LinkButton id="registerlinkButton"ADS
View State in custom component in Flex4
:Spacer width="100%"/> <mx:LinkButton id="
Java Swing Tutorial - Learning Java Swing programming step by step
Swing Create LinkButton Java Pagination Java Image
Java Swing Tutorial - Learning Java Swing programming step by step
Swing Create LinkButton Java Pagination Java Image
Java Swing Tutorial - Learning Java Swing programming step by step
values in JComboBox Java Swing Create LinkButton Java
Flex Example
? Image ? Label ? LinkButton ? List

Ads