3,760 Topics

Member Avatar for
Member Avatar for archie.herbias

when i tried to send an email to an account it does not sent. the error result will be displayed. i got an error in the apache tomcat bin log like this: javax.mail.MessagingException: Could not connect to SMTP host: localhost, port:25; nested exception is: java.net.ConnectException: Connection refused: connect at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1934) …

Member Avatar for archie.herbias
0
198
Member Avatar for jhonilson

HI I had generate a report with IREPORT 3.7 . I have now a .jasper file. I would want to be able to execute (show) it with a jsp file or servlet. My generated report not use sql queries, only it need 2 parameters. i think to pass these parameters …

Member Avatar for Amunantha
0
940
Member Avatar for turpentyne

If I have a loop of dropdowns that have the name "options[123]" where the bracketed number will change, is there a way to pull all the available dropdowns with a name that starts with "options" and then loop through them to make sure at least one is selected... <0

0
39
Member Avatar for divsok

can i directly send a message as a gmail which typed in a textarea in a jsp? please explain anybody how to do it ?

Member Avatar for peter_budo
0
80
Member Avatar for jahanruhi3@gmai

[code=Java]package com.schedulers; import java.io.IOException; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import java.text.SimpleDateFormat; import java.util.Date; import javax.servlet.RequestDispatcher; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import DBConnection.DBConnect; public class P6UserInsertScheduleServlet extends HttpServlet { private static final long serialVersionUID = 1L; public P6UserInsertScheduleServlet() { super(); } protected void …

0
80
Member Avatar for Ankur Raj

Hi Members, I am working on Pentaho, I want to add a comment box with RTF(rich text format) feature, that saves the comments in the database. And when the user Login again, he must be able to see all those comments. I have tried it using PHP, and it is …

0
79
Member Avatar for oonebaddog

Hey guys!!! (and gals)... Uhhmmm... I'm in a bit of a tiffy... Im trying to populate a drop down list with data in my query browser. But I AM NOT USING JAVASCRIPT...mostly because i havent learned it...but im trying to a certain table from the query browser to my drop …

Member Avatar for oonebaddog
0
1K
Member Avatar for abhijeet P

Hello all, I have a function in which onclick one window opens and there is logout option on the parent page. when I log out i want the child window to close as well. My native code is in Java and I need something in javascript. Plz help

Member Avatar for AleMonteiro
0
166
Member Avatar for Vanquish39

Hi guys, I have a question about custom error codes and redirection. The application throws different errors for different situations. Example: Bad credentials = resp.sendError(3005, "Bad Credentials") Example: Not Authorized = resp.sendError(3007, "Not Authorized"); When these errors get thrown, I get to the default error page with the HTTP Status …

0
50
Member Avatar for baig772

hi all i am new to java i want to run java php bridge as described [URL="http://php-java-bridge.sourceforge.net/doc/tomcat6.php"]here[/URL] now i am getting the following error [CODE]HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Could …

Member Avatar for NormR1
0
705
Member Avatar for jet101

guys, need help... Im currently working on a project with jasper report. it seems that the pdf file (report) runs on a browser succesfully without a subreport in Glassfish server but when there is a subreport the error occurs. ive been working with this problem since last week and im …

Member Avatar for tamseo
0
1K
Member Avatar for softDeveloper

Hi All! I'm trying to call a method defined in a jsp that is in my webcontent web application. I placed [CODE] <%@include file="method.jsp"%>[/CODE] in the jsp from where I want to call the method. I get an exception saying: [CODE]org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred …

Member Avatar for stultuske
0
292
Member Avatar for vikkii_gv

Hi to everyone, what's my doubt is when u r closing the window it should as do u want save the changes you made the option are yes,no,cancel it should be done in jsp,java script. can anyone help to solve this problem plz if anyone know the solution mail me …

Member Avatar for stultuske
0
120
Member Avatar for slasherpunk

Even after setting all the paths correctly, I get an error saying the "setclasspath.sh" cannot be found. I checked the directory and it was there. I then changed the permissions using chmod +x setclasspath.sh but to no avail. I've changed the permissions of all the files inside the "bin" directory …

Member Avatar for slasherpunk
0
194
Member Avatar for hajjo

Hello, How can I do a login form in jsp using oc4j server. (oracle jdeveloper). Assume I have this page. [CODE] <HTML> <HEAD> <TITLE>Login into the Employee Records Center</TITLE> </HEAD> <BODY> <H1><CENTER>Login into the Employee Records Center</CENTER></H1> <FORM NAME="LoginForm" ACTION="index.jsp" METHOD="post" ENCODE="application/x-www-form-urlencoded"> <P>To login to the Employee Records Center, submit …

Member Avatar for javaAddict
0
332
Member Avatar for sagar2dumbre

i am developing a web app using .jsp , servlets and access as a database..i want to do it using struts framework..so can anyone tell me best book available for struts beginners ? i will prefer "struts 1"..as many books are available for this version.

Member Avatar for stultuske
0
110
Member Avatar for Erdem.

i use eclipse with tomcat 7 and compile servlet without problem... but i try to blank jsp file its error what is the problem? [CODE]<%@ page language="java" contentType="text/html; charset=UTF-8" 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>Insert title here</title> </head> <body> <h3>Test …

Member Avatar for Erdem.
0
152
Member Avatar for nore

Hello all! I want to ask you , how to pass variable, there's the example: I have variable String X in pageone.jsp then i open a new tab page to pagetwo.jsp (using JavaScript window.open) , Is it possible to use the variable X (from pageone.jsp) in pagetwo.jsp ? Please Explain, …

Member Avatar for javaAddict
0
240
Member Avatar for autorunman22

I was using Struts 2 as web framework and eclipse EE as my IDE. I can run my jsp/servlet application just like the way i wanted it to be but everytime i start the tomcat ver 6 server, an INFO log always appear except that its asking for log4j. here …

0
78
Member Avatar for iamcreasy

How to start a servlet automatically when index.jsp starts. To put it simple, here is the index.jsp file. [CODE]<%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE html> <html> <head> <title>JSP Test</title> </head> <body> I want to put something here, so a servlet automatically starts without doing anything. </body> </html> [/CODE]

Member Avatar for nore
0
203
Member Avatar for Pankti Desai

I am making a program in jsp servlet. There are three tables in database: category , subcategory and items. Their structure is like this :: category 'A' --> subcategory '1' ===> item 'i' ===> item 'ii' ===> item 'iii' --> subcategory '2' ===> item 'iv' category 'B' --> subcategory '3' …

0
63
Member Avatar for softDeveloper

Hi All, I'm copying a long text from word and pasting into a html textarea and from here I send it to MySQL database. If the submited text is too long nothing happens. Any ideas on how to submit a large amount of text from a webpage to a MySQL …

Member Avatar for stultuske
0
198
Member Avatar for nore

Hello all, i have a question. Is there possible to get a data (for example some word in website) and then use the sentence to our own JSP page? To make clearly, example : [url]www.facebook.com[/url], is it possible to get the word "Sign Up" (in the middle right of page) …

Member Avatar for nore
0
95
Member Avatar for autorunman22

it always output this error: [CODE]Feb 07, 2012 11:25:32 AM org.hibernate.annotations.common.Version <clinit> INFO: HCANN000001: Hibernate Commons Annotations {4.0.1.Final} Feb 07, 2012 11:25:32 AM org.hibernate.Version logVersion INFO: HHH000412: Hibernate Core {4.0.1.Final} Feb 07, 2012 11:25:32 AM org.hibernate.cfg.Environment <clinit> INFO: HHH000206: hibernate.properties not found Feb 07, 2012 11:25:32 AM org.hibernate.cfg.Environment buildBytecodeProvider INFO: …

0
77
Member Avatar for nore

Hello, i'm new in JSP, and i already install Apache Tomcat for the server, but after install it and then try it to browser and choose example there was some text like below. HTTP Status 404 - /examples/jsp/ type Status report message /examples/jsp/ description The requested resource (/examples/jsp/) is not …

Member Avatar for nore
0
134
Member Avatar for sagar2dumbre

Hello i am developing a web app in JSP as front end and ms-access as back end..i hv login.jsp which contains username & password which will be validated in access database upon success user.jsp will be shown..i hv been done with jsp page design..but don't know abt database connectivity..can any1 …

Member Avatar for sagar2dumbre
0
1K
Member Avatar for arden_k

Hi All, I'm getting the following "Undefined type: ArrayList" for the following line of code "<jsp:useBean id="students" type="ArrayList<beans.UserBean>" scope="session" />" Could someone tell me what I did / didn't do the get this error and what I have to do to resolve it. Many thanks, AK

Member Avatar for arden_k
0
332
Member Avatar for 03hasnam

i am getting lots of error like this for all form inputs. i am trying to use javabeans and jsp where a jsp will be responsible for outputting the final information (cost of booking and bookingreference). The servlet needs to pass control to this JSP. this is the error which …

Member Avatar for 03hasnam
0
221
Member Avatar for chillysnow

Hi, I am using Paypal to do my payment processing, however the user authentication JSP session variables I am using are expiring during the transition from my site to paypal's then back to mine again. The result is obviously that access is denied on return and the transaction does not …

Member Avatar for peter_budo
0
183
Member Avatar for shadab550

sir i a student of 4th year i need some help in my project i m creating a online quiz 30 question and each question have 6 options which are check boxes and question have more then 1 ans so ,i ll select more then one check box so that …

Member Avatar for shadab550
0
248

The End.