4,248 Topics
![]() | |
I want to implement JavaScript Internationalization. However, JavaScript does not have the property file mechanism (which is available in Java). I am thinking of using the Java property file mechanism in Javascript. Is it possible? I had implemented Java Internationalization with the Spring framework message. e.g. [CODE]<spring:message code="menu.administration"/>[/CODE] How do … | |
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 … | |
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); } … | |
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 … | |
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 … | |
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 … | |
[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. … | |
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. | |
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 … | |
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 … | |
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 … | |
![]() | 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 … ![]() |
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 … | |
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] | |
create download area with login Does anyone have any examples of how to create download area using jstl or jsp with mysql? hugs .. | |
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 … | |
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. … | |
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 | |
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. | |
hi i have done a page which contains username and password,there i have to check my username and password string and authenticate that page. here is my code. [code] <%@ page language="java" %> <html> <head> <title> WELCOME </title> <script language = "Javascript"> function ValidateEmail(){ var emailID=document.frm.t1; var emailID1=document.frm.t2; if ((emailID.value==null)||(emailID.value=="")) … ![]() | |
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 … | |
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. | |
String user_src=(String)session.getAttribute("user"); System.out.println(user_src); why i got null on console????? | |
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 … | |
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 … | |
| |
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 | |
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 … | |
Hi All, I have JSP and Servlet that need to "talk" to each other. Actually I need to get record from database, fill it in JSP file. I have created Servlet that does the query and gets the result. I need those results to be shown on JSP file. In … | |
Hi all, I used [B]Timestamp[/B] data type in mysql and Date object in jsp. Now my question is how can I store system`s current Date n Time in Timestamp field using jsp? | |
Hi!! I'm using JSP+Servlets+JavaBeans to make a simple application of inventories. I have created some beans in the servlet that contain the name of a factory , and then i want to get that data in a jsp page. Since i'm having many names of factories i named the respective … | |
OK I am writing a custom application which needs to do a limited amount of web browsing... i.e. browsing is not its main intention but yes it is ABSOLUTELY necessary for it to be able to browse the web.... I am using a JEditorPane with the HTMLEditorKit for the display … | |
Dear All, I have a dedicated server with Godaddy and I am running XMLDigitalSignatureAPI on it. It works fine on my local server but when I uploaded the war file to the production server I got the error below and if I try to refresh the page again I get … | |
Hi, I have developed application in jsp and apache tomcat. How to achieve extension less url? For eg, if have [url]http://www.xxx.com/yyy.jsp[/url] as [url]http://www.xxx.com/[/url] and [url]http://www.xxx.com/user/yyy.jsp[/url] as [url]http://www.xxx.com/user/[/url] | |
I am having the strangest problem. Here is my code: <c:set var="updAlloc" value="" /> [CODE]<if test="${1==0}" > If Statement: ${1==0} <c:set var="updAlloc" value="disabled" /> </if> Update Alloc equals ${updAlloc}[/CODE] This is the output: [CODE]If Statement: false Update Alloc equals disabled[/CODE] Originally, I was testing a different variable, but realized that … | |
I wonder why this does not insert data :-O [CODE=JSP] <%@page contentType="text/html" pageEncoding="UTF-8"%> <%@page import = "java.sql.*" %> <%--@page import = "dbfiles.*" --%> <% //VDbManager mgr = new VDbManager(); String sqlApp = "INSERT INTO application VALUES (NULL, 810, 2010-08-26, 2010-10-27, 30, \"Dummy Leave\", \"Dummy Reason \", \"Applied \")"; Class.forName("com.mysql.jdbc.Driver"); Connection … | |
hi all, i have a problem when i click the link in jsp page. whenever i am clicking the jsp page link it wants to open a pdf file, the pdf file is located in remote system. its working properly in Internet Explorer. but i am opning this in FireFox … | |
hi i have a problem , i want use the exisiting jsp page which is in a different project want to call that jsp in another project using servlet... my code jsp page and servlet pages are from two different projects SampleWebProject1:- WebContent: Web-INF:- jsp:- Sample.jsp SecondSampleProject:- src:- sampleServlet.java i … | |
-----> How can I make one report file using JSP so I can send to other user and he/she can refer it?? -----> And How can I redirect one page to other page with some delay such one page can display 5sec and thn redirect automatically redirect to other page. … | |
hi guys >> i need ur help please >>> i ve created a login page which includes user name and password and i created a welcome page which contains the required codes for connection and verifying the username and password from oracle database .. when i run the login page … | |
I am looking for a host that supports jsp files and xml. I went to several host provider and I noticed that most of them supports asp and not jsp. Is jsp a standard language that every host supports it? | |
hi, i want to insert the values into the postgresql database using jsp code.first i have to retreive the values from one table which will be displaying in combo box.And i have to store it in another table which is having the auto increment data. hope u understand.... can anyone … | |
Hello, I'm remotely debugging a J2EE application from eclipse. I developed an external tool that will copy the file I modified to the server and then debug the application from the server. It used to work perfectly, but since a few days ago, it doesn't work anymore. This means that … | |
Hello, Because of licensing constraints, we're allowed a single Development server where our application will be installed. Supposing I have the tomcat server running on a remote machine in the company's network, let's say that multiple developers should be able to remotely debug that application. Is it possible?? How could … | |
Hi, I'm a developer with little experience in J2EE. I'm working with an Application called Enovia Matrix, which is an N-Tiers System composed by an oracle database, an RMI server, some "thick-client" applications and a Web-Based interface. I develop using Eclipse, in which I imported the War File generated for … | |
Hi, We've got an application running on Tomcat and we've setup Manage Engine's Applications Manager 9.0 to monitor our environment. I've set an alarm that fires whenever a thread is in the "BLOCKED" state at the moment of the polling and I'd like to get a thread dump of that … | |
Hi, i have developed an web application using JSF. In that, if the user remains idle in the application for more than 15min then their session should expire. i have tried it by giving <session-timeout> tag value as 15 min in web.xml. but i don't know how to redirect the … | |
In my application i have a view page(html or jsp) with five field (Qualification, Semester, Maximum Mark, Obtained Mark, Percentage). I have one add button, if i click on add button one java-script will be called and it will display a row in the same page with five column (Qualification, … | |
In my application i have a view page(html or jsp) with five field (Qualification, Semester, Maximum Mark, Obtained Mark, Percentage). I have one add button, if i click on add button one java-script will be called and it will display a row in the same page with five column (Qualification, … |
The End.