Hi all ...I am novice to struts...I want to know how to use Session in the Struts...There is a tag in the "action" element which says "scope=". Is there anything to do with this in the session management.Plese explain me with the following example. Suppose my first screen is accepting the userna...
Comments (7) | Promote | Bookmark
Dynamically Mapping Form Action with javascriptTue, 15 Jul 2008 13:57:00 GMTHi everyone,Can I dynamically assign the action property of an html:form tag in struts using javascript?If I omit the action property, I am getting the error "According to the TLD or the tag file, attribute action is mandatory for tag form".If I let the action="", my error would be "Cannot retri...
Comments (7) | Promote | Bookmark
How are Struts action forms stored?Tue, 15 Jul 2008 16:47:00 GMTHello,I have an action mapping that defines a form with name="abcForm" and says scope="session". I would like to know how struts saves this form in the session.I assume it is stored as an attribute. Is it stored under some simple key like the form name? If so, then if I do a session.setAttribute...
Comments (6) | Promote | Bookmark
Struts/Server Faces/Struts-FacesTue, 15 Jul 2008 16:42:00 GMTOk rephrased this: Sounded a bit ambigous.Were creating a media streaming website, using a custom build. We are online to implement it with Struts, however I have been reading a lot about JSF, and wonder how it would compare.The MVC view will be relatively weighty towards the view with less not...
Comments (6) | Promote | Bookmark
Advanced Action Classes Article (DispatchAction & LookupDispatchAction)Tue, 15 Jul 2008 16:11:00 GMThttp://doc.advisor.com/Articles.nsf/nl/13372BOOK EXCERPT:Professional Jakarta Struts: Advanced Action ClassesThis book chapter discusses the built-in Action classes that come with the Jakarta Struts Java development framework. Get a basic understanding of these actions and how to use them to mak...
Comments (5) | Promote | Bookmark
Apache Pluto & Apache JetSpeed , WSRP-4jTue, 15 Jul 2008 14:37:00 GMTIn my experience, i'm try to use pluto for make portal api and study concept of portal. BUT i'm found other portal project such as JetSpeed-n, WSRP-4j project at apache website.I never use JetSpeed and WSRP-4j project.How are diferent between Apache Pluto and Apache JetSpeed , WSRP-4j ?...
Comments (5) | Promote | Bookmark
Struts: No getter method for property... (but not the usual suspects)Tue, 15 Jul 2008 16:42:00 GMTrecently upgraded a webapp from struts 1.1b2 to 1.2.4, code that previously worked:code:<logic:iterate id="activity" name="timesheetFormBean" property="activities" type="com.company.product.Activity"> <html ption value="<%=activity.getID().toString()%>"><bean:write name="ac...
Comments (4) | Promote | Bookmark
Getting number of (Months / Days / Hours) between 2 Date / Calendar ObjectsSun, 23 Sep 2007 05:29:00 GMTIn an application I am working on, I need to compute the number of time intervals between to date / times. I currently have 2 Date objects, but makeing Calendar objects is no problem. The problem it there doesn't appear to be any 'easy' way to do this; there isn't a method in Date or ...
Comments (4) | Promote | Bookmark
smpatch & recommendedWed, 14 Nov 2007 09:18:00 GMTHello everybody,is there a way to apply a recommended patchcluster only? I tried, as described in http://docs.sun.com/app/docs/doc/817-1985/6mhm8o622?a=view, but have an error:root@app02:/var/sadm/spool> smpatch ...
Comments (4) | Promote | Bookmark
Arrays of ActionFormsTue, 15 Jul 2008 14:46:00 GMTI've just started learning Struts, and basically I'm trying to see how I can use it to improve our web app which will soon be going through major revisions. Is there any way for a .jsp page to create an array of ActionForms.For instance, my web app displays a number of lab tests, the num...
Comments (3) | Promote | Bookmark
Retaining & clearing out form bean valuesTue, 15 Jul 2008 16:40:00 GMTI'm implementing a functionality where I've two navigation paths.One, the user may wish to start over and key in new data.Secondly, the user might need to edit the existing criteria.In the action mapping, i've defined the form bean scope as session. This helps if the user wants to ed...
Comments (3) | Promote | Bookmark
BeanUtils issueTue, 15 Jul 2008 16:55:00 GMTBeanUtils.copyProperties(bean, formBean) works fine. But I have a form bean with a String array and I want to copy this too into the java bean; but I get an exception when doing this as:java.lang.IllegalArgumentException: argument type mismatchIs copyProperties() not valid for arrays? Then what...
Comments (3) | Promote | Bookmark
invoke EJB on a remote machine with dynamic IPTue, 15 Jul 2008 17:57:00 GMTHi I'm new to JbossAnd I have spent days trying to solve this. Please help me!I would like to configure JBoss 4.0.2 on Redhat linux 9. And I need to call remote EJBs from another PC across the internet.It works fine when I modify /etc/hosts so that my hostname can be resolved to a valid IP a...
Comments (3) | Promote | Bookmark
Tree View or Menu View & Struts Compatibility ?Tue, 15 Jul 2008 15:55:00 GMTHello.I need to make a windows explorer type of view using Struts 1.1. So for that what should I opt for?should I use Treeview or Menu view? Firstly it must be compatible with struts and then also be dynamic.It should also interact with the database in SQL Server 2000 and interact with it. So wh...
Comments (3) | Promote | Bookmark
Does patch clusters contain all old patches?Wed, 14 Nov 2007 17:54:00 GMTSuppose I have a system installed long ago, that has never been patched. If I install only the latest recommended and security patch cluster, will I then get all recommended and security patches?Or will there be recommended and security patches missing because I have failed to install earlier ...
Comments (2) | Promote | Bookmark
html:select error occuringTue, 15 Jul 2008 14:12:00 GMTStruts version 1.1What I am trying to do :I have an input page that has required fields and some dropdown boxes that users uses as a pick list. When the struts validator detects that required fields are missing, send the user back to the page he/she just came from and notify them what the need t...
Comments (2) | Promote | Bookmark
Why Struts 2?Tue, 15 Jul 2008 14:33:00 GMTHello,With so many web frameworks in the market - Struts, Struts 2, Spring MVC, VRaptor, Mentaway, WebWork, etc - why would I choose Struts 2?Which conditions would make Struts2 more attractive for me than the others?...
Comments (2) | Promote | Bookmark
JBoss + Jetty -> restart overwrites filesTue, 15 Jul 2008 17:50:00 GMTHello.I'm using JBoss 3.0.2 + Jetty on SolarisIf I put an EAR file into /usr/local/jboss/server/default/deploythen my webapp will end up here:/var/tmp/Jetty__8080__webappname/this is fine. But if I ever restart JBoss, the entire directory gets re-created, so any images I've added after d...
Comments (2) | Promote | Bookmark
Please explain Struts: requestprocessor processactionperform()Tue, 15 Jul 2008 14:45:00 GMTI've been reading up on this but cannot seem to get a grip on what it's usefullness could be.Could sommeone please shed some light?Thanks....
Comments (2) | Promote | Bookmark
Struts is ThreadSafeTue, 15 Jul 2008 14:24:00 GMTHow can we say that Struts is ThreadSafe?...
Comments (1) | Promote | Bookmark
ioctl in iprb & bge driversWed, 14 Nov 2007 05:55:00 GMTHi all,I trying to find the ioctl support by Solaris 10 NIC drivers, am looking for info on iprb and bge drivers.any one has any info on these?Thanks and Regards...
Comments (1) | Promote | Bookmark
html:form pointing to some outside url ?Tue, 15 Jul 2008 16:16:00 GMTIs it possible to use <html-form -tag to send the form to some outside URL?For example:code:<html:form action="http://www.disney.com"> <html:hidden property="foobar"></html:form>At the moment the only workaround I have figured out is to use normal <form>-tags like this...
Comments (1) | Promote | Bookmark
Calendar in strutsTue, 15 Jul 2008 16:50:00 GMTCan someone let me know how to get the pop up Calendar on a page?I downloaded a javascript from http://www.mattkruse.com/ but do not know how to incorporate in the jsp .Any idea?...
Comments (1) | Promote | Bookmark
internalizationTue, 15 Jul 2008 16:56:00 GMTi want to build an application in which if i create a list of language and select any language then content of all the page should have to change in that language...so any body can tell me how to do this.......
Comments (1) | Promote | Bookmark
ViswaTue, 15 Jul 2008 14:42:00 GMTHow to add a Bunch of Text like paragraph in Struts...
Comments (0) | Promote | Bookmark
Struts logic iterate problemsTue, 15 Jul 2008 15:59:00 GMTStruts logic iterate problemsin my programe wanted to iterate to display table form list values.like 4 columns and 3 rows.table<body><table width="75%" border="0"> <tr> <td>record1</td> <td>record2</td> <td>record3</td> <td>record4</...
Comments (0) | Promote | Bookmark
Un systme de conjugaison mieux que le BescherelleTue, 06 May 2008 18:50:00 GMTOn 10 Sep 2005 03:29:09 -0700, conjugate6pourcent@163.com wrote orquoted :>1. la forme pour je l'indicatif prsent>2. la forme pour ils l'indicatif prsent>3. la forme pour nous l'indicatif prsent>4. la forme pour je au futur simple>5. la forme pour je au pass simple&...
Comments (0) | Promote | Bookmark
How to configure oil-service.xml in JbossTue, 15 Jul 2008 17:49:00 GMTHow to use oil-service.xml in Jboss? I want to connect to remote Jboss server through a session bean which is deployed in my machine.Please someone help me.Thanks in advance :-)...
Comments (0) | Promote | Bookmark
Instantiation ExceptionsTue, 15 Jul 2008 15:57:00 GMTHi, I'm trying to use tiles with struts and i get the following error.What I am trying to do is to forward to a tile definition from an action maping and in my tile-definitions load a tile which has its own action. I get the following errorTilesRequestProcessor - -Can't create associated...
Comments (0) | Promote | Bookmark
Where to synchronize struts 1.1Tue, 15 Jul 2008 16:50:00 GMTHello,I need to thread safe a very basic struts app. It get user info and inserts it into a db, but there are sessions involved.The app uses two model classes, users and orders, each with getters and setters that handle instance variables through the action classes..My question is this,Do I thre...
How to add a Bunch of Text like paragraph in Struts...
Struts logic iterate problemsin my programe wanted to iterate to display table form list values.like 4 columns and 3 rows.table<body><table width="75%" border="0"> <tr> <td>record1</td> <td>record2</td> <td>record3</td> <td>record4</...
On 10 Sep 2005 03:29:09 -0700, conjugate6pourcent@163.com wrote orquoted :>1. la forme pour je l'indicatif prsent>2. la forme pour ils l'indicatif prsent>3. la forme pour nous l'indicatif prsent>4. la forme pour je au futur simple>5. la forme pour je au pass simple&...
How to use oil-service.xml in Jboss? I want to connect to remote Jboss server through a session bean which is deployed in my machine.Please someone help me.Thanks in advance :-)...
Hi, I'm trying to use tiles with struts and i get the following error.What I am trying to do is to forward to a tile definition from an action maping and in my tile-definitions load a tile which has its own action. I get the following errorTilesRequestProcessor - -Can't create associated...
Hello,I need to thread safe a very basic struts app. It get user info and inserts it into a db, but there are sessions involved.The app uses two model classes, users and orders, each with getters and setters that handle instance variables through the action classes..My question is this,Do I thre...
How can we say that Struts is ThreadSafe?...
Hi all,I trying to find the ioctl support by Solaris 10 NIC drivers, am looking for info on iprb and bge drivers.any one has any info on these?Thanks and Regards...
Is it possible to use <html-form -tag to send the form to some outside URL?For example:code:<html:form action="http://www.disney.com"> <html:hidden property="foobar"></html:form>At the moment the only workaround I have figured out is to use normal <form>-tags like this...
Can someone let me know how to get the pop up Calendar on a page?I downloaded a javascript from http://www.mattkruse.com/ but do not know how to incorporate in the jsp .Any idea?...