3,760 Topics

Member Avatar for
Member Avatar for hemant.patel

when i register one databse at this time also insert to second database.I have two database on one server db1_main and db2_rg. this two database have tabal fields are different so it this posibale? if yes so what can i do?plz reply me. Hemant

Member Avatar for ~s.o.s~
0
24
Member Avatar for indu_ss4

Hi all! i'm developing a web application in jsf 2.0 with GlassFish server.Database is MySql.Https protocol. My problem is that when i request for a page in my application sometimes the browser displays the source code of that page and not the html view for the user. It is not …

0
112
Member Avatar for Yathini

Hi I am using Jreports for my task when i click the link instead of report excel should come for tat i hand code in jsp as "jrs.result_type=4" bcoz it launch excel its launching but i need to fetch 50,000 records bit it fetch 20,000 ... Any suggestions? [code=html]</head> <body> …

0
61
Member Avatar for ramesh866

hi everyone am a beginner in jsp side. i am working on a project where the UI is designed in HTML, validation in servlet and i want to store the relevant information in SQL server. I have glass fish server. how can this be done. please guide me

Member Avatar for ramesh866
0
37
Member Avatar for tarek.mostafa

Dear all, I developed a web application and it is working fine, except for one issue. The application includes uploading files from a JSP to my servlet, and the issue is that i would like to have a limit for the uploaded files on the client side (before actually uploading …

Member Avatar for jwenting
0
87
Member Avatar for itz.aayushi

I have an application written in JSP running in Apache Tomcat Server and back end is MySQL and m having problem in my code tried many things like creating a .bat file but dint got a code to run .bat file from jsp page. Also the following code i tried …

Member Avatar for itz.aayushi
0
926
Member Avatar for sivaprakashm

i can't able to display series2 dataset value in chart Any one explain me how to solve this problem Need Help Thanks in advance[code]dataset.addValue(plan, series1, category); dataset.addValue(actual, series2, category); CategoryItemRenderer renderer = plot.getRenderer(); renderer.setItemLabelPaint(Color.white.brighter()); for(int i =0;i<var.length;i++) { renderer.setLabelGenerator(new LabelGenerator(var[i])); renderer.setItemLabelFont(new Font("Serif", Font.PLAIN, 20)); renderer.setItemLabelsVisible(null); renderer.setSeriesItemLabelsVisible(0, false); renderer.setSeriesItemLabelsVisible(1, true); } …

0
52
Member Avatar for bonethirst

Hi guys, I might be new to jsp.. but i was trying to read an xml file through jsp and it doesn't show anything when i open it..can someone help me figure out whats wrong with it?? or is there anything that i missed? Thanks in advance. here's a bit …

Member Avatar for peter_budo
0
150
Member Avatar for harsh6886

Hi All, I have jsp page where in the only code I have is a [code]<% response.sendRedirect("/cz_CZ/songs/angelique_song.zip"); %>[/code]. Now this starts the browser download window and asks the user to download the zip file. Now, what i want is once the user completes the download I want to display thank …

0
63
Member Avatar for MichaelMelamud

Hello I have a jsp document,and a java class with some functions,i want that a button that located in the jsp document,will execute a function from the java call on click. but i don't really know how to do it,and i am stuck on it for a week now. If …

Member Avatar for javaAddict
0
8K
Member Avatar for anuplike

[code]<%@ page language="java" import="java.util.Properties,javax.mail.*,javax.mail.internet.InternetAddress,javax.mail.internet.MimeMessage" %> <% public class SendAttachment { public static void main(String args[]) throws Exception { String host = "smtp.gmail.com"; String from = "123.digit@gmail.com"; String to = "ae@gmail.com"; // Get system properties Properties properties = System.getProperties(); // Setup mail server properties.setProperty("mail.smtp.host", host); // Get the default Session object. …

Member Avatar for jwenting
-1
89
Member Avatar for mvsraman

I use Session Class in javax.mail....but, im getting error duplicate as :- Duplicate local variable session, as HttpSession it uses. So please tell me how to use Session Class in jsp.

Member Avatar for jwenting
0
114
Member Avatar for karanits

Well . this is fairly a simple question. Lets say i have a registration form, some user has registered and i have the details in my database. Now i can use the same form for letting the user edit his profile. I can prefill the textboxes by giving the following …

Member Avatar for karanits
0
129
Member Avatar for thabotharshan

i am a student i am doing a jsp project for my J2EE module.I choose a auction web site 4 my project. I have a doubt Can I use the java beans into a Servlet.I uses the Beans into my Jsp Page by using USEBEAN but how can i use …

Member Avatar for peter_budo
0
116
Member Avatar for bschmitt78

Hello, I am writing a web app with an interface to query a MySQL database. The interface has a drop down list of 8 tables to choose from. The first action the user will take is to choose a table and click a "display table" button. After the user sees …

Member Avatar for bschmitt78
0
87
Member Avatar for prem2

Hi all, I have downloaded the apache-tomcat-6.0.26-src and unzip into my directory. Directory:/home/prem/Download/tomcat/apache-tomcat-6.0.26-src. I am using Red hat machine. To find where my java installed i use the following command: which java; Output: /usr/bin/java Environment Variables: export JAVA_HOME=usr/bin/java export CATALINA_HOME=/home/prem/Download/tomacat/apache-tomcat-6.0.26-src When i run the version.sh file in tomcat i received …

Member Avatar for peter_budo
0
153
Member Avatar for amrideep

i write in a.jsp page [code=java]String s1="amrita"; session.setAttribute("ana",s1);[/code] after some statements i write [icode]out.print=(String)session.getAttribute("ana") //it prints the value[/icode] in page b. jsp [icode]out.print=(String)session.getAttribute("ana") //it prints null[/icode]

Member Avatar for Dharmendra
0
84
Member Avatar for fcuritiba

create download area with login Does anyone have any examples of how to create download area using jstl or jsp with mysql? hugs ..

Member Avatar for fcuritiba
0
121
Member Avatar for mindbend

Hello everyone, Got a school project here. I need to explain the code I use in general, thats the moral of this school project. I thought to keep it simple(It actually doesn't matter if I wrote the code myself or that I got it from somewhere, as long as I …

Member Avatar for Stefano Mtangoo
0
165
Member Avatar for techie81

Am using a JSP code to upload multiple files. It is running properly in Developement system, but in the production system it is giving error : HTTP Status 500 - -------------------------------------------------------------------------------- type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. …

Member Avatar for parry_kulk
0
269
Member Avatar for bhneha

Hi, I am trying to open an jsp in iframe.My code is below: [CODE]<iframe src="/jsp/dataMigration/test11.jsp" height="100" id="fram" marginheight="8" marginwidth="8" width=100% scrolling=no frameborder="1" name="Migration"></iframe>[/CODE] But its not working fine.showing 404 error Can anybody help

0
53
Member Avatar for Hakoo

Hey All, I m able to generate report for given table using iReport. Now, my question is, how can I genrate report for every user. For example, each tester adds their data in bubtbl. Now, i want to generate report for each user respective their datas. Please help me.

0
47
Member Avatar for Hakoo

Hello friends, I am making Bug Tracking System project, which is intranet base project in JSP. I want to use e-mail facility using JAVAMAIL APIs. How can I use it? What i need? I am new in JSPs., and dont know about JavaBeans. How to install STMP server n configure …

Member Avatar for jwenting
0
109
Member Avatar for tejaswybhat

How to implement timer for a online quiz application using jsp? I tried using javascript timer. It starts from beginning as next question is displayed. Pls help on this.

Member Avatar for jwenting
0
72
Member Avatar for mishra.bibhutib

String user_src=(String)session.getAttribute("user"); System.out.println(user_src); why i got null on console?????

Member Avatar for Hakoo
0
35
Member Avatar for Stefano Mtangoo

Hi buddies, I need to pass data among servlets and I find it very hard. What I have so far is passing it via session variable but that crashes my app now and then and seem to be bad approach. How do you transfer data among servlets without crashing the …

Member Avatar for Stefano Mtangoo
0
77
Member Avatar for kakashi_sensi

hi all; i always find answers for my problems here at daniweb, but this is my first time i post a question, so have mercy on me :) i have a jsp page and a huge scriptlet inside of it, the page adds new users to the application, so i …

Member Avatar for kakashi_sensi
0
225
Member Avatar for anuplike
0
44
Member Avatar for sivaprakashm

I need to display a message like "Data has been already inserted " in a jsp If inserting data has already exits in a database table

Member Avatar for kakashi_sensi
0
56
Member Avatar for newbeejava

Hi, I am creating a web application. In that I have multiple radio button and two button. What I want to do is-- I want to choose a radio button and according to that value if I will click the button1, I want to display a different jsp page. But …

Member Avatar for Stefano Mtangoo
0
125

The End.