EJB Question

430 byte By jonnya at 2007-11-27 7:06:08
Hi,I encountered this question and was confused abt the answerWhat do EJB containers NOT provide? 1)Automated support for transaction management 2)Selecting application behavior at assembly or deployment time 3)Support for life-cycle management of EJB components 4)Bean lookup services ...

help with <h:inputTextarea>

1366 byte By zcona at 2007-11-27 7:06:16
Hello, I tried to use <h:inputTextarea> display text from database, the line items were stored in database and separated by Carriage Return like this: line 1 +CRLF ("\r\n") + line 2 + CRLF ("\r\n") .....and the text out put need like this:__line 1line 2line 3 ...- JSF code ...

Best Choice for Image Managment

392 byte By oropezaa at 2007-11-27 7:06:23
Hi. I am working on a web app based on struts with a mysql db.My app will manage about 200 items a year, and will have few users online (DSS). Every item will have from 1 to 5 images that will be uplodaded from the frontend. My question is about efficiency. What is the best, to store my images ...

Exception reading response

3713 byte By lildavesflavaa at 2007-11-27 7:06:28
I am trying to send a mail using java but i keep reciving the following erro java.net.SocketException: Connection resetjavax.mail.MessagingException: Exception reading response;here is my code public void sendMail(String from, String to, String cc, String bcc, String subject, String body) ...

ONLINE GAMES

165 byte By NORM555a at 2007-11-27 7:06:36
WHEN I AM ONLINE THE BOTTOM OF THE SCREEN IS NOT THEIR AFTER PLAYING A GAME I CANT GO BACK TO LOBBY AT IWIN.COM A HAVE TO GO BACK TO MY DESKTOP AND START OVER

Problem while installing

935 byte By kumar385a at 2007-11-27 7:06:51
Hi all,I am trying to install "java_ee_sdk-5_01-windows" on windows vista and i am getting installation wizard open and with messageunsupported installation platform detectedyou are currectly attempting to install this product on an unsupported platform and/or patch level.For a list of ...

Connection pooling in jsf

386 byte By kal132a at 2007-11-27 7:07:09
Hi,I want to use connection pooling in my web app that uses jsf. I know how to do getConnection() on the datasource, but not sure where to put that code. In the backing bean or as a static method in some class that can be called from the backing beans? Does anyone have an example of where to ...

Eclipse plugins that use web.xml well

1069 byte By lightbulb4321a at 2007-11-27 7:07:16
I'm finding JSP development to be less efficient than it could otherwise be, based on my current configuration of Eclipse plugins. What Eclipse plugins do you recommend for web application development that really make good use of web.xml?- What I mean by that is when you add a ...

How to edit USER profiles ?

593 byte By Ghanshyama at 2007-11-27 7:07:30
Hi, friendi am newbee to JSP technology.NOw i made some customers database and when fire a querythey are listed in one table.like belowCustomer_IDCustNameCustCityMobilenow i want that when perticular customer id is clicked on the table displayed, it should open that customer page to be edit.How ...

EJB 3.0 Core Spec (Transaction and BMT)

937 byte By shivani.Eartha at 2007-11-27 7:07:42
On Page 342 Core EJB Specs:If the client request is associated with a transaction T1, and the instance is not associated with a transaction, the container suspends the client抯 transaction association and invokes the method with an unspecified transaction context. The container resumes the ...

servlets

394 byte By kamarajua at 2007-11-27 7:07:46
If we write explicit constructor and if we pass ServletConfig object to that as argument what happend?If we call destroy() from Service() method what happends?responce.setContentType("text/html")? plz give me the full details of this and if we want to pass .pdf files in place of text what ...

How to use <f:facet tag>

898 byte By indira_need_helpa at 2007-11-27 7:08:00
Hi I have a Jsp code like this<h:column><f:facet name="header"><h:outputText value="Request Types"/></f:facet><h:outputText value="#{report.requestType[0].desc}"/></h:column>Output for this code:(EX)RequestTypesdesc1But I want to print desc2 also below the ...

exact diffrence GET and POST method with respect to size

90 byte By kandraa at 2007-11-27 7:08:06
Hi Can any body help me with clear cut idea on GET and POST methods in java.

Problem in h:selectoneMenuin a datatable

3991 byte By suryan84a at 2007-11-27 7:08:10
We are developing a page with a datatable. One column in the datatable is h:selectOneMenu. We need to call the a new page according to the selected item in the i.e the value change in the h:selectOneMenu. There is no action to be done to call the page. HOw can this be done. Further in the code ...

Keeping request object and recall it

290 byte By softengilkera at 2007-11-27 7:08:11
Hi;I want to keep the navigation history of the web application. An idea came up to me. In a servlet filter, I can put each request object in a arrayList in the session. Then is it possible to recall this request object? And how?Thank you for your any comment and help.

Problem with Faces Context

421 byte By Venkat_JSFa at 2007-11-27 7:08:12
Hi,Iam getting javax.servlet.jsp.JspException: Cannot find FacesContext Exception while executing the jsf application.My tomcat version is 6.0 and jdk 1.5 and jsf is 1.1 .Am added all the required jar files into the class path .And am checked url patterns like *.faces and /faces/* but me ...

Creating a Simple Web Service and Client with JAX-WS

1385 byte By Ajaxranda at 2007-11-27 7:08:13
I downloaded javaeetutorial5 tutorial from this URL.https://sdlc1a.sun.com/ECom/EComActionServlet;jsessionid=5874F5CFDFC12A3F5217CEA1ED76E76CAnd followed the steps to create the web service as mentioned here. http://java.sun.com/javaee/5/docs/tutorial/doc/JAXWS3.html#wp79980But I couldn't make ...

Connection Exception : Refused

4643 byte By passion_for_javaa at 2007-11-27 7:08:17
import java.io.*;import java.util.*;import javax.mail.*;import javax.mail.internet.*;import java.util.*;import org.apache.axis.AxisFault;public class Sample {//mail session state related private String m_Username; private String m_PostOfficeHost; private Session m_MailSession; private Store ...

Converting a servlet to jsp

73 byte By geezera at 2007-11-27 7:08:19
I have written a servlet, I want to convert it to jsp. Any ideas ?

Help needed on combo-box dynamic values?

294 byte By ragvittala at 2007-11-27 7:08:21
Hi ,i need to populate values in 2 combo-boxes where the valuesin the second combo is dependent on the first .. from db ...i.e if i select a value in 1 combo then the values in the second combo should be populated accordingly from the db..pls suggest on this.

Which lib to open and view office file on browser

245 byte By musica at 2007-11-27 7:08:26
Hi all,when I receive a stream of file from server. How I can open and view this file on browser?My suggest: catch a stream and use library to open office file on browser, but I don't know which lib to do this.Thanks

servlets

394 byte By kamarajua at 2007-11-27 7:08:28
If we write explicit constructor and if we pass ServletConfig object to that as argument what happend?If we call destroy() from Service() method what happends?responce.setContentType("text/html")? plz give me the full details of this and if we want to pass .pdf files in place of text what ...

Exception in thread "main" javax.naming.NameNotFoundException [Root excepti

3039 byte By anuj.singh02@yahoo.coma at 2007-11-27 7:08:29
Hi,i'm new to EJB.plz solve my problem Regarding NameNotFoundEXceptioni used Netbeans IDE with J2EE server 8.2.i want to simply print Hello through Session bean.bt i got error when i run my client programcode of interfaces class file and client code is given below.Home interfacepackage ...

JSF do not work in Weblogic9

757 byte By careprada at 2007-11-27 7:08:50
my JSF application work fine in the tomcat 5.5 but when I deploy it to the weblogic 9,the weblets make error(I use it for my tag),I checked the source code ,that the getDefaultContentType() just return null.then I remove the weblets and resolve the resource problem myself,it work ,but the ...

Navigation is not working

333 byte By KrishnaSa at 2007-11-27 7:08:56
HI,I am clicking on the button, I have configured my beans and faces-config.xml properly for navigating to the next when user cliks on the next button. When user clicks on the button, the control goes to the bean method and prints the log message, but again it comes to the same page, not going ...

constructor in servlet

254 byte By javaminea at 2007-11-27 7:09:04
how servlet invokes constructor(user defined no-arg constructor) before invoking init mehod? is servlet engine follw the normal java appln flow rather than it's own life cycle while creating an instance for servlet?Thnaks inAdvance,

javax.mail.MessagingException: 452 4.4.5 Insufficient disk space; try again

2073 byte By Ravivarmaa at 2007-11-27 7:09:06
I am getting this exception , while my application is trying to send mails. The complete stack trace is belowcom.bp.ebus.downstream.util.ErrorLevelException: javax.mail.MessagingException: 452 4.4.5 Insufficient disk space; try againlaterat ...

Action method never called

1061 byte By balteoa at 2007-11-27 7:09:09
Hello,I have identified a problem with my app which really puzzles me:When I specify programmatically whether a command button should be rendered, the action method never gets called whereas the button does get rendered. See below:<h:commandButton ...

DataTable Row

743 byte By Dale_Ellisa at 2007-11-27 7:09:10
Hi all,I have a dataTable displaying data. For each row I wish to have a hover over to display addional information about that row of data.The trouble is I can not see a way to add a title attribute to the whole row. I have been able to use the title attribue on the outputText's for the table ...

Problem with Faces Context

341 byte By Venkat_JSFa at 2007-11-27 7:09:21
HI,Am getting same error i.e Faces Context not found.Iam using common-collections,commons-digester,commons-logging,jsf-api,jsf-impl,standard and jstl jar files.Am configured jsf application correctly .But am not getting Faces Context .Do i need to change the jsr files Plz I need urgent.Thanks ...

doubt regarding SelectItem class in <f:selectItem>

2349 byte By scot_l33t@yahoo.coma at 2007-11-27 7:09:23
hii wanted to clarify if any converter is needed in my case. i feel its not needed in case of checkboxes/listbox but just in case i am wrong somwherew.r.t code belowpublic class MyBean {private List<MyObject> selectedItems;private List<SelectItem> selectItems;..... public ...

Composing a view with JSPs passing parameters (JSF 1.2)

1657 byte By jan@f10a at 2007-11-27 7:09:26
hi,I want to include a JSP in another twice. The two includes should work on different backing bean instances. (Of cource the include contains JSF components)Business case: An insurance policy has one reference to a person in the role insured person and another in the role policy owner. I would ...

Component that implements encryption solution between the browser and Java

791 byte By subhrajyotia at 2007-11-27 7:09:46
I need a Component that implements encryption solution between the browser and Java tier. I am a java programmer and have really limited knowledge about cryptography. I work on JSF . I am basically looking to build a component that will ensure that the password entered by the user in the login ...

adding action listener to a page

175 byte By subrato_001a at 2007-11-27 7:09:48
Hai all,In my JSp page i have a combo box and i want to add a value change listener to this combo. I don't want to use javascript so Which listener shall i use?

Retrieving the header field from bounced mail

380 byte By Rajessha at 2007-11-27 7:09:51
I am sending email with some custom value set in the email header from my application. When the email get bounced back I am not able to get the custom value from the bounced mail.I think the SMTP server remove the header before it send the bounce message to the sender.Is there any way to get ...

getters are not called after valuechangelistener

2587 byte By manjuicona at 2007-11-27 7:09:54
i have a drop-down list and based on the selection contents in the page should be get updated.......//--Code-Jsp<h:form id="mainForm"><h:outputText value="Select an Account:"/><h:selectOneMenu value="#{tempBean.acct}" onchange="submit()" ...

A problem with session tracking

507 byte By loves_javaa at 2007-11-27 7:10:15
Hi, i am facing some problem while using session in my application,The issue is when I login into my application, i set the username in a session vaiable, Now if i change my system date i.e. i increase the system date, the session is getting expired, i.e. after i increase the sysdate, and then ...

JSF - Spring and Hibernate

387 byte By dilip_jsfa at 2007-11-27 7:10:20
Hi All,Currently i have a project on JSF. I need to port this to a Spring and Hibernate framework. I use Eclipse 3.2 and Jboss 4.0.2 and MSSQL. Now i need some really simple tutorials to understand Hibernate and Spring frameworks. Also is it possible to have JSF and Spring work together? Can i ...

Dispay the servlet query result in same page

490 byte By farag_ahmed@yahoo.coma at 2007-11-27 7:10:22
Hello,I have a servlet which call other servlet. in the first servlet is the search query interface which send the query to the second servlet that responsible to dispaly the query result from google.it is work fine but it display the google result in seperate page. how i can display the result ...

Creating a web service client

400 byte By sri1025a at 2007-11-27 7:10:25
I'm trying out a web service client for this web service: http://ws.strikeiron.com/relauto/iplookup?WSDLI have downloaded Apache Axis 2-1.2 version. What are the steps that I need to follow to create the sample client?I'm assuming:1) Use the wsdl2java program to generate the Java classes for ...

Hide URL in IE and history

383 byte By NANDA73a at 2007-11-27 7:10:27
Hi,I have an issue in passing URL to open a page.I am building a URL dynamically to open a page. I need it open in such a way that the URL is not stored in IE history or browser history and the URL not displayed in the IE title/address bar. Is there any one who can help me on this? Pl give me ...

Message driven bean creation

844 byte By vAaka at 2007-11-27 7:10:29
Hi,In different tutorials I read that a message-driven bean which uses a Topic as destination, should exist before any message is send to this topic if it wants to receive this message.However, if I use some print statements, I get the following:PostMessage, before ...

Select Date using Calendar and Submit

509 byte By nishitta at 2007-11-27 7:11:02
Hi,I have a JSP file to create a form that has date range from and to text field. I would like to submit the form when user changes the date. I have onChange="submit();" specified with the text fields. Form gets submitted fine when we change the date by typing in the field. I am using the ...

java.sql.SQLException: ORA-01006: bind variable does not exist

1266 byte By atanu.123a at 2007-11-27 7:11:09
Hi All,I am trying to execute a prepare statement in JDBC and getting the following error:java.sql.SQLException: ORA-01006: bind variable does not existat oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:208)at ...

Question in developing JSP with Struts

6636 byte By Devemora at 2007-11-27 7:11:10
Hello,everybody. Recently,I wrote a simple JSP Web program basing on the Struts architecture.It created a page for a user to input his name and password,and after the user click the submit botton on the form,it can redirect to another page and show the name and password that the use has input ...

Updating the bean in Application Scope

352 byte By SRIWPa at 2007-11-27 7:11:17
Hi All,Can anyone suggest different ways of implementing the below scenario.I read the masterlist of products and store it in a managed bean application scope. But the master list can get updated in the database . How can i refresh the data of the managed bean in the application scope at ...

authentication servlet

1216 byte By lnthai2002a at 2007-11-27 7:11:27
Hi,While transfering an authentication jsp into a servlet i bump into some problems. The original authentication jsp creates an ValidUser bean with the session scope after verifying the user credential agains the db. In my servlet, i do like this:ValidUser currentUser = new ...

creating popup

553 byte By naekoa at 2007-11-27 7:11:35
hello,i just want to open new window after clicking a command button. The new window should have a content of one jsp site. Sth. like:myFirst.jsp-<h:commandButton onmousedown="window.open('mySecond.jsp','SecondJsp');onclick="return false"/>mySecond.jsp<f:view><h:outputText ...

global/local JNDI question

269 byte By kfaziusa at 2007-11-27 7:11:37
Hi allMaybe it's stupid question, but I'd like to know what is the difference between local and global JNDI. I found this during my EJB3 investigation. I can't find it in any doc, so I ask you as experts :) I hope you'll help me. Thank you in advance.

Passing values from HTML to JSP method,

2254 byte By tofuwithcoffeea at 2007-11-27 7:13:07
Hello:I am starting to wonder if what I am doing will ever work...Ok, I am trying to avoid javascript. I have a drop-down list named "year" and I wish to call a JSP method that is defined/declared in the same JSP.First, I want to pass the chosen option to the method and then store the ...