3,747 Topics

Member Avatar for
Member Avatar for sciwizeh

Hello All, So I'm working on hand-coding a forum-like website, just for the experience, and I want to have a similar feature as you'll see above where a thread will have its ancestors linked: "Web Development > JSP > Parent traversal of tree-like Structure" I have several beans for different …

Member Avatar for sciwizeh
0
272
Member Avatar for bhallarahul

hi I want to create an application which contain servlet and jsp and also connected with database but i only want that login page will be open from 05:00hr to 10:00 hr before and after nobody able to access/login the page if they do that it reject the request how …

Member Avatar for stultuske
0
98
Member Avatar for sushants
Member Avatar for mayoubprince

how can i change my java aaplication into a servlet?? in fact i made a game and i want to make it a srvlet so that i can access it through web..

Member Avatar for jwenting
0
132
Member Avatar for ze0001ng

My web pages are written in JSP and want to put online. Could you recommend some free web hosting? I searched, but can not find the one I want. Thank you.

Member Avatar for radhakrishna.p
0
301
Member Avatar for sonu611

I have a strange problem, I have a domains and a subdomain [url]http://client.spry-forms.com[/url] (login using demo/demo) [url]http://spry-forms.com/ClientAdmin[/url] (login using demo/demo) The server is setup with only tomcat 6.0.18.0 Both the above domains are mapped to tomcat/webapps/ClientAdmin. When some one logs in from the second url, the link CREATE NEW FORM …

Member Avatar for abhisu
0
2K
Member Avatar for SoulofchaOs

There's a error when I run this jsp file --> **" pstmt.executeUpdate();".** **"org.apache.jasper.JasperException: An exception occurred processing JSP page /TestAdd.jsp at line 39"** My code essentially have a text box for users to enter a value, and then the value is sent to the MySQL database. Any help is appreciated …

Member Avatar for peter_budo
0
300
Member Avatar for chrispitt
Member Avatar for sankhasubhra

I'm developing an application in JAVA where a servlet is taking the inputs from a JSP page. After inserting the values in db it will redirect to another servlet. Then the 2nd servlet will dispatch a JSP page with an ArrayList. But I can't redirect from the 2nd servlet to …

Member Avatar for nadim123
0
374
Member Avatar for jelly46

Hello I am unable to to edit a json file i need to add some updates but i keep getting Error: Parse error on line 8: ... "text" : " company name -----------------------^ Expecting 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '[', got 'undefined' I am trying to add a paragraph …

Member Avatar for paulkd
0
151
Member Avatar for jmw5598

Hey, I've come across an error in my school project. I'm creating a college registration web app. The jsp displays a list of available classes with checkboxes to check the ones you would like to register for. I've been running it in debug mode and it throws an exception at …

Member Avatar for radhakrishna.p
0
130
Member Avatar for Aditya_4

record.jsp <%@page import="java.sql.*" %> <%@page import="beans.connection" %> <% try { Connection con=connection.GetConnection(); Statement st=con.createStatement(); String query="select * from empdetail"; ResultSet rs=st.executeQuery(query); ResultSetMetaData rsmd=rs.getMetaData(); int cols=rsmd.getColumnCount(); %> <table> <tr> <% for(int i=1;i<=cols;i++) { %> <th><%rsmd.getColumnName(i);%></th> <% } %> </tr> <% while(rs.next()) { %> <tr> <% for(int i=1;i<=cols;i++) { %> <td><%rs.getString(i);%></td> <% …

Member Avatar for IIM
0
133
Member Avatar for azdonald

Hi I'm working on a JSP project and i need to retrieve saved images. The images are save on my computer(C:\Users\myuser\Documents\NetBeansProjects\Nomadi\web\Images) I saved the link to a MYsql database.. this is the link i saved(\web\Images\W101.jpg) Nomadi is the project name. When i run my app, the image doesn't show. What …

Member Avatar for LastMitch
0
159
Member Avatar for inabahtrg

Good day I’m new with JSP, here the problem, I just converting the code from SQL to PostgreSQL, but a problem occur after I change to DataSource ds = (DataSource)envCtx.lookup( "jdbc/postgres" ); and add a scheme to the query. By theory it should be ok but it produce this error …

Member Avatar for LastMitch
0
2K
Member Avatar for yavindu

can anyone send me a link for, free video tutorials for java web component development with netbeans.

Member Avatar for LastMitch
0
56
Member Avatar for zebusman

Hi Friends I have just started learning Java.I am getting a problem may be a small one but i coundn't able to figure it out.so here is my Servlet code iam trying to insert data into database after submitting form iam getting **java.lang.NumberFormatException: For input string: ""** I want to …

Member Avatar for zebusman
0
371
Member Avatar for Raghu88

Hi anyone please help me...... i am trying to export some data to excel file while doing this i got the following exception... here is the stacktrace... Servlet.service() for servlet action threw exception: java.lang.IllegalStateException: getOutputStream() has already been called for this response at org.apache.catalina.connector.Response.getWriter(Response.java:598) [:6.1.0.Final] at org.apache.catalina.connector.ResponseFacade.getWriter(ResponseFacade.java:199) [:6.1.0.Final] at org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:125) …

Member Avatar for LastMitch
0
417
Member Avatar for unikorndesigns

Hi guys, If i have to give a short description about my skill set, i would say i am PHP developer. I have been coding in PHP for the past 4 years and its been an year and half that i have been using CodeIgniter. I loved it! I wanted …

Member Avatar for stultuske
0
197
Member Avatar for game06

if i hit sumbit i get output at bottom. but if i check again than i get a error. bc number1 is null. i was thinking to have about if statment inside if statment, to text if int field is null or not. <html> <body> <!-- directive tag --> <%! …

Member Avatar for game06
0
337
Member Avatar for bdheeraj

hi i want to create a project that accepts the image and save it into a database and retrieve 1.i created a table in mysql database with datatypes varchar and blob. 2.to save the file into a blob datatype the file is to be converted into a inputstream 3.i created …

Member Avatar for bdheeraj
0
196
Member Avatar for ahmedhamdy

javascript code : $("input#input_field[name=brithday]").datepicker({ dateFormat: 'dd-M-yy', showAnim: 'slide', changeMonth: true, changeYear: true, yearRange: '1990:2020' }); jsp code : <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Profile</title> <link rel="stylesheet" href="css/style.css" type="text/css"> <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.2/themes/smoothness/jquery-ui.css" /> <script src="http://code.jquery.com/jquery-1.9.1.js"></script> <script src="http://code.jquery.com/ui/1.10.2/jquery-ui.js"></script> <script type="text/javascript" src="JS/javascript.js"></script> </head> <body> <% %> <div> <div class="blackDiv"> </div> <div class="whiteDiv"> …

Member Avatar for ahmedhamdy
0
457
Member Avatar for MuthuM123

Hello Everyone, I have a problem and looking forward for your kind help. I need the <select> tags option value to be set selected on the page load. The problem is that everytime the value which is to be selected may change on each page load. Thank you.

Member Avatar for IIM
0
247
Member Avatar for tapandesai007

I am trying to send a SMS from my Java web application using the API provided on this site. I am not able to receive the response code as its mentioned on its tutorial, which can be found here. I am using the Java version of the code for my …

Member Avatar for LastMitch
0
226
Member Avatar for jmw5598

I'm working on a web application for a class of mine. The assignment is to create a College Services app where students can login and register for classes. Right now I'm working on the login portion and it coded out but I'm having some issue and hopeing I get a …

Member Avatar for jmw5598
0
164
Member Avatar for Neha290791

hey all so there's another problem.. Actually I have a login page in my application. When user login with the appropriate credentials, different screens open up for different purpose. Each screen has a link called SignOut on the top of the page. Whan user logs out, he jumps to the …

Member Avatar for LastMitch
0
144
Member Avatar for subratbehera

Friends iam using Struts1.2 and iam new to this framework. Iam stuck at one place. I have fetched the records from oracle database and set it in the arraylist of type(DTO object) which is defined in bean class. Now iam facing problem in iterating through the arraylist in the jsp …

Member Avatar for radhakrishna.p
0
3K
Member Avatar for cmps

Hello all. Currently I develop PHP website, and I do simple java programs. Since I will continue learning more and more java, I decided to learn JSP/Spring MVC (Don't really know how Spring MVC Framework uses JSP, check next paragraph) combination of my web knowledge and the Java programming language. …

Member Avatar for cmps
0
252
Member Avatar for Raghu88

Hi, I have written coding for coverting jsp page to excel.It is working in IE browser after downloading file is saved with .xls extension .But in firefox browser i am trying to download then it saves with .jsp extension.any one pls help me how to solve this issue? here is …

Member Avatar for LastMitch
0
453
Member Avatar for Neha2907

hi... i have 1 jsp form. my form includes 6 text boxes and 8 dropdowns. I want to insert the data of these textboxe and dropdown to Database. I am using mysql server 5.1.The problem is that when I insert, a blank screen appears. (Data in dropdown is retrieved from …

Member Avatar for gian88r
0
183
Member Avatar for ganges

hi i try to create a new dynamic web project in eclipse indigo, tomcat 7 i am getting these types of errors: Errors occurred during the build. Errors running builder 'Faceted Project Validation Builder' on project 'mysql'. java.lang.ExceptionInInitializerError i have deleted the project and created new one and again i …

Member Avatar for LastMitch
0
490

The End.