separator in table

450 byte By naekoa at 2007-11-27 10:13:37
hi,anyone know how to realize a horizontal line in a <h:dataTable>?i would like to have after each row a separator:A1.1 A2.1 A3.1--A2.1 A2.2 A2.3--A3.1 A3.2 A3.3and so on...........i included in every row a style:border-bottom, but i have some spaces between each elements:A1.1 A2.1 A3.1 - --A2.1 ...

question about faces and the URL

437 byte By RicardoMa at 2007-11-27 10:13:38
HiI have been working one month now with faces and one thing thing that bugs me is how faces handles URL.I use commandLinks,commandButton's and outputLinks and the url is always something.jsp#. This could be good in one web application, but if I wanna develop an website \ portal, some parameters ...

How can i download com.oreilly package?

308 byte By ksenthilkumara at 2007-11-27 10:13:44
Hi,I want download com.oreilly package.And I find out the URL www.servlets.com/cos/index.html . this url not working in my system. this site showing internal server error.So, i want another web site.Please help me to give the URL.advance ...

About Favicon image

777 byte By shail@123a at 2007-11-27 10:13:57
Hi to all, I have a topic for all users here...as i mention in subject favicon image. Favicon image is a little image which appears just before URL in the address bar.i have a problem in that when i am using IE7 and run my code from my local machine it appears but same thing is not appearing at the ...

ho w to check username availability in jsp

491 byte By manu_ama at 2007-11-27 10:14:02
Hi friends, I am doing a project in which there is a registration form where i have to check username availabitlity. When i click on the availability button the result should be displayed indicating whether it is available or not.I have created it using ajax technique. But i want to know how it ...

Want to Stop Text Wrap Around Problem in Table Cells

3194 byte By jiapei_jena at 2007-11-27 10:14:03
I display a table inside a <div> because I want to show scrollbars. However, I have wrapped around text inside table cells although I provide enough width to each column and used white-space:nowrap; overflow-x:scroll. How do I make all text in each table cell displayed in one single ...

I want store JMS queue in oracle database..

133 byte By Thilsena at 2007-11-27 10:14:12
<p>Hi all,</p><p>I want store JMS queue in oracle database..</p><p>How can i configure my jboss 3.0.1</p><p>Thanks,</p><p>Thilsen</p>

HTML component sources from RI

369 byte By RaymondDeCampoa at 2007-11-27 10:14:13
I noticed the source code for the classes in package javax.faces.component.html appear to be missing from jsf-1.2_04-b10-p01-src.zip. That is, the directory jsf-1.2_04-b10-p01-src.zip!javaserverfaces_sources/jsf-api/src/javax/faces/component/html contains only the package.html file.Is there a ...

How to send existing email html including images

503 byte By Nanakoa at 2007-11-27 10:14:19
I used the JasperReport to generate a report in html formats.The html page(containg the data) has a lot of images.I need to send the html report by emails with the images saved in local drive. So I used MineMulitipart way, but in existing ways the html part is just a few lines, you can define ...

how to embed mulitple components in single table column

426 byte By vijay_foruma at 2007-11-27 10:14:27
Hi,I have a requirement where i need to put multiple components under one table column(ie. under one cell).Like I have a single table column and i want to put 5 combo boxes (drop downs) under one column. These five dropdown should be populated against one record (primary key) and table may have ...

Need advice for dispalying multiple rows with datatable.

988 byte By Aurora_Greena at 2007-11-27 10:14:53
Hi All,We have to design a conference booking search form which contains nX48 table.n -> indicates the conference rooms and 48 are the time slots(30 mins gap).While booking a conference room user enteres from time and to-time and from and to dates.In our search form, user searches with in the range ...

file.lastModified() not working in MAC OS

946 byte By thanua at 2007-11-27 10:14:58
Hi all, Iam trying to get the lastmodified time of a file using this File newFile=new File(uploadFilePath); //uploadFilePath has the path of the file.String newFile_Name=newFile.getName();long lastmodified=newFile.lastModified();The above is working in windows but not in MAC. in MAC i get the ...

Hibernate + Spring : Strange Behavior

2326 byte By Aurora_Greena at 2007-11-27 10:15:07
Hi, I am using a method in DAO which is of the following format: public getAllCategories(){ return getHibernateTemplate().find(" from CategoryMaster "); } and it is returning a list of POJOs to the serviceClass that called this method. Till here its fine. Spring Mapping: - THe DAO is enclosed in ...

dropdown-ajax

516 byte By Greeshma12a at 2007-11-27 10:16:00
Hello All,I have a requirement such that based on a selection within the first drop down field, a second select field should be populated.I'm thinking of using AJAX for this. I'm clear about how to send the request to the server, I have a Database call from my action class that returns a list, ...

I want to display a jsf page directly.

232 byte By prasanna_321a at 2007-11-27 10:16:37
<p>I want to display a jsf page directly. In my project I am using jsf frame work and we are using org.apache.myfaces.component.html.util.ExtensionsFilter to redirect the request to the login.jsf. please any one help me on this.</p>

Render HTML markup from database using Struts tag

281 byte By jini4javaa at 2007-11-27 10:16:39
<p>Hi all,</p><p>The situation is, I have specific database fields which hold html markup elements. I am accessing them using struts framework and tlds. Could anybody tell me how would I render the html markup from those bean properties?</p><p>I appreciate your help.</p><p>Ta.</p>

null RequestDispatcher

1110 byte By luiguisfa at 2007-11-27 10:16:43
I have a jsp error page to handle exceptions when a exception occurs inside a servlet, I'm running my servlet in Oracle Apllication Server 10g and all runs fine, but when we decided to change the application server to SJSAS 9 I get a null RequestDispatcher when I'm trying to redirect to the error ...

java.lang.NoClassDefFoundError: org/apache/commons/digester/Digester

2585 byte By enbya at 2007-11-27 10:16:44
Hi Everyone, I'm new using JasperReports, and I'm trying to generate a simple pdf report with the following Java code:JasperReportsIntro.java// JasperReports *********************import net.sf.jasperreports.engine.JREmptyDataSource;import net.sf.jasperreports.engine.JasperCompileManager;import ...

Subtracting time values within a string in xsl

776 byte By paulnc8a at 2007-11-27 10:16:59
Hey, I am trying to subtract an initial time value from consecutive time values using xsl in order to produce a delta value. The problem is that the way the program creating the files stores the data, it also has the date, etc. as a string. Any ideas on how I can accomplish this? An example of the ...

SelectOneMenu rendering SelectItems List twice

1427 byte By Robbio123a at 2007-11-27 10:17:12
Hi All,I have a bit of a problem I have not been able to track down. I have a JSP that sometimes duplcates my list data in a SelectOneMenu and sometimes the data is only listed once...ie: the list might have selectItem entry values of { All, None } and sometimes {All, None, All, None }. The ...

image path...

396 byte By xyzta at 2007-11-27 10:17:20
HelloI want to show image on my JSFpage in the "customer" folder.I added this line:<h:graphicImage value="../img/header.jpg"/>But it doesn't show the image. My project folders are:-Web pages>WEB-INF>img>customer>discountWhat should be the correct image path? Will the path include "faces" ...

PersistentObjectException: detached entity passed to persist

2671 byte By jmutonhoa at 2007-11-27 10:17:23
I'm trying to do a simple persisting of an object into a MySQL database , with the following code:public static void main(String[] args){ EntityManager em=JPAUtility.getEntityManager(); List existing = JPAUtility.getEntityManager().createQuery("select u from UserBean u where u.userName='foo' and ...

scope and context.. ?

160 byte By Shebua at 2007-11-27 10:17:27
<p>Hi...</p><p>Can any one clarify me whats the difference between a context and a scope ?</p><p>Ex. whats is difference between pageCOntext and pageScope ?</p>

Jakarta Tomcat 3.2.4

278 byte By muditvaidyaa at 2007-11-27 10:17:34
<p>Hi,</p><p>I am using Jakarta-Tomcat-3.2.4. The server was working fine but then today when i tried to open the startup.bat file , it is'nt working. The window opens for a second and then disappears ? What can be the cause and how to solve this ?</p><p>Thanx in advance .</p>

Scriptlets in Classic Tags ?

101 byte By Shebua at 2007-11-27 10:17:40
<p>hi...</p><p>can any one tell me that...</p><p>Can classic tags have scriptlets in their body ?</p>

TagExtraInfo and custom variable name

2806 byte By toon_macharisa at 2007-11-27 10:18:23
I want to define the name of a variable of a Custom Tag in a JSP file as in<tld:customtag name="customName"><jsp:getProperty name="customName" property="message"></tld:customtag>The custom tag looks aspublic class CustomTag extends BodyTagSupport {private String name;public void ...

Invoking an application (exe), sending commands, CGI

1384 byte By tofuwithcoffeea at 2007-11-27 10:18:49
Hello:I am looking for a JSP code tutorial or example where they show how to invoke a program and send any commands or parameters to that program.It is something similar to what this CGI in Perl does:open (IDL,"| /usr/local/bin/idl"); print IDL "idl_libpath = '/users/ccc/IDL-Library-WL/'\n";print ...

Sending form problem

37370 byte By Torleifa at 2007-11-27 10:19:10
I have developt my new web page using jsp. I have done a booking form, please se below here. There are two pages, bookings.jsp and booking_sent.jsp. The page has 6 different languages so i have also used the <fmt:message key=" " /> tag system for each language.The problem i have is when i send ...

problom sending form with <fmt:message key=" " /> tag system

37602 byte By Torleifa at 2007-11-27 10:19:12
I have developt my new web page using jsp. I have done a booking form, please se below here. There are two pages, bookings.jsp and booking_sent.jsp. The page has 6 different languages so i have also used the <fmt:message key=" " /> tag system for each language.The problem i have is when i send ...

JSF Datatable onRowClick

228 byte By visitramesha at 2007-11-27 10:19:55
<p>Hi,</p><p>I want to call action method on the click on the row of the datatable. I can not use java script according to my project. How cai implement this. </p><p>Please give me a sample example or pointer.</p><p>- Ramesh</p>

Tooltip on Mouse over the record of datatable

212 byte By visitramesha at 2007-11-27 10:19:56
<p>Hi,</p><p>I want to display some message when the user places mouse over the row of the datatable. I can not use java script in mmy project.</p><p>Please give me a sample example or pointer.</p><p>- Ramesh</p>

unable to start tomcat server

661 byte By chanti20983a at 2007-11-27 10:19:57
hi,i want to develop simple application using servlets.i ve installed apache tomcat4.1 version.i ve compiled my servlet program successfully.but when i am trying to start tomcat server,it is showing some error.i ve set the callspath too.the error is:The JAVA_HOME environment variable is not defined ...

java script problem in struts ....

1020 byte By chahalkhushwindera at 2007-11-27 10:20:03
Hello Sir I am getting a strange problem in my struts application. The problem is coming in IE but its working fine in Mozilla. The problem is as follows : "I have two url (given below) but the action (StoneAction in my case) and form-action(StoneForm) behind them is same and both of these urls ...

How to change the default directory of Tomcat 6.0

217 byte By @Vilas@a at 2007-11-27 10:20:12
<p>Hi All, </p><p>I want to change the default directory of webapps in Tomcat 6.0 </p><p>from "C:\Apache\Tomcat 6.0\webapps\ROOT\" to my folder in drive C:</p><p>How to configure it ? </p><p>Thank you,</p><p>Vilas</p>

Cannot view XML input using XSL style sheet

557 byte By the_Orienta at 2007-11-27 10:20:23
Hello,I am trying to surf the web application (developed in JSP)which is there in my web hoster system .I am getting the error while accessing the link :Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.A name was started ...

problem exporting file depending to computer regional settings

1390 byte By markos_da at 2007-11-27 10:20:43
goodmoring to allThe problem I face is the following :We need to export some data as an excel-csv file, with greek characters. And everything works fine, as long as the computer (where the server is hosted) regional settings are set to Greece. But if we have English settings, we get every greek ...

mapping in jsp

368 byte By aziz.saiyeda at 2007-11-27 10:20:49
hi buddies...i have a requirement.. need to import a file... display its fields on jsp against field values fetched from db.. user will map the fields of file and db... n then records will be transferred from file to db... can anyone help as to how this requirement can be approached... pls also ...

WS-Trust and WS-secure conversation auto-combined when both are enabled?

451 byte By caesara at 2007-11-27 10:21:11
In my app, client will have to obtain some authorization from a third party before it can consume the service provided by the server. Client - server interaction may span over several messages.As in WSIT, how is that implemented? with WS-Trust and WS-secure conversation, can I say that: client only ...

Weird string sum bug in filter

1740 byte By radicjesa at 2007-11-27 10:21:13
I've got a very strange problem in one of my filter classes.What happens is this://Filter...public void init( FilterConfig filterConfig){...this.errorPage = "test" + Configuration.getErrorPageLocation();...}...//Configuration class...public static final String getErrorPageLocation(){return ...

Whitespace not rendered by writeText()

570 byte By Ganesha@caa at 2007-11-27 10:21:15
HiI have a problem with writeText() method of ResponseWriterImpl class I have observed that if I use writeText(" Text", null);the whitespace at the beginning of the string " Text" is ignored. That is, it is not rendered. But, instead, if I use write(" Text"), the string is rendered as expected. I ...

JMS over a INternet,ISDN and VPN

582 byte By Viresha at 2007-11-27 10:21:26
HiI have enterprise Jave Application which i am researching on. This Java based application communicates with the Java Client with JMS. At present it is used by the company to run on a LAN. I am looking at possibilites of Connecting the servers to client via Internet connection.i.e which allows ...

JNDI Look for JMS running on Sun Java Application Server v9 not working

1808 byte By deepakbgaikwada at 2007-11-27 10:21:32
Hi,I am trying to connect to JMS running on local Sun App server through java client programI am using following code - Properties prop = new Properties();prop.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.cosnaming.CNCtxFactory") ...

MessagingException: 450 Unable to complete command, no storage available

479 byte By YukinoGa at 2007-11-27 10:21:41
Hi,Would like to seek advice on what could be the cause of the following error message:javax.mail.MessagingException: 450 Unable to complete command, no storage availableThe above error was encountered while sending the emails regardless of whether the mail has attachment or not. It happens ...

MVC & ResultSet...

290 byte By jini4javaa at 2007-11-27 10:21:47
<p>Hi all,</p><p>Why one should use a Collection object which contains javabean objects (one for each for each database row) over ResultSet object in MVC? What are the advantage on not using ResultSet in MVC at presentation layer?</p><p>I hope my question is clear enough.</p><p>Cheers.</p>

MVC & ResultSet...

288 byte By jini4javaa at 2007-11-27 10:21:50
<p>Hi...</p><p>Why one should use a Collection object which contains javabean objects (one for each for each database row) over ResultSet object in MVC? What are the advantage on not using ResultSet in MVC at presentation layer?</p><p>I hope my question is clear enough.</p><p>Cheers.</p>

cannot view database on HTML form using AJAX

5310 byte By ubarua123a at 2007-11-27 10:22:17
[nobr]Hi .. ive been trying out AJAX and i wrote an html form which just displays the contents of a table in a MYSQL database. The problem is, NOTHING is happening.. No error messages, no alerts (inspite of putting so many of them) nothing. I m kinda lost as to whether and connection has been made ...

Add fields dynamically

2062 byte By a1ba at 2007-11-27 10:22:18
[nobr]Hi all,When add button is clicked then textboxes and drop down boxes appears ..<html><head> <body onload="fillproduct();"><script language="javascript" src="list.js"></script> <script>function generateRow() {var d=document.getElementById("div");d.innerHTML+="<select ...

how to use taglibarary

160 byte By NikisinProblema at 2007-11-27 10:22:20
<p>I have created my tag library in one porject i wnat to use it in to another project how can i do that?</p><p>Message was edited by: </p><p>NikisinProblem</p>

Disabling Multiple login of a user

1228 byte By saurabh.mathura at 2007-11-27 10:22:25
I have an application where in a user Id should not be used by more than one person to log in at the same time.What I mean is that at any given point of time, if a person is logged in to the application, with say user id "myself002", then another person should not be able to log in using the same ...

Struts2 problem

2298 byte By vani_patangea at 2007-11-27 10:22:29
HiIam newbie to Struts2.Whenever i used struts-tags lib to build user interfaces iam getting NullPointerException coming at TagUtils.javamy simple jsp page is looks like this<%@page contentType="text/html"%><%@page pageEncoding="UTF-8"%><%@taglib prefix="s" uri="/struts-tags"%><h1>Input ...