3,760 Topics

Member Avatar for
Member Avatar for xxmp

I am making a website but the files are into folder a->b->c/bla.jsp is there any library that is free or a way that i can change the showing url to be more user friendly? Thank you

Member Avatar for xxmp
0
185
Member Avatar for cool_zephyr

how to make a bean application scoped so that it will persist as long as the web application is running??? and how can we access it in our controller?? thank you

Member Avatar for masijade
0
216
Member Avatar for techyworld

hi am developing an application on java using JSF framework. I'm making some changes in my css file,but it's not applying the changes in browser. am using myeclipse spring 10.6 and tomcat 7.0.41. Anyone can help? because yesterday i was working on the same css file, and i was able …

Member Avatar for chandrasekhar1
0
145
Member Avatar for JavNoobie

Hi folks, This is my first post on DaniWeb Im trying to build an enhancement to my web app, by including pagination to diplay the results of a query in the jsp. I ve tried using the diplay tag library to implement the same .Before using the display tag library …

Member Avatar for superman1011010
0
417
Member Avatar for Zababa

Hey there guys :) I need to create a page (HTML) which contains some static content, and an `iframe`. The `iframe` is used to contain an external page, so I am trying to 'inject' the source of the page into the document element of the` iframe`. You would ask me, …

Member Avatar for asmira
0
247
Member Avatar for niki.kabra.31

i have a problem in retriving image from mysqldatabase in jsp that when iretrive the image then only the image is display on the page or browser and all other table or data is not displayed because of the image

Member Avatar for JorgeM
0
31
Member Avatar for silvercats

usually we can get X,Y coordinates in java applications. I want to get the x,y coorsinates of a given flash file in a jsp page usibg java? how can I do it?

Member Avatar for ryantroop
0
167
Member Avatar for techyworld

Hi am working on jsf, am changing the css file, but when i view it in browser, it does not apply the change. Can i know why am having this issue and how can i resolve it?

Member Avatar for masijade
0
125
Member Avatar for cool_zephyr

I have developed a login page which needs to access the database for login information. I have put all the user authentication functions in my DAO class which is a singletone class class DAO { //DAO is a singletone class public boolean authenticateUser(username,password) { //authentication process done here } } …

Member Avatar for cool_zephyr
0
192
Member Avatar for mydreamgirl

Is there a way for JSP to get value from id element in a html? Just like what javascript doing document.getElementById.value

Member Avatar for stultuske
0
2K
Member Avatar for sweety_1

Hi Can anyone please help me.Im new to coding.Sorry i dont have any code to post.I would try to explain my problem in words.can please some one help me. I have a jsp in which i'm populating a table.In that table i have a column for checkboxes for each row.when …

Member Avatar for LastMitch
0
185
Member Avatar for techyworld

hi everyone, anyone can tell me where i can get tutorial to learn JSF framework with java? I am currently using myeclipse for spring.

Member Avatar for DarkLightning7
0
172
Member Avatar for pradap.adwani

For me getting same result (all the text box are null value is filled) after move the textboxes after calling request.getParameter() also... What i need to change it? Where i need to edit? # **First Jsp Page** # <%@ page import="java.sql.*" %> <% Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");%> <HTML> <HEAD> <TITLE>Fetching Data From a …

Member Avatar for peter_budo
0
2K
Member Avatar for faysal515

I am working on a dynamic project for my own but struggling to create an article. The idea is that one registered user can publish an article with an image . <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql" %> <!DOCTYPE html PUBLIC …

Member Avatar for Deepak_11
0
1K
Member Avatar for xxmp

Hello When i am trying to build the apache-james-2.3.2 i have this problem Buildfile: build.xml /Users/xxmp/Desktop/James%20Project/apache-james-2.3.2/check-targets.ent could not be found setup-dependencies: javamail-check: activation-check: check-dependencies: prepare-common: Preparing code prepare-phoenix: Phoenix distribution present - adjusting linefeeds and permissions, copying files prepare-mxinfo: Writing Info descriptors as legacy xml. prepare-metainf: prepare: compile-main: Compiling James …

Member Avatar for xxmp
0
160
Member Avatar for Rasika Gonekar /

How to forward data to jsp from Servlet multiple times using request dispatcher. I have tried with timer in servlet with request dispatcher to forward updated data from databases to jsp page to display result. i laso tried with page refreshing with single jsp page

Member Avatar for cool_zephyr
0
128
Member Avatar for cool_zephyr

Hello everyone..i'm trying to use spring to develop a website..but I am stuck with this snippet..what is the difference between @RequestMapping(value="/addBook",method=RequestMethod.GET) public ModelAndView Login() { ModelAndView model=new ModelAndView("addBook"); return model; } and this @RequestMapping(value="/addBook",method=RequestMethod.GET) public String Login() { return "addBook" } I'm really confused with this..don't both of them do …

Member Avatar for LastMitch
0
197
Member Avatar for titusnainggolan

Hi, Guys! Actually I want to ask about servlet and ajax. Sorry if I post in wrong room, I have search the room that suitable for my question, but the most suitable is here. I'm developing a push notification for web using servlet + ajax. I have done an tutorial …

Member Avatar for titusnainggolan
0
1K
Member Avatar for andi-dev

the jsp cmlode and html <script type="text/javascript" src="http://code.jquery.com/jquery-1.9.1.js"></script>This must be paste in head <a href="#" id="toggle-example2" class="button"></a> <div class="example2"> <p>Una novità nei prodotti speciali! La nostra IP Plus aumenta il numero di ottano, passando da 98 a 100 e dando così vita ad un nuovo prodotto altamente performante: plus 100. …

Member Avatar for andi-dev
0
708
Member Avatar for pmark019

I have a JSP with a button. This button is disabled. How can I make the JSP keep on reloading until isCheck becomes true and it will make the button enabled? Here is my javascript: var usbAvailable = <%=CheckUSB.getInstance().getStatus()%>; function confirmSound(){ HyPAS.Sound.confirm(); HyPAS.LED.on(); location.href='ScanJobServlet' } function checkUSB(){ <%response.setHeader("Cache-Control","no-cache");%> if(usbAvailable==false) { …

Member Avatar for asmira
-1
2K
Member Avatar for xxmp

When the user finish with the order and pay then i want to create a pdf with the order receipt with email. How i can create this pdf online and sent it to the user? Thank you very much

Member Avatar for peter_budo
0
280
Member Avatar for patk570

Hey guys, I am new to programming and doing everything on my own here. I have a website that I am working on, and i want to add things to a list that is on the side of the search page, and then i want to have it be able …

Member Avatar for patk570
0
165
Member Avatar for karthikmanda

# my html page # <form action="file_insert.jsp" method="get" name="ff" onsubmit="return validation()" > <tr> <td height="50" colspan="2" align="center"><font color="#CC0033"><strong><font color="#663366"><em><font size="4">Fileupload </font> </em> </font></strong></font></td> </tr> <tr> <td width="117" height="36"><font color="#FFFFFF"><em><font color="#663333"><strong><font color="#400040">Filename:</font></strong></font></em></font></td> <td width="219"><input type="text" name="fn" class="a" /></td> </tr> <tr> <td height="43"><em><font color="#663333"><strong><font color="#400040">File id:</font></strong></font></em></td> <td width="219"> <input type="text" class="a" name="fid" …

Member Avatar for LastMitch
0
270
Member Avatar for pmark019

I have a JSP file and I want to get the value of the input text and send it to a java class. How can I do it? <form name="boxSettingForm" action="/ScanToBox/ScanJobServlet" method="post" > <div style="height: 417px; width: 790px; background-color: #ffffff; margin-left: 0px; margin-top: 0px;"> <div style="height: 116px; "> <br><input id="boxName" …

Member Avatar for stultuske
0
521
Member Avatar for Devendra1

Hi, I am deploying struts 2 application on JBOSS 5.0.1, war has been successfully deploying, but throwing below exception when I am starting JBOSS. 10:21:11,991 ERROR [AbstractKernelController] Error installing to Real: name=vfsfile:/E:/jboss-5.0.1.GA/server/default/conf/jboss-service.xml state=PreReal mode=Manual requiredState=Real org.jboss.deployers.spi.DeploymentException: Error deploying: jboss:service=WebService Console log is below for your reference: 10:21:01,757 INFO [ServerImpl] Starting …

Member Avatar for afterU
0
4K
Member Avatar for bipi09

Can some one teach me how to change **getContent()** from **journal article xml to html**. **Here my code** <% JournalArticle art = JournalArticleLocalServiceUtil.getArticle(journalrow.getGroupId(), journalrow.getArticleId()); String contentXML = ""; contentXML = art.getContent(); %> <tr> <td class="title"><A href="<%=articleURL.toString()%>" onclick="window.open(this.href,'popupwindow', 'width=800,height=600,scrollbars,resizable'); return false;"><%=journalrow.getTitleCurrentValue() %></A></td> </tr> <tr> <td><a class="date"><%= dateFormat.format(journalrow.getModifiedDate()) %></a> - <a class="content"><%= …

Member Avatar for LastMitch
0
141
Member Avatar for bamboocha

Hi to all, I want to create a jsp page where user will insert in second combo box his choice and then based on his selection, in the third combo box there will be only choices that are connected with choice from second combo-box. here is the code: <%@ page …

Member Avatar for LastMitch
0
237
Member Avatar for xxmp

Hello I have a form that a user insert some input form accept-charset='UTF-8' action="addcommentcheck.jsp" method="post" id="addcommentid"> ... </form> and at addcommentcheck.jsp i do request.setCharacterEncoding("UTF-8"); But when i try to insert it to database the only thing that i insert is ????? When i show to the user the input i …

Member Avatar for xxmp
0
217
Member Avatar for legendaddybok

<%@ page import = "java.util.*"%> <%@ page import = "java.lang.*"%> <%@ page import="java.sql.*" %> <%@ page language="java" import="java.sql.*" errorPage="" %> <!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>JSP Page</title> </head> <body> <% String ans=" "; if(request.getParameter("correctAns")!=null) { ans=request.getParameter("correctAns").toString(); } Connection conn = null; …

Member Avatar for stultuske
0
900
Member Avatar for xxmp

Hello I want to sent mail and i am using this code public boolean sendEmail(String from, String to, String subject, String themessage){ boolean success=false; // Assuming you are sending email from localhost String host = "localhost"; // Get system properties object Properties properties = System.getProperties(); // Setup mail server properties.setProperty("mail.smtp.host", …

Member Avatar for jalpesh_007
0
157

The End.