4,248 Topics
![]() | |
I have a problem I hope someone can help me with in JSP. Whenever I write code in the JSP page, netbeans underlines it as illegal saying "The content of elements must contain well formed character data" E.g [CODE]<% System.out.println(request.getParameter("user")); %>[/CODE] Why is this wrong? I haven't been able to … | |
Hello, As a newbie i would like to ask someone to provide me with the code that [URL="http://bookshop.blackwell.co.uk/"]blackwell.co.uk[/URL] is converstion an ISBN-10 to an ISBN-13 through the search box. For example if i paste an ISBN-10 on their search box and click search the system automatically converts it in ISBN-13 … | |
I connected jsp with mysql. i m beg. level programmer in JSP. So, plz dont comment on my code writing style, bt plz help me to improve ma programming. I can execute query bt whn i try RESULTSET to retrive, getting error. my code is below : <%@page import = … | |
hi guys, do anyone kno how to play wmv without classid in jsp!! please do the needful waiting for yr reply!!! | |
| |
Hi guys, I am still building the same Struts 1 app and having serious issues with getting ActionMessages to appear on my Jsp, if anyone can help I would greatly appreciate as this is my final year project and its due in 2 weeks, the Jsp is picking up the … | |
How to use "c:if" to test for the boolean true? These does not work: [CODE]<c:if test="${model.value == 'true' }"> <c:if test="${model.value == "true" }"> <c:if test="${model.value == true }">[/CODE] | |
hi, i want to access my database through checkbox in jsp if i click on checkbox i should get database records | |
i have a jsp page which have a some school names link. when i click to link of a school name, school name are appended to a link that will go to a second page. in this second page have same item which i will use same for all school. … | |
i want code for common employment exchange code in struts 2.0 | |
Here is my code. I want to insert the date in 0000-00-00 format. But The error shows like this [COLOR="Red"][B]exception occured in Trainee Status java.sql.SQLException: Value '0000-00-00' can not be represented as java.sql.Date[/B][/COLOR]Here is my code [CODE]<%@ page import="INCLUDES.DBConnection"%> <%@ page import="java.sql.*"%> <%@ page import="java.io.*"%> <%@ page import="java.util.*"%> <jsp:useBean id="DB" … | |
Hello Everyone, Currently I m working on "Bug Tracking System" project using JSPs and MySQL. Actually this one is Intranet Base project. I want to add e-mail facility for each user. How can I do? Which Data Type is suitable for "File Attachment"?? And also I want help for Session. … | |
i want to disable forward and back button of IE in jsp page | |
[code]<% TreeSet Addval=new TreeSet(); TreeMap abbval=new TreeMap(); Vector newurl=new Vector(); for(int i=0;i<dds.size();i++) { double ids=Double.parseDouble(dds.elementAt(i).toString()); ids=ids+Math.random(); newurl.addElement(new Double(ids)); Addval.add(new Double(ids)); %>[/code] | |
hi friends can u provide me servlet code for displaying students profile based on roll number. | |
hi, i have written a jsp to upload images which forwards them to a servlet which in turn stores them in the server and puts a path reference in the database...the prob is i cant view the new images unless i restart the server.. the img src for new photos … | |
since FB.Connect works only in javascript how do i send the user id from the javascript to JSP for it to be stored in the database. for example how do i use FB.Connect.get_loggedInUser(); to send the id to jsp.? | |
New to the Java world. Can .jsp work on Windows based platform also, oppsoe to Linux? ~Mundee | |
I have one jsp which contains few input fileds one input field should be saved in one table of the database and another input field should be saved in another table of the database. Please Help. Thanks in Advance, GK | |
i want to asign different actions to my jsp page | |
Hi, I have an HTML table with number of rows based on number of rows in a database table. So this table's rows are dynamically rendered. I am trying to make on of these column values a link and make that link submit the form. At that point I want … | |
im dng an online test project and i inserted a timer in my test ,the problem is when i submit my exam manually it is taking my answers and showing the marks but when time is over it is not taking the marked answers in that frame where the timer … | |
send the basic procedure for, how to generate textreport at servlet and also having reference material for generate text report send me. | |
Currently, I have a jsp that lists all files in a directory and subdirectories in a web page. The problem that I encounter is that when I navigate to files 2 or 3 subdirectories deep, the resulting web link adds erroneous spaces to my address. These spaces are making the … | |
i am saving some records in an excel file on click of a button currently i am hardcoding the path like [CODE]FileOutputStream fileOut = new FileOutputStream("c:\\test.xls"); [/CODE] but i want to take the path from user,i.e.,something like 'save as' option how can i do it? please help. Thanks in advance. | |
HI,am new to the JSP forum page.Anyways,having created a database and posted there sample data,I want to proceed to creating my jsp pages in Eclipse IDE(Galileo).The database contains a login table that contains columns,employee_id,username and password.How can I do it,am a novice via jsp and servlets.Thanks in advace!!!! | |
currently i have installed tomcat 6.0 latest version and jdk latest version , my problem is when i create separate directory structure to use servlet example i am getting error .::Error configuring application listener of class listeners.ContextListener.. what should i do, anything need to configure...my app structure like.. webapps start … | |
I am trying to connect to Mysql from Jsp in Tomcat and I am getting Java.lang.NullPointer Exception. Please provide any help as soon as possible. I have set the web.xml and the server.xml properly. My web.xml contains: [code=xml]<description>MySQL Test App</description> <resource-ref> <description>DB Connection</description> <res-ref-name>jdbc/TestDB</res-ref-name> <res-type>javax.sql.DataSource</res-type> <res-auth>Container</res-auth> </resource-ref>[/code] server.xml I have … | |
i want to send mail through from my website. i used the below code [CODE]String host="smtp.gmail.com", user="username", pass="password"; //host = smtp_server; //"smtp.gmail.com"; user = jsp_email; //"YourEmailId@gmail.com" // email id to send the emails //pass = jsp_email_pw; //Your gmail password String SSL_FACTORY ="javax.net.ssl.SSLSocketFactory"; String to = email;// out going email id … | |
can somebody prove me the coding to update the database (mysql) with JSP | |
As above, can JSP do "live feed", as in if the DB has newly added items, a display page will auto add this item without polling the DB. Or this has to be done other language? Thanks in advance. | |
Hi , I am developing web application using JSF2.0 richfaces. In this application, i am using <rich:extendedDataTable/> table for loading the data from mysql. My problem is how to select the perticular row value from this table. My sample code here. but it is not working... [code]<rich:extendedDataTable height="220px" width="300px" value="#{AddDocumentBean.perBatchAll}" … | |
:)Friends. I am new to struts. I am designing one Login page which works fine. Now i want to add Remember Me option to login page. Help me to do this. Thanks in Advance. | |
Hi, actually m doin on project in which we need free domain space wher i can run my JSP to execute client request???can anybody help me out from this???? | |
my question is related to JSP and HTML. i have a jsp page which have three combo box and a button. one combo box for a class. two combo box for from_year, to_year. i want to reterive data on this same JSP page from database based on combo box value. … | |
Hi all, I want to configure Tomcat behind an SSL enabled Apache httpd server. Could anybody show me how to do this ?? I have successfully configured apache and tomcat for http requests. Thanks. | |
I like to known that how to assign the value for the check boxes.. Since one would check either one or two check values.. I need to store the all the values in SQL Database either has 0 or 1.... i.e.., if it is checked as 1 or if it … | |
Hello .. Hopefully you can answer my question.. We are working on a project that uses Netbeans as a java editor the project is a website that needs to be linked with Java functions and an Ontology, We built the website using HTML and we embedded the JSP code in … | |
Is there difference b/w Javascript & JSP. are JSP is the abbreviation of Javascript. In my point of view Java is totally different from Javascript. There is slight confusion about Javascript &JSP. Can any one explain it | |
How do I exchange data from page to page? for example: on the 1st page I voted for 1 person, when I click submit it will go to the 2nd page that will let you see the output of the vote? I can't seem to do it, as I don't … | |
Why i update one row of my data but end up it update all my data. For eg i update User : a to User: ab End with all User : ab | |
hi, I am developing one application for upload and download the files using applet and servlet. My problem is, when i upload the files from client to server is working. but when i download the uploaded file from server to client, o byte only download.. once refresh the server, file … | |
Help ! I am new to jsp. I am writing the part of my code. It has 4 textbox fields - Name, Module, Module, Contact no. In my code 4 rows are created each having the 4 fields. What I want is that after user comes to the 2nd row, … | |
Dear all, i'm facing a prob for past few days that my servlets classes are not referenced properly in glass fish server . i downloaded a project from sourceforge.net named Javalibrary [url]http://sourceforge.net/projects/javalibrary/[/url] i imported all the files and all files working properly in netbeans i mean i can run the … | |
Hi all, I have been trying to find this out for 4 days straight, doing all types of research and yet I cannot find it, although it seems like one of the most fundamental things I can think of. I am new to jsps and servlets but not new to … | |
Hello everyone, My aim is to include content dynamically in JSP but I have no means to tests and I don't know JSP. My code is already working in PHP and I would simply need some help to convert it to JSP... My PHP code is : [CODE] echo file_get_contents("http://www.myserver.com/newsletter/?action=detailnewsextern&profil=CocaCola&extern=1&inter_lang=fr&limit=3&".$_SERVER["QUERY_STRING"]); … | |
[code]<% String user=request.getParameter("LedgerName"); ResultSet rs=st.executeQuery("SELECT RoomMasterID,RoomNo FROM RoomMaster AS RM, LedgerMaster AS LM WHERE RM.LedgerID = LM.LedgerID AND LedgerName = '" & Me.datRoomType.SelectedItem.Text & "' AND RM.Status <> 'NO' AND RoomMasterID NOT IN (SELECT DISTINCT RoomMasterID FROM BookingMaster WHERE ' " & Me.datarrivaldate.AmericanDate & " 'BETWEEN FromDate AND ToDate) AND … | |
Hi everyone , I have huge problem I developed a jsp project which work great on tomcat on windows through eclipse but when I run it on linux tomcat I get error symbol can not be found that means the compiler does not recognize my class when I use it … | |
i want to create a poll/vote for my website..... the users should have registered. i want a user to vote only once. should i store their username in the database. if so how can i do it effectively? i am using db2. |
The End.