4,248 Topics
![]() | |
Hey there, I'm in somewhat of a predicament. Can you send HTML form data to a servlet on another computer over the net or something? If so, what would one put in the <form action="_"> attribute? Thanks! | |
Hi. I am using TinyMCE editor in my web but when I submit the form the text is save in the database without format. Could you tell me please How I can submit formatted text with JSP?? NOTE: *i am using netbeans 6.9 *the form is "multipart/form-data" *the tinymce version … | |
can u please tell me how to make a graph or say what is a logic behind designing graph in jsp | |
Here's the thing, I need to create three dropdown lists each for day, month, year. Once these are selected, after clicking a button, the three selected values need to be concatenated and bound to a date column in a database table. String month=request.getParameter("month"); String date=request.getParameter("date"); String year=request.getParameter("year"); how to concat … | |
What I would like to do is print the current jsp filename without the ".jsp" extension. I can print the absolute url, or the relative url, but I can't figure out how to print just the filename without the file extension. | |
Hi, I have a list of record which I got from database. I've placed the checkbox on the right, how do I get the value from it? [CODE] <form action="editOrder.jsp"> <tr> <td><%= ord.getOrderID() %> </td> <td><%= ord.getRemarks() %> </td> <td><%= ord.getOrderDate() %></td> <td><%= ord.getMailingAdd() %> </td> <%--<td><%= ord.getStatus() %> </td>--%> … | |
Hello Everyone !!!! [COLOR="Red"][B]Is It Possible To Create JSP at A runtime ?[/B][/COLOR] It Means Can we Get The Data From One JSP And then Show it on another JSP which is Generated [B]By Coding [/B]Through Runtime ? Please Help......:S | |
Hello, i am develop website in jsp as per our final year project rule of college.my project is public transportation.i am creating site for it. now my problem is to create database for bus train and flight ticket reservation.. how can i create database for it and also journey table … | |
I have a form in my application in which I want to validate the user inputs. It has a combo box which is populated from db table. So I have to go to the action class first to populate it(for eg: populateFormAction). Then it will go to form.jsp page. But … | |
Hello, I'm kind of new with JSP and I'm developing an school project. So far I have my web application configured to work with a database. Now I have a form that receives a user and a password, then when the user clicks enter, it calls a servlet which checks … | |
i am implementing a client server arch on LAN, what's more suitable for me to use, jsp or servlets????? let there be max 4 clients for a server...... i m done wid the designing part using AJAX and embedding those in jsp pages. made the database using sql server 2008. … | |
Hi, I have a web application that allows users to schedule a group of Emails to be sent out. I am using Quartz to do this. I've set up the quartz.properties file, coded all the back end java business logic, but I believe to get this to work on a … | |
Hi everybody, I just want to develop a web application for sending sms using java/jsp. Normally i have seen people using either gsm modems or bluetooth or connecting mobile to pc and then send sms. I am planning to develop a web application in such a way that it sends … | |
hey, i have jsp file that contains drop-down list once the value is selected from drop down list one of the javascript methods gets invoked that alerts me with what has been selected. what i need is once the value has been selected it would be sent to a my … | |
Hi all, I'm facing problem while with invalidating session. Actually I want to redirect a user to the login page if the session is invalid either he presses back button or enters a url. Plz help me. Thanks. | |
hi, i am a newcomer in jsp. straight to the matter, my problem is, i have a parent page. one child pop-up is loaded from it say child1, and then next child child2 is loaded from child1. the problem is at the session out i need to close these two … | |
i am designing a small client server system for a hospital, in this system a receptionist will forward the details of patients as they come to the particular doctor, like i go with a problem related to skin disease, my case would be transferred to that particular doc, I am … | |
[B]hi! i have installed tomcat newly on windows 7.i have got the following error in browser. Please help me out. thanks in advance. [/B] HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: java.lang.IllegalStateException: … | |
hey, i have an applet project in the project i am trying to create an applet, applet draws a line line is drawn from coordinates which are stored in mysql database. in my other project which is web project which is created using tomcat servlets i added my applet project … | |
hi, i need calc the time that left for a job terminate. for example i know the total of the value and the value that is done per second and minute. with this values i can calculate the remaing time, anyone know the formula that i need to calc the … | |
In Jsp page some Java Script code is there . When I run the JSp file then java Script code is shown in the browser. Please suggest. | |
hi, im quite new to this jsp. i want to know how to pass parameters from a java file to a jsp file? we can do this through java servlets, yet i have a doubt regarding passing the parameters. could you help me? | |
how to catch mysql MysqlDataTruncation exception? | |
Hi all, I have added the below 2 lines in my JSP file: <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %> I got the below Error while opening the Jsp in the browser: org.sakaiproject.portal.api.PortalHandlerException: org.sakaiproject.tool.api.ToolException: The absolute uri: [url]http://java.sun.com/jsf/html[/url] cannot be resolved in either web.xml or the jar … | |
Hi everyone, I have a question. I m using iterator to loop my jsp such as code below in my jsp [CODE]<%Iterator itr;%> <% List data=(List)request.getAttribute("data");%>[/CODE] I use servlet as my engine to proceed my sql statement. below is my sql statement [CODE]select * from a natural left join b … | |
Hello every one, I have small problem. Can any one tell me how to get the url from an anchor tag dynamically. That is when i click on link the next coming url i need to send to a script can any one help me... My problem is when i … | |
Hi, I am using netbeans 7.0 beta IDE and I have iinstalled jdk 1.6 and tomcat 7. I tried to run simple jsp program through IDE, but I got *"Must select some files in the IDE or set javac.includes"* this error message. I set java_home classpath, I have tried without … | |
How to upload file with oracle database 10gR2?? i can't find how to upload.. i've tried to create a procedure in oracle and execute in netbeans but the file save in directory and then from directory save to database. it means the file save in 2 location, in directory and … | |
I have to populate simple combobox,so on Submit button <option values > for combobox should be carried through request global,and action should stay on same page. But when I debug jsp I see that request stays empty??? Also combobox behave funny,it changes value when pressed any button on page??? form … | |
this is my problem my jsp page is [code]<%@ page import="java.sql.*"%> <%@ page import="java.util.*"%> <% Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); Connection con=DriverManager.getConnection("jdbc:odbc:truth","sa",""); Statement st=con.createStatement(); String cate=request.getParameter("T3"); String user=request.getParameter("user"); String pass=request.getParameter("passwd"); String reenter=request.getParameter("rpasswd"); String mail=request.getParameter("mail"); String credit=request.getParameter("credit"); String address=request.getParameter("add"); String city=request.getParameter("city"); String state=request.getParameter("state"); String country=request.getParameter("country"); String mobile=request.getParameter("mobile"); out.println(user+pass+mail+mobile+address+city+state+country); st.executeUpdate("insert into usertable values('"+user+"','"+pass+"','"+mail+"','"+mobile+"','"+address+"','"+city+"','"+state+"','"+country+"')"); response.sendRedirect("Index.jsp"); %>[/code] this … | |
is it possible to use a jsp page with a java bean to get values dynamically. ie: the name is incremented each time but i need the gets and sets for each property to get their values and set them on the bean, can i do this dynamically? Thanks [CODE]<td><p … | |
is there any way to find browser location based on city ,state or country....to switch home page accordingly | |
Hi, I am updating a Web Service server from JBoss 4.2.2 to JBoss 5.1, however when I began to use JBoss 5.1 I've got an error saying that one of my properties files could not be loaded. I have put this file in the following path: C:\Servers\jboss-5.1.0.GA\server\default\conf And I am … | |
Hi All, I don't know if I'm asking it right. I have a jsp for monthly report that calling java class and passing date parameter (year and month) into that java class. The java class has a statement that call procedure in database. It's so time consuming to show the … | |
How to upload file to server ..when form has text field and file field.......... wht is role of form's enctype property..... i Know wht to upload file when enctype is multipart but when using thin i can not fied the value of requert.getParatner("text "); Need code | |
I am getting the following error.................. [QUOTE]HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 9 in the generated java file Only a … | |
Hi, I have to insert data into a database table using jsp and jdbc, query the table data and convert it into an xml file. I am using NetBeans IDE. I'm really stuck and i have a project due. Please do help:'(. Thanks in advance. | |
![]() | How can I retrieve an entire database in JSP and compare the first record with the first parameter obtained from a HTML form, the second record with the second parameter obtained from the HTML form and so on..?? Here is my code: MS-ACCESS database:- database name: question table name : … ![]() |
Hi All; need java code to upload and download excel files to the file system.. | |
i made a jsp page, now i made a LAN named "ar", and connected another computer with "ar" network. Now i want that the client computer i.e. computer 2 should access my jsp page which is arsh.html , how to do this????? My approach: i set my IP as 192.16.1.44 … | |
I have retived dats from database..by using JSP to design tables..i wanted to downloaded it..how plz help me..Plz reply.. | |
I need a bit a help to randomly select a radio button on an page to answer questions. I am doing some Selenium / Java / webdriver development and sort of new to this. Below is a some code to find the number of radio buttons. any help that someone … | |
I am trying to write a simple servlet program. But getting the error The requested resource (/servletexam/LoginServlet) is not available. I have created two servlet classes as follows - [B]LoginServlet[/B] [CODE] public class LoginServlet extends HttpServlet { Hashtable<String,String> users = new Hashtable<String,String>(); public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, … | |
Hello, I'm developing a jsp web site, I'm creating a form to register school projects, the thing is that the projects can have many students in them and I want to keep the information of all of them, so basically I want the user to tell me how many students … | |
[CODE] Class.forName("oracle.jdbc.driver.OracleDriver"); Connection connect =DriverManager.getConnection("jdbc:oracle:thin:@172.17.0.14:1521:develop","username","password"); String qry=("update sample set one=2 where two=3"); PreparedStatement ps = null; ps=connect.prepareStatement(qry); int i=ps.executeUpdate(); if(i==1) out.println("success"); else out.println("failed"); [/CODE] The above code is not working The table is create table (one number,two number); i tried some other queries like select and delete and insert is … | |
Hello , I am new to jsp as well to wml too .. Problem is with Session variable . the page on which session variable are made , they are extracting on that page easily .... but on other pages ...they contain null values ...i am not able to get … | |
Hi all, I have a problem with jsp. I created jsp and there is a table within this page. The columns are based on query from database. When the datas are not too many, the table looks fine. But when it has so many datas the table got messy. But … | |
I know to implement progress bars in Java, is it possible in JSP? | |
Hello, to the forum. I have stuck on a point for my coursework. I have a xml file that containts 4 category tags (but with different attribute name), inside i have 4 item and inside any item i have <name><price>...etc. There is a way to take those tags (<name><price ..etc.>) … |
The End.