I'm developing a web application using JSPs on windows 2000 machine. I'm using apache+tomcat as the web server. Using Jasper Reports for report generation.Currently i'm developing reports using HTML. At the bottom of that report page i've a button named 'Export to Excel'. Upon clicking ...
Comments (20) | Promote | Bookmark
Refresh Problem w/ updating JSPThu, 20 Sep 2007 09:08:00 GMTHi,Similarly to the post linked to herehttp://forum.java.sun.com/thread.jsp?forum=45&thread=274954 I've searched the archives and tried every suggestion to no avail. I'm hoping someone has more info.My problem is I have a JSP form the takes user changes then calls a servlet to update a ...
Comments (17) | Promote | Bookmark
How can I use active user session that's in an application scope Hashtable?Sat, 22 Sep 2007 06:27:00 GMTFirst of all, is it possible to use the same session after a user exits and then returns?Second, if it is possible, then please tell me what I need to do. So far, this is what I have been doing...1.) The user submits login credentials2.) The user is authenticated.3.) The user does not have an ...
Comments (7) | Promote | Bookmark
Developing simple web appSat, 22 Sep 2007 12:29:00 GMTHi,Really just want to know, I have this task to develop a sime web app that involves a database (to add new records, retrieve data, del, perform queries etc), where there are a number of user access levels. I'm envisioning that users will perform all this via JSP screens, with the input boxes ...
Comments (5) | Promote | Bookmark
Reading request contentsMon, 24 Sep 2007 18:07:00 GMTSeems like I am getting hung up with simple things (atleast they were really simple to do in JSP)!.Here goes, jsp page: <h:dataTable binding="#{choose_role.dataTable1}" id="dataTable1" value="#{UserBean.userRolesList}" var="RoleBean"><h:column binding="#{choose_role.column1}" ...
Comments (5) | Promote | Bookmark
DataScroller, table page navigation problemMon, 24 Sep 2007 06:40:00 GMTIn my case I have created page with table and datascroller. I navigate from this page to another page and then back. But here is a problem. If I begin, for example, from 3rd page of data scroller and return back, the datascroller alwas positions on first page! I wold like to return on the same ...
Comments (5) | Promote | Bookmark
please I desperatly need your helpMon, 24 Sep 2007 11:27:00 GMTsorry but I need 2 figure this out fast ive been at this all day but cant seem to find the answer.I need to write some info to a database but somehow it doesnt work.jsp code:<!-- order.jsp --><%@ page import = "project.Login" %><%@ page import = "java.util.Date" ...
Comments (5) | Promote | Bookmark
Compiling Servlet in EclipseSat, 22 Sep 2007 21:41:00 GMTI was wondering if anyone could provide a few steps to compile a servlet using Eclipse (I have jdk 1.5.0, eclipse 3.0.1, jakarta-tomcat-5.0.28, and the latest tomcat plugin for eclipse). Do I need to use Ant for this? What I'm hoping not to have to do is to use the command-line each time I ...
Comments (4) | Promote | Bookmark
Accessing Managed Beans from Mannaged Beans / ContextMon, 24 Sep 2007 09:19:00 GMTIs it possible to retrieve a reference on (all) managed beans, which have been created during a session from other managed beans / Java Objects?For example: A LoginScreen.jsp has a LoginBean which stores the userName.The next redirected jsp (after "login") is the MainScreen.jsp which has a ...
Comments (3) | Promote | Bookmark
javascript calling Java valueWed, 14 Nov 2007 16:44:00 GMTHi,I've got a slight problem on my JSP page.I have a value thru a value, request.getParameter("adcomments");I'm trying to call it via javascript in an input value like the following: <input name="activate" type="radio" value="3" ...
Comments (3) | Promote | Bookmark
dynamic include -not jsp:includeFri, 21 Sep 2007 05:29:00 GMThi all,what i want to know is --is there any way i can dynamically say<%@ include file=var %>i want to include same file from different folders that is why i was asking . i donot want to use jsp:include .thanks,gaurav...
Comments (3) | Promote | Bookmark
extending HtmlPanelNavigationMenuTue, 25 Sep 2007 07:03:00 GMTI'd like to add a method to HtmlPanelNavigationMenu class. I thought about extending it like this:public class HtmlNavigationMenu extends HtmlPanelNavigationMenu{private NavigationMenuItem currentItem;public HtmlNavigationMenu(){super();}public void setCurrentItem(NavigationMenuItem ...
Comments (2) | Promote | Bookmark
struts logic:equal problemSat, 22 Sep 2007 02:57:00 GMTI'm trying to use a struts tag to enable or disable a button dependent on certain variables in the session object. When I use session variable references like the following, the equals never evaluates properly even when I know that LIST_INDEX and LIST_LENGTH are the same:<logic:equal ...
Comments (2) | Promote | Bookmark
Form action not finding requested resourceTue, 25 Sep 2007 10:39:00 GMT[nobr]I am trying to get my first struts program to work in my Tomcat 5.5 container.I have two input field values and after I enter them it gives me error:The requested resource (/login) is not available.Here is my login page called loginPage.jsp:<%@ page language="java" %><h1>Login ...
Comments (2) | Promote | Bookmark
What is idempotent in servletThu, 15 Nov 2007 11:23:00 GMTpls any body explains what is idempotent and non idempotent method in servets, and y ther r called as so?...
Comments (2) | Promote | Bookmark
JSF 1,1 is a mature technology to put systems in production?Sat, 22 Sep 2007 13:57:00 GMTJSF 1,1 is a mature technology to put systems in production? Somebody has systems developed with JSF 1,1 in production?ThanksPablo Daro IngelhornIngelhorn SistemasToay- La Pampa - Argentina ...
Comments (2) | Promote | Bookmark
Tabbed Pane action performMon, 24 Sep 2007 23:03:00 GMTI am using the tabbed pane in JSF. I am able to getting the tabs and included jsps. If i performing any action in the included jsp my page is going to the default page.How to maintain to stay in that jsp when performing the action.RegardsSatish...
Comments (1) | Promote | Bookmark
kindly pls help meSat, 22 Sep 2007 14:30:00 GMTHi I am using javawebserver2.0, Oracle 8i, if i want to use javabeans in my application what are the steps i have to follow. pls reply me positively becaz i couldnt get any solution regarding this. I need the solution as earliest pls. Steps here means configurations if any where i have to store ...
Comments (1) | Promote | Bookmark
help on Tomcat error!Tue, 18 Sep 2007 02:47:00 GMTplease, can anyone suggest me a reason why I view this error everytime I call a sessionbean method through a jsp page?java.rmi.NoSuchObjectException: CORBA OBJECT_NOT_EXIST 0[]at java.lang.reflect.Constructor.newInstance(Native Method)at ...
Comments (1) | Promote | Bookmark
Convert Number converting to a Long instead of a Double. for x.00 valuesMon, 24 Sep 2007 21:01:00 GMTHi all,I have a table of input fields, each column maps to a map of values in my backing bean. The Map is typed as taking Double as the value.Map<String,Double> column1Map = new HashMap<Stirng,Double>();When I submit the form, the value set in the Map is inserted as a Long if the ...
Comments (1) | Promote | Bookmark
Request.setAttribute between classesThu, 15 Nov 2007 05:52:00 GMTHi I'm trying to keep a userid from a class call ActionLogin to then use it to select products bought by that userrequest.setAttribute("userid", login);Then I realize that userid isn't keeping anything when I'm tryin got access it withrequest.getParameter("userid") ...
Comments (1) | Promote | Bookmark
TROUBLE INSTALLING TOMCATThu, 20 Sep 2007 00:05:00 GMTI'm istalling tomcat.I got the catalina and javahome already set.I start it and it don't seem to has a problem.But the documentation tell me that start it, and go to http://localhost:8080/ to see de default settings, but the browser show me nothing but a troble.Can you tell me the steps I ...
Comments (1) | Promote | Bookmark
again need indexed propertyThu, 15 Nov 2007 06:42:00 GMTHi,I have in a jsp this nested...<nested:nest property="myList[0]"><nested:nest property="param[0]"><nested:text property="name"></nested:nest></nested:nest>The problem is what struts invoke method getList() and not getList(int index), i have need what invoke ...
Comments (1) | Promote | Bookmark
How to get the file name entered by the user to save the fileTue, 25 Sep 2007 06:34:00 GMTHi,In my application i am trying to export an application. On click of an button i m calling a javaScript method and in that method i am using the code as win.window.document.execCommand('SaveAs',false,'.fileExt');where win is the user defined window object.As this function is called i am ...
Comments (0) | Promote | Bookmark
How to fetch all the text from JSP & create JSP shade fileMon, 24 Sep 2007 17:04:00 GMTHi All,I am currently working on Internationalization. In my product we have lot of JSP page which we need to localized , One way is to make all this jsp internationalized and put all the string in properties files but that not feasible in shorter span of time for us.I need to fetch all the ...
Comments (0) | Promote | Bookmark
Multiple Select - Highlighting previous selectionsTue, 25 Sep 2007 06:55:00 GMTI am new to jstl, and have a question about a select statement with the multiple attribute. In my bean, I have an array of the selected items for the browser. I am creating the list using forEach. I was thinking that in the option tag I need to put some sort of test to set the selected ...
Comments (0) | Promote | Bookmark
Font.createFont temp file problem stillSun, 23 Sep 2007 11:05:00 GMTI have been searching for a fix for the createFont method tmp file problem. all i keep finding is bug reports that have been closed. It is not fixed if you use it in a jsp or servlet situation. The jvm doesnt close so they keep building up in the temp directory. try and delete them manually and ...
Comments (0) | Promote | Bookmark
component based on HtmlDataTableSun, 23 Sep 2007 22:07:00 GMTHi,I抦 trying to develop a class extending HtmlDataTablej with some features which require access to displayed data. But I don抰 know how to deal with raw data. Where is it ? There is method getRowData, but whenever I call it, i get InvalidArgumentException. How to get displayed data ...
Comments (0) | Promote | Bookmark
form validationMon, 24 Sep 2007 08:39:00 GMTHi all,i am modifying the user registration page.(ie)adding 3 more fields.say,phone,url,and country.what are the labels i should use.for example,for password field we r using,<label for="passtf"><fmt:message key="user.create.pwd" />:</label> *<input type="password" ...
Comments (0) | Promote | Bookmark
need help on developing Discussion ForumSun, 23 Sep 2007 20:01:00 GMTHi all,I have to develop a discussion forum for my website.I am facing problem in initiating.The Questions that come to my mind are :Which is the best practice to design a Discussion Forum ?What should be the design strategy ?I will appreciate if someone in this forum gives me rough idea or ...
Hi,In my application i am trying to export an application. On click of an button i m calling a javaScript method and in that method i am using the code as win.window.document.execCommand('SaveAs',false,'.fileExt');where win is the user defined window object.As this function is called i am ...
Hi All,I am currently working on Internationalization. In my product we have lot of JSP page which we need to localized , One way is to make all this jsp internationalized and put all the string in properties files but that not feasible in shorter span of time for us.I need to fetch all the ...
I am new to jstl, and have a question about a select statement with the multiple attribute. In my bean, I have an array of the selected items for the browser. I am creating the list using forEach. I was thinking that in the option tag I need to put some sort of test to set the selected ...
I have been searching for a fix for the createFont method tmp file problem. all i keep finding is bug reports that have been closed. It is not fixed if you use it in a jsp or servlet situation. The jvm doesnt close so they keep building up in the temp directory. try and delete them manually and ...
Hi,I抦 trying to develop a class extending HtmlDataTablej with some features which require access to displayed data. But I don抰 know how to deal with raw data. Where is it ? There is method getRowData, but whenever I call it, i get InvalidArgumentException. How to get displayed data ...
Hi all,i am modifying the user registration page.(ie)adding 3 more fields.say,phone,url,and country.what are the labels i should use.for example,for password field we r using,<label for="passtf"><fmt:message key="user.create.pwd" />:</label> *<input type="password" ...
Hi all,I have to develop a discussion forum for my website.I am facing problem in initiating.The Questions that come to my mind are :Which is the best practice to design a Discussion Forum ?What should be the design strategy ?I will appreciate if someone in this forum gives me rough idea or ...
Hi all,I have a table of input fields, each column maps to a map of values in my backing bean. The Map is typed as taking Double as the value.Map<String,Double> column1Map = new HashMap<Stirng,Double>();When I submit the form, the value set in the Map is inserted as a Long if the ...
Hi I'm trying to keep a userid from a class call ActionLogin to then use it to select products bought by that userrequest.setAttribute("userid", login);Then I realize that userid isn't keeping anything when I'm tryin got access it withrequest.getParameter("userid") ...
I'm istalling tomcat.I got the catalina and javahome already set.I start it and it don't seem to has a problem.But the documentation tell me that start it, and go to http://localhost:8080/ to see de default settings, but the browser show me nothing but a troble.Can you tell me the steps I ...