<p>Hi everyone,</p><p>How to pass arrylist or string array from a.jsp to b.jsp, when clicking href?</p><p>I have tried setAttribute( Name, object) and <a href=b.jsp?Name=object></p><p>I need help in a hurry.</p><p>Thanks in advance.</p>
263 byte By
haijania at 2007-11-27 10:22:35
<p>Hello friends.</p><p>I have been given a task to implement a wiki in an intranet.</p><p>I would like to know that is there any free wikis available to plug into my intranet?</p><p>Any help in this regard would be highly appreciated.</p><p>Thanx in advance.</p>
Hi All,I am retrieving records from database and displays in jsp page in a table. 72000 records are in database.After 1 hour the browser shows 'cannot find server' but in tomcat console application is running. how do i get records to be displayed in jsp page.can any one help in this issue. ...
<p>i wrote small javamail program it wa compiled but it didnt run.</p><p>i want to know what is the configaration to run javamial programs</p>
FYIHi guys,Most of Guys asking how to set page 1,2,3,4 ..... so on ,so that i post this link regarding paging,its easy to implement,Go through this links and create your own paging, http://www.servletsuite.com/servlets/pagertag.htmIf you want sample example with Database and with out,please feel ...
1771 byte By
jmutonhoa at 2007-11-27 10:23:15
I'm trying to access a hidden field from a form as shown below :<h:form id="categoriesForm"><center><h:dataTable rowClasses="list-row" headerClass="tableHeader"width="60%" var="category" value="#{categories.categories}"><h:column><f:facet name="header"><h:outputText ...
2:12 PM 7/11/2007by Nirav AssarOverviewIt was discovered that in certain situations a UICommand component does not bind properly to its associated action method in the managed bean. The symptoms of this situation occur when you have a page with an action, and you click the action and nothing ...
1320 byte By
avnera at 2007-11-27 10:23:32
Hi,I have a small confusion about refreshing a page....I have a JSF page in which when I click on the submit button I am saving all the data in the database.The saving to the database is performed fine and after that I am returning null from the action method of the submit button....One more thing ...
Hello there! I'm creating some webservices that will be called on a BPEL process. All webservices have the same method signature, only differ in their implementation (ok, I'm creating a loan broker app, and the webservices are the banks endpoints ;) ).Ok, so far so good. Since all webservices ...
433 byte By
akaura at 2007-11-27 10:24:04
I have just started working in java. this is my first project.I m working on project which have four versions and i have to do coding so that i give the links to all the versions of project and user can download the version they need. and also i have to write coding that the users can download the ...
Hello,I'm presently looking for a JSF tree component. I need one which not only would allow me to display a little icon next to my leaves names, but which would allow me to display a checkbox too.I've tried the Apache MyFaces tree, in the Tomahawk sub-project. But it looks like I won't manage to ...
I get the following error when i incorporate jsf_1.0.1 with IBM's JSF implementation and apache faces 1.3.[7/12/07 20:13:00:188 IST] 6a841920 WebContainer W SRVE0017W: Web Group not found: default_host/ProjectOne[7/12/07 20:13:00:188 IST] 6a841920 OSEListenerDi E PLGN0021E: Servlet Request ...
Dear all i have one question with Oracle SEQUENCE function to insert data into jsp page which i use PreparedStatement this object. the way when i create one SEQUENCEcalled and the problem is that i donot know how to declare pno = accountcheck_sequence.nextval in to PreparedStatement this ...
831 byte By
jco1323a at 2007-11-27 10:24:25
Just two quick questions. First, I am trying to change the value of one of my backing bean properties using js. It is a boolean and what I tried was:onfocus="{ ${displayOnly} = true}"however, as expected, this tries to set the actual value of displayOnly (false) to true which cant be done. How do I ...
678 byte By
Huija at 2007-11-27 10:24:29
Hellolooking for some help here please.In my .java file i have these couple of lines which calls a method to obtain an email adress and store it into usrMail and mgrMail. Example:public actionForward (httpservletrequest request)String usrMail;String mgrMail;...Utils bpUtil = ...
<p>Hello...</p><p>I am using weblogic server v9. I want to hit the database and populate a couple of objects during startup of my app server and store them in application scope.</p><p>I have no idea on how to proceed. Any hints on the same will be appreciated.</p><p>~SirG</p>
2178 byte By
secmaska at 2007-11-27 10:24:39
hi all .i using eclipse 3.3 and tomcat 5.5 to work with jsf. First, i create a project with jsf 1.1 support and copy : jsf-api.jar, jsf-impl.jar , jstl.jar and standar.jar to /WEB-INF/lib . this is my web.xml <?xml version="1.0" encoding="UTF-8"?><web-app id="WebApp_ID" version="2.4" ...
1324 byte By
talk2keya at 2007-11-27 10:24:43
Hi All,I have a requirement where I have a List consisting of Lists. This inner lists will have beans. I need to display amounts from the beans.I could successfully display the amounts by using two "logic:iterate"'sIn the code below amountsForm is my ActionForm, amountsList is the parent list ...
Ok, either I do not understand well, or I have not yet my cofeee or the system do not has the file:"To enable Tomcat's CGI servlet, you must do the following:1. Rename the file servlets-cgi.renametojar (found in CATALINA_HOME/server/lib/) to servlets-cgi.jar, so that the servlet that processes CGI ...
<p>Hello!</p><p>Anybody who have a small example project made in Netbeans that uses persistence?</p>
<p>Hi All,</p><p>i want an example for pass parameter to jasper report's fillreport() [note: i used java code in jsp] used in a jsp file. I already used a hashmap for fillreport.</p><p>Thanks & Regards,</p><p>K.Elangeswaran</p>
<p>I have a JSP page. Based on a specific action from user like button click event a parameter on the DB needs to be modified. Plz tell me how should I do it. Should I call my DAO for it?</p>
Hi everyone,I try to write back quantity of data in MYSql, i need to pick out wrong data by checking if the input row has complied PK.The way i am doing is using For loop and "select" statement and "result set" to process one inputed row at a time to see if PK not existing.If there are easy way and ...
I have been trying to use a Filter to add code to my html after a servlet is run. I decided to wrap the response and then use a filter to add stuff before and after it. The problem is I'm having problems getting the content of the actual page to display. The filter works its just the it bypasses ...
Hi,I need to retrieve a single value from a DAO function which has result set into JSP. I am using the following code to do it:-%String i=request.getParameter("StatusCd"); System.out.println(i); %><html:button property="button" value="Accept Project" onClick="alert()"/ ></html:button> Problem ...
1771 byte By
paulnc8a at 2007-11-27 10:25:35
Ok, so I have an xml file holding all my data and am trying to make it so that different elements/attributes within the structure are links, but XLink does not seem to be working for me. I have an xls stylesheet which displays the xml data, and I would like to be able to click on the elements that ...
I've finally enabled hibernate persistence in my application, and it looks like everything is moving smoothly on the writing side. The database is being written to as it should. My final step in incorporating hibernate will be to have a javabean read the database to return an array of objects for ...
1558 byte By
jmutonhoa at 2007-11-27 10:25:57
The following jsf code isnt displaying my table headers.<h:dataTable rowClasses="list-row" headerClass="tableHeader"width="60%" var="product" value="#{products.products}" border="1"><h:column><f:facet name="header"><h:outputText value="Name"/></f:facet><h:outputText ...
Does anyone know of a tag library or something else which allows one to do the equivalent of:<jsp2js jspVar="${myJspVar}" jsVar="myJsVar" />where the result would be a javascript assignment statement in the html which sets myJsVar equal to the value of myJspVar. I know there are some simple ...
4795 byte By
eLIXa at 2007-11-27 10:26:06
Hi, I'm working on a jsf login form with database connectivity.But I'm stuck on an error I get.exceptionorg.apache.jasper.JasperException: javax.servlet.jsp.JspException: Error getting property 'username' from bean of type ...
152 byte By
d11wtqa at 2007-11-27 10:26:27
<p>Hi,</p><p>This is an easy one hopefully. I'm just after some recommendations for a strong ORM packages on top of JDBC.</p><p>Cheers,</p><p>Chris</p>
Hi ,I am trying to implement Captcha in my Struts Project using the Simple Captcha Project at http://simplecaptcha.sourceforge.net/.how can I refresh the image without refreshing the entire page?Can anyone help me as how I can check the entered text value from the verification image in the ...
I have a web service in one WAR file #1 and a servlet in WAR file #2. Both WARs are deployed in the same EAR. I want to be able to make a request from the web service implementation to the servlet in WAR #2 but in order to do that I need to be able to find the servlet's URL (at least host/IP and ...
271 byte By
fab3a at 2007-11-27 10:26:50
<p>I defined a javascript object say var obj and I want to assign its value to the value of a text field <input type="hidden" name="hiddenValue" <b>value=</b> > in order to be submitted within a form object. But I am not familiar with the syntax on how to do that.</p>
671 byte By
geiz777a at 2007-11-27 10:26:59
I have a jsp page that reads from an excel file as a database. I have it sleep everytime it finish reading a row and prints it out. I do this to make it a really long task.My problem is when i exit my jsp page on a browser it seem like the page is still running and reading the file. Either the jsp ...
4481 byte By
jin412a at 2007-11-27 10:27:01
I try to do search function using JSP. no compile error message but when I click sumit on the page. I have the following error message.can you help me? I do not know where I have to start the bug? it probably caused by datasource connection or custome library path?HTTP Status 500 -type Exception ...
8269 byte By
jmutonhoa at 2007-11-27 10:27:27
I'm getting a org.apache.jasper.el.JspMethodNotFoundExceptionon one of my view pages .Here's what in the jsp :<h:panelGrid width="375px" bgcolor="#ff8040" columns="2" border="0"><f:facet name="header"><h:outputText value="User Login" /></f:facet><h:outputLabel for="userName" ...
Dear all, I was wondering if anybody could give me pointers on the direction for this : I need to update my rows displayed in jsp based on updates done to the database. Initially I thought I could do this with refreshing the JSP using the Meta tag for every 5 seconds and then having a sql query run ...
<p>hai friends</p><p>i know to export excel using jsp</p><p>but tried the same process to pdf, it s not work..</p><p> please give some solution......</p><p>thanks</p><p>rex</p>
135 byte By
fenria at 2007-11-27 10:28:06
<p>Hello</p><p>Please can you help me</p><p>I need to dynamically create a file in jsp and send this file to user</p><p>Please help</p>
104 byte By
gania at 2007-11-27 10:28:18
<p>HI,</p><p>How do i expire a page if its idle for more than 10 minutes..</p><p>Thanks in advance..</p>
94 byte By
beejuma at 2007-11-27 10:28:43
<p>Hello,</p><p>What is the significance of setting up JAVA_HOME for Tomcat? </p><p>Thanks</p>
989 byte By
robicha at 2007-11-27 10:28:58
Hi all.I've realized a web service, which have been deployed on a Tomcat 5.5 instance running behind a firewall.The Web Service is published through an Apache 2.0 Web Server, which is in the DMZ and which is connected to Tomcat via modjk.Everything is working fine (as apache forwards to tomcat ...
1377 byte By
dimka71a at 2007-11-27 10:29:02
Hi,I try to create a web client for remote web service. I got wsdl file and IDE (Sun Java Studio Enterprise 8.1) successfully build java files out of wsdl. Everything looks simple and good except 1 little thing. When I run the client it throws an exception below.--java.rmi.RemoteException: Runtime ...
hiI m using ajax to retrieve data from a database. I know the syntax for the .open() function is httpreq.open("GET",url,true);//httpreq is my variablenow in the data retrieving part, it goes into a status 404 that means file has not been found. var ...
268 byte By
Ksushaa at 2007-11-27 10:29:35
<p>Hello!!</p><p>We are currently working on a project with jsf. We are using XHTML and templates. I was wondering - can I use JSTL tags on XHTML files (JSTL tags dont seem to compile actually on XHTML)?</p><p>If yes - what setting should I add?</p><p>Thanks a lot</p>
1648 byte By
mwinandya at 2007-11-27 10:29:36
Hello,I'm developing a custom component. At the moment my renderer includes with every instance of my component JavaScript code in the body.Example (Pseudocode):JSF:<html><body><my:component /><my:component /></body></html>Current rendered HTML:<html><body><input ...
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 ...
1125 byte By
sebp78a at 2007-11-27 10:29:45
In my simple web application a table with the contents of a database table is shown to the client. Now I want this table in the browser to be updated each time the db table is updated. In my business logic a jms message is fired to a specified topic each time the db table is updated. The reverse ...
I tried the code on the official site : https://javaserverfaces.dev.java.net/sandbox/components/contextMenu.html<h:outputText id="text" value="This should have a context menu!"><risb:contextMenu width="225px"><risb:menuItem value="Test!" ...