Redisplaying the vale in textbox

438 byte By subrato_001a at 2007-11-27 9:57:10
Hai all, i have a application where i am updating the user data, in user lastname and firstname field it is displaying the user name in a text box in editable mode, these are required fields. if the user deletes the name and left it blank it is displaying proper error message. But i want if the ...

Servlet run in tomcat server 5.5

276 byte By selvam_suresha at 2007-11-27 9:57:31
Hello I am new in developing the struts project.Any one help for my questtionMy question is?I have develop the struts project in struts using eclipse and I have uploaded the files into the server.The Servlet file not workingThanks in advance

Stateful Session Bean Initialization (EJB 3.0)

268 byte By albertthea at 2007-11-27 9:57:35
Hi all!In EJB 2.1 the initialization was with create (args) methods. NOw, how is it exploited? Create methods are no more there and there must be a way to send parameters to the stateful session bean when it is newly created...isn't it?Thank you!

Netbean and JBoss

576 byte By vkjsfa at 2007-11-27 9:57:37
I am using Netbeans 5.5 for a web project (with JSF, MySql server) it's working fine, now copied all the files from "build/web" directory and I've added the code: <listener><listener-class>com.sun.faces.config.ConfigureListener</listener-class></listener>in web.xml ...

javamail

673 byte By abhinay_31a at 2007-11-27 9:57:46
hi i am facing one problem related the javamail actully i have using one javamail simple class but the thing is that that class is taking 4 parameter from,to,sub,mess so this class i am calling from my servlet handler so in servlet handler i have created the object of this class and passing 4 ...

Session handling, Session still invalidated when trying to log in

1187 byte By ricarlssona at 2007-11-27 9:57:50
I have an application using form based security with JSF on SJAS.Loggin in the first time works fine and I log out the user with:<%session.invalidate();session = request.getSession(true);response.sendRedirect("main.faces");return;%>Which redirects him to the log in page again, which is ...

Data Table how to perform logical calculation of a column value

570 byte By prat_deva at 2007-11-27 9:57:52
Hi All,I'm new to JSF & trying to build a portlet wherein.I have a requirement where i to display a graphic ( tick or error) into one of the column's of a data table depending upon an attribute of the bean class.The problem is that with the any other column i have to simply bind the ...

Eclipse 3.1.2 Bundle JBoss-IDE1.6 - Java Build Path issue

179 byte By Gonewiththewinda at 2007-11-27 9:58:05
I set test/WEB-INF/classes as project output folder , why I can not find "WEB-INF/classes" in Eclipse "Package Explorer'. is it normal or issue?Thanks ahead!

Servlet file not run in my server

805 byte By selvam_suresha at 2007-11-27 9:58:11
Recently I deployed some new servlets into my Tomcat 5.5server I move the new class files (servlet files) into the correct directory (WEB-INF/classes/<my dir>) and also jar filesin the directory (WEB-INF/classes/lib) I also edit the web.xml file in WEB-INF to reflect the new servletsI ...

Eclipse 3.1.2 Bundle JBoss-IDE1.6 - ECLIPSE_HOME issue

305 byte By Gonewiththewinda at 2007-11-27 9:58:17
Eclipse 3.1.2 Bundle JBoss-IDE1.6 - Java Build Path issueWhen added ECLIPSE_HOME to JAVA BUILD PATH "Libraries", I got following message:Required library cannot denote external folder: 'E:\Friends\eclipse' for project mobilefish_demoIs it really need to add ...

Eclipse 3.1.2 Bundle JBoss-IDE1.6 - DEBUG web application

174 byte By Gonewiththewinda at 2007-11-27 9:58:18
Can someone tell me the steps to debug the web application in ECLIPSE?Is only can do after setup the package and deployment configuration or not? Thanks!

Design Question - Backing Beans, Business Beans

1558 byte By Bhishmaa at 2007-11-27 9:58:27
Hello All, I am creating a web app with only POJO's. Now before I get too far into the design wanted to confirm with you if I'm doing the right thing.The layers integrate as follows:Web Tier (JSF, JSP pages + Backing beans) --> Business object Managers (BOMs) --> Business Objects.So the ...

What's the best way to define some values based on the URL?

687 byte By d11wtqa at 2007-11-27 9:58:42
Let's say for example I want all my URLs for servlets to take the form: http://mysite.com/module/action?argumentsWhat's the most scalable way to handle mapping the values in place of "module" and "action"? For example, I might have a "forum" module and have an action to "deleteThread", called ...

JSF context not found...

2210 byte By xyzta at 2007-11-27 9:58:59
I created a web application with Java Server Faces framework selected in Netbeans.IDE gives two pages at first. one is index.jsp and other is welcomeJSF.jsp. When I cut some jsf related code from welcomeJSF.jsp page and paste it into index.jsp and run the applicationI get this ...

Java Scripting variables vs EL Variables..

116 byte By Shebua at 2007-11-27 9:59:20
Hi..Can any one explain me what is the difference between Java scripting variables and EL variables..?

Show HashMap in Datatable. UIColumn with embedded Datatable. Help Needed

8360 byte By whitesox12a at 2007-11-27 9:59:31
Hi,I am trying to display a HashMap in a datatable where the values for each key is an ArrayList e.g.ArrayList al = new ArrayList();al.add("AA");al.add("BB");al.add("CC");HashMap hm = new HashMap();hm.put("ONE", al);ArrayList al2 = new ...

JSF navigation problem

2403 byte By xyzta at 2007-11-27 9:59:34
My faces-config.xml is like ...

Urgent ! HyperLink in JSP

559 byte By khan_vu2007a at 2007-11-27 9:59:35
Dear fellows,What i want to do is for example :I have following JSP page which look like FormIDDepartmentID ViewDetails***********************************************cs101dcs viewdetails (this is hyperlink)and FormID and DepartmentID are fatched from database what i want to is when is click ...

using HttpSessionListener

1597 byte By xyzta at 2007-11-27 9:59:46
Hello,I added a listener to web.xml<listener><listener-class>milagesoft.SessionListener</listener-class></listener>and created a class which implements HttpSessionListenerpackage milagesoft;import javax.servlet.http.HttpSessionEvent;import ...

Calling a method in backing bean whenever a page is loaded/reloaded

412 byte By ricarlssona at 2007-11-27 9:59:56
Hi,What is the best way to call a certain method in a backing bean whenever the jsp page is reloaded?I have a managed bean that provides the data for a form and the bean gets it's data from a SQL DB. I want the bean to reload the data from the DB when and only when the page is loaded or ...

2 xml signatures in one xml document

133 byte By Ahmad_Khana at 2007-11-27 10:00:11
How can I sign a single xml document with 2 signatures and be able to verify both signatures as well.ThanksAhmad

Best way to dynamically load an action controller?

5265 byte By d11wtqa at 2007-11-27 10:00:18
Say all requests go through a front controller. The front controller delegates that request to a particular action controller. The name of the controller, and the name of the action comes from the URL. What's the cleanest way to get an instance of the action controller based on its name, then ...

JSF Navigation with URL rewrite

907 byte By ricarlssona at 2007-11-27 10:00:23
Hi,The page that I'm developing needs to be able to manage session without using cookies. Therefore I'm using response.encodeURL() for all links.However I don't know how to keep the sessions when submitting forms using commandbuttons that trigger backing bean functions.E.gI have a ...

we are using this code for deleting messege but not working ,

878 byte By AnkitBansala at 2007-11-27 10:00:41
it is only wokring when i only assign value to sub1 variableassign<html> <body><%@ page language="java" import="java.sql.*" %><%String[] list=request.getParameterValues("list");// String list=request.getParameter("list");int i;String ...

SOAP in Servlet

346 byte By ticanoa at 2007-11-27 10:00:46
Hello.I have a problem in Servlet for responding for a request.I think I succeeded getting the soap request in my servlet.And I'm stuck in sending my soap response back.Is there anybody tell me exactly how to send my javax.xml.soap.SOAPMessage instance through HttpServletResopnse?Please help ...

apache problem

3480 byte By paulchwda at 2007-11-27 10:01:02
Hello All,When i submit the HTML file (to connection/SetConnection) I get an exception report from apache my context path is: connectionproject: connectionpackage: connectionI have included the report below and my web.xml file, i am using NetBeans IDE to deployHTTP Status 500 -type Exception ...

Removing JAva Support

1418 byte By Rockdralaa at 2007-11-27 10:01:04
As of July 8th 2008 Area 51 IT Solutions will no longer be supporting Java technologies. Sun Microsystems has failed to keep integrating Java technologies up to date on Windows Servers and make the integration process on the fly. Its pretty bad when a server admin has to uninstall the latest ...

JMS connection

112 byte By viciouslybluea at 2007-11-27 10:01:13
is is possible to have 2 connections to 2 different subscribers with 2 different topics at the same time?

Statefull Session EJB(2.1)朇lient Crashed朒ow to rollback the transaction?

1324 byte By nag1610a at 2007-11-27 10:01:17
I wish to begin a transaction (JTA) in one method of a statefull BMP EJB, call multiple methods from multiple client calls (which could even be JSPs/Servlets initiated by the user from his browser in a session), all the methods are in same transaction and would process the client input in the ...

Confused with JSF.

490 byte By Wheelerz05a at 2007-11-27 10:01:25
Hi all,I'm currently working on a school project that uses net beans 5.5.1 IDE Java Server Faces to develop it. I am pretty new in this area, thus I find it difficult to understand the codes. I am starting on a login page and right now I am stumped at the codings section for the login_button. ...

Sending UTF-8 + HTML messages.

1223 byte By jimfixera at 2007-11-27 10:01:34
Hi all,I'm working on sending Turkish email to our customers, notify them that they need to activate their account before using our product. Email should contain a link that customers will click on, and it should be in Turkish. I store all messages in .properties file. MimeMessage message = ...

Please help me in doing this

3570 byte By ravishankera at 2007-11-27 10:01:44
[nobr]hi, I'm new for the JSP and got struck at this point . I have a JSP page wherein it consists of a table and the servlet that retrieves the data from the DB(MY SQL). Now i need to fill the contents of the table as mentioned below. First 5 rows must get printed then upon clicking the next ...

ResultSet Close

793 byte By SwapnaliDashratha at 2007-11-27 10:01:46
Hi friends !!!i am facing some problems Continuously , Log entry of that error is asfollows and after that server gets stop .java.sql.SQLException: ResultSet is closedat sun.jdbc.odbc.JdbcOdbcResultSet.checkOpen(Unknown Source)at sun.jdbc.odbc.JdbcOdbcResultSet.clearWarnings(Unknown Source)at ...

please reply its urgent

870 byte By AnkitBansala at 2007-11-27 10:02:08
it is only wokring when i only assign value to sub1 variableassign<html><body><%@ page language="java" import="java.sql.*" %><%String[] list=request.getParameterValues("list");// String list=request.getParameter("list");int i;String ...

request.getParameter("j_username") gets null?

2431 byte By senthil_yogaa at 2007-11-27 10:02:23
Hello,I am using j_security_check feature to make login page.my Login page is : <html><head><title>Login Page</title></head><body bgcolor="white"><h2> <center> Custom Login Page </center></h2><hr width='90%' ...

Varying column width in a JSF panel grid

117 byte By Victor_Mukha at 2007-11-27 10:02:28
Hi, I need columns of varying width in a JSF panelgrid. Please advice.Rgds, Victor

getQueryString in JSP/JSTL

466 byte By Sharifa at 2007-11-27 10:02:30
Dear Friends,Please help how to get the query string of the url ( such as that getQueryString() of the Servlet) in JSP/JSTL.I would like to get the query String for the below URL http://localhost:8282/MyJSP/index.jsp?locale=en_US then I attach at the end of the below <a href ...> ...

Serious javamail problem? socketRead0

1104 byte By Andremona at 2007-11-27 10:02:44
Let's imagine such experiment:1. we have java-program, which receives mail from some POP3 server.this program simple uses something like this:....msgs = folder.getMessages(1,1);folder.fetch(msgs, fp);....2. Let's imagine, that our test POP3 server has bug: in some moment, when our ...

Character encoding issue

510 byte By RajeevSahu_Sahua at 2007-11-27 10:02:57
I'm using the below give code to send mail in Trukish language.MimeMessage msg = new MimeMessage(session);msg.setText(message, "utf-8", "html");msg.setFrom(new InternetAddress(from));Transport.send(msg);But my customer says that he gets sometime unreadable characters in mail. I'm not able to ...

how to get successful delivery of mail.

330 byte By RajeevSahu_Sahua at 2007-11-27 10:03:04
I use to log all outgoing mails in a table and this code executes after successfull execution of Transport.send().Some time some of my customers complain that they are not receiving mails while we have logs in our table. Is there any way to get it confirmed that mail has been sent successfully ...

how to set up https connection

282 byte By jposthuma at 2007-11-27 10:03:11
Hi,In my web J2EE application I want to set up a https connection for secure payments. I was wondering if I need to configure this in my tomcat configuration somewhere of in my servlet. Can someone tell me what to do? I am using tomcat 6.0.10Thanks,Jarno

Any body help me

440 byte By Eng_Mohamed_Shahena at 2007-11-27 10:03:37
this error is shown first loading the page please help mejavax.servlet.ServletException: Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not foundorg.apache.jasper.servlet.JspServlet.service(JspServlet.java:272)javax.servlet.http.HttpServlet.service(HttpServlet.java:802)when i make ...

Struts validation

1535 byte By suse69a at 2007-11-27 10:03:53
I'm try to validate a form using struts Form with Validator, I want to validate the no input & maxlength. I've setup the configs but when I test the form it only shows "Validation Error(s), UserName is required."even if I've put a username.. why?part code:form jsp<html:javascript ...

Nested DataTable Problems

1776 byte By __Vadima at 2007-11-27 10:04:02
Hello, I have a strange problem displaying my nested JSF DataTable. From the docs I saw that this should work but strangly it doesn't.I would like to display a DataTable inside, (nested) an another.<h:dataTable var="doc" value="#{docs}" ...

Rounding issue with BigDecimal and JSP

357 byte By richardgundersena at 2007-11-27 10:04:09
HiIn my Java I have two BigDecimals that I pass to a JSP. THey both have a scale of 2, so I have x = 5.52 and y =1.22When I add them up in the JSP, the decimal places are lost e.g. <c:out value="${ x + y)"/>I get 6, instead of 6.74Please can someone tell my why I get this rounding ...

JSP Forum

116 byte By dy-xa at 2007-11-27 10:04:17
May I know how to create a forum using JSP?Any resources can provide a guide on that?Thank you.

Netbeans Web Service GUI

864 byte By sabatiera at 2007-11-27 10:04:21
Hi everyone, I'd really appreciate any help on this matter. I'm trying to build a GUI for a web service. I want the GUI to accept input from the user which is converted to a soap request which is then sent to a server to be processed, and a response is sent back. I want to format the response ...

http error 404 when run apllication

136 byte By NikisinProblema at 2007-11-27 10:04:24
i am using tomcat 6.0 am getting http 404 error this i my 1 web application. i have checked all web.xml server.xmlplz help

Reset JSF session and the managed beans with sesison scope

851 byte By kurtu2a at 2007-11-27 10:04:33
Hi, this is a very general question and maybe stupid for most of you. I have my jsf/facelets web application and i use inside of this application some managed beans, which are session beans. I want to know how is it possible to reset this beans. I'm asking this question beacuse i have this ...

IS Component binding is not refreshed In JSF?

310 byte By Gunjan-Bohraa at 2007-11-27 10:04:35
Hi AllCan any body tell how can I refresh component bind in dataTable ....I want to call binding method should be called every time ,once page callsI want to recall component binding method every time as component is being rendered .With Thanks and RegardsGunjan ...