3,760 Topics

Member Avatar for
Member Avatar for Eric Cute

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 …

Member Avatar for Shanti C
0
29K
Member Avatar for ajijacobm

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 …

0
67
Member Avatar for newbeejava

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" …

Member Avatar for Ezzaral
0
79
Member Avatar for p4tm4n

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 …

0
49
Member Avatar for miraj0072004

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 …

Member Avatar for cliver
0
13K
Member Avatar for pradeeppatil110

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)

Member Avatar for masijade
0
199
Member Avatar for kamweshi

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 …

0
66
Member Avatar for jet101

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 …

Member Avatar for jet101
0
69
Member Avatar for nikita.chandra

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 …

0
73
Member Avatar for kroken

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

Member Avatar for martin5211
0
184
Member Avatar for sureshksk

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

Member Avatar for peter_budo
0
72
Member Avatar for newbeejava

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. …

Member Avatar for newbeejava
0
182
Member Avatar for koushikroy1989

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, …

Member Avatar for javaAddict
0
139
Member Avatar for raul8

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 …

Member Avatar for kalpanakovuru
0
196
Member Avatar for lse123

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??

Member Avatar for lse123
0
46
Member Avatar for usiyalla

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 …

Member Avatar for usiyalla
0
2K
Member Avatar for siva87

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 …

Member Avatar for siva87
0
134
Member Avatar for mindbend

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 …

0
146
Member Avatar for mmnewbee

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 …

0
48
Member Avatar for manish250

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 …

Member Avatar for manish250
0
260
Member Avatar for madhavipoudala

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 …

Member Avatar for madhavipoudala
0
294
Member Avatar for magesh kumar

HI.... I wanna create runtime graphical nodes using jsp...could anyone send me code for this one...pleassssssss

0
88
Member Avatar for lse123

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?

0
72
Member Avatar for ARaza110

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]

0
59
Member Avatar for proloy11

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 …

Member Avatar for alex.antony.a
0
149
Member Avatar for sanju21

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.

Member Avatar for toughlittleone
0
777
Member Avatar for theo23

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 …

Member Avatar for javaAddict
0
172
Member Avatar for icccapital

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 …

Member Avatar for icccapital
0
182
Member Avatar for nikita.chandra

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!

Member Avatar for fishsmith
0
221
Member Avatar for srinivas88

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 …

Member Avatar for srinivas88
0
563

The End.