1864 byte By
Crispsa at 2007-11-27 11:15:40
[nobr]Hi, I am having problems with the multiple select option of html. Here are two pages which demonstrate:Showlist.html:<html><head><title>List</title></head><body><form action="listout.jsp" method="post"><select multiple="multiple" size="5" name="optionlist"><optgroup ...
354 byte By
CapMa at 2007-11-27 11:16:42
example: a webmail application is deployed as a war-file to a server. the fresh deployed app now needs to read info from the user (mail-host, username, password, etc.).what is the best way to store this information permanently on the serverside for as long as the app is not undeployed (i.e. ...
1981 byte By
gokala at 2007-11-27 11:17:01
Hi,Firstly, this site is great .. Thanks to all that assists us all !!!I am trying to have a javascript in my servlet coding. However, I am getting a javascript error, "Error on Page". This is shown on the status bar (on IE V6 SP2) when i try and click on the link. The code is below:My Java is ...
<p>can we call destroy() in service() method. if we call destroy() before any business logic what happens to the request of the client.</p>
In my current requirment i will upload a image to remote system .example:////xyz/testapp/ - remote systemcurrent application in tomcatwebapps\testappIf i upload 123.gif to "////xyz/testapp/ " path.later If i want to show this image in jsp file.What are possiable solutions to achive this ...
<p>hi,</p><p>I am having file in jsp. but, its take long time to run in browser. so i need to run jsp file in linux command prompt, Its possible to run JSP in linux command prompt?. If there is yes mean, plz tell how we can do that...</p><p>I am waiting for ur reply......</p><p>Thank in advance</p>
<p>Hi,</p><p>I have a form with several commandLink buttons in there that are binded to that same method in the backing bean. How do I find out in the backing bean which button is clicked.</p><p>Thanks</p>
2409 byte By
Ehsan.Sa at 2007-11-27 11:18:02
[nobr]HelloI have a form that gets the name of a term and some other information and then gets different values that can be attached to this term for example different URLs. the form looks something like this:<form id="expertForm" method="post"><input type="hidden" name="sendAll" /><br ...
2466 byte By
olegkona at 2007-11-27 11:18:06
Hi,I am relatively new to Struts [using 1.3].I need to create a form using Struts tag libs with 2 HTML select's [lists],connected to 2 DB tables, say allUsers and Admins, which would allowto select Administrators from the list of AllUsers.So I will have 3 buttons: Add, Remove and Update.Add - to ...
<p>I use Oracle JDeveloper. But It is so much complex I think.</p><p>What about Sun Studio Creator or Eclipse ?</p>
<p>Which book of JSF is good for beginning?</p><p>Any Basic or Beginning Tutorial?</p>
1062 byte By
paul@sdna at 2007-11-27 11:18:28
The single navigation to another page I have in a project no longer works after switching from 1.1 to 1.2. I've checked and rechecked syntax differences and libraries, but run out of ideas to debug this further. Any thoughts would be appreciated.Using Sun RI 1.2 - 1.2_04-b16-p02 via WTP 2.0I can ...
1521 byte By
Rhea1978a at 2007-11-27 11:18:41
I have a JSP where I am trying to display the elements of a collection. This collection is set as as Request Attribute in the action class. This collection contains the result of a database query done using Toplink. I am getting the collection as Not Null in the JSp but I am not able to display its ...
<p>hi.. i am just starting to learn JSP </p><p>how can i call a specific jsp script <% %> on mouse button click?</p>
3429 byte By
teser2a at 2007-11-27 11:18:57
I have a JSP that calls a method from a Servlet and it gives me a NullPointerException error in my Tomcat 5.5 Container on Windows.Here is my Servlet Class:package data;import java.io.*;import java.text.*;import java.util.*;import javax.servlet.*;import javax.servlet.http.*;public class DateServlet ...
Hello everybody ..I just want to make a <h:form> with two command buttonsand a separate action for each one,,i know the way and i did it, but it just not working...although i'm sure of the mapping in the faces-config.xml..a NullPointerException and 500 exception is returned...so ... ...
Hi,I'm developing a web application using Struts framework.and my questions is, does the validate method int the ActionForm replaces the using javascript validation?If I can do all the validations in this validate method, so does that mean that i'm not going to use JS at ...
org.apache.jasper.JasperException: An exception occurred processing JSP page /proj/AdminLog.jsp at line 130127: Driver Driverrs3 = (Driver)Class.forName(MM_Conn_DRIVER).newInstance();128: Connection Connrs3 = DriverManager.getConnection(MM_Conn_STRING,MM_Conn_USERNAME,MM_Conn_PASSWORD);129: ...
When compiling on linux/tomcat machine I put the path to cos.jar in my javac command and get the following error:.../cos.jar: cannot execute binary fileI can compile servlets that do not require this jar file but cannot compile servlets that need it. Does anyone know how to resolve ...
1761 byte By
D@vida at 2007-11-27 11:19:49
Hi,I have quite a problem with the following.Imagine a scenario like storing an item with a name and a variable number of detailsThe Input Form would look like this:Name: (inputText)Detail1: (inputText)add another detail (as a command link)Clicking the command link should lead to this:Name: ...
Hi,heres my requirement:To open a pop-up window onclick of a link from the parent window. Parent window has a data-table and a column called 'StatementInfo' which shows the statementNumber as a h:commandLink. When i click on the statement number i want to show the details of that statement in the ...
533 byte By
Shebua at 2007-11-27 11:20:04
Hi..Friends I am very new to all t his J2EE, can any one what is the differnce between Eclipse, Web Tool Platform and Lomboz eclipse.. ? What should I use to develop J2EE applications that includes JSP, Servelets, Htmls etc... Currently when I use Lomboz eclipse 3.2 I am not getting support writing ...
789 byte By
jimmy6a at 2007-11-27 11:20:19
In the validation phase, when i use valueBinding.getExpressionString(), It will give me "#{backingBean[property]}". But i want the original EL of jsf. Thus, how to get it back?<ui:composition><h:outputLabel for="#{property}" value="#{label}" /><h:panelGroup><t:inputSecret ...
Hi all,I'm using tomcat 4.1...I created the rmitunneler.war file which contains one servlet and configured the server.xml as the following:<Context path="/rmitunneler" docBase="/opt/uas/rmitunneler"crossContext="false"debug="0"reloadable="true" allowLinking="true"caseSensitive="true" />[/bI ...
9417 byte By
Meepa at 2007-11-27 11:20:27
The Action class should forward to the error.jsp after getting an error message. I purposely turned off the mySQL to get errors but it looks like it's not working for some reason. I looked at every code, it looks fine and should be working. I think it might be related to ActionMessages since I'm ...
Hi all,I have a deployed a sample JSF application in tomcat 6.0. It works fine. But when i try to port the same application to weblogic 9 it is not working, I am getting the following error when i try to access the jsf(jsp)weblogic.servlet.jsp.CompilationException: Failed to compile JSP ...
497 byte By
yael800a at 2007-11-27 11:20:42
HI,I'm new in server side.I have programed in the client side with swing 7 months.I'll start a new job in these topic (I will learn @ job), but I want to start to learn myselp.Al I know is it will be with J2EE & serverside.I don't used J2EE so from wher should I need to ...
1208 byte By
xoxotaa at 2007-11-27 11:21:10
I don't even know if I can explain what I want to do here, but here goes: I have a generic abstract "Task" class with common properties (name, description, startDate, endDate, isEnabled, owner), and a property called "editorAction" that specified the JSF action to call when editing this Task.There ...
1225 byte By
anw1652a at 2007-11-27 11:21:13
Could someone please tell me how cookies are scoped and managed? I have a web application, implemented with Tomcat, and in some parts of the application I can get cookies, and in others not. The header HOST value is the same (I've printed it out), so I don't know how to get at these cookies.What ...
2500 byte By
gsrya at 2007-11-27 11:21:34
[nobr]Hi,I am trying to add the values from left to right and remove from right to left. I need somebody's help as to how to move values from left to right box and right to left.If I select an item in the left and say add, the item has to be removed from the left box and added to the rigtht box ...
651 byte By
rcd27a at 2007-11-27 11:22:00
I install a Tomcat 6. When I run my application, the runtime exceptions debug on Tomcat server log did show any line number. It make me difficult to find the bug.Can anyone tell me why the exception debug info don't show line number instead od "Unknown Source" when I use Tomcat 6? The debug ...
Hi allIam working on one secured web site. My site pages are caching in browser.we can see the pages view-->Explorer Bar-->History in IE. It will give all the pages we have visited. can any one please tell me how to avoid storing these pages in browser. I already tried following code in ...
118 byte By
Suri.ya at 2007-11-27 11:22:56
<p>How to retrive Hidden Values from a JSP into an action ?</p><p>request.getParameter() is returning a null value</p>
<p>pls any body explains what is idempotent and non idempotent method in servets, and y ther r called as so?</p>
Hi all,I have a downloadservlet where I need to check permission. Therefore I retrieve a backing bean by creating a FacesContext and get the bean from it like this:FacesContext ctx = this.getFacesContext(request, response);VariableResolver vr = ...
I'm new to Java's webtechnology..I configurate tomcat in this way..For example:I place the tomcat related files hereD:\PROJECT\APPLICATION\TEST\TomcatServlet:D:\PROJECT\APPLICATION\TEST\WEB-INF\classesJSP:D:\PROJECT\APPLICATION\TEST\jspAfter placing them i run the application...It works ...
Hello every body .I am newer in jsf.I have used the following segment in my jsf page .Now I want to read value from intl properties file in place of "*********************".How i will do it?plz help me Thanks in advance.<t:panelGrid id="guestUserIstallationhelpnotesGrid" columns="1" width="100%" ...
1172 byte By
eegaia at 2007-11-27 11:23:49
I have a dataTable which has 20 columns. So the width of the dataTable is larger than screen width. I am also using a t:inputCalendar in 15th column. To select a calendar value in a row, I need to scroll horizontally. Because of this (horizontal scrolling), on click of the calendar image icon, the ...
1533 byte By
pvwa at 2007-11-27 11:23:50
hi,here is my code:public void doGet (HttpServletRequest _req, HttpServletResponse _res)throws ServletException, IOException {/* Refresh session attributes */session = _req.getSession();session.removeAttribute("loginError");session.removeAttribute("submitError");String action_get = ...
i made different types of reports in jsp.i want to print the particular report which is opened.i also have a print button,i can select different type of users from drop down list to see the report of selected user.report contain which different types of activities.i have to print opened report.how ...
Hello I have created a component in C++ using COM. I need to use this component in javascript. But I am getting an error message as shown below: Error:Automation Server cannot create objectCode Snapshot <html><head><meta http-equiv="Content-Type"content="text/html; ...
hi all, I have a jsp page where in i have a selection drop down menu box.... based on the selection of the drop down menu i should call the related servlet.---select the servlet to be called<select name="hello"><option value="hello world"> Hello World<option value="hello java">Hello ...
<p>Hi,</p><p>I am using Tabbed panes in JSF. I want to display the second tab and not the first tab when the page refreshes. How can I do that?</p><p>Thanks.</p>
Hi allI am trying to pass an object from a tag to a servlet. i did the following,1. In the tag class, i put:pageContext.getRequest().setAttribute("QList", list);The above Tag will go to a servlet, i need to read the above request attribute in the servlet, how can i do this?, i tried ...
392 byte By
relnaa at 2007-11-27 11:24:21
in some website if the login fails a message"login failed" is displayed on the login page itself.........in this case should we create a copy of the login page with this message displayed on it and redirect the user to the new page?means we have to duplicate this page and add a message in it....is ...
1771 byte By
jayson17a at 2007-11-27 11:24:22
Im creating a cms page, and what i want to do is to delete from my database(on button click) all userid that are checked in the list of userid<%//registering the driver Class.forName("org.gjt.mm.mysql.Driver").newInstance(); //defining URL of database serverString url = ...
Hello,I want to load an image whose name or path contains special character such as accents (a french name). So that generates an exception. For exemple for an image named caf.jpeg I obtain this message :java.io.FileNotFoundException: /media/disk/images/caf.jpeg (No such file or directory)Can you ...
Hi there,I want to use a jsp:include in home.jsp to include a servlet, NavigationServlet. NavigationServlet queries a database, creates a bean and stores the bean in the request before forwarding to sidebar.jsp. sidebar.jsp uses the bean stored in the request to output some data.Is this possible, ...
<p>hi,</p><p> i am using pagination in my application. But while i paginate it refresh the entire page insist of only datatable so that it take too much time for me to paginate. is there any way to optimize the pagination?</p><p>Regards,</p><p>Ananth.P</p>
Hi.On my jsf page I have this.<h:dataTable value="#{surveys}" id="surveys" var="surveyxx" styleClass="dvdtable" headerClass="dvdtablehead"rowClasses="results"columnClasses="dvdtablecol"><h:column><f:facet name="header"><h:outputText value="navn" /></f:facet><s:link ...