Java Development Tools

  • "/tags/struts-bean" not found
  • Tue, 15 Jul 2008 14:46:00 GMT
  • hi all, i am using struts 1.1 with eclipse 2.1 and tomcat 5.0 with "easyStruts" plugin in a windows envioronment. But from yesterday i am getting messages like /tags/struts-bean not found(error code 500) if i am using any struts:bean key="anything" tags. i have already uninstalled and installed...
  • "/tags/struts-logic" not found
  • Tue, 15 Jul 2008 16:06:00 GMT
  • org.apache.jasper.JasperException: File "/tags/struts-logic" not foundI want to greet everyone in this forum since this is my first postand would like to ask you to excuse my ingorance and maybe somone can help me resolve this problemit is a startap Struts app, it works fine on my local tomcat b...
  • "/tags/struts-logic" not found
  • Tue, 15 Jul 2008 16:06:00 GMT
  • Hello Ranchers, I am getting the below mentioned error. 1st case. I mentioned "WEB-INF/struts-logic" in web.xml as well as in my jsp files. 2nd case. I also tried the other way by specifying- "/tags/struts-logic" in web.xml and in my jsp files. In both the cases, the exception thrown is the same...
  • "BeanUtils.populate" Problem
  • Tue, 15 Jul 2008 16:46:00 GMT
  • Hi everybody,I have a problem with my Struts application. I have a dynavalidator form in which i can register new City information. Its struts-config file includescode: <form-bean name="CityForm" type="org.apache.struts.validator.DynaValidatorForm"> <form-property name="City" type="mode...
  • "big" trap, snmp_trapsend
  • Wed, 14 Nov 2007 05:55:00 GMT
  • Hello everybody,I woul like to send SNMP trap to TMN by snmp_trapsend, which shold be looks like example below. It has been captured by Ethereal.Has anybody know how to write parameters for this "big" trap ?Thank you for any hint in ...
  • "boolean1 = boolean2" & "boolean1 == boolean2"
  • Mon, 25 Feb 2008 16:39:00 GMT
  • see the expressions (sorry, I'm a Chinese. I can a little English)boolean bl;if ( bl = false){// "="not "=="...}it has problems. but I compiled it ,and run. of course, the result has problems.I don't know why it can run. I use JDK 1.5 bete; ...
  • "Cannot retrieve definition for form bean" error
  • Tue, 15 Jul 2008 15:33:00 GMT
  • I'm getting the following error when I first bring up my web app and I cannot trace down where the culprit is. I've triple checked my Action Form properties to ensure I'm following the "bean law" but I can't uncover where the error may be ocurring. Any suggestions would be greatl...
  • "checked" property of a html:checkbox field ... ?
  • Tue, 15 Jul 2008 16:07:00 GMT
  • a classic html box can be designed "checked" if we want ......<checkbox name="checkName" value="wow" checked >there is a trick to have in video a checkbox created with <html:checkbox ... tag or <html:multibox ... tag checked ?!( the struts doc it's quite clear, there is not any "...
  • "Could not find the main class. Program will exit."
  • Sat, 22 Sep 2007 16:56:00 GMT
  • I have downloaded and installed "Java 2 Platform Standard Edition v1.4.2_05 SDK" and it all installs fine, but when i restart my pc, an error message appears:"Java Virtual Machine Launcher""Could not find the main class. Program will exit."Does any one know how i can solve this ...
  • "declared-sql" query problem in jbosscmp-jdbc.xml...
  • Tue, 15 Jul 2008 17:54:00 GMT
  • Hi,I got stuck with My application based on EJB2.1 using CMP2.0 spec. due to following "declared-sql" in my jboss-cmp:- <query> <description/> <query-method> <method-name>ejbSelectbean</method-name> <method-params> </method-params> </query-method>...
  • "EJB" Monson-Haefel JBoss Example ex06_3
  • Tue, 15 Jul 2008 17:54:00 GMT
  • I have just tried the example ex06_3 in Richard Monson-Haefel's EJB JBoss Workbook. I'm using jboss3.2.2-RC4. It failed to deploy until I created the CustomerHomeLocal and CustomerLocal interfaces.Anybody have any idea why, for this simple CMP example, these two interfaces are now requir...
  • "enter key" button focus ?
  • Tue, 15 Jul 2008 15:39:00 GMT
  • Hello I have following prob: a form with three buttonsa submit (normal html-button)a cancel (struts html:cancel button)and a reset (struts html:reset button)since I need javascript to run before submitionand after the result of the javascript function deciding if submiting or not I used a submit...
  • "Exception in web service communication" when trying to register system
  • Sat, 24 Nov 2007 08:55:00 GMT
  • Hello,I've tried several versions of update manager, including theversion provided by patch 121453-02, to register our systems.It never worked.When I last tried, I used the CLI, using this RegistrationProfile.properties (comments from template ...
  • "Execution failed with error code 1"
  • Wed, 07 May 2008 05:21:00 GMT
  • Hi everybody!I am not a very experienced java programmer and i am using netbeans 5.0with the mobility pack to make a simple midlet. My java sdk platform isjdk 1.5.0_06. I know this is a working midlet as i have built andcompiled through the command line. However, when running throughnetbeans, i...
  • "file " field getting reset on click of submit
  • Tue, 15 Jul 2008 13:54:00 GMT
  • Hi all,1. I have an <input type="file"> field on my jsp but when i browse a file and then click submit ..the path of the file gets reset.i dont want that.I am also using Struts validation framework for my jsp...
  • "file" field getting reset on clicking submit
  • Tue, 15 Jul 2008 13:54:00 GMT
  • 1. I have an <input type="file"> field on my jsp but when i browse a file and then click submit ..the path of the file gets reset.i dont want that.I am also using Struts validation framework for my jsp...
  • "Howto configure interfaces of boot & install server"
  • Fri, 25 Jan 2008 22:01:00 GMT
  • After a sucessfull install of the JET server, the OSP plug-in docs state the following:Troubleshooting:If your OS provisioning server is located on the same physical host as the boot and install server, youmust configure the interfaces on the system before you provision any target hosts. The ...
  • "html" to "struts JSP" tool?
  • Tue, 15 Jul 2008 15:47:00 GMT
  • Friends,I heard , there is a tool, which converts "html/JSPs" to "Struts JSPs". Do you have any idea about that? please provide me the inforamtion..thanks...
  • "html:base" tag usage confusion
  • Tue, 15 Jul 2008 15:58:00 GMT
  • I am trying to get my redirections work. I am using both javascript as well as struts <forward> ways to manage navigation.But not able to make redirections work perfectly.If I make my navigations work with javascript window.location.href="/jsp/junk.jsp" it fails for window.location.href="D...
  • "html:option" using properties file to load options
  • Tue, 15 Jul 2008 14:49:00 GMT
  • I am able to populate <html:select> with <html ptions> for which valuescome from a properties file.The problem isI want to have the display and value for <html ption> the same.Part of my code in jsp is like this.<% for(int k = 1;k<226;k++){%><html ption bundle="c...
  • "jsessionid=..." occassionally appears on my URL & sometimes I don, is that a bug ?
  • Tue, 15 Jul 2008 15:47:00 GMT
  • I have checked my browser by using "isREquestedSessionIDFromCookie()" method and it returns TRUE so my browser is supporting cookies. Now the confusing part is -- Sometimes I don't see any "jsessionid=xxxx" but sometimes I see "jsessionid=...", it looks like quite arbitrary, sometimes on thi...
  • "load module" is grayed out in the "Tools menu" (SMC 3.5)
  • Wed, 14 Nov 2007 06:29:00 GMT
  • Hello,I've installed SMC 3.5 Update 1 on a Solaris 8.There is no problem when creating a new node. But when selecting the "Tools" menu to load a module, the choice "Load module..." is grayed out. So I can't load modules into any node.When I try a "right-click" on the node, and select ...
  • "Missing/invalid instance-cache" error with Stateless Session ejb deployment
  • Tue, 15 Jul 2008 17:55:00 GMT
  • Hello!I have the following -jboss.xml for all of my stateless session EJBs.Trying to deploy on JBoss 4.0.1SP1 gives"org.jboss.deployment.DeploymentException:Missing or invalid Instance Cache (in jboss.xml or standardjboss.xml); - nested throwable: (java.lang.ClassNotFoundException: No ClassLoade...
  • "No Action" ActionForward
  • Tue, 15 Jul 2008 15:41:00 GMT
  • I have created an Action class which does session validation by checking to see if a "loggedIn" flag is set in the session - if it is absent, or set to false, then I want to forward to the login page. However if it is set to true then I don't want to do anything - the execute() method should...
  • "no data found" when trying to generate report
  • Wed, 14 Nov 2007 06:02:00 GMT
  • Hi,I have a problem when I try to generate a report. It says "no data found", but the property figures in the data collection on the host. With another property, I get the graph (Overall % CPU Utilization), but with this (Overall % CPU Idle) I get only no data found.Ooops, worse yet. I stop the ...
  • "No getter method error for property" caused by java.beans.Introspector feature/bug
  • Tue, 15 Jul 2008 16:28:00 GMT
  • I recently had a problem with a bean which causes the "No getter method for property..." when used with the <bean:write> tag.Surfing the web, I found the message posted October 27, 2004 09:41 AM in this forum by Erick Reid. The topic was "No getter method for property... (but not the usual...
  • "No getter method for property ..." error
  • Tue, 15 Jul 2008 14:05:00 GMT
  • Hi allI'm getting a "no getter method for property firstName of bean org.apache.struts.taglib.html.BEAN" error while processing the following page:// createBio.jsp<%.thatisjava.com. taglib uri="/WEB-INF/tld/struts-bean.tld" prefix="bean" %><%.thatisjava.com. taglib uri="/WEB-INF/tld/struts-html.tld" prefix="html...
  • "No name specified" - html:select & html:options
  • Tue, 15 Jul 2008 16:37:00 GMT
  • Most things in struts have come pretty easy for me, but <html:select> and <html:options> are really giving me fits.Here's my code:code:<html:form action="/loadCourse.do"> <html:select name="CourseBean" property="courseId"> <html:options collection="courses" labelPr...
  • "null is requred" validation message
  • Tue, 15 Jul 2008 16:53:00 GMT
  • Hi everyone -I'm a beginner in Struts and am just trying to introduce validation onto my form for the first time. The good news is that the form is validating, however a sensible error message is not being returned.My form bean property:code:<form-property name="type" type="java.lang.Stri...
  • "Page can't be found" error after hit "submit"
  • Tue, 15 Jul 2008 16:10:00 GMT
  • I created a simple struts app. I let the <forward> element to point back to the beginning "submit.jsp" page. However I keep seeing "404 page not found error". I got the submit.jsp page and after I select things on it and hit submit, I saw the URL changed to "/submitForm.do?name=-...&.." bu...
  • Java Technology Blogs
  • "Java Development Tools" Related Questions
  • "declared-sql" query problem in jbosscmp-jdbc.xml...
  • Hi,I got stuck with My application based on EJB2.1 using CMP2.0 spec. due to following "declared-sql" in my jboss-cmp:- <query> <description/> <query-method> <method-name>ejbSelectbean</method-name> <method-params> </method-params> </query-method>...
  • "Exception in web service communication" when trying to register system
  • Hello,I've tried several versions of update manager, including theversion provided by patch 121453-02, to register our systems.It never worked.When I last tried, I used the CLI, using this RegistrationProfile.properties (comments from template ...
  • "big" trap, snmp_trapsend
  • Hello everybody,I woul like to send SNMP trap to TMN by snmp_trapsend, which shold be looks like example below. It has been captured by Ethereal.Has anybody know how to write parameters for this "big" trap ?Thank you for any hint in ...
  • "html:base" tag usage confusion
  • I am trying to get my redirections work. I am using both javascript as well as struts <forward> ways to manage navigation.But not able to make redirections work perfectly.If I make my navigations work with javascript window.location.href="/jsp/junk.jsp" it fails for window.location.href="D...
  • "file " field getting reset on click of submit
  • Hi all,1. I have an <input type="file"> field on my jsp but when i browse a file and then click submit ..the path of the file gets reset.i dont want that.I am also using Struts validation framework for my jsp...
  • "EJB" Monson-Haefel JBoss Example ex06_3
  • I have just tried the example ex06_3 in Richard Monson-Haefel's EJB JBoss Workbook. I'm using jboss3.2.2-RC4. It failed to deploy until I created the CustomerHomeLocal and CustomerLocal interfaces.Anybody have any idea why, for this simple CMP example, these two interfaces are now requir...
  • "Execution failed with error code 1"
  • Hi everybody!I am not a very experienced java programmer and i am using netbeans 5.0with the mobility pack to make a simple midlet. My java sdk platform isjdk 1.5.0_06. I know this is a working midlet as i have built andcompiled through the command line. However, when running throughnetbeans, i...
  • "/tags/struts-bean" not found
  • hi all, i am using struts 1.1 with eclipse 2.1 and tomcat 5.0 with "easyStruts" plugin in a windows envioronment. But from yesterday i am getting messages like /tags/struts-bean not found(error code 500) if i am using any struts:bean key="anything" tags. i have already uninstalled and installed...
  • "No getter method error for property" caused by java.beans.Introspector feature/bug
  • I recently had a problem with a bean which causes the "No getter method for property..." when used with the <bean:write> tag.Surfing the web, I found the message posted October 27, 2004 09:41 AM in this forum by Erick Reid. The topic was "No getter method for property... (but not the usual...
  • "Missing/invalid instance-cache" error with Stateless Session ejb deployment
  • Hello!I have the following -jboss.xml for all of my stateless session EJBs.Trying to deploy on JBoss 4.0.1SP1 gives"org.jboss.deployment.DeploymentException:Missing or invalid Instance Cache (in jboss.xml or standardjboss.xml); - nested throwable: (java.lang.ClassNotFoundException: No ClassLoade...