3,760 Topics
| |
Hello to all (",) Basically, I have a JSP page. What I want is to determine the screen resolution of the client machine that is viewing my JSP page. I tried using a JavaBean to do this but Im not getting the results I wanted. So I use JS. My … | |
hi, im doing a project on j2ee, live project.but, i dont know, from where to start with.i would like to know creating a forms in j2ee. is it similar to jsp. how to connect to a database with netbeans,etc... in a website based project or live project. im waiting for … | |
Hi I am trying to extract some information from data base and i am writting this query [CODE]java.sql.Statement s = dbCon.createStatement(); ResultSet r = null; r = s.executeQuery("select * from emp where description="+courseName);[/CODE] If the course have value description="Fundamental of Science" then it says "syntax error at or near of" … | |
Hello, for my University i need to develop a facebook application with JSP. So i wondered if anyone knows a Library (Like the official one for PHP) or any provide any other kind of help/tip for me? I found socialjava.com but it doesn't seem to work anymore. Or am i … | |
hey....I have a question...this seems such a trivial question but please help me...I'm trying to use a java variable ex:- int x=request.getParameter(ID) and then use it in an sql query,like, select name,date,tel_no from items where ID=x it doesn't work...im very new to sql and jsp...so please help me get around … | |
I want to download multiple files (file is in zip format ) from server to client machine to specific path with unzip format please give me the code for it......... please tell me....... (Technology : JSP) | |
I am trying to display a list of vehicles in jsp with properies from (vehicle bean and customer bean).the properties from the vehicle beans are displaying, but the Name and Address from the customer bean are not displaying.Can you please look at my code and see where i am going … | |
Hi to all! Im having problem inserting ñ and Ñ in mysql using java. I did try to insert in mysql using CLI and it works ok but when I used it in my java it was replaced by other characters. does anyone have the same problem and have solved … | |
Hi all! here i m posting my Servlet page code by using which i retrieve blob data from mysql website, but my problem is that i have to display this data to a textarea on other jsp page. Anyone can help please, its very urgent.... [CODE] /* * To change … | |
Hi, how can i count the users online on site? followed this guide [url]http://www.stardeveloper.com/articles/display.html?article=2001112001&page=1[/url] but i would like something that updates every 5 minutes and destroy the session when a user logs out | |
I am configuring Struts2 HelloWorld application in standalone TOMCAT.But when i run tomcat i am getting this error. Nov 25, 2010 11:17:11 AM org.apache.catalina.core.StandardContext start SEVERE: Error filterStart Nov 25, 2010 11:17:11 AM org.apache.catalina.core.StandardContext start SEVERE: Context [/struts2example] startup failed due to previous errors plz help | |
Hi I am doing a java program. In which I have a jsp page, and on that I have two combobox. I have a create a java bean, in which I write a method "result" which return a arraylist. I want to populate the combobox by extracting data from database. … | |
Hi all, I want some inputs from you on the following issue. I have two drop downs on a jsp page.On the selection of the first drop down the page will get refreshed and the second combo box will be loaded regarding the selection of the first drop down. Now, … | |
In the code below I've to use Pre-built DatabaseManager which has limited exposed functions. Now I want to fetch resultset of query that gives country names. [CODE] DatabaseManager dbhandler = new DatabaseManager(); String query = "Select country_names from Country_Table;"; Vector vResult = dbHandler.getResult(query); //getResult returns Vector [/CODE] How can I … | |
Exist way to convert page.jsp or page.cfm, (and server side code) to code lines, and append in javamail or cfmail to send this page as embedded to body of email but not attachched?? | |
I am getting user input by get method [CODE] out.print("<FORM METH0D=GET action =\"index.jsp\">"); out.print("<INPUT TYPE=TEXT NAME=searchTerm><BR><BR>"); [/CODE] and using request.getParameter() for getting value. [CODE] request.getParameter("searchTerm"); [/CODE] so, if request.getParameter() is null i hide some code of my page as you'll see . But although user not search any item and … | |
I am working with jsp web project now.... In that If some user login with their own login id and password, it shoule be redirected to their own home pages... i have already done this.. but if some time their own home page is idle, it should be displayed as … | |
Hello people, I decided to make a family tree as a graduation project, I've thought about multiple ways to make it, but I like some fresh ideas, in case i forgot some things. I'm trying to keep the project as easy as possible, because in the end I will need … | |
Hi I,ve just started using the spring roo framework,and tried running the vote.roo sample project numerous times but each time i run mvn test in the root of the project i get this error vote.roo project failed to execute goal on project vote:could note resolve dependecies for project com.springsource.vote:vote:war:0.1.0.BUILD-SNAPSHOT I,ve … | |
hello all i hv a jsp code in which there is a link to another file successLogs.jsp as follows <td align=center><a href="successLogs.jsp?strHour=<%=strDate+strHour%>&strcli=<%=strcli%>"><u><%=totSuccCount%></u></td> in successLogs.jsp there is call to a linux script which is fetching a file from the logs. The problem is that when i click on the link in … | |
I have a doubt in refresh the page in a jsp page to date and from date are there when i am giving the data for from date and for the next time i want to give the date only for the to date not the from date but when … | |
HI.... I wanna create runtime graphical nodes using jsp...could anyone send me code for this one...pleassssssss | |
in JSP mail scripts may rather email a html code, email a file JSP, I mean NOT as attachment but itself embedded in message and show, eg pictures etc text from this file? | |
Here's the code : whichElement(e) [code]out.println("<li><a onclick='javascript:whichElement(e);menuClicked();selectMenu("+orders.get(i).toString().substring(43)+","+orders.get(i).toString().substring(39,40)+")'>"+orders.get(i).toString().substring(0,37)+"</a></li>");[/code] | |
Hi, In a login.jsp page, I logged in by a user. Now by pressing the back button we can move to the login page also. If I log in this time by different user then old session getting reflected. How can I invalidate a session when we move to the … | |
I have tried rs.wasNull() to check the null value from the database table..but it doesn't work.. pls let me show other ways to check null.. I consider the empty table when i request. | |
hi,i would like to make a simple hotel.Firstly,I created a simple form(with no validations etc) but i don't know how when i press Submit button then this details to save in a database using Mysql. Can anyone tell me how to do this this? <br> [code]<%-- Document : StartPage Created … | |
I am wanting to have a select box populate from a database query based on the information pulled from another select box as the user chooses it (ie a user chooses a state and the city choices populate or something like that). I am using JSP, Servlets and Beans. Seems … | |
hi! please help me for the best and easy open source CMS(Content Management System) software for java to design a dynamic website . If possible please post the link from where i can download the same. please reply ... it's very urgent :( Thanks! | |
Hello,I am making a website in JSP celled employee info system.In this whenever a new emp. registers in the system he is given a unique employee id. Currently in my registration page the employee himself will have to manually enter a unique id.Is there a way in which the unique … |
The End.