3,760 Topics
| |
what iam trying to do is get field parameter and run mysql query to update(decrement) value from field quantity, can any one tell me how to do that? <form method="post"> <table class="bordered"> <thead> <tr> <th>No</th> <th>Drug Name</th> <th>Strength</th> <th>Quantity</th> <th>Dis Qty</th> </tr> </thead> <% try { String query="select * from … | |
how to upload and display profile picture using jsp and servelet. | |
I have problem with Java session. I have a TplanServlet where I request values from html form and I am going to create Monday object with createMonday(). So I pass my form to this sevlet if (option.equalsIgnoreCase("createMonday")) { String title = request.getParameter("tpName"); String g1 = request.getParameter("g1"); String a1 = request.getParameter("a1"); … | |
Hi all! I do the project about seafishing from the boat.Can anyone help to build the interesting storyboard.? Opened for ideas 24/7.Regards. | |
I am unable to run a Java web application due to apache tomcat server failing to start. I checked in the console and it mentions that the error is Caused by: java.lang.ClassNotFoundException: org.hibernate.Session The apache tomcat server error shows Server Apache Tomcat v7.0.50 at localhost failed to start. The web … | |
Hello, I am facing an issue in struts 1.2 This code is in my JSP file. I am using multi select option. Initially the values will be populated to the multi select box from database through LabelValueBean. While I select one or more options and click submit, the values are … | |
Hi all, I have deployed an application(.war) in jboss6 in linux machine. Now I am able to access the url inside network. If I want to acces the same in internet (out side the network) what should I do . Do I need to follow some other technique to deploy. … | |
Hi guys. I have this code disturbing me and I don't know how to sort it out, can somebody help me out?I want to load data from mysql database to these text boxes on selection of Input_id and every time I change the Input_id, the data should also change. Code … | |
Hi all, I am having two different jsp files which having different applet embedded it. I want to run both jsp files in different jre in the client machine. kindly help Thanks in advance | |
is there any alternative ways to generate dynamic list in jsp ... i want to avoid jdbc connectivity code in jsp.... with out jdbc connectivity in jsp...i need to generate dynamic select list?? | |
how to pass javascript variable value to jsp variable??? ex: <script> var name="balaji"; </script> <% String name1 = name (i need to store java script name value here.) %> | |
I'm trying to use html onclick in java servlets like this; ShoppingCart cart = new ShoppingCart(); out.println(" <h1><button type=\"button\" onclick=\"cart.addBook(b.getIsbn())\">add</button> </h1>"); addBook is a method in ShoppingCart class, and I'm calling it when the button is clicked, but it's not getting called. Please help. | |
Hi every body, I tried to search for my own problem, I would think this must be popular issue but unfortunately I found no solution in Google. I tried to use `(boolean) session.getAttribute("IsValidUser")` to get the attribute of Session, but that caused error: org.apache.jasper.JasperException: PWC6033: Error in Javac compilation for … | |
Hi guys I am trying to write some code here in jsp. I want to select some employee using its attributes. The first option is to select the criteria on which I want to base my search e.g. EMP ID. When I select this it should load for me all … | |
Im trying to integrate my website with facebook so that users wont have to sign up. By just using their FB accounts, they can automatically be logged in, but im encountering an error: java.lang.NullPointerException at com.fblogin.CallbackServlet.doGet(CallbackServlet.java:86) at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) … | |
I want to connect my website with Facebook. I'd like my user to be able to login to my site without having to sign up. Jut by clicking the facebook logo, I will be able to fetch the data needed like their email, name, age, etc. I used **restFB** but, … | |
hi can any one help me in this.. i have a html/jsp form in that i have a field .. enter password... first time password will be stored in the databse... from second time when user enters passowrd wrongly for 3 times then it has to dispay some msg contact … | |
Hello Everyone. My application is installed on tomcat it works fine, but after 48 hours it give error below. if we restart the server everything works fine again Can anybody tell me what's wrong here with the bottom error? Thanks a lot........... [code] HTTP Status 500 - type Exception report … | |
I would like to know what means Java Web UI with html5 knowledge,flex,javascript,css? Do you have to use plain jsp jsf servlet and then use a MVC pattern? If so the views are made with html5 flex? If anyone knows more about this please explain it to me because I … | |
To integrate our data base with other site, I've got a xml coding (given below) but they require a JSP output steps and tips to achive that would be appriciated. TIA. <?php include('db_connect.php');?> <?php $query=mysql_query("select * from tbl_seat")or die(mysql_error()); $xml="<libraray>\n\t\t"; while($data=mysql_fetch_array($query)) { $xml .= "<From>".$data['fromloc']."</From>\n\t\t"; $xml .= "<To>".$data['toloc']."</To>\n\t\t"; $xml .= … | |
i want to change the colour of output text field when i check the check box. its working fine if instead of output i use inputext field but not working with out put text field. this is the code snipt of jsp page <af:panelFormLayout id="pfl3"> <af:selectBooleanCheckbox label="Noun " id="sbc1" selected="true"/> … | |
I'm trying to connect mysql database through API, and I'm using the following coding. I could't get the proper access to the database. Do I need to create a JDBC to the database or is there any other options available? <%@page import="java.sql.DriverManager"%> <%@page import="java.sql.ResultSet"%> <%@page import="java.sql.Statement"%> <%@page import="java.sql.Connection"%> <% String … | |
Hi Team, I am almost going to finish learning core Java and my employers said openings are available for Hibernate/Spring/Struts. I am just wondering whether can i directly start studying one of these frameworks after Core Java. Some people said these Frameworks contains JSP,servlets and important J2EE concepts so that … | |
<% String name1=(String)name.get(i); %> <input type="hidden" name="inputName" value='<%=name1%> it shows me a error how to put jsp dynamic data in value attribute | |
this is image of error... | |
Hi all, Can anyone guide me how to create JSP page on condition. I'm trying to call two different .jsp pages in one index.html page. I tried different conditions to achieve this bt did not succesed. Kindly help me. Its urgent. | |
i'm creating the Simple CRUD Using Jsp, Servlet and MySQL program and i'm using the eclipse, and i all most done it, finally i'm going to run myself, it can't be run. i will install the jar file of jstl, servlet, mysql connector and finally standard.jar files are installed. but … | |
hey buddy's i had one problem in servlet in jsp program. Exactly i'm getting this error, why i'm getting this error and how to solve this error., Have some tips: thanks in advance., | |
hey buddy's, i'm creating the program of employee details and i will inserted the fields are ADD,UPDATE,DELETE,EXIT,. I hope the all thing to find the exact solutions but, particular one thing only, that was UPDATE and these are the following some tips and code: 1.the input is not going store … | |
First of all sorry , I am developing an messenger using servlet & jsp . please help me with code in servlet & jsp a user to register via register module, followed by login and use encrypted or normal chat. Each stated function depends on its own module. The encryption … |
The End.