|
I am thinking that the code posted is for a jsp page using struts library. To answer your question the modified code will render the checkbox with id as duplicatechkbx. The checkbox will be either checked or unchecked based on the value of duplicateCheckEnabled property of the form bean.
Regards,
Prasad P. Khandekar
Knowledge exists, man only discovers it.
|
|
|
|
|
what does the infomation I should look for? Or you know who is the expert in this field in codeproject or any other tech forum
I'm not a native English speaker, so forgive my expression
|
|
|
|
|
|
Maybe google can't help a lot.
|
|
|
|
|
Maybe not, but this forum is for Java technical questions, as described here[^].
Use the best guess
|
|
|
|
|
XMPP is an protocol and many implementation of it is based on java
|
|
|
|
|
But your question is not about Java, it is about learning XMPP, and I already provided you a Google search that returns lots of links. It is now up to you to go and study some of them.
Use the best guess
|
|
|
|
|
I have a requirement to compress/encrypt/calculate checksum of 2.5-20 GB file using JAVA.Is there any open source API's or How can I do this in an efficient way? Also,Performance and No data Loss should be very important thing here.please anyone can help me here to proceed this problem?
Can Anyone is having the source code for the same please send it me
|
|
|
|
|
Can you please explain the requiremt more clearly.
|
|
|
|
|
sriniprabhu wrote: Is there any open source API's Did you try searching for them?
sriniprabhu wrote: Can Anyone is having the source code for the same please send it me This site does not provide code to order; you need to do your own research.
Use the best guess
|
|
|
|
|
|
I've trying CardLayout prog. but the program is not displaying the buttons at all. I tried a lot but could not find out the error. If you could look into this code and tell me where I am going wrong I would be grateful to you.
The code is as follows:
import java.awt.*;
import java.awt.event.*;
class CardLayoutTry implements ActionListener
{
Frame frm;
Button window,linux;
Checkbox chkWin7,chkWin8,chkWinXP,chkWinVis;
Checkbox chkUbuntu,chkMint,chkFedora,chkRedHat;
Panel deck, panWin,panLin;
CardLayout cardLO;
Label lblWin,lblLin;
CardLayoutTry()
{
cardLO=new CardLayout();
frm=new Frame("Operating System");
frm.addWindowListener(new WindowAdapter(){
@Override
public void windowClosing(WindowEvent we)
{
frm.setVisible(false);
System.exit(0);
}});
frm.setVisible(true);
frm.setSize(300,300);
deck=new Panel(); // main panel
deck.setLayout(cardLO); // setting the layout
panWin=new Panel();
panLin=new Panel();
window=new Button("Windows");
frm.add(window);
window.addActionListener(this);
linux=new Button("Linux");
frm.add(linux);
linux.addActionListener(this);
// ADDING LINUX DETAILS
lblLin=new Label("LINUX OPERATING SYSTEM",Label.CENTER);
panLin.add(lblLin);
chkUbuntu=new Checkbox("Ubuntu",true,null);
chkMint=new Checkbox("Mint");
chkFedora=new Checkbox("Fedora");
chkRedHat=new Checkbox("Red Hat");
panLin.add(chkUbuntu);
panLin.add(chkMint);
panLin.add(chkFedora);
panLin.add(chkRedHat);
deck.add(panLin,"LinuxPanel");
// ADDING WINDOWS DETAILS
lblLin=new Label("WINDOWS OPERATING SYSTEM",Label.CENTER);
panLin.add(lblLin);
chkWin8=new Checkbox("Windows 8",true,null);
chkWin7=new Checkbox("Windows 7");
chkWinXP=new Checkbox("Windows XP");
chkWinVis=new Checkbox("Windows Vista");
panWin.add(chkWin8);
panWin.add(chkWin7);
panWin.add(chkWinVis);
panWin.add(chkWinXP);
deck.add(panWin,"WindowsPanel");
frm.add(deck);
frm.addMouseListener(new MouseAdapter(){
@Override
public void mousePressed(MouseEvent me)
{
cardLO.next(deck);
}
});
}
@Override
public void actionPerformed(ActionEvent e)
{
if(e.getSource()==window)
cardLO.show(deck,"WindowsPanel");
else if(e.getSource()==linux)
cardLO.show(deck, "LinuxPanel");
}
public static void main(String args[])
{
new CardLayoutTry();
}
}
|
|
|
|
|
This should come at the end
frm.setSize(300,300);
frm.setVisible(true);
Regards
Shubhashish
|
|
|
|
|
Respected Sir/Madam
1) Purpose of Looping statement? when we use looping? clearly difference between for, while and Do while loop with real time example
|
|
|
|
|
|
Look at the PPT and code associated with Chapter 4 - Statement Forms, in the website of the book The Art and Science of Java[^] to understand loops. First, understand the "for" loop and master that; then explore "while" and "do".
|
|
|
|
|
how to upload a file from android using android -emulator
to a jsp application (server side).
|
|
|
|
|
Try using HTTPCLient library from Apache.
Regards,
Prasad P. Khandekar
Knowledge exists, man only discovers it.
|
|
|
|
|
how can i run a single servet page in my eclipse
|
|
|
|
|
Create a project and press Run. We cannot tell from this exactly what your problem is. Please try and explain in full detail.
Use the best guess
|
|
|
|
|
|
Varad Velingkar wrote: Please be more specific That is what I asked you to do. Your original question gives no clue as to your problem.
Use the best guess
|
|
|
|
|
Richard MacCutchan wrote: That is what I asked you to do
Unless it is a sock puppet, he replied to you instead of replying to the OP.
|
|
|
|
|
Yeah, spotted that after I posted my comment. However, it doesn't add much to what I already asked so, nuff's 'ead.
Use the best guess
|
|
|
|
|
hai........
I m using myeclipse 8.x along with mysql5.6.
when i m trying to import 1 project to myeclipse.I got a msg like "j" as a superscript on the top of the project
could you help me how to debug this project
thanx.........
|
|
|
|