3,747 Topics

Member Avatar for
Member Avatar for vedmack

Hi Im writing a web application nad I have a web page in which an actionListener is being activated after a click on h:commandButton, the problem is that the execution of the actionListener taking to much time... and after a while im getting a timeout from my proxy although the …

0
60
Member Avatar for itzzmeyoyo

Iam not able to pass a value from servlet to jsp using setAttribute and getAttribute. My test code : Test1.jsp ======= [code] <%@ page language="java" contentType="text/html" %> <html> <head><title>Login Example</title></head> <body> Enter Your Text <hr><p> <form name = login action="../servlet/TestServlet1" method=POST> Your Text : <input type=text name=yourText><br> <input type=submit value=LogIn> …

Member Avatar for ~s.o.s~
0
3K
Member Avatar for arunmagar

I have developed web application I m using java beans file to set the values when user login to the system. It set the values of the user. I uses that value in application Whenever the login code calls the beans values are set with new user. The existing login …

Member Avatar for peter_budo
0
63
Member Avatar for blazingwolf7

Hi, I am currently working on building web pages that is suitable to be view and used on the mobile. I had asked around for suggestion on what should I used to build this web pages, and some suggested that I should used JSP. I thought that JSP is not …

Member Avatar for peter_budo
0
85
Member Avatar for dwdish

Hi, my jsp page uses sun.net.smtp.SmtpClient to send email. It worked fine until the hosted location was moved to another server. Now it generates the sun.net.smtp.SmtpProtocolException and the hosting company can't find what's wrong with it so I'm here hoping somebody can help. The hosting company tried sending email from …

Member Avatar for dickersonka
0
201
Member Avatar for dwdish

Hi, I successfully send email with the following code in English. However, if the message and the subject title are in other characters, everything becomes question marks and the subject title says something like ...ANSI...3F=3F=3F... How do I set the character encoding to utf-8, for example? Thanks. I have this …

0
57
Member Avatar for Sirrana

Hey everybody! My task is to implement a simple membership database for a sports club. The index.jsp is my 'welcome file' within I offer input fields, first and last name, a selection for sport and check boxes for payment. The index.jsp looks like this: [ICODE]<%@page contentType="text/html" pageEncoding="UTF-8"%> <?xml version="1.0" encoding="UTF-8" …

Member Avatar for ~s.o.s~
0
100
Member Avatar for arshadshaikh

Actually i need to configure jboss standalone-soa-4.2.0.GA_CP02. And I have 1. JDK 6 (v1.6) 2. Ant (v1.7.1 ) 3. JBoss Application Server 4.2.0.GA or JBoss ESB Server 4.2.0.GA I can run the server by setting path variables. I am stuck ... when i am going to build ant using ant …

0
50
Member Avatar for madhusamala

does the Servlet Container call the destroy() method of a servlet class even if we don't define the destroy() method in Servlet?

Member Avatar for ~s.o.s~
0
66
Member Avatar for thillai

Hi experts, What is plug-in? regarding java, how its is implemented..how can i create my own plug in..can u explain..

0
45
Member Avatar for mlotfi

Hi, I sent two arrayList from an action to a jsp file where I created two list boxes, did some javascript transfer between the two listboxes, I want when I submit I will get the values of each listbox in an action, could you please show me how to do …

Member Avatar for ~s.o.s~
0
93
Member Avatar for britto
Member Avatar for peter_budo
0
72
Member Avatar for britto

i hve used upload bean for uploading files... im using netbeans and while compiling its says javazoom package does not exist... any solutions ??

Member Avatar for britto
0
102
Member Avatar for guravharsha

Currently I am working on one form development using Java. In JSP page I retrieved the data from table using F9 keys i.e for any input field variable available in JSP page, once I pressed the F9 key, all the related data is displayed in the popup window. Once I …

Member Avatar for PoovenM
0
2K
Member Avatar for myjobs.home

Hello everybody!! I am final year MCA student, I want to develope an excellent project, so can anyone suggest me where to get sample project from net? Please reply

Member Avatar for stephen84s
0
36
Member Avatar for shashipkiran

Hello all Can anyone please guide me as to how to migrate an existing j boss EJB application to eclipse??? Regards Shashi

0
62
Member Avatar for chan95

hi everybody i have a problem of using iText for printing an existing pdf files. while reading the API of iText i came across methods where the Document object can be used and pdfWriter and writing pdf files etc. but i couldnt figure out how to print a given pdf …

Member Avatar for peter_budo
0
2K
Member Avatar for Jaima

The code I have written in Servlet is as follows: [code=Java]ArrayList news=admindelegate.getNewsdelegate();//this is defined already request.setAttribute("news",news); rd = request.getRequestDispatcher("ViewNews2.jsp"); rd.forward(request,response);[/code] and my JSP code is: [code=JSP]ArrayList newslist=null; ArrayList newslist=(ArrayList)request.getAttribute("news"); int newscount= newslist.size(); System.out.println("newscount:"+newscount); if(!newslist.isEmpty()) { for(int i=0;i<newscount;i++) { %> <tr> <Td><%=newslist.get(0)%></Td> <Td><%=newslist.get(1)%></Td> </tr> <% } } %>[/code] But this table …

Member Avatar for peter_budo
0
156
Member Avatar for Chaster

Hi, I have a little servlet which does the following: [CODE] package Services; import java.io.*; import java.net.*; import javax.servlet.*; import javax.servlet.http.*; import java.util.Random; public class Service extends HttpServlet{ private String getContinent() { Random random = new Random(); int continent = random.nextInt(6); switch (continent) { case 0: return "EUROPE"; case 1: …

0
49
Member Avatar for d.shankar

Does JSP support for each statement ?? Actually i need to cycle through each post variable like this in ASP for each tempvarname in request.querystring value1 = request.form(tempvarname) pass=pass&value1 next I am unable to do this JSP... Can somebody help ?

Member Avatar for d.shankar
0
167
Member Avatar for tech_bc

Hi, I am new in jsp. And I want to use web rowset in jsp. How can I use it can any one help me? Thanks

Member Avatar for peter_budo
0
73
Member Avatar for samurai83

[code] <tr> <td height="52" colspan="8"> <table border="0" cellspacing="0" cellpadding="0" width="100%" class="rsTable" id=rsTable cols=4> <% if(UserModuleVO!=null){ %> <% for(int i=0;i<UserModuleVO.length;i++) { %> <% if(UserModuleVO[i].getUserSubModule()!=null){ %> <% for(int j=0;j<UserModuleVO[i].getUserSubModule().length;j++) { %> <% if(UserModuleVO[i].getUserSubModule()[j].getUserAction()!=null){ %> <% for(int k=0;k<UserModuleVO[i].getUserSubModule()[j].getUserAction().length;k++) { %> <tr class="form_list_table_contents"> <td><%= getSecDropDownDesc(2,UserModuleVO[i].getLayerModuleID()) %></td> <td><%= getSecDropDownDesc(3,UserModuleVO[i].getUserSubModule()[j].getLayerSubModuleID()) %></td> <td><%= getSecDropDownDesc(4,UserModuleVO[i].getUserSubModule()[j].getUserAction()[k].getLayerActionID()) %></td> </tr> <% …

Member Avatar for stultuske
0
88
Member Avatar for Chaster

Hello. Well, I've been trying to create a a web app, using JSP+JSF technologies. I've completed writing the background classes, and also created a test jsp page: [CODE] <html xmlns="http://www.w3.org/1999/xhtml" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xml:lang="en" lang="en"> <jsp:directive.page contentType="application/xhtml+xml; charset=UTF-8"/> <head> <title>Please log in</title> </head> <body> <f:view> <h:form id="loginform"> <h:outputText value="Something"/> <h:commandButton …

0
49
Member Avatar for Thirusha

My head is telling me that the answer to this question is going to be NO, but hopefully i m wrong. I have a servlet which gets redirected using RequestDispatcher to a jsp page, the jsp page has some html input fields. In the servlet i get the values from …

Member Avatar for Thirusha
0
111
Member Avatar for avsparmar

i am building a web chat application for mobiles. Registration form for new users currently includes username , password , re-enter password and a submit button to send all to a form bean. i am having problem to create a link or a button to send the input of 'username' …

Member Avatar for sbhavan
0
253
Member Avatar for sanwanion

well friends i am new to jsp please suggest me appropiate links to start with... all suggest the way to configure tomcat to run properly..........

Member Avatar for sbhavan
0
79
Member Avatar for mangel.murti

hi i am beginner i am using j2sdkee1.2.1 and jdk1.3 for deploy my servlets. what is cloudscape in it? how i can use cloudscape for my servlets ? can i dynamically create my database table in servlets?

Member Avatar for sbhavan
0
58
Member Avatar for kc8pdr
Member Avatar for shijunair

Hi everyone, I want to retrieve data from database in jsp page based on the particular m_emp_no .I am finding it very difficult so please can you all help me out with the problem. Here is the structure of my database and i am using ms.access [ICODE]m_emp_no m_leavetype m_bal 1004 …

Member Avatar for peter_budo
0
1K
Member Avatar for mowen85

The example code below produces two radio buttons, side by side, i.e. [B]O[/B] Keywords [B]O[/B] All Fields Without specifying a width for the selectOneRadio component (which I don't think is the best solution because of user controllable font sizes, etc), "All Fields" wraps across two lines to become: [B]O[/B] All …

0
53

The End.