3,747 Topics
| |
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 … | |
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. | |
can anyone help me to backup/restore my database file by using jsp code??? im using postgres sql... please its urgnt..tnx in adv. i am using fedora 11 i got this code from an article. but i know it will not wrk.. pls help me if any one hav any idea. … | |
i have a Jsp page. in this Jsp page having some links. i want when i click to link of result some data should be display. but it does not displaying. please check the below code. Indus.jsp [CODE] <html> <head> <title>Indus Public School</title> </head> <body> <div align="center"><font size="+3"> Indus Public … | |
I have two Jsp pages named bestschool.jsp and schoolnames.jsp. I am calling schoolnames.jsp from bestschool.jsp. I want when I click the link on INDUS School. It can show all concerning link of INDUS School links like profile, result, facility etc. in the same place instead of other naming school links. … |
The End.