how to display result in more than one jsp page

182 byte By 69901a at 2007-11-27 9:36:34
Hi all,the result is a very large it will take more than one jsp page in this senario how we will display the result in more than one jsp page.Thanks in Advance.

Asynchronous thread execution from servlet

354 byte By Anoop_KAa at 2007-11-27 9:36:36
hii,I have a servlet from which I m creating a thread. I want to execute the thread even if it completes servlet execution. For ex. I have a servlet UserServlet from which I m creating a thread RunApplication. I want to run RunApplication even if the UserServlet completes its execution.. Please ...

Multiple forms in struts

398 byte By javaExceptiona at 2007-11-27 9:36:42
Hi,I have a simple Struts app that's connected to a DB. I can search for an "employee" and know I want to add the functionality to add an employee, so I have two add buttons in a JSP page. When I come to the Action/controller page, how can I know which button that has been pressed, i.e, which ...

How to view Secured page using J_Security_Check ?

1515 byte By senthil_yogaa at 2007-11-27 9:36:43
Dear Everyone,In the web application, i am using Form based authentication for security...i have configured exactly by giving login page and error page..i have also configured <security constraint> , < login -config>...But i receive error page while i give username and ...

help required

2978 byte By shahi.mcaa at 2007-11-27 9:36:45
i am getting following exception when running my HelloClinet from command prompt after deploying EJB Application in Websphere 6.1the exception is:Exception in thread "main" java.lang.NoClassDefFoundError: HelloClient (wrong name: examples/HelloClient)at java.lang.ClassLoader.defineClass0(Native ...

how to call collection in dropdown using selectitems in java server faces?

4655 byte By vj_makera at 2007-11-27 9:37:03
I have written a bean called comboboxbean & in faces-config mentioned its reference. Now when i try to call it inside <select items>like #{comboboxbean.combovalues}I am getting class not found and can not get value for combovalues etc.Now either i am missing something or there is some ...

Filtering the URL

6082 byte By sreenivaspallaua at 2007-11-27 9:37:24
Please help on this program ,import java.io.IOException;import java.net.URLDecoder;import java.util.Enumeration;import javax.servlet.Filter;import javax.servlet.FilterChain;import javax.servlet.FilterConfig;import javax.servlet.ServletException;import javax.servlet.ServletRequest;import ...

problem with tomahawk inputCalendar

1033 byte By paulr1984a at 2007-11-27 9:37:25
Hi!I'm trying to use tomahawk components in my shale application. I have inputCalendar fields in my form. The problem is when I click on Submit. I get this error:Jul 4, 2007 3:31:16 PM org.apache.myfaces.renderkit.html.util.DefaultAddResource writeMyFacesJavascriptBeforeBodyEndWARNING: MyFaces ...

about javamail

1909 byte By abhinay_31a at 2007-11-27 9:37:32
hellow hi friend i have one doubt i am new in javamail so i have successfully compiled following javamail program import javax.mail.Message;import javax.mail.Session;import javax.mail.Transport;import javax.mail.internet.InternetAddress;import javax.mail.internet.MimeMessage;import ...

How can I force JSF life cycle to call binding method again ...

1399 byte By Gunjan-Bohraa at 2007-11-27 9:37:33
Dear AllThe below data table is in popup window ...The binding methods is called by JSF only first time ....And then gives me same binding values which it set at first time no refresh call ...I want to call it every time once I click for button to popup How can I force JSF life cycle to call ...

Formatting numbers with MessageResources

1454 byte By xurigueraa at 2007-11-27 9:37:43
Hi,I'm developing a webapp using Struts 1.3. I've seen that is possible to do this:<bean:message key="label.myNumber" arg0="${myBean.value}"/>And then, in MessageResources.propertieslabel.myNumber = My number is: {0,number,##0.00'%'}However, when I try to execute it, i get the ...

Having letter underscore for hotkeys in JSF Command buttons

223 byte By SivaSundarama at 2007-11-27 9:37:44
I would like to know, how we can give underscore for the hotkeys in JSF command buttons.e.g if a command button is having a text as "Save ", then the letter "S" should be in underscore.Anybody tried....

SelectOneMenu and InputText

1154 byte By kuhnmia at 2007-11-27 9:37:53
Hi,I want to do the following using JSF:There should be a SelectOneMenu from which a user can select an entry. Next to the SelectOneMenu, I want to have two buttons: one to replace the text in a InputText field with the selected item and one to append the selected item to the current text in ...

A frustrating error

6140 byte By fredleva at 2007-11-27 9:37:54
I have a very simple program.For the jsf page:<%@ taglib uri=" http://java.sun.com/jsf/html" prefix="h" %><%@ taglib uri=" http://java.sun.com/jsf/core" prefix="f" %><HTML><HEAD/> <body><f:view><h:form><h:inputText ...

Secure Login redirects to 404/favicon

1665 byte By hyrogen32a at 2007-11-27 9:38:00
Hi,Im implementing a secure login using j_security_check (validating users against our active directory). This is working and logging users into our site, however randomly it seems, when users login they are forwarded to either http://localhost/j_security_check/ or http://localhost/favicon.ico ...

Error in generating a new XSL Transformer from large xslt File

561 byte By RollinMaoa at 2007-11-27 9:38:17
Good day to all,Currently I am facing a problem that whenever i try generating a Transformer object from TransformerFactory, I will have a TransformerConfigurationException threw. I have did some research from the net and understand that it is due to a bug that JVM memory limit of 64kb. However ...

postMail method does not work

2360 byte By shamexa at 2007-11-27 9:38:26
postMail method throws this exception "Could not send email". This exception occurs at this line of code "Transport.send(msg)". Does anyone have any idea ? public void postMail( String recipients[ ], String subject,String message , String from) throws MessagingException,IOException {boolean ...

Invisible element in JSP

271 byte By BillJistsona at 2007-11-27 9:38:29
I have made a table which is invisible but on click of a button it becomes visible. The functionality is working as expected. But the page is having a blank area even when the table is invisible. How can i make the page without the plain area when table is visible

Approaches for Prepopulating dropdowns in Jsp using struts.

631 byte By prashantkaushikjava@sun.coma at 2007-11-27 9:38:33
Hi,I'm having a functionality working of pre-populating dropdowns using struts like:ArrayList list = getRoles(); //This method will return list of rolesrequest.setAttribute("roles", list); By setting this collection in the request it will be availbel to <html:select and ...

about doGet() and doPost()

136 byte By sunvenkata at 2007-11-27 9:38:38
can anybody tell me why do we call the doPost() method with in doGet()?When do we use doGet() and when do we use doPost()?

valueChangeListener ignored inside a subview

4461 byte By faedera at 2007-11-27 9:38:49
Hi all !I am curently working on a quiet complex website using jsf. So far, everything has been well but , as it was just the beginning, I coded without thinking too much.So, I have a web page which uses tabs for navigation. At first I coded everything in the same jsp file. I have a ...

Hyperlink

411 byte By jotnartaa at 2007-11-27 9:39:07
Hi AllI have a small servlet that displays some data from database, at the end of the page, i have a hyperlink, I want this hyperlink to go to a jsp page, how could i do this please?for example:This is inside the servlet, and i want it to move to page myJsp.jsp, <a ...

How to create EAR file

43 byte By sumanmainama at 2007-11-27 9:39:14
how to create EAR file in my project

Calling from an EJB into a JSF Backing Bean

4269 byte By AJYa at 2007-11-27 9:39:20
Hello all,I'm looking for some help in making calls from an EJB into a Backing Bean (the converse is fairly straightforward). My basic question is: what is regarded as the best way to do this? However, for anybody who's interested, I'll describe what I've been trying...Here's my situation ...

what is the differece between Apache htttp web server and tomcat

129 byte By manu_ama at 2007-11-27 9:39:25
Hi friends, what is the difference between Apache htttp web server and apache tomcat.Can i run php in tomcat

java sendfailedexception

324 byte By vrajkumar09a at 2007-11-27 9:39:30
Hi,When I try to send a mail from my app it is throwingjavax.mail.SendFailedException: Sending failed; nested exception is:class javax.mail.SendFailedException: Invalid Addresses; nested exception is:class javax.mail.SendFailedException: 598 mail is rejectedany ...

new to web service...

384 byte By sachin_katariaa at 2007-11-27 9:39:35
hi,i have to create web service which will call pl/sql procedure. i have wsdl file (order.wsdl) and xml file (order_request.xml) .and i am new to webservice, i dont know how to create it.so, pls give me some details regarding web service(creation, test, deployment)i am using eclipse 3.2 WTP and ...

Getting error while sending mail through javamail api

6086 byte By Anbarasu.Da at 2007-11-27 9:39:36
I can able to compile the following code successfully but while executing it showing the error C:\Program Files\Java\javamail-1.4\demo>java msgsend -o anbarasu.d@abs.in -M 203.112.158.188 anbarasu.d@abs.inException in thread "main" java.lang.NoClassDefFoundError: msgsendimport ...

httpservletrequest in jsf

556 byte By Sunneke31a at 2007-11-27 9:39:48
i have an application in jsf from a previous college.now i have to implement security in it. it would be easy to do it in struts for me, but in this jsf application i'm totally lost.i see no httpservlet object in the application.i need to do getRemoteUser.but where does it fits in the ...

Indent XML code

404 byte By bbclonea at 2007-11-27 9:39:50
Hi,I'm generating an xml file using Java (dom) and I need it to be idented. How can I do that ? I'm using java 1.6 and I already have the line transformer.setOutputProperty(OutputKeys.INDENT, "yes");Is it possible without changing api? I think JDom does the indentation, but I can't change to ...

Can not resolve symbol getServletContext()

329 byte By Damodar_Reddya at 2007-11-27 9:39:53
Hi,While I am compiling my application, I am getting an error sayingCan not resolve Symbol : getServletContext() in HttpSessionThis application is already compiled successfully by others previously.Can any one help me in resolving the above issue. Thanks in AdvanceDamodar Reddy ...

WARN [SchemaTypeCreator] JAX-RPC does not allow collection types skipping:

874 byte By patel123a at 2007-11-27 9:40:21
hi I am trying web service,where it returns collection.following is the code snippet, @WebMethod() public Collection<CustomerInfo> getAccountList() {Query query=em.createQuery("from CustomerInfo c");return query.getResultList(); }the problem is at the time of deploying i am getting ...

Hibernate & JSF page

640 byte By xyzta at 2007-11-27 9:40:25
Hello,I want to learn about Hibernate and I read this tutorial to learn something: http://www.netbeans.org/kb/articles/hibernate-javaee.htmlI installed hibernate as understood in the tutorial. then I created entity classes using Netbeans. after that I created jsf pages for these entity classes ...

Access a manage bean through other bean/validator

446 byte By George_.Smitha at 2007-11-27 9:40:35
Hello I want to access a session managed bean from a Validator i created.I did added that to my faces-config.xml : ...

getting JSF webapp context (facelets)

160 byte By jamesclintona at 2007-11-27 9:40:37
Is there something like the following...<c:url value="/someUrl/someFile.css"/>....in JSF in order to get the webapp context in HREFs?

file splitter won't accept some text files

5701 byte By uremoga at 2007-11-27 9:40:38
sorry, this is in the wrong place is there any way i can move it to general programming?i'm making a file splitter to split large text files into smaller parts. so far everything works as far as test files that i make, however, sometimes when i copy and paste text off the internet, for ...

content management.

232 byte By aschandra2704a at 2007-11-27 9:40:40
Hello,i would like to know how to generate/create a webpage using dynamic user input. just like a site builder. WYSWYG would be excellent option, i believe. can anyone help me with that. mail me at asirishc@yahoo.co.in

Filtering for URL

1847 byte By sreenivaspallaua at 2007-11-27 9:40:41
I have written a code to check the Vulnerability character in url but ,when i am clicking the links , all link are redirect into error Page ,even itsallowed character ..any changes i want to Please help on this ,,,,Thanks in Advance public abstract class RedirectFilter implements Filter { ...

JSP server

312 byte By DJ_Kata at 2007-11-27 9:40:42
Hi i was wondering if there is a easy way to install a JSP webserver like xampp does with PHP. installing apache tomcat is kinda frusterating.What I am basicly looking for is an installer for windows or linux that will install everything i will need to run my JSP pages and maybe even mysql for ...

Entity EJB 2.1 and finbyprimarykey

388 byte By mirentxua at 2007-11-27 9:40:45
hello i am using one entity bean for find by primary key oe database register.one field from this row isone oracle clob field.if i access to tis row using one normal resultset i load the data into one byte[] well but if i try to load this row i cannot put it into the byte[] propertie od one ...

ImageServlet dirctory problem (Jakarta Image Taglib)

844 byte By paul@cumonian.coma at 2007-11-27 9:41:22
Aloha @ all,I got a tiny problem with the Jakarta Image Taglib. While it's working all correctly on my local tomcat setup (windows pc), it simply won't run on my server (Linux - Debian Fedora Core 6), even though both Java-version and Tomcat Version are identical. The taglib does create the ...

selectOneMenu valueChangeListener with onchange=

1297 byte By paul@sdna at 2007-11-27 9:41:23
Can anyone provide some insight into what I'm getting when using both valueChangeListener with onchange="submit()"? Both are needed in my app to cause a form change when a selectOneMenu item is selected.After the page is initially loaded and making a menu selection, the selected menu item does ...

search using JSP

458 byte By muditvaidyaa at 2007-11-27 9:41:31
Hello,I have a combo box within which i have given 2 options namely select by faculty name and other one select by department. Next to the combo box is a text field where the admin will enter the name of the faculty or the department. What i want is to execute a query based on the option is ...

struts, mapping.findForward() wont lauch jsp file

6051 byte By lnthai2002a at 2007-11-27 9:41:46
Hi,I have configured my app as follow:$CATALINA_HOME/conf/server.xml<Host name="localhost" appBase="webapps"unpackWARs="true" autoDeploy="true"xmlValidation="false" xmlNamespaceAware="false"><Context path="/Core1" docBase="Core1" debug="5" reloadable="true" ...

How to handle Idempotency issue...with doPost()... ?

81 byte By Shebua at 2007-11-27 9:41:51
How to handle idempotency issue of methods like doPost ... in servlets.. ?

Q: Site navigation, redirect and PRG Pattern

584 byte By Troilusa at 2007-11-27 9:42:15
Hi,today I read an article about the PRG Pattern and after that I tried "F5" on every page of my webproject. I found out that I have issues if I log out an user and try to refresh the page. The problem is that the "F5" tries to reload the old user-page (but the user already logged out). Does ...

Illegal Access Exception

391 byte By kiransp_screena at 2007-11-27 9:42:32
I m using Sun Java Application Server for learning J2ee. I started with EJB. When i create a client stub jar and try to invoke the session bean from the application client using the tool appclient....then i m getting an error ......Error::java.lang.IllegalAccessExceptionThe description is like ...

how do i pass values from inputs on my JSP to my java class?

305 byte By dreamzeroa at 2007-11-27 9:42:48
hi, im creating a simple web application adding user or save user to my database now i would to get the values that are being input to my JSP and retrieve to my Java Class and by the use of SQL clause i will now insert to my database can you explain me how or an example as my references thanx ...

XML formatting not fine in a text editor

634 byte By Priya_Indiaa at 2007-11-27 9:43:00
Hello Experts,am generating an xml file through a java program using javax.xml.parsers.Following is the format of file (say for eg) generated when i see in notepad<root><tag1>val1</tag1><tag2>val2</tag2></root>which is not required. I want the file to be in ...

Problem with running EJB Program in NetBean 5.5.1

369 byte By loginforma at 2007-11-27 9:43:10
Hello,Any body know how to run the EJB program in NetBean.I am using Application server 8.1 and NetBean IDE 5.5.1.While running the source code of EJB(available at http://www.netbeans.org/kb/55/ejb30.html)its giving the deployment discriptor build.xml not found error.How to solve this one.Pls ...