Hi,I'm using the validator framework with struts, in order to validate the user data. And I wanted to get the error messages from the MessageResources_en.properties file. But instead it writes ?en_US.errors.required? instead of fileds namesI don't think that there's a problem with my message ...
*******URGENT HELP REQUIRED*********THIS IS NOT A YADA YADA POST......Here is my code. I want to pop up a jsp page if user clicks on one radio button. <html> <title>Radio Button Validation</title> <body bgcolor="#FFFFFF"> <script language="JavaScript"> <!-- function ...
I've tried to find out how I can make h:dataTable with one (selectBooleanCheckbox) or more chechboxes (selectManyCheckbox) for each of table row.my Bean is:private DataModel userModel = new ListDataModel();private User user = new User();public void setUser(User u) {this.user = u;}public User ...
Hi,I have two servlets which is running on two different web applications. When i hit a servlet it has to forward to another servlet which is running on different web application. i tried request.getRequestDispatcher and servletContext.getRequestDispatcher but both takes as relative URL and appends ...
814 byte By
dr.jgha at 2007-11-27 11:25:23
Hi ,I have a servlet acting as a front controller which uses a JSP via request.getRequestDispatcher(main.jsp) to handle the display.The JSP uses a servlet to handle the display of some hyperlinks.I set an attribute in the controller servlet to true but in the servlet displaying links remains null. ...
<p>JSSF - Java Server Security Faces it's framework for security layer. With JSP tags and pages/resource access control. Support MyFaces and Sun RI JSF</p><p> http://sourceforge.net/projects/jssf/</p>
326 byte By
sam_wiza at 2007-11-27 11:26:08
Hi, I am developing an application using struts i need to display a part of the form (eg details of the item selected ) depending upon what is selected from a drop down in the form, can you please help me regarding this. iam running short of time , would highly appreciate quick replys thanx ...
<p>HI ALL </p><p>i wuould like to ask everybody wheni use session.setAttributte("a","a");</p><p>this method to set session on. and then after use this session variable i want to remove it . how can make it work?</p>
I am trying to use ">>" as a label of <h:commandButton>like this:<h:commandButton id="cmdNext" value=">>"></h:commandButton>Seems like JSF page validator doesnot like the way i assign >> to its value attribute.How can I assign >> to value of ...
I have created a navigation component "Menu" , used as follows:<custom:menu />The contents of menu are stored in an xml file and the Menu component delegates the rendering to a custom renderer, which basicaly writes out html links. (Actually, the component does a lot more, but I'm simplifying ...
This is what I want my user final page to look like.CID is 222Container_type is DVDContainer_size is 4gbContainer_desc is Western Digital External Hard Drive. S/N: 86973648396Project_ID is 118I have written code to get just one category from database and display on page.What code can write to ...
2150 byte By
Boozlea at 2007-11-27 11:26:47
Hi,The title sounds a little bit weird, sorry for that,but I don't know how to describe it with a less of characters. Let me explain my problem. I have a <h:selectOneMenu> tag that gets it <f:selectItems> through a backing bean. The selectOneMenu is then filled with a list of categories one ...
1103 byte By
xoxotaa at 2007-11-27 11:26:53
Here's a brain-twister. I'm using JSF for the following:I have a "main" page that lists Tasks. The user is able to click on a task to navigate to a Task Editor page, where they can edit information. Each Task has a list of Task Administrator emails, and the Task Editor page displays them in an ...
<p>Is there some way to have the dropdown portion of the selectOneMenu expand to be wide enough to show selections that are actually wider than the size of the control (in the non-select state)</p>
Hi All,I have a struts form bean - comForm and it has a property comArticle - which is a List of objects(bean objects). again each bean object has some more properties e.g articleSummary.I am using JSTL to print the articleSummary. <c:forEach items="${comForm.comArticle}" var="article" ...
<p>how to output a form bean object which has List as a property.</p><p>Message was edited by: </p><p>pingu143</p>
My jsp fold structure:Webcontent-index.html login -login.jsp me-me.jspmy java fold : src-login-Login.java me-QuestionSubmit.javaFirst I login successfully,and go to me.jsp pageI submit a form in me page,my jsp code:<form name="frmQuestion" method="post" action="SubmitQues">,but I get 404 error ...
241 byte By
mark07a at 2007-11-27 11:27:50
<p>I'm using 3 arrays in a program but i repeat the program once becuase i have to do 2 different websites so i don't want to have to write a whole nother set of code is there anyway i can just delete the whole array and use it again ?</p>
Hello Freinds,I am new to jsf. I have a jsf page containing a data table.One of the columns has a command link. When the user clicks on the command link, a action method is invoked and the page is redirected to a new page containing another datatable using a navigation-caseOn the click action ...
2142 byte By
kkorea at 2007-11-27 11:28:09
Hi All,I am facing problem with session variable in JSP. For 6/8 hours application is running fine then session variable on JSP become as null. Values of NAME_LIST are coming from database. When we are storing in DAO and Action we are getting NAME_LIST properly. But when control is forwarded to ...
I have an output that I get from my Oracle database where it takes parameters from form entries and queries the database.It list the records where it works with an ArrayList to get the output.Everything works great but was wondering if there is a more efficient way to do this?ArrayList ...
This is what I'm trying to do,I want to send image byte[] from a J2ME client to a servlet.But there is no correct length returned.Is there any way can get through this?I heard some one use Printwriter works,but still not work in my case.on servlet side--String type=request.getContentType();int ...
1379 byte By
aj.a at 2007-11-27 11:29:12
Folks,We are migrating from an JSP based UI to JSF. In our old application we used to have a single servlet base class that would wrap all the invocations of servlet subclasses within a AccessController.doPrivileged(PrivilegedExceptionAction, AccessControlContext).I'm looking for an suitable ...
151 byte By
rajtwa at 2007-11-27 11:29:14
<p>Hi all,</p><p>i need information that how to deploy servlete in web logic servler8.1?/</p><p>and what are the steps to be followed?</p><p>thanks</p>
[nobr]I have a custom tag library that I am trying to pass a parameter to. Some parameters can be passed but others can not. This is a really simplified example:<%@ taglib uri="/taglib/blah.tld" prefix="blah" %><blah:simple selectid="<%=new Date().toGMTString()%>"/>returns23 Jul 2007 ...
<p>Hi,</p><p>how to retrive data from sql server and produce it as statistical graph as output </p><p>which concept will be easy to implement?...</p><p>Please reply......</p><p>Regards,</p><p>Raghavan</p>
268 byte By
relnaa at 2007-11-27 11:30:03
<p>we have a list box with some values...</p><p>the selected value is inserted into the database</p><p>later,after retrieving the same String from result set ,we want it to be set as "selected" in the list box...( for modification purpose)</p><p>how will we do it?</p>
Hi all, i have scenario,where i need to send a http request to web application from core java application and send a object with request.URL url = new URL(" http://localhost:6060/EVIPPOC1/first.jsp?invokehandler=this&ccxmlsessionid="+ccxmlid.toString());URLConnection conn = ...
Hi to all java mania ...just a simple question - i don't know if it's simple - i wonder if any body can help me in telling me the way of uploading a web app on the neti've just finished my project and all i have to do now is to upload it one the company site,, and i have no idea at all, not the ...
Hi,In my project i am using Tomcat server . When ever i am accessing my files in another folder it says org.apache.jasper.JasperException. It is working well in localhost. When ever i am placing code in mysite it says error.org.apache.jasper.JasperException: Exception in JSP: ...
<p>Hi All</p><p>How can i access session object within a servlet?, specifically within doPost()</p><p> method?</p>
Hi,I would appreciate any help that I can receive, basically I need to be able to generate a list of cities (maybe even towns, if possible) along with the respective countries to provide as selectable options in an application.I am aware that Java provides the 'Locale' API, but unfortunately this ...
<p>I have a web page opened. When I press Ctrl N, it opens the same page in another window. Are these 2 pages in the same session, or it is a new session...Can anybody explain?</p>
<p>Pls help</p><p>I get an error on my jsp page as this when I try to retrieve datavalues</p><p>action_jsp.java:397: illegal start of expression</p><p>out.print(subject_ar=);</p><p>^</p><p>What does this mean?</p>
231 byte By
relnaa at 2007-11-27 11:31:41
<p>i have a jsp page with some check boxes and one "update" button.......... i want to post the data in to another jsp page along with the input from a user prompt........</p><p>how can i do it.........</p><p>please help.......</p>
1364 byte By
Zorama at 2007-11-27 11:31:47
Sir, I want to pass the variable 'transfer' to 3.jsp. What should I do?. And how?By using both the option like jsp:forward and response.sendRedirect(), its not working. Why? Can't I do it like this?Here's my code:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 ...
I want to know that which framework or tool is best for web application unit testing along with the JUnit. Can I know the differences between various framework like Cactus , Selenium and Shale. Can anyone suggest me that which one is best to use long with JUnit For JSF application and why is it ...
477 byte By
ninamoea at 2007-11-27 11:32:03
Hello everybodyI'm using Netbeans and Visual Web Pack to develop this web-thingy. I have a DropDownList where the user i supposed to select an item. After selection I want my dropdownlist to return to the first item. Can anybody tell me how to do this. I can't seem to find it out by myself.... As ...
Hei.Ich have found a **** &$$%% BUG When I use the Tomahawk-fileupload-component to upload a file to the webserver, I get an errormessagen and no fileupload-dialog :Line: 637Char: 4Error: Object requiredCode: 0URL: ..... The file upload control seems to work OK in Firefox, Konqueror, Opera, IE ...
<p>hi all</p><p>can u please tell me what design pattern is used in servlet context.</p><p>thanks</p>
<p>can u plz tell me what is connection time out in server.xml, how we can change it and what is the advanges or disadvantages if we change it.</p><p>Thanks in advance</p>
785 byte By
paridaa at 2007-11-27 11:32:50
hi all, i have an application in which i am using applet . in my applet i am sending a vector to my servlet.in the servlet iam storing it in session and using the vector as required in respective jsp pages.now the problem is when i use http://localhost:8080/myproject in codebase attribute of ...
14593 byte By
FT77a at 2007-11-27 11:32:51
Hi, i am German student and new to hibernate. I established a mn conetction between to entities using hbm.xml mapping files. now I try to create the same connection applying annotations. unfortunately it does not work and I do not now why. First my error message followed by my classes and ...
219 byte By
Husama at 2007-11-27 11:32:57
<p>How I can Hide the Save and Print button for the PDF viewer to prevent the users from print the page or save it .</p><p>also how we disable the save and the print for the IE explorer and the Firefox </p><p>Thanks</p>
hi,I am unable to convert the normal text into a textfield by using the following code.Is there any mistake in my code.my jsf page is<%@ taglib uri=" http://java.sun.com/jsf/core" prefix="f"%><%@ taglib uri=" http://java.sun.com/jsf/html" ...
Well, I want to know which is the best solutions for authentication and authorization on java web application.the most easy to use?the most flexible ?the most used on java community?and your opnion about your favorite mode (framework, way,...) to authencation and authorization java web app ...
889 byte By
marcelia at 2007-11-27 11:33:45
Hi guys,I implemented a Filter in my JSF application that works fine in ie6 and firefox. The problem appeared when I used ie7.It seems like ie7 has a different way to get the session. Here is my code (inside doFilter method):HttpServletRequest request = (HttpServletRequest)req);if ...
665 byte By
thanua at 2007-11-27 11:33:47
Hi , I need to find the height and width of an image (any type. for eg.jpg,png,tif,gif,eps etc.)the following code works for jpg,png and gif but not for eps and tif.eps is what i need. I read that imageicon does support jpg,png and gif and not other types. so is there any solution to find the ...
I have a datatable which is receiving generated data from an array. When displaying the datatable, I would like to have it sorted by one column. I've looked around on the internet, but all tutorials show how to sort the datatable when a user clicks on a header. I don't need user inputed sorting ...
Hi there,I am developing a web application with Netbeans Visual Webpack. Until now that all worked fine for me but now I am at some point where I want to have a "master page" that provides me a header and a footer, so that I don't have to include these things everytime on every page (what makes ...