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 ...

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 ...

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 ...

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. ...

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 ...> ...

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.

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 ...

Tagging Keywords

186 byte By kmathewma at 2007-11-27 10:04:36
folks, I have a requirement to display a content with keyword tagging, Please let me know how to do this. It will be helpful if there is any examples.thanksKM

XML web pages

368 byte By ashish_Daffodil_Softwarea at 2007-11-27 10:04:39
Dear All,How come the URL ( http://www.sun.com/training/index.xml) contains the page extention as xml instead of html, jsp, php ... etc? and the web browser open the xml page like other normal web pages.However, when i try to open any xml page in web browser it opens it as xml tags instead of ...

JSF and JPA in a non appserver environment

298 byte By jmutonhoa at 2007-11-27 10:04:57
Any examples on best practices for writing JSF applications that use JPA for persistence where the target platform is a non-appserver environment such as Tomcat , and not a full on J2EE appserver ? What sort of strategies do you use to acquire and use the same instance of the

proper webapp deployment to www

756 byte By Aharona at 2007-11-27 10:05:01
HiI have just made a simple java web app which I am trying painstakingly to deploy on my server.In order for my war file to deploy properly I put it in the webapps dir of the tomcat server. However I wanted it to be ussable from my website, not just from http://myserverIP:tomcatPort/myapp.So to ...

Multiple file upload using Core java

173 byte By AruruCodingScreena at 2007-11-27 10:05:15
HI AllCan anybody send the multiple fileupload code in Core java.I need very urgent plz send me to this mail id kiran_aruru@yahoo.co.inThanks in advance

Multiple file upload using Core java

173 byte By AruruCodingScreena at 2007-11-27 10:05:27
HI AllCan anybody send the multiple fileupload code in Core java.I need very urgent plz send me to this mail id kiran_aruru@yahoo.co.inThanks in advance

jstl drop down B depends on drop down A

1006 byte By pompeighuIIa at 2007-11-27 10:05:31
How do i do to populate a second Drop down which depends on the value i selected from a previous drop down list?So far the way i populate a single drop down list is like this.. Before loading the page i put in my httpSession a List with the data i will populate.. and when i select i put the ...

Date Issues

138 byte By Abbey81a at 2007-11-27 10:05:32
Making the date gotten from user through request.getParameter() method of httpServletRequest the value of Date object in a Servlet.

Losing Session Information When Applet Makes Call To Servlet

2245 byte By stricksa at 2007-11-27 10:05:36
Hello, I had a similar problem a while ago with just different frames, but I fixed that by just adding response.encodeURL() to all my links. The following code is in a jsp file that makes a call to a javascript function when the user clicks a form submission button....onSubmit="return ...

how to read contents of faces-config.xml

603 byte By sivasaia at 2007-11-27 10:05:40
my config file having ...

Access images outside of tomcat

414 byte By morningJavaa at 2007-11-27 10:05:47
Hi,Is it possible to have a servlet access image files from a cd or external hard drive? I keep most photos within the webapp but due to size limitations some of the photos need to be moved to external media. I wan't to be able to read and report from either a DVD or an external hard drive but ...

Building a JSF component question

942 byte By Troubya at 2007-11-27 10:05:54
Hey,I am trying to build two JSF components,XMLManager and XMLTagThe idea is to have a composite JSF component(XMLManager) that binds an XML fileand XMLTag component that extends the standard 'HtmlInputText' to hold a certain XML tag of its parent XMLManager's XML file.since XMLManager is ...

How to make a Row Bold

1440 byte By Sowja at 2007-11-27 10:06:00
Hi every one,I am retrieving the data from the database in a list and displaying it in the home page using iterator. Here is my code<logic:iterate id="user" name="list"> <% even = !even; %> <tr> <td class="trbgdark"><a href="Project_Page.do"> <bean:write ...

Passing parameters in URL

897 byte By ricarlssona at 2007-11-27 10:06:28
Hi,I'm having a lot of trouble with passing get parameters in through the url using JSF.I have links generated in a dataTable:<h:outputLink value="showObject.faces"> <h:outputText value="#{object.description}"/> <f:param name="objid" ...

Store clicks of button from a jsp button

244 byte By ryano19a at 2007-11-27 10:06:54
I am trying to store the amount of click events of a button from a jsp page. Each time the button is clicked, the number should be stored in a method.Would anyone know how to solve this problem?Thanks in advance,ryan