4,248 Topics

Member Avatar for
Member Avatar for vij123

i am work on an app where combo box is define in each row of table in a jsp. when i select the specfic color from combo box it is doing the same color on whole row. now i want, when i set the color of each row and submit …

Member Avatar for javaAddict
0
305
Member Avatar for vij123

i am work on an app where combo box is define in each row of table in a jsp. when i select the specfic color from combo box it is doing the same color on whole row. now i want, when i set the color of each row and submit …

Member Avatar for masijade
0
107
Member Avatar for sureshksk

Hi all, I am using quartz scheduler in my web application for scheduling some data base tasks based on time.But after scheduling I am unable to connect to my application. I am using NetBeans.It is showing exception like this. com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure Last packet sent to the server was …

Member Avatar for levine
0
321
Member Avatar for omaiaa0p

Hello All, I am a beginner to javascript and would like to learn how to call a function which I implemented, called random, two times, with two seperate div buttons. I have tried several times to de-bug the code, somehow it still does not work. My question : Does it …

Member Avatar for Graphix
0
4K
Member Avatar for feoperro

Hi, I'm new to php, and I would just like to know if PHP has a client side and a server side similar to jsp? Reason being - I have completed the front end of a website and I want to add all the functionality now so I'm wondering if …

Member Avatar for feoperro
0
219
Member Avatar for reshmajohney

hi can any one please help me how to retieve dynamically loaded data in a html radio button in to jsp page.. actually i tried to load user account no from database in to radio buttonin html..this worked perfect .. but upon clicking the submit button i want to get …

Member Avatar for reshmajohney
0
216
Member Avatar for tyson.crouch

Hi guys, I've got a small problem, though I have a feeling that it will be simple to fix. I just cant figure out how to do it! I'm currently running XAMPP/Tomcat as my web server, and having developed the site in JSP/JAVA, the only way i can access the …

Member Avatar for kidwon
0
99
Member Avatar for jaypatel711

For my project I am sending the HTML value from one text editor. For that I had set the character set to UTF-8. Here I am sending value through URL. In the text editor I am Providing the facility of changing the color of text. Now when I change the …

Member Avatar for jaypatel711
0
173
Member Avatar for junaidp

Hi please help me with paging as i am searching it for last 3 days but no success I have a table in JSP ,which is getting values from java / database and displaying record via beans here is my JSP code [CODE]<logic:iterate name="list" id="user" scope="session"> <tr><td><beanOld:write name="user" property="username" /></tr></td> …

-1
91
Member Avatar for rahullao

I am using microsoft access as my database. When i click on the button Enter Details nothing happen. Please suggest where the mistake is. The doGet method contains the following code [CODE] super.doGet(request, response); String Name = request.getParameter("txtName"); String Designation = request.getParameter("txtDesignation"); Connection con = null; PreparedStatement pstmt = null; …

Member Avatar for javaAddict
0
105
Member Avatar for gshockneo

hi all, I want to call a class function using beans inside java script. but it is not working. It calls that function only 1 time. [code] <jsp:useBean id="track" scope="session" class="ReturnProgress"></jsp:useBean> <script type="text/javascript"> function getProgress() { document.getElementById('progress').innerHTML = '<%=track.findProgress()%>'; } </script> [/code] I want that Whenever user clicks on button …

Member Avatar for bofcarbon1
0
3K
Member Avatar for rfencl

Hi, I have a jsp web application running in Tomcat 6 that uses a set of 3rd party jars. One of the jars is attempting to load a log4j property file by using a relative path. ( \folder\.properties) I have the property file but I need to know where to …

0
115
Member Avatar for mole363

Hello there, I am trying to develop a web site and I am asking this: Let's say that I own [url]www.mydomain.com[/url]. Now if I type [url]www.mydomain.com/whatever[/url] I want this site to be linked to [url]www.mydomain.com[/url] and pass the string "whatever" as a parameter. So If I type [url]www.mydomain.com/john[/url] the website …

Member Avatar for Brillig
0
131
Member Avatar for shou2009

Hi, I am using Eclipse Helios in Fedora 10 i386. I am using WebSphere Application Server Community Edition plugin [B][COLOR="red"][COLOR="Red"]( Apache Geronimo 2.1)[/COLOR][/COLOR][/B] in Eclipse. My problem is that , I can not upload a file using [B][COLOR="red"][COLOR="red"][COLOR="Red"]UploadBean ( a very popular JavaBean )[/COLOR][/COLOR][/COLOR][/B]. I am adding the jar files …

0
48
Member Avatar for kamweshi

I am trying to make a servlet thread-safe by synchronizing a block of code.The counter needs to count how many times a page has been visited.But it starts at 2 and when i refresh the page, it increments by 2(so it goes 2,4,6).I tried to remove the object variable while …

Member Avatar for Taywin
0
106
Member Avatar for tyson.crouch

G'day Guys, I've been scouring the internet to try and find some ideas on how to set up a web-server on my work machine's HDD. I'm currently developing a web-app as a ERP/CRM system. It's almost complete, and I want to set up a web-server for our employee's to access …

Member Avatar for cguan_77
0
159
Member Avatar for amitbhanot

Hi I have started doing servlets. I am stuck somewhere. I have installed weblogic server and also configured it. I have also installed the J2EE SDK on my machine. But when I compile my servlet program, it says javax.serlvet.http.* and javax.serlvet.* packages are not found. Please help me out how …

Member Avatar for amitbhanot
0
112
Member Avatar for hoshumaruh

Hi! Is it possible to retrieve XML data and input it to mysql database using JSP? If so, how will I do it? I'm new to java by the way. Thanks in advance to those who will reply!

Member Avatar for peter_budo
0
96
Member Avatar for saisakthi

I am new to java, I need to save a image file from my system to my web application. How to do that in jsp or java? Need help urgently.....

Member Avatar for javaAddict
0
892
Member Avatar for tiksg2000

Hi I have number of checkboxex on my page.I want to insert all the check box values and some associated values for the checkbox selected by user. [code]<% Categories cat = new Categories(); Vector<String[]> v = new Vector<String[]>(); String[] data; v = cat.getPermissions(); Iterator<String[]> i = v.iterator(); while(i.hasNext()){ data = …

1
47
Member Avatar for javanerd21

dear members, now i am developing a login page for my system using jsp. here is my boundary code [CODE]<%@page contentType="text/html"%> <%@page pageEncoding="UTF-8"%> <%@page import="java.util.*" %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head><body> <jsp:useBean id="idHandler" class="DBConnection.Login" scope="request" /> <jsp:setProperty name="idHandler" property="*" /> <% String username = request.getParameter("USERNAME"); …

Member Avatar for javaAddict
0
173
Member Avatar for premashis

please help me ........when i create connection sql with jsp and use javascript for validation control..but when i click submit button there has work only one thing either insert data into database or javascript(when i remove <form action=""...>) i want to do work both ..

Member Avatar for masijade
0
56
Member Avatar for Puster

Hello, yes, I have been seraching on google for it in a hour. How can i set a max height for pcitures that are going to be seen in lightbox? Cheers

Member Avatar for masijade
0
38
Member Avatar for gautampatel151

I was atteched two file with this poll, I m facing problem when <select> attrib value fetching. email.txt Originally file(email.jsp),where i was connection with database & taking E-mail Field in to <select> dynamically,But when i redirect to otherpage this <select> attrib that time (request.getAttri(...))// Is taking Null value... I can't …

Member Avatar for gyannitin
0
100
Member Avatar for babbu

Hi, In JSP for some responses from the server the header is null. Is this because the header size becomes very large? If yes then is there a possibility wherein we can increase the size of the header? What is the maximum possible size limit? I am using JSP and …

Member Avatar for babbu
0
65
Member Avatar for Razultull

Alright well im trying to code a multiplication table for a webpage im making. This needs to be in a separate java Servlet as opposed to an inline javascript. Basically the code should output embedded html code something like [code] <table> <tr><td>4*0=0</td><td>4*1=4</td><td>4*2=8</td></tr> <tr><td>5*0=0</td><td>5*1=5</td><td>5*2=10</td></tr> <tr><td>6*0=0</td><td>6*1=6</td><td>6*2=12</td></tr> </table> [/code] There is an HTML …

Member Avatar for Razultull
0
154
Member Avatar for serena5

I am writing Spring web MVC app whereby the client and the server communicates by sending json messages. On the client I am making asynchronous calls to update textboxes. Could you please let me know if I am using the right syntax? I have hit a brick wall and cannot …

0
62
Member Avatar for nethimadhu

HTTP Status 500 - -------------------------------------------------------------------------------- type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: File "/WEB-INF/struts-html.tld" not found org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:51) org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409) org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:116) org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:160) org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:430) org.apache.jasper.compiler.Parser.parseDirective(Parser.java:499) org.apache.jasper.compiler.Parser.parseElements(Parser.java:1558) org.apache.jasper.compiler.Parser.parse(Parser.java:130) org.apache.jasper.compiler.ParserController.doParse(ParserController.java:245) org.apache.jasper.compiler.ParserController.parse(ParserController.java:101) org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:176) org.apache.jasper.compiler.Compiler.compile(Compiler.java:317) org.apache.jasper.compiler.Compiler.compile(Compiler.java:298) org.apache.jasper.compiler.Compiler.compile(Compiler.java:286) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:565) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:309) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:308) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:259) javax.servlet.http.HttpServlet.service(HttpServlet.java:729) note …

Member Avatar for peter_budo
0
241
Member Avatar for sreekarjcl

HTTP STATUS 500 PLEASE HELP ME description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:372) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) root cause java.lang.NullPointerException org.apache.jsp.janki.bsal_005fsearchresult_jsp._jspService(bsal_005fsearchresult_jsp.java:107) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) note The full stack trace of the root cause is available in the …

Member Avatar for peter_budo
0
122
Member Avatar for nikhilrkn

hey U guys.. I need a jsp code which uses AJAX with dropdowns.. Something like COUNTRY NAME in one dropdown and STATE NAME in the other... You may select any STATE at first.. Later when we CHANGE the COUNTRY NAME, states of that particular COUNTRY WILL GET REFRESHED IN THE …

Member Avatar for nikhilrkn
0
101
Member Avatar for Javagirl2010

Hello, I a student and Java is very new to me. I am trying to multiply 2 numbers together to be displayed in a dialog box but I keep getting the error of "cannot find sysmbol" and I do not know what I am missing in my file to clear …

Member Avatar for javaAddict
0
250
Member Avatar for Mkaveli

Hello I am a beginner in JSP and I wanted to include a Applet from my build/classes with the package chapter8 in my JSP file. What I have at the moment is: [CODE] <jsp:plugin code="MyApplet.class" codebase="../build/classes/chapter8/" type="applet" width="400" height="300"> <jsp:fallback> Cant load Applet </jsp:fallback> </jsp:plugin> [/CODE] Im running it from …

0
68
Member Avatar for swamiprasad

HI ... I m trying to make a form entry with input elements..I have an ADD button on the form besides a SUBMIT button..After the user enters the input fields & presses the ADD button, I want the form data to be displayed on the same form page. When the …

Member Avatar for VijayaKumar.S
0
306
Member Avatar for j.shajid

Dear members, I am displaying table data using displaytag where i define [COLOR="Green"]pagesize=15 [/COLOR] the struts action that i use (along with the appended parameters) is: [COLOR="Green"]showAllTheArticle.action?user.id=1&user.username=admin [/COLOR] the table shows the first 15 record nicely, but when i click on the [COLOR="Green"]next/last[/COLOR] links- the following hyperlink generates: [COLOR="Green"]pages/AllTheArticle.jsp?d-49309-p=2&user.id=1&user.username=admin[/COLOR] - …

0
46
Member Avatar for basilix

Hi... I'm new here! does someone know how can i get a javascript variable from jsp? I've tried some ways but no one works! :icon_sad: please help!

Member Avatar for basilix
0
274
Member Avatar for rohan_tahil

I am hosting a servlet on my Tomcat server.. Have port forwarded and everything but it wont accept connections from a wan address.. i have used port-check sites to verify port and they show it as open.. but my jsp page on the server just cannot be displayed.. is there …

Member Avatar for martin5211
0
121
Member Avatar for daneuchar

i want to use two different css for firefox and chrome but unable to do it.. :( please help !! the code i tried is given below !! [CODE] <script> function css_append(file){ var css = document.createElement('link') css.setAttribute("rel", "stylesheet"); css.setAttribute("type", "text/css"); css.setAttribute("href", file); document.getElementByTagName("head")[0].appendChild(css) } if(navigator.userAgent.indexOf("Firefox") > -1){ alert("Firefox"); css_append('css/default_ff.css'); } …

0
86
Member Avatar for krishna_sun82

Servlet tag and servlet mapping tag are present in the web.xml as shown below [CODE] <servlet> <servlet-name>AbcServlet</servlet-name> <servlet-class>edu.studies.service.AbcServlet</servlet-class> <load-on-startup>0</load-on-startup> </servlet> <servlet-mapping> <servlet-name>AbcServlet</servlet-name> <url-pattern>/abc/*</url-pattern> </servlet-mapping> [/CODE] But it still says The requested resource (Servlet AbcServlet is not available) is not available. What did I miss? Please help.

Member Avatar for ~s.o.s~
0
216
Member Avatar for feoperro

Hi, Does anyone know where I can read about ways to protect a website from potential threats? i.e. SQL Injection, etc. In particular, a website using HTML/JSP/Servlets/Java/Tomcat. Thanks, Ashton.

Member Avatar for peter_budo
0
2K
Member Avatar for kkjava

Hi All, Iam really stuck with this issue.... I have HashMap values like these below [0.76,.0818] from DB i want to display these values in each <TD> in jsp. this is what am trying....... setting HashMap values in arraylist in DAO class and iterating that arraylist into <TD> of Html …

Member Avatar for peter_budo
0
95
Member Avatar for funlove201

hey can someone please help me with this thing? I wanna open a link when someone clicks on a button how can I do that?

Member Avatar for cale.macdonald
0
144
Member Avatar for vasu.bavana

We want to use another java web application into our current java web application, how do we use iframe concept exactly in our java web application?

0
89
Member Avatar for guru_tech

Well i can see lot of career related questions are posted here So i thought i could contribute something for youth. with more than 5 years of Experience in above subjects I have decided to take classes. Location : Mumbai . Subjects: C Java: Java Basic. Advance Java. C#. VB …

Member Avatar for masijade
0
191
Member Avatar for Claude2005

Hi there, Let's say I have this HTML code below... [CODE] <html> <head> <title>Page 1</title> </head> <body> <form method="post" action="page2.jsp> <table> <tr> <td>John Doe</td> <td><input id="name1" name="name" type="submit" value="Edit" /></td> <tr> <tr> <td>Steve Smith</td> <td><input id="name2" name="name" type="submit" value="Edit" /></td> <tr> <tr> <td>Peter Pipper</td> <td><input id="name3" name="name" type="submit" value="Edit" /></td> …

Member Avatar for javaAddict
0
118
Member Avatar for mimsc

any suggestions? <%@ page language="java" %> <%@ page import="trader.webservices.data.LeadDAO" %> <%@ page import="trader.aabacrm.LeadsList" %> <%@ page import="trader.webservices.data.*" %> <%@ page import="trader.webservices.presentation.Lead" %> <%@ page import="trader.webservices.data.UserInfoDAO" %> <%@ page import="trader.webservices.data.UserDataVO" %> <%@ page import="trader.webservices.data.ButtonDAO" %> <%@ page import="trader.webservices.constants.UserConstants" %> <%@ page import="trader.webservices.util.Utils" %> <%@ page import="java.math.*" %> <% RequestDispatcher dispatcher = …

Member Avatar for masijade
0
2K
Member Avatar for himmat.m4

Hi, I am ajax in following concept. In jsp page have 2 div. first div contaion one dropdownlist for selection city onChange event send data to servlet and other div contain another dropdownlist for displaying cities which are come from servlet. Here problem is after selecting city through 1st dropdownlist …

Member Avatar for Airshow
0
164
Member Avatar for jim20

I need to use a rich text editor for my project, What would be the right choice to use that.and also can i get a example on that???

Member Avatar for jim20
0
134
Member Avatar for muthumari

Hi, Using enter key only,How to go to the next page in submit button(without clicking that button(onclick) , using the tabkey).Anyone can u help me..... Thank you

Member Avatar for sravanthi07
0
501
Member Avatar for himmat.m4

Hi, I have following ajax code so here I want to help to edit the code. I have servlet name is SendInfo.java. here feaches destination cities and add into Arraylist according destination city selected by dropdownlist listFrom then that Arraylist send back to displayCity.jsp and displayed in second dorpdownlist listTo. …

Member Avatar for himmat.m4
0
94
Member Avatar for vij123

[CODE]<s:iterator value="listObject"> <s:component template="abc.vm"> <s:param name="text" value="listKey" /> <s:param name="prefix" value="listIndex" /> </s:component> </s:iterator>[/CODE] listKey is keys in a list. i am using iterator to traverse the list. i want to put here internationalization concept.so that when i write key of list then it find its associated values in a …

0
59

The End.