Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+3
Strength to Decrease Rep
-0
50% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements
~962 People Reached
Interests
football, pro evolution soccer, books
PC Specs
java,ubuntu
Favorite Tags
Member Avatar for samlabs821

[code=Java]public class logout extends HttpServlet { public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { process(request,response); } public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { process(request,response); } public void process(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { HttpSession session = request.getSession(); session.invalidate(); response.sendRedirect("index.jsp"); } }[/code] session is …

Member Avatar for lara.harsh
0
125
Member Avatar for gaya88

hi I have a problem regarding calling print() method through main().It asks to pass arguments but i already done so using constructors.Any help in missing statement. [code] public class ElectricityBill { public static void main(String args[]){ current c1=new current(500,"January"); current c2=new current(1600,"February"); c1.print(double total,String month);/[COLOR="Green"]/this is the place i wanna …

Member Avatar for PopeJareth
0
162
Member Avatar for samlabs821

Hi !! i faced problem with javascript. When I call function change() it applies only second element that is link2. I wanted when i click the link, the link name must appear to textfield.can anyone help?? here is code: [code=html] <html> <body> <form> <a id="static" href="staticContentAdmin.ioml">link1</a></br> <a id="static" href="staticContentAdmin.ioml">link2</a></br> <input …

Member Avatar for samlabs821
0
168
Member Avatar for samlabs821

Hi there .. I have error on my firebug it says:document.getElementById("category") is null Could someone help me?? and i wanted to set the default drop down option [code=html]<html> <head> <script type="text/javascript"> var i = 0; var someValue = '4'; var mySelect = document.getElementById('category'); while(i < mySelect.options.length) { if(mySelect.options[i].value == someValue) …

Member Avatar for Thirusha
0
117
Member Avatar for jaimca

Hi i need to pass values from one html page to another without using forms. Is this possible . Can i access these values using javascript.. Please help me with a code sample .. thanks in advance

Member Avatar for samlabs821
0
74
Member Avatar for samlabs821

hello could someone help me with div position This is code: [code=html] <th width="200" scope="col" bgcolor="#666666""> <div class="css" id="myOtherElement"> <span><strong>Menu</strong></span> <div> <a href="#">Menuelement 1</a> <a href="#">Menuelement 2</a> <a href="#">Menuelement 3</a> </div> </div> </th> [/code] css code: [code=css] .css{ position:absolute; left:0px; top:0px; z-index:-1 }[/code] the problem is when i set its …

Member Avatar for samlabs821
0
127
Member Avatar for samlabs821

Hello progers There is a big question in my mind I know that now PHP is popular but JSP is also known . . . so can you answer which language will be popular in future

Member Avatar for peter_budo
0
89
Member Avatar for samlabs821

Hello , I created link to admin/admin.jsp I want to create a link to index.jsp in admin page Mysite___ |___index.jsp |___admin/ |___admin.jsp

Member Avatar for samlabs821
0
100