3,760 Topics

Member Avatar for
Member Avatar for hidash_in

the below code is to list the running exe files in the windows task manager. but i need only the running applications in windows task manager. if aybody knows pls help me by sending code for this. i am awaiting pls. import java.io.*; import java.util.*; public class GetProcess { public …

Member Avatar for Nirman_1
0
3K
Member Avatar for phpiscool

I am working on a reservation app in Java and it is almost complete but I keep getting this error when running my app: Exception in thread "main" java.util.NoSuchElementException: No line found at java.base/java.util.Scanner.nextLine(Scanner.java:1651) at ReservationCalculator.main(ReservationCalculator.java:34) Full Code import java.time.LocalDate; import java.time.format.DateTimeFormatter; import java.time.format.FormatStyle; import java.util.Scanner; public class ReservationCalculator { …

Member Avatar for JamesCherrill
0
448
Member Avatar for phpiscool

Hi, I am trying to create a reserve console app using Java. Any Help is appreciated. The Params are: Calculate reservation totals Welcome to the Reservation Calculator Enter the arrival month (1-12): 5 Enter the arrival day (1-31): 16 Enter the arrival year: 2016 Enter the departure month (1-12): 5 …

Member Avatar for JamesCherrill
0
338
Member Avatar for naveen123

We have completely redesigned our website but am not sure about the page content whether its enough to get ranked on search engines? What are all the possibilities available to get ranked immediately on the first page of google - https://www.dezvolta.com/

Member Avatar for Dani
-2
450
Member Avatar for rakesh4java

# I want to give a button in my JSP page, which on click of it should store an image in the filesystem. # Following is the code ScreenCapture.java which is a servlet. Purpose: To capture the screen of working area and store it in file system. Problem: - An …

Member Avatar for stultuske
0
1K
Member Avatar for ranjanj2me

Sir can you please send me an example to upload an image to the server (with user defined file name and display message if name exist) at specific folder "images" and save its path to the mysql database. And again display the images uploaded on the server folder by using …

Member Avatar for happygeek
0
5K
Member Avatar for Madhuri_2

Hello, Iam new to programming.Can someone please help me out how can i read URL process it and return the number to browser in jsp. Actually I have a URL which returns an integer now what i want is I have to write a program to take the URL as …

Member Avatar for PsychicTide
0
324
Member Avatar for Rani_7

Hello everyone, I am having trouble in displaying the multiple images on jsp. I am using servlet to pull the image from the database. Following code, will always display single image multiple times on my jsp page. Can anyone please help me in rectifying the error in the code. I …

0
286
Member Avatar for Víctor_19

I need to insert an imagen into a SQL Server Database and i need to do it using jsp, but i don't know how to do it. Someone can teach me the best way to do that?

Member Avatar for pty
0
476
Member Avatar for Vicky_11

I want to print the username on jsp page"**success.jsp**" from "**home.jsp**" i have used **hibernate** to save data in table . "home.jsp" <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Insert title here</title> </head> <body> <center> <h1 ><font …

0
271
Member Avatar for ArunRaj.SRM

Hi, I'm new to JSP. I want a sample code to call a java class on button click in jsp.

Member Avatar for maheen_1
0
3K
Member Avatar for Nurul_3

Hello .Im a final year student in bachelor of science computer in web technology. I need your suggestion for my final year project title.Do you have any related ideas?

Member Avatar for happygeek
0
688
Member Avatar for memegha123

hI! I m trying to create a simple login application in jsp where i create a session allows the user to use certain features and then logout. Problem is that after the user logs out. I destroy all session objects and invalidate the session and redirect to welcome page still, …

Member Avatar for youngbill
0
3K
Member Avatar for Kang_1
Member Avatar for Revanth_1

hi i am trying to take an n number of inputs from user where n is user defined .i am a bit confused how to write my jsp so it can as many as inputs required by the user

0
235
Member Avatar for Upendra_2

I want to store multiple checkboxe values in my sql database. I am using jsp as front end.

Member Avatar for rproffitt
0
205
Member Avatar for lucy nana

I facing a problem with checkbox value that already exists inside the database. so how can I retrieve those value into another database table? The table subject and service below is what I want. But based on the code below the SERVICE TABLE on SUBJECTID COLUMN producing null value. How …

0
442
Member Avatar for Mohammed_44

//The php section of the code <?php function getJSONFromDB($sql){ $conn = mysqli_connect("localhost", "root", "","rent"); //echo $sql; $result = mysqli_query($conn, $sql)or die(mysqli_error()); $arr=array(); while($row = mysqli_fetch_assoc($result)) { $arr[]=$row; } return json_encode($arr); } $jsonData= getJSONFromDB("select Pic from Display"); $jsn=json_decode($jsonData); //for loop to retrieve rows from database for($i=0;$i<sizeof($jsn);$i++){ $a=$jsn[$i]->Pic; //here is the main …

Member Avatar for network18
0
375
Member Avatar for Ryan_26

I am trying to create an HTML form which displays text from a text file, using a Java Servlet. I keep getting the following error: Error instantiating servlet class servlets.ReportServlet. Here is the HTML page: <html> <head> <title>TODO supply a title</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> </head> <body> <form …

Member Avatar for jwenting
0
1K
Member Avatar for tarun_6

If a table contains field's like name,age tuition fee,bus fee,year, 1,2 When I tried to update 1 year details it is updating but when I try to update the entire fields it's not updating in form of jsp page

Member Avatar for rproffitt
0
445
Member Avatar for tarun_6
Member Avatar for rproffitt
-2
183
Member Avatar for tarun_6

As I am doing a application on attendance management where I need to store the details by using check boxes I am unable to store the details of check boxes where it will be generated as present or absent in database Can anyone help me to find out this

Member Avatar for tarun_6
0
646
Member Avatar for batuzai04123

Hi, I'm starting to learn Java EE - JSP / SERVLET and as for my learning progress, I'm trying to achieve this kind of web app but Im having problem with displaying the right selected row (TASK ID Column) from my table. It is populated from my oracle db. Im …

Member Avatar for Om_3
0
16K
Member Avatar for archie.herbias

I want to have a forum in my website project in school. i don't have any idea. may anyone help me suggesting some examples. it is like daniweb forums. i want to save the topics in the database and retrieve it as a link. i dont know how to do …

Member Avatar for angela_8
0
2K
Member Avatar for priyanshi_1

hi..so i am facing problelm how to upload data on my websites in which format (.pdf,etc) should upload data and how to do it.

Member Avatar for priyanshi_1
-1
233
Member Avatar for newbee_jv

Hello everyone, I have a simple JSP, with a text input and a submit button, as follow: <form accept-charset="UTF-8" method="get" action="<%=request.getContextPath()%>/someAction"> Enter Search: <input type="text" name="keyword"/><input type="submit" /> </form> And in my Servlet, I am reading the input, as such: String word = request.getParameter("keyword").trim(); System.out.println("Keyword: " + word); The input …

Member Avatar for rproffitt
0
320
Member Avatar for aayush_2

Hello Sir, I am developing social networking website using jsp and servlet . I have created login page using mysql but now i am not able to make posting status and commenting system on that post.Please provide me solution. thankyou aayush

Member Avatar for rproffitt
0
1K
Member Avatar for shad

Hi Everyone, i am a final year computer science student.I was thinking of building a secure online voting system for my university's student union elections process. I wondering if anyone has an idea on how i can go about implementing the system.I would really appreciate any help you give to …

Member Avatar for Dani
1
1K
Member Avatar for L Sushmitha

My intention is to delete file from folder But Here in above script is not working properly can any one please suggest me about this function deleteFile() { var myObject; myObject = new ActiveXObject("Scripting.FileSystemObject"); myObject.DeleteFile("D:\\WEBSITE_FILES\\docs\\OTR\\"+db_unicid+"\\passportImage.jpg"); return true; } <input type='Button' value='Click to Delete File' onClick='return deleteFile()'>

Member Avatar for DeanMSands3
0
364
Member Avatar for tejas_1

The End.