3,747 Topics
| |
hey can someone please help me with this thing? I wanna open a link when someone clicks on a button how can I do that? | |
We want to use another java web application into our current java web application, how do we use iframe concept exactly in our java web application? | |
Hi there, Let's say I have this HTML code below... [CODE] <html> <head> <title>Page 1</title> </head> <body> <form method="post" action="page2.jsp> <table> <tr> <td>John Doe</td> <td><input id="name1" name="name" type="submit" value="Edit" /></td> <tr> <tr> <td>Steve Smith</td> <td><input id="name2" name="name" type="submit" value="Edit" /></td> <tr> <tr> <td>Peter Pipper</td> <td><input id="name3" name="name" type="submit" value="Edit" /></td> … | |
I need to use a rich text editor for my project, What would be the right choice to use that.and also can i get a example on that??? | |
Hi, Using enter key only,How to go to the next page in submit button(without clicking that button(onclick) , using the tabkey).Anyone can u help me..... Thank you | |
[CODE]<s:iterator value="listObject"> <s:component template="abc.vm"> <s:param name="text" value="listKey" /> <s:param name="prefix" value="listIndex" /> </s:component> </s:iterator>[/CODE] listKey is keys in a list. i am using iterator to traverse the list. i want to put here internationalization concept.so that when i write key of list then it find its associated values in a … | |
Hi, I have write the code to upload a file to database. I checked it by uploading a text document which is in my desktop and it is working and successfully uploaded to database. [CODE]File tomcat.txt has been uploaded and inserted into Database.[/CODE] But when I tried to upload an … | |
Hi, I'm a beginner in the J2EE field. I've already learnt the basics of Java programming and now I'm moving on to web development. What I want to know is if I could skip learning JSP/JSF, servlets, EJB, JPA etc if I learn Wicket, Spring and Hibernate. I'm still not … | |
I am trying to process data by servlet sended by jsp form using AJAX..... with 'GET' method its working okey ... but using 'POST' method to do this creating problem that [CODE]onreadystatechage[/CODE] condition not exectue at [CODE](xmlhttp.readyState==4 && xmlhttp.status==200)[/CODE]. [CODE]xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 || xmlhttp.status==200) { alert("state=4 OR 200"); //for … | |
Hello. This is what i'm trying to do: [code=java] public class ComputeSearch extends HttpServlet { private static final long serialVersionUID = 1L; protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { PrintWriter exit=response.getWriter(); exit.println("<%@ include file=\"GetByPath.jsp?path=1/2/5/\" %>"); } } [/code] The problem is that the server does not compile … | |
Hi, can anyone help me to split the servlet(week02_4) so that only control code remains.I need to forward/redirect request/responses to two other servlets(VowelFrequencyServlet and WordCountServlet).I am not sure where to place the RequestDispatcher. Week02_04 servlet: [CODE=java]package servlets; import java.io.*; import javax.servlet.*; import javax.servlet.http.*; public class Week02_04 extends HttpServlet { protected … | |
Can somebody pls explain me this error that I am getting when I try to run my web application on Tomcat. java.lang.NullPointerException business.Cart.addItem(Cart.java:27) cart.CartServlet.doGet(CartServlet.java:49) javax.servlet.http.HttpServlet.service(HttpServlet.java:617) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) The code for the Cart.java is [CODE]package business; import java.io.Serializable; import java.util.ArrayList; public class Cart implements Serializable { private ArrayList<LineItem> items; public Cart() { … | |
Hi! I am newbie in java program. All I want is to have a method that check the filename of the file that I want to upload, if it is correct given filename convention. | |
Hello everyone, I'm working on a project where I wish to find out who the instructor for a particular course is. The user is has to input the course name and course id for that course id then the script will search for the instructor. If the value returned is … | |
Hi I have created a simple search form to search a movies database on my page using jsp and mysql, how can I make a download link after results have been extracted in a result page. Thanks for your nice reply. | |
Hi All, I am creating an application in which I want to keep refreshing a jsp file and in that jsp file i need to keep calling another url of type [url]www.daniweb.com/receive.jsp?a=xxx&b=xxx[/url] and save this url in database. Here the url keeps changing in every second ie. values of a … | |
Hi All, I am creating an application in which I want to keep refreshing a jsp file and in that jsp file i need to keep calling another url of type [url]www.daniweb.com/receive.jsp?a=xxx&b=xxx[/url] and save this url in database. Here the url keeps changing in every second ie. values of a … | |
Hi all i am creating an application in which i m using jsp,servlet and javascript. on jsp page there are text boxes named ID and Passwprd and a submit button. When we submit jsp page first javascript will be executed if we left any of the text boxes blank, that … | |
I am using Apache Tomcat 5.5 + JSP in the web server, and MS SQL Server 2000 in another database server. There is no problem before I resinstall the web server due to hardware failure. I am not sure if I miss some configuration that all the Chinese character stored … | |
How we change values of one combo box with respect to second combo box in same page using ajax in jsp?Plz help me its uergent. | |
Hey GUys, im trying to include a file inside my template. My code: [CODE=jsp]String get_act = null; get_act = request.getParameter("act"); boolean loggedin = (session.getAttribute("logginname") != null) ? true : false; if( loggedin == false && get_act != "login"){ out.write("Redirecting<br>"); response.sendRedirect("?act=login"); }else{ String include_page = null; include_page = get_act +".jsp"; %> … | |
when we call servlet from a JSP page .. explorer/program moves to servlet page .... Such in my scenareo i have JSP form that on submiting call servlet to retrieve data from XML .. But problem is that . i like that on submitin form servlet runs in background without … | |
Hey guys.. I've done one project on Online Shopping Cart. It is some 98% completed. I've made it using Netbeans IDE and Tomcat, MYSQL database.. I usually run it using Netbeans only. But I really want to run it in Tomcat's webapps folder. I tried it but I'm getting Can … | |
Hi, my front end is jsp and my backend is mysql iam design online cinema ticket reservation . It contains no of seats. if i choose 3 or 4 seats in checkbox,it stored in my database. After i refreshing the page that checkbox seats should be bolocked.. im saving film … | |
hi, im doing it in jsp and my backend is my sql ... im inserting the checkbox values and some details in table but for checkbox values i have given the executequery statement(where we write query) as integer so all other string details are not inserted in table it show … | |
hi, I have three jsp files. main.jsp grizzly-link-application.jsp grizzly-link-menu.jsp In the mail.jsp I am including the other two. [CODE]<%@ include file="/WEB-INF/jsp/grizzly-link-application.jsp" %> <%@ include file="/WEB-INF/jsp/grizzly-link-menu.jsp" %>[/CODE] my grizzly-link-application.jsp and grizzly-link-menu.jsp files are actually pointing to the different css files. Content of grizzly-link-application.jsp is: [CODE]<link id="grizzlystyleid" title="grizzlystyletitle" href="style/application/grizzlystyle.css" rel="stylesheet" type="text/css"/>[/CODE] Content … | |
hi i am jakir , i want to do web application in java so plz suggets some project topic topic must be different bye. | |
I have a JSP page 1 to addusers to the account.On submission of the form another JSP 2gets called and manipulates the parameters.If values are null i am returning an error message to the user.If values are not null i need to call a servlet which will run a backend … | |
Please help me to design currerency converter using JSP for all countries with daily internet updates | |
[CODE]<object classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6" id="Player1" width="200" height="100"> <param name="URL" value="<s:property value="adFilePath"/>"> <param name="http://path_to_the_video"> <param name="AutoStart" value="0"> <param name="ShowControls" value="1"> <param name="ShowStatusBar" value="1"> <param name="ShowDisplay" value="1"> <param name="stretchToFit" value="1"> <embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/MediaPlayer/" width="200" height="100" src="<s:property value="adFilePath"/>" filename="<s:property value="adFilePath"/>" autostart="0" showcontrols="1" showstatusbar="1" showdisplay="0"> </embed> </object>[/CODE] Above code in the place file name i am … |
The End.