3,760 Topics

Member Avatar for
Member Avatar for muusa

hi friends, i am doin a project named online compiler. the basic idea is to compile a program online. i am well acquinted with core java but not with web technologies. i know the basics of jsp n planning to do the project in jsp. i know how to compile …

Member Avatar for muusa
0
129
Member Avatar for madristaa

Dear Friends, I have created a file upload utility which will read the .csv files. My database structure is-- 1)id 2)mobile_no 3)address The administrator will do bulk upload for the above. If the id and mobile_no are already present in the database...then it will update the existing data. If doesnot …

Member Avatar for madristaa
0
391
Member Avatar for mayaaa

Hello All, Can anybody plz guide me how to write a new method in servlet. I am using netbeans 6.8 A code snippet will be highly appreciated. Also I will be calling these method of servlet B from servlet A. In Servlet A there are 2 hyper links, which should …

Member Avatar for mayaaa
0
3K
Member Avatar for cutesniper22

Recently , i just used jcreator with apache ant 1.7.1 for jsp development. I have a issue that I always performed "remove", "dist", "install" to update and deploy my latest web project. Is there any easier way to reload entire web project without always click on these three. It takes …

Member Avatar for ~s.o.s~
0
57
Member Avatar for vidhun
Member Avatar for javaAddict

I had a problem at work which I solved, but that raised me another question. I wanted to export a page to excel, so I used this: [CODE] response.setContentType("application/vnd.ms-excel;charset=iso-8859-7"); [/CODE] It worked but while I was searching for an answer I found 3 possible content types for the excel: > …

Member Avatar for javaAddict
1
905
Member Avatar for shahali88

hello i m ali i m new to jsp please tell me about how jsp runs in openwave

Member Avatar for peter_budo
0
46
Member Avatar for by89

Sorry this is the first time posting so if there is any wrong placement of thing, i apologize. Basically I'm trying to retrieve all the field of the food by typing the foodname and display it into the addfood.jsp. There are 2 class and 1 jsp which is foodmanage.java where …

Member Avatar for musthafa.aj
0
183
Member Avatar for salman4u

Hello, I want to create a sub domain, when the user registers on my site. How can i do that in java? Any help would be appreciated. Thanks in advance :)

Member Avatar for jwenting
1
53
Member Avatar for Neerajavi

hi friend can you tell me how to create servlets and how we can deploy it on the apache web server.

Member Avatar for jwenting
0
129
Member Avatar for AliAliAli333

Hi im just wondering how i could improve this to make it secure from either the jsp file itself or external java files. [CODE] <html> <head><title>JSP Page</title></head> <body> <jsp:useBean id="user" scope="session" class="shop.UserBean" /> <jsp:useBean id="dataFactory" scope="session" class="data.factory" /> <% String userName = request.getParameter("userName"); String userPassword = request.getParameter("userPassword"); user.setLogin(dataFactory.getUser(userName,userPassword)); user.setUser(userName); if …

Member Avatar for jwenting
0
91
Member Avatar for feoperro

Hi, I have pasted my code below, please paste it into a JSP and tell me why it gives the error "Unterminated String Constant" [CODE] <html> <head> <title>Debugging</title> <script language="javascript"> function changeOn(object, objectId) { alert('in function'); if (object == 'bookingsButton') { alert('first if'); document.getElementById(objectId).src = 'Images/BookingsOn.png'; } else if (object …

Member Avatar for feoperro
0
201
Member Avatar for ElieM

from the search I made I understood that I must declare the class in a package then put it in WEB-INF/classes. and call it from the jsp page. SO. my class is: package x.com; import java.io.*; [code]public class X { public static void main(String[] args ) throws IOException { File …

Member Avatar for javaAddict
0
661
Member Avatar for billybobc

Hello, When I add a simple <c:set var="foo" value="bar"/> line to my jsp I get the following error: javax.servlet.ServletException: javax/el/ELException org.apache.jasper.servlet.JspServlet.service(JspServlet.java:273) javax.servlet.http.HttpServlet.service(HttpServlet.java:729) root cause java.lang.NoClassDefFoundError: javax/el/ELException java.lang.Class.getDeclaredMethods0(Native Method) java.lang.Class.privateGetDeclaredMethods(Unknown Source) java.lang.Class.getDeclaredMethods(Unknown Source) java.beans.Introspector$1.run(Unknown Source) java.security.AccessController.doPrivileged(Native Method) java.beans.Introspector.getPublicDeclaredMethods(Unknown Source) java.beans.Introspector.getTargetMethodInfo(Unknown Source) java.beans.Introspector.getBeanInfo(Unknown Source) java.beans.Introspector.getBeanInfo(Unknown Source) java.beans.Introspector.getBeanInfo(Unknown Source) java.beans.Introspector.<init>(Unknown Source) java.beans.Introspector.getBeanInfo(Unknown Source) …

Member Avatar for heathersh
0
2K
Member Avatar for indu_ss4

Hi Im a newbie of jsp and Im developing a project in jsp. I want a text box that display data from database in the same place when i click a link.all the links are available in a table. Any help appreciated... Thanks in advance, Indu.

Member Avatar for indu_ss4
0
197
Member Avatar for feoperro

Hi, I would like to know if it's possible to have a web application that processes data like this: 1. Submit form data in a JSP, using the: action="myServlet". 2. In the myServlet code, we process the requests and responses and add what we need to add into sessions. 3. …

Member Avatar for feoperro
0
98
Member Avatar for lalit_jain1988

i am new in jsp...Can any one help me that how i can upload image in database using one html form and jsp code..........

Member Avatar for peter_budo
0
41
Member Avatar for powerbox

Hi guys I just need some enlightenment on how I should implement one of my projects. I've been migrating my codes from unmanaged to manged code and I chose Java as one of our primary PL to use. From time to time I've used some of Java products like GlassFish. …

Member Avatar for pelegri
0
245
Member Avatar for muusa

hey friends i m using servlet in order to write the output to jsp but i m getting output as something BufferedReader.io.inpitstreamreader@somenumbers i want to return the string output to jsp back .i need help stuck i this thing [code=java] try { String line; // String path="/home/muzammil/apache-tomcat-6.0.18/work/Catalina/localhost/remote_compile/"+filen[0]; Process p = …

Member Avatar for muusa
0
280
Member Avatar for peter_budo

The aim of this thread is to gather useful information in regards of Java web development. If you know some tips and tricks, tutorials or any interesting links that has not been already mentioned in previous posts please share with us (please always check to avoid double posting). Please DO …

Member Avatar for peter_budo
4
3K
Member Avatar for feoperro

Hi, I'm having a problem debugging a piece of code. I will paste the JSP version (that works) and then the exact same thing in Servlet form (that does not work). The code's function is to change a picture on mouseover and then revert onmouseout. I will paste for only …

Member Avatar for feoperro
0
203
Member Avatar for shashwatk

[code=jsp]<%-- Document : response Created on : Jan 20, 2010, 11:34:37 AM Author : srishi --%> <%@page import="java.sql.*"%> <%@page import="java.io.*"%> <%@page contentType="text/html" pageEncoding="UTF-8"%> <!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=UTF-8"> <title>employee data entry</title> </head> <body> <form action="response.jsp" method="get"> <center>Employee Data Entry Page</center> <table …

Member Avatar for sank_03
-1
93
Member Avatar for Aish_V

Is it possible to populate a treeview by reading the nodes of XML? It is for web application. Without using swing is there any other method? If so.. Please share with me.. Thanks in advance Aish

0
59
Member Avatar for Emret

Hello code monkeys :p I need some guidance with an application that I am working on. The idea for the application is as follows: The user is presented with a search field where he/she is supposed to enter a control number. This control number has a relation to a certain …

Member Avatar for doctorfox
0
235
Member Avatar for samirf

Hi All I am a peoplesoft developer and I dont understand JSP too well . I have following two questions about the code below . 1) Are we using a POST call to [url]https://SomeUrl/ssoreq.asp[/url] (not a GET request) ? 2) Are we assigning the content-length and content-type header variables prior …

Member Avatar for peter_budo
0
139
Member Avatar for Srikant1

hi i have created a page using JSP called Login Page containing Username & Password As its Attributes My problem is that I am not able to connect it with My SQL Database can any body help me regardind connection code

Member Avatar for musthafa.aj
0
75
Member Avatar for swethakrich

I am having two combo box value say List 1 and List 2 And user can move the items from List 1 to List 2 and vice versa. After completing the "Move" operation the user would like to "SAVE" these changes. At this point I need to have all the …

Member Avatar for javaAddict
0
173
Member Avatar for shiv0013

i want to generate automatic emails. i got the following code by google. i also added the mail.jar file into lib of web inf. wen i execute this code i get exceptions "Could not connect to SMTP host: smtp.gmail.com, port: 25 (javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?)" and "Unrecognized SSL …

Member Avatar for c_blimey
0
89
Member Avatar for dangari

Hi all, I have two jsp pages say jsp1 and jsp2. In jsp1 I have the following line: [code=jsp] <%@ page contentType="text/html;charset=UTF-8" language="Java" import="java.sql.*" %> <jsp:useBean id="one" scope="session" class="mypackage.myclass1" /> [/code] In jsp2 I have the following line: [code=jsp] <%@ page contentType="text/html;charset=UTF-8" language="Java" import="java.sql.*" %> <jsp:useBean id="two" scope="session" class="mypackage.myclass2" /> …

Member Avatar for dangari
0
153
Member Avatar for markb536

schedule an automatic email that will go out at intervals that you define. Perfect for sending reminder email about accounting meetings, baseball game practices, or even upcoming birthdays.

0
75

The End.