Is there any IDE for JSP? If yes, how to configure?
Hi Please give me the list of IDEs that can be used to run the JSPs in the IDE itself. Also provide me the steps to configuration the best IDEwith any application server. Thanks EdaDo You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year!http://personal.mail.yahoo.com/
RE: Is there any IDE for JSP? If yes, how to configure?
There is an Application Server Pramati, which has got Studio and Server. Studio has got test Server also Thanks and Regards MadhuSudhan Rao -Original Message-From: Eda Srinivasareddy [mailto:[EMAIL PROTECTED]]Sent: Thursday, July 05, 2001 12:30 PMTo: [EMAIL PROTECTED]; suhasSubject: Is there any IDE for JSP? If yes, how to configure? Hi Please give me the list of IDEs that can be used to run the JSPs in the IDE itself. Also provide me the steps to configuration the best IDEwith any application server. Thanks Eda Do You Yahoo!?Get personalized email addresses from Yahoo! Mail - only $35 a year!http://personal.mail.yahoo.com/
bean with dynamic properties
Hi I was not able to understand what u mean by bean with dynamic properties ? How this can be done ? Suhas
How do frames work with struts?
Hello, ... I've got a frame that works perfectly on his own, but once inside the frameset it gives a ServletException. Any idea? (scope is already session). Thanks everlybody!
Re: URL rewriting
if it is done internally, then if we disable cookies in browser session is not carried forward to other pages. rajiv - Original Message - From: suhas To: [EMAIL PROTECTED] Sent: Thursday, July 05, 2001 11:15 AM Subject: Re: URL rewriting it is done internally by struts tags . That's one of the reason u are using struts tag instead of normal html tags . Suhas - Original Message - From: rajiv mulay To: [EMAIL PROTECTED] Sent: Thursday, July 05, 2001 10:22 AM Subject: URL rewriting how to achive url rewriting in sturts. rajiv
AW: Is there any IDE for JSP? If yes, how to configure?
You could try JDeveloper 3.2.3 at Oracle Technical Network. I think they use tomcat for testing jsp's in the IDE. Also you can generate tag-libraries with their Business Components for Java. I found it not so bad ... Kind regards, Dimitris -Ursprüngliche Nachricht- Von: Eda Srinivasareddy [SMTP:[EMAIL PROTECTED]] Gesendet am: Donnerstag, 5. Juli 2001 09:00 An: [EMAIL PROTECTED]; suhas Betreff: Is there any IDE for JSP? If yes, how to configure? Hi Please give me the list of IDEs that can be used to run the JSPs in the IDE itself. Also provide me the steps to configuration the best IDE with any application server. Thanks Eda - Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ Datei: ATT9.htm,html,asp,php
Anyone knows how does a frame work with struts?
I've got a frame that works perfectly on his own, but once inside the frameset it gives a ServletException. Any idea? (scope is already session). Thanks a lot everlybody!
Re: pls help java files wont compile - take a look
Hi, i have insured that the tld are also within the \WEB-INF of my web app,create a claaspath as follows- C:\jakarta-tomcat-3.2.2\webapps\bbnp\WEB-INF\classes\org\apache\struts - Thus within here reside CustomForm,FormBean,CustomMapping,LogonForm,LogonAction DBHandler. etc etc.There are two of THE SAME FILE each one with a file notation ie GroupAction.java the other GroupAction.java~(miltida) the uncompiled class . Thus the is a further dir action were ActionForward,ActionMapping reside again with the similar state notation. Can anyone post a map or snip of the Action Classes. or there path. Any Suggestions as i i have come against a brick wall. Chuck Amadi wrote: Hi again, i have encountered within the strus-examples a class path that states the wrong name.I have attached a visual for your perusal. Please comment Cheers chuck. Peter Alfors wrote: > Are you looking for the ActionMapping class file or java file? > either way, it should be in your download of struts??? > > Pete > > Chuck Amadi wrote: > > > Hi yes all my jar files are in WEB-INf\lib.Could you post a snippet of > > ActionMappings.class. > > As i have located a copy in the struts-example in another application albeit i > > can't access it. > > Cheers Chuck > > > > Calvin Yu wrote: > > > > > Is struts.jar in WEB-INF/lib? If so, check to make sure > > > ActionMappings.class is in it. The package name is correct, its just that > > > javac cannot find the struts.jar. > > > > > > Calvin > > > > > > - Original Message - > > > From: "Chuck Amadi" [EMAIL PROTECTED]> > > > To: [EMAIL PROTECTED]> > > > Sent: Tuesday, July 03, 2001 9:13 AM > > > Subject: Re: SV: pls Help Invalid Package Declartions .java File Wont > > > compile > > > > > > > Hi, pls can some one confirm the package name for ActionMappings as i > > > > recieve the following error. > > > > > > > > I am aware that i have the incorrect package thus were does ActionMappings > > > > reside. > > > > Cheers Chuck > > > > > > > > WEB-INF/classes/logon/LogonForm.java [70:1] Class ActionMapping not found > > > > in type declaration or import. > > > > import org.apache.struts.action.ActionMapping; > > > > ^ > > > > WEB-INF/classes/logon/LogonForm.java [69:1] Class ActionForm not found in > > > > type declaration or import. > > > > import org.apache.struts.action.ActionForm; > > > > ^ > > > > WEB-INF/classes/logon/LogonForm.java [68:1] Class ActionErrors not found > > > in > > > > type declaration or import. > > > > import org.apache.struts.action.ActionErrors; > > > > ^ > > > > WEB-INF/classes/logon/LogonForm.java [67:1] Class ActionError not found in > > > > type declaration or import. > > > > import org.apache.struts.action.ActionError; > > > > ^ > > > > WEB-INF/classes/logon/LogonForm.java [85:1] Class ActionForm not found in > > > > type declaration or import. > > > > public final class LogonForm extends ActionForm { > > > > ^ > > > > WEB-INF/classes/logon/LogonForm.java [159:1] Class ActionMapping not found > > > > in type declaration or import. > > > > public void reset(ActionMapping mapping, HttpServletRequest request) { > > > > ^ > > > > WEB-INF/classes/logon/LogonForm.java [177:1] Class ActionErrors not found > > > > in type declaration or import. > > > > public ActionErrors validate(ActionMapping mapping, > > > > ^ > > > > WEB-INF/classes/logon/LogonForm.java [177:1] Class ActionMapping not found > > > > in type declaration or import. > > > > public ActionErrors validate(ActionMapping mapping, > > > > ^ > > > > 8 errors > > > > Errors compiling LogonForm. > > > > > > > > Chuck Amadi wrote: -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi. Name: Thus states the wrong name.doc Thus states the wrong name.doc Type: Winword File (application/msword) Encoding: base64 Download Status: Not downloaded with message -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion
Re: URL rewriting
Hi I also read some where in struts user guide, that the struts internally handles the URL rewriting. But when we run our application which is perfectly running when cookies are enabled is not running when cookies are disabled. What might be the reason. If u have any example which runs even if the cookies are disabled, please forward it. Thanks Eda suhas [EMAIL PROTECTED] wrote: it is done internally by struts tags . That's one of the reason u are using struts tag instead of normal html tags . Suhas - Original Message - From: rajiv mulay To: [EMAIL PROTECTED] Sent: Thursday, July 05, 2001 10:22 AM Subject: URL rewriting how to achive url rewriting in sturts. rajivDo You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year!http://personal.mail.yahoo.com/
Re: pls help java files wont compile - take a look ****
Hi me again. After burning the midnight oil i have found and utlised the struts-examples. Firstly i have a classpath C:\jakarta-tomcat-3.2.1\webapps\bbnpa\WEB-INFclasses\examples Thus resides ActionMapping.class and many others. So i have c p my other .java files within this dir as the previous occasions they wouldn't compile as they couldn't located ActionMapping.class (class ActionMapping not found in type declartion or import).Thus i will try and compile the .java files. Secondly cheers for all those that helped diganois my symstoms im not out of the woods yet but getting there. Cheers Folks Chuck. Chuck Amadi wrote: Part 1.1 Type: Plain Text (text/plain) Encoding: 8bit -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi.
RE: URL rewriting
You need to check out the html:link custom tag to handle URL rewriting. Refer to the online manual for details:- http://jakarta.apache.org/struts/struts-html.html#link Hope this helps. Regards Tim -Original Message-From: Eda Srinivasareddy [mailto:[EMAIL PROTECTED]]Sent: Thursday, 5 July 2001 6:46 PMTo: [EMAIL PROTECTED]; suhasSubject: Re: URL rewriting Hi I also read some where in struts user guide, that the struts internally handles the URL rewriting. But when we run our application which is perfectly running when cookies are enabled is not running when cookies are disabled. What might be the reason. If u have any example which runs even if the cookies are disabled, please forward it. Thanks Eda suhas [EMAIL PROTECTED] wrote: it is done internally by struts tags . That's one of the reason u are using struts tag instead of normal html tags . Suhas - Original Message - From: rajiv mulay To: [EMAIL PROTECTED] Sent: Thursday, July 05, 2001 10:22 AM Subject: URL rewriting how to achive url rewriting in sturts. rajiv Do You Yahoo!?Get personalized email addresses from Yahoo! Mail - only $35 a year!http://personal.mail.yahoo.com/
Problems with JBuilder4
Hi, after a long battle if have finally managed to get a first test project with Struts starting under JBuilder4 / Tomcat3.2.2. I do get the first page (logon) but no reaction to the submit button. JB status line says null pointer exception. When I try the same from IE it works fine. As I am using the context started up by JB (I am running the JB project) I suspect some strange behavior of the JB debugging environment. I had checked all source files and configs - it works when called from IE directly, so these should be OK. Any suggestions would be greatly appreciated. TIA Peter
Re: Basic Q were can i gets details on BMO DAO(SESSION BEANS)
Hi , i am after details regarding BMO DAO - Process Bussniess logic Session Beans. Cheers chuck -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi.
Re: Basic Q were can i gets details on BMO DAO(SESSION BEANS)
U can get this in the j2EE design patterns in the java.sun.com/j2ee - Original Message - From: Chuck Amadi To: Craig R. McClanahan Sent: Thursday, July 05, 2001 10:35 AM Subject: Re: Basic Q were can i gets details on BMO DAO(SESSION BEANS) Hi , i am after details regarding BMO DAO - Process Bussniess logic Session Beans. Cheers chuck -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
Re: Basic Q were can i gets details on BMO DAO(SESSION BEANS)
Cheers suhas suhas wrote: Part 1.1Type: Plain Text (text/plain) Encoding: quoted-printable -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
Re: Regarding JavaOne Presentations
I will try my password for JDC Community cheers again suhas wrote: Part 1.1Type: Plain Text (text/plain) Encoding: quoted-printable -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
Re: Regarding JavaOne Presentations - no joy :^{
Hi again not much there , can you explain what theses ancorithms are BMO DAO (presentations) or are they just abbreviations for what was requries inside of the Process Business Logic Session Bean. Cheers Chuck suhas wrote: Part 1.1Type: Plain Text (text/plain) Encoding: quoted-printable -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
Re: SV: pls Help .java File Wont compile/wrong name packages
Hi Peter Alfors, i added the dir structure that corresponds to the package ie. WEB-INF/classes/org/apache/struts/action/ActionMapping.class. I recieve a mouseOver prompt saying wrong name -i am unable to edit these white crosses on red bground. Any other ideas. Peter Alfors wrote: Are you looking for the ActionMapping class file or java file? either way, it should be in your download of struts??? Pete Chuck Amadi wrote: > Hi yes all my jar files are in WEB-INf\lib.Could you post a snippet of > ActionMappings.class. > As i have located a copy in the struts-example in another application albeit i > can't access it. > Cheers Chuck > > Calvin Yu wrote: > > > Is struts.jar in WEB-INF/lib? If so, check to make sure > > ActionMappings.class is in it. The package name is correct, its just that > > javac cannot find the struts.jar. > > > > Calvin > > > > - Original Message - > > From: "Chuck Amadi" [EMAIL PROTECTED]> > > To: [EMAIL PROTECTED]> > > Sent: Tuesday, July 03, 2001 9:13 AM > > Subject: Re: SV: pls Help Invalid Package Declartions .java File Wont > > compile > > > > > Hi, pls can some one confirm the package name for ActionMappings as i > > > recieve the following error. > > > > > > I am aware that i have the incorrect package thus were does ActionMappings > > > reside. > > > Cheers Chuck > > > > > > WEB-INF/classes/logon/LogonForm.java [70:1] Class ActionMapping not found > > > in type declaration or import. > > > import org.apache.struts.action.ActionMapping; > > > ^ > > > WEB-INF/classes/logon/LogonForm.java [69:1] Class ActionForm not found in > > > type declaration or import. > > > import org.apache.struts.action.ActionForm; > > > ^ > > > WEB-INF/classes/logon/LogonForm.java [68:1] Class ActionErrors not found > > in > > > type declaration or import. > > > import org.apache.struts.action.ActionErrors; > > > ^ > > > WEB-INF/classes/logon/LogonForm.java [67:1] Class ActionError not found in > > > type declaration or import. > > > import org.apache.struts.action.ActionError; > > > ^ > > > WEB-INF/classes/logon/LogonForm.java [85:1] Class ActionForm not found in > > > type declaration or import. > > > public final class LogonForm extends ActionForm { > > > ^ > > > WEB-INF/classes/logon/LogonForm.java [159:1] Class ActionMapping not found > > > in type declaration or import. > > > public void reset(ActionMapping mapping, HttpServletRequest request) { > > > ^ > > > WEB-INF/classes/logon/LogonForm.java [177:1] Class ActionErrors not found > > > in type declaration or import. > > > public ActionErrors validate(ActionMapping mapping, > > > ^ > > > WEB-INF/classes/logon/LogonForm.java [177:1] Class ActionMapping not found > > > in type declaration or import. > > > public ActionErrors validate(ActionMapping mapping, > > > ^ > > > 8 errors > > > Errors compiling LogonForm. > > > > > > Chuck Amadi wrote: > > > > > > > Hi, pls could anyone confirm the ActionMappings package ActionForward > > > > package name within WBE-INF\classes\. dir as im lead to believe this > > > > might be the cause of my problems. > > > > > > > > Chuck Amadi wrote: > > > > > > > > > Part 1.1 Type: Plain Text (text/plain) > > > > > Encoding: 8bit > > > > > > > > -- > > > > The views expressed by the sender of this message don't > > > > necessarily represent those of Brecon Beacons National Park > > > > Authority. This message is intended for the addressee(s) only > > > > and is sent in confidence; if you receive it in error, please can you > > > > let us know (at [EMAIL PROTECTED]) and then destroy all copies. > > > > Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn > > > > adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. > > > > Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion > > > > yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn > > > > mewn camgymeriad, a fyddech gystal rhoi gwybod i > > > > ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi. > > > > > > -- > > > The views expressed by the sender of this message don't > > > necessarily represent those of Brecon Beacons National Park > > > Authority. This message is intended for the addressee(s) only > > > and is sent in confidence; if you receive it in error, please can you > > > let us know (at [EMAIL PROTECTED]) and then destroy all copies. > > > Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn > > > adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. > > > Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion > > > yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn > > > mewn camgymeriad, a fyddech gystal rhoi gwybod i > > > ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi. > > > > > -- > The views expressed by the sender of this message don't > necessarily represent those of Brecon Beacons National Park > Authority. This message is intended for the addressee(s) only > and is sent in confidence; if you receive it in error, please can you > let us know (at [EMAIL PROTECTED])
Re: Regarding JavaOne Presentations - no joy :^{
DAO - Date access Object . Generally used to when u want to have the felxibility of changing the database . This Data Access Objects accesses the database . Instead of tying the business logic to one database , u can use this patterns and get the added advantage . U have to create the DAO for each database . and call them from within the Entity beans or session beans or from within the Handler classes ( in case of accessing Read only data from database) Even u can make certain decision specific to database in the respective DAO implementations . ( e.g can have database specific queries ) For more information take a look at Design Patterns in J2EE ( Blue Print book from SUN ) - Original Message - From: Chuck Amadi [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 05, 2001 11:41 AM Subject: Re: Regarding JavaOne Presentations - no joy :^{ Hi again not much there , can you explain what theses ancorithms are BMO DAO (presentations) or are they just abbreviations for what was requries inside of the Process Business Logic Session Bean. Cheers Chuck suhas wrote: Part 1.1Type: Plain Text (text/plain) Encoding: quoted-printable -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
Re: SV: pls Help .java File Wont compile/wrong name packages
Hi Chuck I seen u sending lots of message regarding this question . But lost the thread in between !! I did not get what u really want to do ??? R u want to compile ( build ) the stuts source . Then try using Ants which compiles the source files from the Struts package . Suhas - Original Message - From: Chuck Amadi To: [EMAIL PROTECTED] Sent: Thursday, July 05, 2001 11:50 AM Subject: Re: SV: pls Help .java File Wont compile/wrong name packages Hi Peter Alfors, i added the dir structure that corresponds to the package ie. WEB-INF/classes/org/apache/struts/action/ActionMapping.class. I recieve a mouseOver prompt saying wrong name -i am unable to edit these white crosses on red bground. Any other ideas. Peter Alfors wrote: Are you looking for the ActionMapping class file or java file? either way, it should be in your download of struts??? Pete Chuck Amadi wrote: Hi yes all my jar files are in WEB-INf\lib.Could you post a snippet of ActionMappings.class. As i have located a copy in the struts-example in another application albeit i can't access it. Cheers Chuck Calvin Yu wrote: Is struts.jar in WEB-INF/lib? If so, check to make sure ActionMappings.class is in it. The package name is correct, its just that javac cannot find the struts.jar. Calvin - Original Message - From: "Chuck Amadi" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 03, 2001 9:13 AM Subject: Re: SV: pls Help Invalid Package Declartions .java File Wont compile Hi, pls can some one confirm the package name for ActionMappings as irecieve the following error. I am aware that i have the incorrect package thus were does ActionMappingsreside.Cheers Chuck WEB-INF/classes/logon/LogonForm.java [70:1] Class ActionMapping not found in type declaration or import.import org.apache.struts.action.ActionMapping; ^WEB-INF/classes/logon/LogonForm.java [69:1] Class ActionForm not found intype declaration or import. import org.apache.struts.action.ActionForm; ^WEB-INF/classes/logon/LogonForm.java [68:1] Class ActionErrors not found intype declaration or import.import org.apache.struts.action.ActionErrors; ^WEB-INF/classes/logon/LogonForm.java [67:1] Class ActionError not found intype declaration or import. import org.apache.struts.action.ActionError; ^WEB-INF/classes/logon/LogonForm.java [85:1] Class ActionForm not found intype declaration or import. public final class LogonForm extends ActionForm { ^WEB-INF/classes/logon/LogonForm.java [159:1] Class ActionMapping not foundin type declaration or import. public void reset(ActionMapping mapping, HttpServletRequest request) { ^WEB-INF/classes/logon/LogonForm.java [177:1] Class ActionErrors not foundin type declaration or import. public ActionErrors validate(ActionMapping mapping, ^ WEB-INF/classes/logon/LogonForm.java [177:1] Class ActionMapping not foundin type declaration or import. public ActionErrors validate(ActionMapping mapping, ^8 errorsErrors compiling LogonForm. Chuck Amadi wrote: Hi, pls could anyone confirm the ActionMappings package ActionForward package name within WBE-INF\classes\. dir as im lead to believe this might be the cause of my problems. Chuck Amadi wrote: Part 1.1 Type: Plain Text (text/plain) Encoding: 8bit -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi. --The views expressed by the sender of this message don'tnecessarily represent those of Brecon Beacons National ParkAuthority. This message is intended for the addressee(s) onlyand is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies.
STRUTS and VAJ 3.5.3
I'm trying to use STRUTS with VAJ 3.5.3 I have the IBM's and the APACHE's examples installed. The only JSP that works is the IBM employeelist jsp. http://localhost:8080/employeelist/jsp/employeelist.jsp Everytime I try to run any other JSP I get an error that reads. Error 500 An error has occured while processing request:http://localhost:8080/struts_example/index.jsp Message: Server caught unhandled exception from servlet [jsp]: null Target Servlet: jsp StackTrace: Root Error-1: null java.lang.NullPointerException Any idea why I'm getting that error? Thanks in advance for your reply Jorge
If no ActionForm associated with Action....ActionForm is null???
Hello. In places where there are no forms and thus did not configure an ActionForm for a particular Action,does the ActionForm object which is passed to the perform method have a "null" vlaue?
Re: Regarding JavaOne Presentations
You may have to be a member of the developers' network (it's free). I just tried the link and it worked for me (was already logged in). Klaus Sonnnenleiter -Original Message-From: suhas [EMAIL PROTECTED]To: [EMAIL PROTECTED] [EMAIL PROTECTED]Date: Thursday, July 05, 2001 6:19 AMSubject: Regarding JavaOne Presentations Sun has kept the javaone presentation at - http://servlet.java.sun.com/javaone/conf/sessions/0-sf2001.jsp But it is protected by login/pass . dunno why ? Any has any temporary login / pass which can be used to see those presentations
J2EE RI - bean deployment - Tag
Hi I want to deloy the Ejb Bean in the j2ee -ri app server want to use Oracle Database instead of default one. Can anyone tell me wht is the tag name associated with specifying the DataSource entry for that?? ( where I can give URL of oracle database , user , password , driver tobeused by the Application server ) Suhas
Re: SV: pls Help .java File Wont compile/wrong name packages
Hi suhas, cheers 4 info regardong Data Access Objects (DAO), Regarding my dilema some how i had modified the ActionMapping.class files etc Thus i created a package path to suit my companies. Thus i renamed the files (post change to) org.breconbecons.it.the class nevertheless i then recieved invalid package declartions , then wrong name (package) thus on copying the classes from struts-examples path. i am presented with no access errors introspecting - wrong name: I have checked that the jar's are in my WEB-INF/lib and my tld's and played around with the package names( i.e package action; - public ActionMapping ( ) ; ) and the full path org.breconbeacons.it.Thus brought the class to different levels ie WEB-INF/classes/action.java file Basically none of the java files will compile since i made a silly regretable modificatio somewhere. I haven't touched ANTS yet.so all this build business is another game all together until i read the doc's Cheers Chuck :^{ suhas wrote: Part 1.1 Type: Plain Text (text/plain) Encoding: quoted-printable -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi.
RE: Help on making struts with Apache + Tomcat
At all. It seems apache refuses to access some resource in the directory where the app is installed: $TOMCAT/webapps/myapp What I'am going to do is copy all app files to the directory where struts-example is installed. This way I can figure out if there's something bad with the involved files ( wich I doubt ! ). ... Cheers Domingo -Mensaje original- De: Dmitri Colebatch [mailto:[EMAIL PROTECTED]] Enviado el: Miércoles, 04 de Julio de 2001 09:00 p.m. Para: [EMAIL PROTECTED] Asunto: Re: Help on making struts with Apache + Tomcat On Thu, 5 Jul 2001 11:49, you wrote: What I don't understand is why my struts app is the only one with the Apache + Jserv + Tomcat deployment , that doesn' t work. Even the struts-example is working... oic... sorry - I thought it was a simple problem (o: are you able to see the requests coming into tomcat? cheers dim
Re: Re:the build process !!
dunno - but from below messages it looks to me as though you are in deep trouble What is Join struts project Suhas - Original Message - From: Chuck Amadi [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 05, 2001 2:20 PM Subject: Re:the build process !! On attempting to creat the joinstruts project recieved the following error. Cheers Chuck compile: Created dir: C:\jakarta-tomcat-3.2.2\webapps\joinStruts\build\classes Copying 1 file to C:\jakarta-tomcat-3.2.2\webapps\joinStruts\build\classes Compiling 2 source files to C:\jakarta-tomcat-3.2.2\webapps\joinStruts\build\classes joinStruts/src/main/web/mailinglist/JoinAction.java [9] cannot resolve symbol symbol : class ServletException location: package servlet import javax.servlet.ServletException; ^ joinStruts/src/main/web/mailinglist/JoinAction.java [10] cannot resolve symbol symbol : class HttpServletRequest location: package http import javax.servlet.http.HttpServletRequest; ^ joinStruts/src/main/web/mailinglist/JoinAction.java [11] cannot resolve symbol symbol : class HttpServletResponse location: package http import javax.servlet.http.HttpServletResponse; ^ joinStruts/src/main/web/mailinglist/JoinAction.java [41] cannot resolve symbol symbol : class HttpServletRequest location: class web.mailinglist.JoinAction HttpServletRequest request, ^ joinStruts/src/main/web/mailinglist/JoinAction.java [42] cannot resolve symbol symbol : class HttpServletResponse location: class web.mailinglist.JoinAction HttpServletResponse response) ^ joinStruts/src/main/web/mailinglist/JoinAction.java [43] cannot resolve symbol symbol : class ServletException location: class web.mailinglist.JoinAction throws IOException, ServletException { ^ joinStruts/src/main/web/mailinglist/JoinForm.java [8] cannot resolve symbol symbol : class HttpServletRequest location: package http import javax.servlet.http.HttpServletRequest; ^ joinStruts/src/main/web/mailinglist/JoinForm.java [44] cannot resolve symbol symbol : class HttpServletRequest location: class web.mailinglist.JoinForm public void reset(ActionMapping mapping, HttpServletRequest request) { ^ joinStruts/src/main/web/mailinglist/JoinForm.java [59] cannot resolve symbol symbol : class HttpServletRequest location: class web.mailinglist.JoinForm HttpServletRequest request) { ^ 9 errors joinStruts/build.xml [21] Compile failed, messages should have been provided. suhas wrote: Part 1.1Type: Plain Text (text/plain) Encoding: quoted-printable -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
architecture help for struts
Hi , Does anyone know of article which explains process of how to artictect an application using struts framework Thanks
RE: html:link problem
I need to use one of forward, href or page. So now my problems are: Try setting up the href attribute to read href=javascript:performAction(...) and see if that works.
Re: the build process !!/invalid package declarations
Hey no problems i unmounted the filesystem anyway . The JoinStruts( joinstruts.jar business.jar) is part of open - source MVC implementation see - www-106.ibm.com/developerworks/library/ j-struts/. Very good source of material and tutorail etc.Thus back to my problem i redeployed all the neccessary files for the taglib's joinstruts and business and all's well except in the classes files again i have got invalid package declarations!!. This is my classpath C:\jakarat-tomcat-3.2.2\webapps\bbnpa (filesystem) My work project which fortunately are jsp database access are ok except for a problem with sql insert tag sql:escapeSql>%=request.getParameter("")%>/sql:escapeSql> On checking my PostgreSql relation/table there are null values instead of valid data. So what the hell is going on i don't really like start again as i have migrated all the html resources to .jsp and trying to add the dynamic elements i.e awaitng to transform the planning application form(submit form) from html to a bean. Cheers had a good cry then :^} suhas wrote: dunno - but from below messages it looks to me as though you are in deep trouble What is Join struts project Suhas - Original Message - From: Chuck Amadi [EMAIL PROTECTED]> To: [EMAIL PROTECTED]> Sent: Thursday, July 05, 2001 2:20 PM Subject: Re:the build process !! > On attempting to creat the joinstruts project recieved the following > error. > Cheers Chuck > compile: > Created dir: C:\jakarta-tomcat-3.2.2\webapps\joinStruts\build\classes > Copying 1 file to > C:\jakarta-tomcat-3.2.2\webapps\joinStruts\build\classes > Compiling 2 source files to > C:\jakarta-tomcat-3.2.2\webapps\joinStruts\build\classes > joinStruts/src/main/web/mailinglist/JoinAction.java [9] cannot resolve > symbol > symbol : class ServletException > location: package servlet > import javax.servlet.ServletException; > ^ > joinStruts/src/main/web/mailinglist/JoinAction.java [10] cannot resolve > symbol > symbol : class HttpServletRequest > location: package http > import javax.servlet.http.HttpServletRequest; > ^ > joinStruts/src/main/web/mailinglist/JoinAction.java [11] cannot resolve > symbol > symbol : class HttpServletResponse > location: package http > import javax.servlet.http.HttpServletResponse; > ^ > joinStruts/src/main/web/mailinglist/JoinAction.java [41] cannot resolve > symbol > symbol : class HttpServletRequest > location: class web.mailinglist.JoinAction > HttpServletRequest request, > ^ > joinStruts/src/main/web/mailinglist/JoinAction.java [42] cannot resolve > symbol > symbol : class HttpServletResponse > location: class web.mailinglist.JoinAction > HttpServletResponse response) > ^ > joinStruts/src/main/web/mailinglist/JoinAction.java [43] cannot resolve > symbol > symbol : class ServletException > location: class web.mailinglist.JoinAction > throws IOException, ServletException { > ^ > joinStruts/src/main/web/mailinglist/JoinForm.java [8] cannot resolve > symbol > symbol : class HttpServletRequest > location: package http > import javax.servlet.http.HttpServletRequest; > ^ > joinStruts/src/main/web/mailinglist/JoinForm.java [44] cannot resolve > symbol > symbol : class HttpServletRequest > location: class web.mailinglist.JoinForm > public void reset(ActionMapping mapping, HttpServletRequest request) > { > ^ > joinStruts/src/main/web/mailinglist/JoinForm.java [59] cannot resolve > symbol > symbol : class HttpServletRequest > location: class web.mailinglist.JoinForm > HttpServletRequest request) { > ^ > 9 errors > joinStruts/build.xml [21] Compile failed, messages should have been > provided. > suhas wrote: > > > Part 1.1 Type: Plain Text (text/plain) > > Encoding: quoted-printable > > -- > The views expressed by the sender of this message don't > necessarily represent those of Brecon Beacons National Park > Authority. This message is intended for the addressee(s) only > and is sent in confidence; if you receive it in error, please can you > let us know (at [EMAIL PROTECTED]) and then destroy all copies. > Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn > adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. > Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion > yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn > mewn camgymeriad, a fyddech gystal rhoi gwybod i > ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi. > -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal rhoi gwybod i ni (yn
Re: the build process !!/Servlet.jar
Guesss WHAT No Peter pleasse go on , im a looking for it as we speek albiet i don't recall deleting that servlet.jar or seeing it. Cheers Chuck Peter Alfors wrote: Do you have the servlet.jar in your classpath? Pete Chuck Amadi wrote: On attempting to creat the joinstruts project recieved the following error. Cheers Chuck compile: Created dir: C:\jakarta-tomcat-3.2.2\webapps\joinStruts\build\classes Copying 1 file to C:\jakarta-tomcat-3.2.2\webapps\joinStruts\build\classes Compiling 2 source files to C:\jakarta-tomcat-3.2.2\webapps\joinStruts\build\classes joinStruts/src/main/web/mailinglist/JoinAction.java [9] cannot resolve symbol symbol : class ServletException location: package servlet import javax.servlet.ServletException; ^ joinStruts/src/main/web/mailinglist/JoinAction.java [10] cannot resolve symbol symbol : class HttpServletRequest location: package http import javax.servlet.http.HttpServletRequest; ^ joinStruts/src/main/web/mailinglist/JoinAction.java [11] cannot resolve symbol symbol : class HttpServletResponse location: package http import javax.servlet.http.HttpServletResponse; ^ joinStruts/src/main/web/mailinglist/JoinAction.java [41] cannot resolve symbol symbol : class HttpServletRequest location: class web.mailinglist.JoinAction HttpServletRequest request, ^ joinStruts/src/main/web/mailinglist/JoinAction.java [42] cannot resolve symbol symbol : class HttpServletResponse location: class web.mailinglist.JoinAction HttpServletResponse response) ^ joinStruts/src/main/web/mailinglist/JoinAction.java [43] cannot resolve symbol symbol : class ServletException location: class web.mailinglist.JoinAction throws IOException, ServletException { ^ joinStruts/src/main/web/mailinglist/JoinForm.java [8] cannot resolve symbol symbol : class HttpServletRequest location: package http import javax.servlet.http.HttpServletRequest; ^ joinStruts/src/main/web/mailinglist/JoinForm.java [44] cannot resolve symbol symbol : class HttpServletRequest location: class web.mailinglist.JoinForm public void reset(ActionMapping mapping, HttpServletRequest request) { ^ joinStruts/src/main/web/mailinglist/JoinForm.java [59] cannot resolve symbol symbol : class HttpServletRequest location: class web.mailinglist.JoinForm HttpServletRequest request) { ^ 9 errors joinStruts/build.xml [21] Compile failed, messages should have been provided. suhas wrote: Part 1.1Type: Plain Text (text/plain) Encoding: quoted-printable -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi. Name: peter.alfors.vcf peter.alfors.vcf Type: VCard (text/x-vcard) Encoding: 7bit Description: Card for Peter Alfors -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
Re: the build process !! found servlet others
Hi there again Peter i found them in jarkarta-tomcat-3.2.2\lib there was also parser,ant,jasper,webserver,jaxp and servlet.jar thus i have cp to my C:\jt-3.2.2\webapps/bbnpa/WEB-INF/lib. I assume that is the correct . Cheers Chuck Peter Alfors wrote: Do you have the servlet.jar in your classpath? Pete Chuck Amadi wrote: > On attempting to creat the joinstruts project recieved the following > error. > Cheers Chuck > compile: > Created dir: C:\jakarta-tomcat-3.2.2\webapps\joinStruts\build\classes > Copying 1 file to > C:\jakarta-tomcat-3.2.2\webapps\joinStruts\build\classes > Compiling 2 source files to > C:\jakarta-tomcat-3.2.2\webapps\joinStruts\build\classes > joinStruts/src/main/web/mailinglist/JoinAction.java [9] cannot resolve > symbol > symbol : class ServletException > location: package servlet > import javax.servlet.ServletException; > ^ > joinStruts/src/main/web/mailinglist/JoinAction.java [10] cannot resolve > symbol > symbol : class HttpServletRequest > location: package http > import javax.servlet.http.HttpServletRequest; > ^ > joinStruts/src/main/web/mailinglist/JoinAction.java [11] cannot resolve > symbol > symbol : class HttpServletResponse > location: package http > import javax.servlet.http.HttpServletResponse; > ^ > joinStruts/src/main/web/mailinglist/JoinAction.java [41] cannot resolve > symbol > symbol : class HttpServletRequest > location: class web.mailinglist.JoinAction > HttpServletRequest request, > ^ > joinStruts/src/main/web/mailinglist/JoinAction.java [42] cannot resolve > symbol > symbol : class HttpServletResponse > location: class web.mailinglist.JoinAction > HttpServletResponse response) > ^ > joinStruts/src/main/web/mailinglist/JoinAction.java [43] cannot resolve > symbol > symbol : class ServletException > location: class web.mailinglist.JoinAction > throws IOException, ServletException { > ^ > joinStruts/src/main/web/mailinglist/JoinForm.java [8] cannot resolve > symbol > symbol : class HttpServletRequest > location: package http > import javax.servlet.http.HttpServletRequest; > ^ > joinStruts/src/main/web/mailinglist/JoinForm.java [44] cannot resolve > symbol > symbol : class HttpServletRequest > location: class web.mailinglist.JoinForm > public void reset(ActionMapping mapping, HttpServletRequest request) > { > ^ > joinStruts/src/main/web/mailinglist/JoinForm.java [59] cannot resolve > symbol > symbol : class HttpServletRequest > location: class web.mailinglist.JoinForm > HttpServletRequest request) { > ^ > 9 errors > joinStruts/build.xml [21] Compile failed, messages should have been > provided. > suhas wrote: > > > Part 1.1 Type: Plain Text (text/plain) > > Encoding: quoted-printable > > -- > The views expressed by the sender of this message don't > necessarily represent those of Brecon Beacons National Park > Authority. This message is intended for the addressee(s) only > and is sent in confidence; if you receive it in error, please can you > let us know (at [EMAIL PROTECTED]) and then destroy all copies. > Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn > adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. > Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion > yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn > mewn camgymeriad, a fyddech gystal rhoi gwybod i > ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi. Name: peter.alfors.vcf peter.alfors.vcf Type: VCard (text/x-vcard) Encoding: 7bit Description: Card for Peter Alfors -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi.
Lookup window: session lost !
Hi, In my app I open a popup window when the user want to see a list of codes associated with its current attribute field, i.e zipcode - city will display a list of zipcodes and cities. Debugging the action class that will display the popup window's content, I noted that I have lost my session and got a new one. I open my lookup window with the javascript command: window.open(/listCodes.do?attribute=city, lookup, minimize=no, ... etc) Do I have to pass something more in order to stay with the same session? Thanks for any suggestions. Adriano Labate
Re: the build process !! found servlet others
You can leave the jar in the tomcat/lib directory. You just need to make sure that it is included in your classpath when tomcat is started. check your tomcat.bat file and make sure that it appends the jars in the tomcat/lib directory to your class path on startup. Or, you can add it manually if you prefer that. I wouldn't put it in the WEB-INF/classes directory because it is a common jar that all web apps will need. Display your classpath in your tomcat window and see if it is included. Pete Chuck Amadi wrote: Hi there again Peter i found them in jarkarta-tomcat-3.2.2\lib there was also parser,ant,jasper,webserver,jaxp and servlet.jar thus i have cp to my C:\jt-3.2.2\webapps/bbnpa/WEB-INF/lib. I assume that is the correct . Cheers Chuck Peter Alfors wrote: Do you have the servlet.jar in your classpath? Pete Chuck Amadi wrote: > On attempting to creat the joinstruts project recieved the following > error. > Cheers Chuck > compile: > Created dir: C:\jakarta-tomcat-3.2.2\webapps\joinStruts\build\classes > Copying 1 file to > C:\jakarta-tomcat-3.2.2\webapps\joinStruts\build\classes > Compiling 2 source files to > C:\jakarta-tomcat-3.2.2\webapps\joinStruts\build\classes > joinStruts/src/main/web/mailinglist/JoinAction.java [9] cannot resolve > symbol > symbol : class ServletException > location: package servlet > import javax.servlet.ServletException; > ^ > joinStruts/src/main/web/mailinglist/JoinAction.java [10] cannot resolve > symbol > symbol : class HttpServletRequest > location: package http > import javax.servlet.http.HttpServletRequest; > ^ > joinStruts/src/main/web/mailinglist/JoinAction.java [11] cannot resolve > symbol > symbol : class HttpServletResponse > location: package http > import javax.servlet.http.HttpServletResponse; > ^ > joinStruts/src/main/web/mailinglist/JoinAction.java [41] cannot resolve > symbol > symbol : class HttpServletRequest > location: class web.mailinglist.JoinAction > HttpServletRequest request, > ^ > joinStruts/src/main/web/mailinglist/JoinAction.java [42] cannot resolve > symbol > symbol : class HttpServletResponse > location: class web.mailinglist.JoinAction > HttpServletResponse response) > ^ > joinStruts/src/main/web/mailinglist/JoinAction.java [43] cannot resolve > symbol > symbol : class ServletException > location: class web.mailinglist.JoinAction > throws IOException, ServletException { > ^ > joinStruts/src/main/web/mailinglist/JoinForm.java [8] cannot resolve > symbol > symbol : class HttpServletRequest > location: package http > import javax.servlet.http.HttpServletRequest; > ^ > joinStruts/src/main/web/mailinglist/JoinForm.java [44] cannot resolve > symbol > symbol : class HttpServletRequest > location: class web.mailinglist.JoinForm > public void reset(ActionMapping mapping, HttpServletRequest request) > { > ^ > joinStruts/src/main/web/mailinglist/JoinForm.java [59] cannot resolve > symbol > symbol : class HttpServletRequest > location: class web.mailinglist.JoinForm > HttpServletRequest request) { > ^ > 9 errors > joinStruts/build.xml [21] Compile failed, messages should have been > provided. > suhas wrote: > > > Part 1.1 Type: Plain Text (text/plain) > > Encoding: quoted-printable > > -- > The views expressed by the sender of this message don't > necessarily represent those of Brecon Beacons National Park > Authority. This message is intended for the addressee(s) only > and is sent in confidence; if you receive it in error, please can you > let us know (at [EMAIL PROTECTED]) and then destroy all copies. > Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn > adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. > Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion > yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn > mewn camgymeriad, a fyddech gystal rhoi gwybod i > ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi. Name: peter.alfors.vcf peter.alfors.vcf Type: VCard (text/x-vcard) Encoding: 7bit Description: Card for Peter Alfors -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi. begin:vcard n:; x-mozilla-html:FALSE org:BRIMG SRC=http://www.irista.com/images/common/logo_top_right.gif; adr:;; version:2.1 end:vcard
Re: the build process !! found servlet others
Oops, I was not answering the right question You will need the Servlet.jar when running your app, but at the moment, you need it to compile. Therefore, make sure that it is included in your classpath in your IDE, or in the ant script (if you are using ant), etc... Pete Peter Alfors wrote: You can leave the jar in the tomcat/lib directory. You just need to make sure that it is included in your classpath when tomcat is started. check your tomcat.bat file and make sure that it appends the jars in the tomcat/lib directory to your class path on startup. Or, you can add it manually if you prefer that. I wouldn't put it in the WEB-INF/classes directory because it is a common jar that all web apps will need. Display your classpath in your tomcat window and see if it is included. Pete Chuck Amadi wrote: Hi there again Peter i found them in jarkarta-tomcat-3.2.2\lib there was also parser,ant,jasper,webserver,jaxp and servlet.jar thus i have cp to my C:\jt-3.2.2\webapps/bbnpa/WEB-INF/lib. I assume that is the correct . Cheers Chuck Peter Alfors wrote: Do you have the servlet.jar in your classpath? Pete Chuck Amadi wrote: > On attempting to creat the joinstruts project recieved the following > error. > Cheers Chuck > compile: > Created dir: C:\jakarta-tomcat-3.2.2\webapps\joinStruts\build\classes > Copying 1 file to > C:\jakarta-tomcat-3.2.2\webapps\joinStruts\build\classes > Compiling 2 source files to > C:\jakarta-tomcat-3.2.2\webapps\joinStruts\build\classes > joinStruts/src/main/web/mailinglist/JoinAction.java [9] cannot resolve > symbol > symbol : class ServletException > location: package servlet > import javax.servlet.ServletException; > ^ > joinStruts/src/main/web/mailinglist/JoinAction.java [10] cannot resolve > symbol > symbol : class HttpServletRequest > location: package http > import javax.servlet.http.HttpServletRequest; > ^ > joinStruts/src/main/web/mailinglist/JoinAction.java [11] cannot resolve > symbol > symbol : class HttpServletResponse > location: package http > import javax.servlet.http.HttpServletResponse; > ^ > joinStruts/src/main/web/mailinglist/JoinAction.java [41] cannot resolve > symbol > symbol : class HttpServletRequest > location: class web.mailinglist.JoinAction > HttpServletRequest request, > ^ > joinStruts/src/main/web/mailinglist/JoinAction.java [42] cannot resolve > symbol > symbol : class HttpServletResponse > location: class web.mailinglist.JoinAction > HttpServletResponse response) > ^ > joinStruts/src/main/web/mailinglist/JoinAction.java [43] cannot resolve > symbol > symbol : class ServletException > location: class web.mailinglist.JoinAction > throws IOException, ServletException { > ^ > joinStruts/src/main/web/mailinglist/JoinForm.java [8] cannot resolve > symbol > symbol : class HttpServletRequest > location: package http > import javax.servlet.http.HttpServletRequest; > ^ > joinStruts/src/main/web/mailinglist/JoinForm.java [44] cannot resolve > symbol > symbol : class HttpServletRequest > location: class web.mailinglist.JoinForm > public void reset(ActionMapping mapping, HttpServletRequest request) > { > ^ > joinStruts/src/main/web/mailinglist/JoinForm.java [59] cannot resolve > symbol > symbol : class HttpServletRequest > location: class web.mailinglist.JoinForm > HttpServletRequest request) { > ^ > 9 errors > joinStruts/build.xml [21] Compile failed, messages should have been > provided. > suhas wrote: > > > Part 1.1 Type: Plain Text (text/plain) > > Encoding: quoted-printable > > -- > The views expressed by the sender of this message don't > necessarily represent those of Brecon Beacons National Park > Authority. This message is intended for the addressee(s) only > and is sent in confidence; if you receive it in error, please can you > let us know (at [EMAIL PROTECTED]) and then destroy all copies. > Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn > adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. > Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion > yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn > mewn camgymeriad, a fyddech gystal rhoi gwybod i > ni (yn [EMAIL PROTECTED]) ac yna dilwch bob copi. Name: peter.alfors.vcf peter.alfors.vcf Type: VCard (text/x-vcard) Encoding: 7bit Description: Card for Peter Alfors -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal rhoi gwybod i ni (yn [EMAIL
Re: Team development with struts
Well you´re certainly right... those config files could be a mess if you don´t establish a good version control policy. We´ve been working with winCVS since we begun our projects, it has been quite good for the matter... The tool is just one thing, we usually distribute the job in different areas of development. So that way not many people actually touch the main config files including the famous struts-config.xml. But in your case it doesn´t look like a way. The idea is that you can let your people use CVS (graphic client or command line based) but let them never forget that every time you want to commit your changes to the file, you MUST do an update to it before. CVS will merge the version you create with the version in the repository and will announce you the conflicts. So the steps for succesful version control on a file are: 1) checkout/edit the file 2) make your changes 3) update 4) solve your conflicts locally 5) commit the file! Hope this could help you Bye Jorge Ivan Suarez Murillo Web Applications Engineer Commexnet. Medellin, Colombia - Mensaje original - De: Valeriy Zavidnoy [EMAIL PROTECTED] Fecha: Miércoles, Julio 4, 2001 4:03 pm Asunto: Team development with struts Our team is starting to use Struts, that means each developer needs to edit struts-config.xml and *.properties files. The issue we encountered is that several guys (12-15) want to edit these getting huge files at the same time. Of course, we are using currently source control by VSS, we thought about moving to CVS, but it won't completely let us avoid a headache. Can anyone give a suggestion how to solve this? Thanks. ___ Consigue tu e-mail gratuito TERRA.COM.CO Haz click en http://www1.terra.com.co/correo
Re: html:link problem
Think you mailed it to the wrong guy. Greg Reddin wrote: I need to use one of forward, href or page. So now my problems are: Try setting up the href attribute to read href=javascript:performAction(...) and see if that works. -- --o-o-- Mark Kettner http://www.fredhopper.com Amsterdam, The Netherlands Phone: +31 20 3206203 Mobile: +31 620 609 817 fax:+31 20 8848747 E-mail: [EMAIL PROTECTED], [EMAIL PROTECTED]
RE: Templates located in WEB-INF?
I was able to successfully use template under WEB-INF, but not as I had origionally supposed. Given a template file (template.jsp that might look similar to this: html !-- body -- template:get name='body'/ /td /html which is located in the /template directory (ex webapps/appdir/templates/). Also given a page named project.jsp in the /project directory (ex webapps/appdir/project/) wich might look like this: template:insert template=../templates/template.jsp template:put name=body content = ../project/project_body.jsp/ /template:insert This works until you move the pages into the WEB-INF directory ex (ex webapps/appdir/WEB_INF/pages/). The container has trouble parsing the nultiple .. operators. In this case ../templates/../project/project_body.jsp. I've found two solutions to this. The first is to put the absolute path in your project.jsp file like so: template:insert template=../templates/template.jsp template:put name=body content = /WEB-INF/pages/project/project_body.jsp/ /template:insert A second solution (my preferrence), is to put the template file in the base directory of your WEB-INF path that you are using. In this example you could put the template file into WEB-INF/pages/, and then your project.jsp could look like this: template:insert template=../template.jsp template:put name=body content = /project/project_body.jsp/ /template:insert You could probably also put the template file directly into the WEB-INF directory, and adjust your paths accordingly, but I prefer to keep it separate from the config files etc. Good luck D -Original Message- From: phil southward [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 04, 2001 3:58 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: Templates located in WEB-INF? Guys I had the same problem, I could access pages that were under the root, but not under WEB-INF. Until I re-read my Wrox Press book (Java Server Programming, J2EE edition). I quote here, The other files, contained within the WEB-INF directory, are resources accessible only to the container In other words, the WEB-INF is a private directory for the Servlet engine only, if you want to access your JSPs you have to put them either under the root directory or in sub directories also under root. Phil
Re: html:select and indexed
Jason, Should work fine, if you have the latest code I posted. Select name is indexed (options don't need to be!). Cheers, Dave Jason Rosenblum [EMAIL PROTECTED] on 07/02/2001 03:16:15 PM Please respond to [EMAIL PROTECTED] To: Struts (E-mail) [EMAIL PROTECTED] cc:(bcc: David Hay/Lex/Lexmark) Subject: html:select and indexed Can the 'indexed' label (used for working with indexed properties) be used with html:select and the html:options tags? ~Jason
Re: iteration question?
Rama, Did you get this working? Shouldn't be a problem - just add the html:link as one of your columns. If you want the index of the current row to be included, you can try the tag extension I posted (and Ted Husted has on his site) which automatically includes the index a parameter in the link. Cheers, Dave Rama Krishna [EMAIL PROTECTED] on 07/03/2001 12:29:19 PM Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:(bcc: David Hay/Lex/Lexmark) Subject: iteration question? hi all, i have a vector of vectors and using the logic:iterate i am able to display properly in a tabular format with the elements in each inner vector in a row. now i want to make one particular column to be hyperlinks. can anyone give me a hint or point me to an email??? thanks, rama. hi all, i have a vector of vectors and using the logic:iterate i am able to display properly in a tabular format with the elements in each inner vector in a row. now i want to make one particular column to be hyperlinks. can anyone give me a hint or point me to an email??? thanks, rama.
husted.com
is it down???
Re: Regarding JavaOne Presentations
Hi Klaus, Did you actually get to the slides?! I went to sun.java.com and logged on to developer connection, and then went to link below and clicked on the pdf link under Craig's presentation. Prompted me for password, and won't let me in! Dave Klaus Sonnenleiter [EMAIL PROTECTED] on 07/05/2001 08:21:40 AM Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED], suhas [EMAIL PROTECTED] cc:(bcc: David Hay/Lex/Lexmark) Subject: Re: Regarding JavaOne Presentations You may have to be a member of the developers' network (it's free). I just tried the link and it worked for me (was already logged in). Klaus Sonnnenleiter -Original Message- From: suhas [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Thursday, July 05, 2001 6:19 AM Subject: Regarding JavaOne Presentations Sun has kept the javaone presentation at - http://servlet.java.sun.com/javaone/conf/sessions/0-sf2001.jsp But it is protected by login/pass . dunno why ? Any has any temporary login / pass which can be used to see those presentations You may have to be a member of the developers' network (it's free). I just tried the link and it worked for me (was already logged in). Klaus Sonnnenleiter -Original Message-From: suhas [EMAIL PROTECTED]To: [EMAIL PROTECTED] [EMAIL PROTECTED]Date: Thursday, July 05, 2001 6:19 AMSubject: Regarding JavaOne Presentations Sun has kept the javaone presentation at - http://servlet.java.sun.com/javaone/conf/sessions/0-sf2001.jsp But it is protected by login/pass . dunno why ? Any has any temporary login / pass which can be used to see those presentations
Re: husted.com
Nope! If you're looking for my code it's at http://husted.com/about/struts/indexed-tags.htm Cheers, Dave Rama Krishna [EMAIL PROTECTED] on 07/05/2001 01:28:00 PM Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:(bcc: David Hay/Lex/Lexmark) Subject: husted.com is it down??? is it down???
Re: pls help java files wont compile - take a look ****
Chuck, This error in NetBeans is due some other compilation error or some problem with the way your source is setup in the project. I would recommend that you do *not* use NetBeans for now and try to figure this thing out via the command line. Also, one problem you might be having is that your java files have a package declaration of 'org.apache.struts.action' and your file is in /WEB-INF/classes/example. It should be in /WEB-INF/classes/org/apache/struts/action. In any case, using NetBeans and describing how it is behaving for you is not giving me enough information about what exactly your problem is. If you could try to compile it via the command line (via ant preferrably), that should give me the sufficiently data I need to fix your problem. Calvin - Original Message - From: Chuck Amadi [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 05, 2001 5:56 AM Subject: Re: pls help java files wont compile - take a look Hi, can anyone work this one out visual attached. Cheers Chuck. Chuck Amadi wrote: Part 1.1Type: Plain Text (text/plain) Encoding: 8bit -- The views expressed by the sender of this message don't necessarily represent those of Brecon Beacons National Park Authority. This message is intended for the addressee(s) only and is sent in confidence; if you receive it in error, please can you let us know (at [EMAIL PROTECTED]) and then destroy all copies. Nid yw'r farn a fynegir gan anfonwr y neges hon o anghenraid yn adlewyrchu barn Awdurdod Parc Cenedlaethol Bannau Brycheiniog. Neges yw hon a fwriadwyd ar gyfer y derbynnydd/derbynyddion yn unig ac fe'i hanfonir yn gyfrinachol; os ydych yn ei dderbyn mewn camgymeriad, a fyddech gystal â rhoi gwybod i ni (yn [EMAIL PROTECTED]) ac yna dilëwch bob copi.
RE: html:link problem
On Thu, 5 Jul 2001, Greg Reddin wrote: I need to use one of forward, href or page. So now my problems are: Try setting up the href attribute to read href=javascript:performAction(...) and see if that works. Good idea. Unfortunately, it didn't work. I tried: html:link href=javascript:performAction(form, 'simpleQuery.do') paramId=offset paramName=resultNavigator paramProperty=startIndex but got: Exception Report: javax.servlet.ServletException: javascript:performAction(form, 'simpleQuery.do')?offset=0 at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:481) at _0002fsimpleQuery_0002ejspsimpleQuery_jsp_6._jspService(_0002fsimpleQuery_0002ejspsimpleQuery_jsp_6.java:1844) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) ... Root Cause: java.lang.IllegalArgumentException: javascript:performAction(form, 'simpleQuery.do')?offset=0 at org.apache.catalina.connector.HttpResponseBase.toAbsolute(HttpResponseBase.java:639) at org.apache.catalina.connector.HttpResponseBase.encodeURL(HttpResponseBase.java:918) at org.apache.struts.util.RequestUtils.computeURL(RequestUtils.java:418) at org.apache.struts.taglib.html.LinkTag.doStartTag(LinkTag.java:338) at _0002fsimpleQuery_0002ejspsimpleQuery_jsp_6._jspService(_0002fsimpleQuery_0002ejspsimpleQuery_jsp_6.java:1044) ... I also tried: html:link href=javascript:performAction(form, 'simpleQuery.do?offset=%= 10*i %') but got an IllegalArgumentException.
html:link problem
is this correct html:link page="/target.cm" paramId="value" paramName="bean:write name='myCollectionElement' property='id'/"click here/html:link where myCollectionElement is a collection id is a property in the collection and i want http:///target.cm?value=2 (value of id) i get null when i say req.getParameter("value"); in my action class?? any help??? thanks, rama
RE: html:link problem
Since I am not using the JSP tags right now, I'm really speculating. It looks as if the link tag is attempting to build a URL based on the stuff you put in the href, paramId, paramName, and paramProperty attributes. It may be that the tag is not designed to work with JavaScript-style URL's in the href. You could deal with this in a couple of ways: 1) Try using just href without the param attributes. Build your URL and place it in a variable: % String jsUrl = javascript:performAction(form, 'simpleQuery.do?offset=' + i + );; % html:link href=%= jsUrl %/ I don't even know if that would compile; it's just a hunch, and it uses the scriptlet, which may or may not be an option for you. 2) Use the HTML a tag instead of html:link. Again I may be showing some ignorance to the use of the link tag, but you could probably accomplish the result using a like so: a href=javascript:performAction(form, 'simpleQuery.do?offset=%= 10 * i %');/ Also, note the use of the semicolon in the JavaScript calls. For some reason that I don't understand, that sometimes makes a difference. Does anyone else have ideas on the use of html:link? Is it possible to use javascript calls in the href attribute? Later, Greg Good idea. Unfortunately, it didn't work. I tried: html:link href=javascript:performAction(form, 'simpleQuery.do') paramId=offset paramName=resultNavigator paramProperty=startIndex but got: Exception Report: javax.servlet.ServletException:
Re: Regarding JavaOne Presentations
Presentation Slides in PDF Format /images/pixel.gif /images/pixel.gif /javaone/content/sf2001/common/images/slides.gif Slides (PDF file, 458198 bytes) /images/pixel.gif /images/pixel.gif Note: Slides are available for conference attendees only. /images/pixel.gif [EMAIL PROTECTED] wrote: Hi Klaus, Did you actually get to the slides?! I went to sun.java.com and logged on to developer connection, and then went to link below and clicked on the pdf link under Craig's presentation. Prompted me for password, and won't let me in! Dave
Re: Regarding JavaOne Presentations
Note: Slides are available for conference attendees only. I thought the whole point was to allow those who didn't go to see them?! I'm sure Craig said they would be available after the fact Dave Ray Allis [EMAIL PROTECTED] on 07/05/2001 03:21:03 PM Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:(bcc: David Hay/Lex/Lexmark) Subject: Re: Regarding JavaOne Presentations Presentation Slides in PDF Format /images/pixel.gif /images/pixel.gif /javaone/content/sf2001/common/images/slides.gif Slides (PDF file, 458198 bytes) /images/pixel.gif /images/pixel.gif Note: Slides are available for conference attendees only. /images/pixel.gif [EMAIL PROTECTED] wrote: Hi Klaus, Did you actually get to the slides?! I went to sun.java.com and logged on to developer connection, and then went to link below and clicked on the pdf link under Craig's presentation. Prompted me for password, and won't let me in! Dave
Orion and Struts
Has anybody able to run Struts on the top of Orion 1.5.2. I am new to Struts and was trying to take a look at it, but wasn't able to run the struts-examples.war... I get the following error when http://localhost/struts-example is called. 500 Internal Server Error javax.servlet.jsp.JspException: Missing message for key index.title at org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:242) at /index.jsp._jspService(/index.jsp.java:52) (JSP page line 8) at com.orionserver[Orion/1.5.2 (build 10460)].http.OrionHttpJspPage.service(Unknown Source) at com.evermind[Orion/1.5.2 (build 10460)]._ah._rad(Unknown Source) at com.evermind[Orion/1.5.2 (build 10460)].server.http.JSPServlet.service(Unknown Source) at com.evermind[Orion/1.5.2 (build 10460)]._cxb._abe(Unknown Source) at com.evermind[Orion/1.5.2 (build 10460)]._cxb._uec(Unknown Source) at com.evermind[Orion/1.5.2 (build 10460)]._io._twc(Unknown Source) at com.evermind[Orion/1.5.2 (build 10460)]._io._gc(Unknown Source) at com.evermind[Orion/1.5.2 (build 10460)]._if.run(Unknown Source) --- This error is documented on the struts web-site for Orion until 1.0.3 and si related to the ServletContext.getResource() calls , and I am running 1.5.2. Is this still an issue here as well. I don't know if this is an Orion issue or a Struts one. I was able to deploy and run the struts-documentation.war succesfully, so I woul d guess that app server is doing the job. Any ideas?? thanks, Nicky
Action forward to Action losing request objects ??
I am submitting to an Action which when successful places an object in the request and forwards toa second Action, which looks for the item in the request, and forwards yet again to a third Action which gets the item placed in the request object by the previous Action: Action1Action2(put in object)Action3(getobject) I am loosing the object in the request between Action1 and Action2 for sure. Anyone know why?
Re: Action forward to Action losing request objects ??
Is it possible that you are redirecting instead of forwarding? Jonathan wrote: I am submitting to an Action which when successful places an object in the request and forwards to a second Action, which looks for the item in the request, and forwards yet again to a third Action which gets the item placed in the request object by the previous Action:Action1>Action2(put in object)>Action3(getobject)I am loosing the object in the request between Action1 and Action2 for sure. Anyone know why? begin:vcard n:; x-mozilla-html:FALSE org:BRIMG SRC=http://www.irista.com/images/common/logo_top_right.gif; adr:;; version:2.1 end:vcard
RE: Action forward to Action losing request objects ??
I had the same problem when trying to use a sequence of pages to complete the same form. I turns out that struts ActionServlet class calls the "reset" method of your form between requests, thus erasing your form. I even tried to put the form in a "session" but had the same problem. Finally I put conditions around the reset statements in the reset method ot block unwanted resets. I would like to know a more elegant solution to this, but it works. D -Original Message-From: Jonathan [mailto:[EMAIL PROTECTED]]Sent: Thursday, July 05, 2001 3:39 PMTo: [EMAIL PROTECTED]Subject: Action forward to Action losing request objects ?? I am submitting to an Action which when successful places an object in the request and forwards toa second Action, which looks for the item in the request, and forwards yet again to a third Action which gets the item placed in the request object by the previous Action: Action1Action2(put in object)Action3(getobject) I am loosing the object in the request between Action1 and Action2 for sure. Anyone know why?
Re: html:link problem
To the best of knowledge, you can't use the bean:write tag that way. I believe it would be: html:link page="/target.cm" paramId="value" paramName="%= myCollectionElement.getId() %"click here/html:link Hope this helps... - Original Message - From: Rama Krishna To: [EMAIL PROTECTED] Sent: Thursday, July 05, 2001 1:09 PM Subject: html:link problem is this correct html:link page="/target.cm" paramId="value" paramName="bean:write name='myCollectionElement' property='id'/"click here/html:link where myCollectionElement is a collection id is a property in the collection and i want http:///target.cm?value=2 (value of id) i get null when i say req.getParameter("value"); in my action class?? any help??? thanks, rama
Re: html:link problem
yeah, i guess that's the way to do it. i wanted to know if there is a way to do it without using jsp. thanks much, rama. - Original Message - From: troy hart To: [EMAIL PROTECTED] Sent: Thursday, July 05, 2001 1:08 PM Subject: Re: html:link problem To the best of knowledge, you can't use the bean:write tag that way. I believe it would be: html:link page="/target.cm" paramId="value" paramName="%= myCollectionElement.getId() %"click here/html:link Hope this helps... - Original Message - From: Rama Krishna To: [EMAIL PROTECTED] Sent: Thursday, July 05, 2001 1:09 PM Subject: html:link problem is this correct html:link page="/target.cm" paramId="value" paramName="bean:write name='myCollectionElement' property='id'/"click here/html:link where myCollectionElement is a collection id is a property in the collection and i want http:///target.cm?value=2 (value of id) i get null when i say req.getParameter("value"); in my action class?? any help??? thanks, rama
Re: html:link problem
What doesn't work with that??? - Original Message - From: Rama Krishna To: [EMAIL PROTECTED] Sent: Thursday, July 05, 2001 2:25 PM Subject: Re: html:link problem no. this doesn't work. then i'll have to use jsp bean tag and do this. is there anyother way??? - Original Message - From: troy hart To: [EMAIL PROTECTED] Sent: Thursday, July 05, 2001 1:08 PM Subject: Re: html:link problem To the best of knowledge, you can't use the bean:write tag that way. I believe it would be: html:link page="/target.cm" paramId="value" paramName="%= myCollectionElement.getId() %"click here/html:link Hope this helps... - Original Message - From: Rama Krishna To: [EMAIL PROTECTED] Sent: Thursday, July 05, 2001 1:09 PM Subject: html:link problem is this correct html:link page="/target.cm" paramId="value" paramName="bean:write name='myCollectionElement' property='id'/"click here/html:link where myCollectionElement is a collection id is a property in the collection and i want http:///target.cm?value=2 (value of id) i get null when i say req.getParameter("value"); in my action class?? any help??? thanks, rama
Encodings on form submits?
Folks, I'm struggling with how to handle form submissions with non-Latin character encodings using a Struts action and form beans. As I understand it, browsers use the character encoding of the form's page (hex-encoded) for submitting form parameters. I've seen plenty of code to convert request parameters by hand, e.g. try { return new String(inParam.getBytes(8859_1), encoding); } catch (UnsupportedEncodingException e) { return inParam; } ... but this implies that you know the character encoding. Until Servlet 2.3 is standard, you can't just say request.setEncoding (). So: how to do this in Struts? Ultimately, what I need is my form beans to have their Strings set properly. I can think of a few ways. (1) Let the form bean handle it on set () methods for Strings. Every form class could extend a base class with a decodeString (), and every form class could call this method. I'm not thrilled about this, since it'd be easy to forget and it's a lot of extra coding on every set call. (2) Modify Struts to do this automatically. This isn't trivial, since the calls to populate beans are buried pretty deeply in ActionServlet, RequestUtils, and BeanUtils. In either case, the handler (whether Struts utils or the beans themselves) would need to know the encoding to use! The best I can come up with is that every form would embed a hidden parameter encoding -- this is how iPlanet handles this, they have a j_encoding parameter on forms which tells the handler how to decode params. (I could modify html:form to do this automatically, too ...) Thoughts? Thanks, Ben
Re: html:link problem
cause it assumes myCollectionElement as a normal java Object and says no method getId() in java.lang.Object - Original Message - From: troy hart To: [EMAIL PROTECTED] Sent: Thursday, July 05, 2001 1:36 PM Subject: Re: html:link problem What doesn't work with that??? - Original Message - From: Rama Krishna To: [EMAIL PROTECTED] Sent: Thursday, July 05, 2001 2:25 PM Subject: Re: html:link problem no. this doesn't work. then i'll have to use jsp bean tag and do this. is there anyother way??? - Original Message - From: troy hart To: [EMAIL PROTECTED] Sent: Thursday, July 05, 2001 1:08 PM Subject: Re: html:link problem To the best of knowledge, you can't use the bean:write tag that way. I believe it would be: html:link page="/target.cm" paramId="value" paramName="%= myCollectionElement.getId() %"click here/html:link Hope this helps... - Original Message - From: Rama Krishna To: [EMAIL PROTECTED] Sent: Thursday, July 05, 2001 1:09 PM Subject: html:link problem is this correct html:link page="/target.cm" paramId="value" paramName="bean:write name='myCollectionElement' property='id'/"click here/html:link where myCollectionElement is a collection id is a property in the collection and i want http:///target.cm?value=2 (value of id) i get null when i say req.getParameter("value"); in my action class?? any help??? thanks, rama
Know of any consulting companies?
Is there an ARS-Digita-like consulting company that uses the various jakarta components to build web apps for clients? thanks in advance, Eric Loeb __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/
Re: html:link problem
Well, there are a few different ways to handle this. One possible scenario is this: bean:define id="myId" name="myCollectionElement" property="id"/ html:link page="/target.cm" paramId="value" paramName="%= myId %"click here/html:link - Original Message - From: Rama Krishna To: [EMAIL PROTECTED] Sent: Thursday, July 05, 2001 2:40 PM Subject: Re: html:link problem cause it assumes myCollectionElement as a normal java Object and says no method getId() in java.lang.Object - Original Message - From: troy hart To: [EMAIL PROTECTED] Sent: Thursday, July 05, 2001 1:36 PM Subject: Re: html:link problem What doesn't work with that??? - Original Message - From: Rama Krishna To: [EMAIL PROTECTED] Sent: Thursday, July 05, 2001 2:25 PM Subject: Re: html:link problem no. this doesn't work. then i'll have to use jsp bean tag and do this. is there anyother way??? - Original Message - From: troy hart To: [EMAIL PROTECTED] Sent: Thursday, July 05, 2001 1:08 PM Subject: Re: html:link problem To the best of knowledge, you can't use the bean:write tag that way. I believe it would be: html:link page="/target.cm" paramId="value" paramName="%= myCollectionElement.getId() %"click here/html:link Hope this helps... - Original Message - From: Rama Krishna To: [EMAIL PROTECTED] Sent: Thursday, July 05, 2001 1:09 PM Subject: html:link problem is this correct html:link page="/target.cm" paramId="value" paramName="bean:write name='myCollectionElement' property='id'/"click here/html:link where myCollectionElement is a collection id is a property in the collection and i want http:///target.cm?value=2 (value of id) i get null when i say req.getParameter("value"); in my action class?? any help??? thanks, rama
Re: Know of any consulting companies?
Eric, I am a part of a consulting outfit that develops all kinds of solutions, including systems that use jakarta components: www.solutionarray.com. Is that what you mean? --Chris Original Message Follows From: Eric Loeb [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Know of any consulting companies? Date: Thu, 5 Jul 2001 13:40:06 -0700 (PDT) Is there an ARS-Digita-like consulting company that uses the various jakarta components to build web apps for clients? thanks in advance, Eric Loeb __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/ _ Get your FREE download of MSN Explorer at http://explorer.msn.com
RE: Know of any consulting companies?
Although I'm not familiar with ARS or Digita, the company I work for (Access Data Corp - http://www.accessdc.com) does indeed do consulting/software development with Java; and, while we do not necessarily specialize in using Jakarta components, we are very apt to use them. Case in point, the project I'm currently working on which involves Struts, RegExp (possibly ORO) and a couple other misc. Jakarta things. What do you need? -Chris Christopher Assenza Email: [EMAIL PROTECTED] ACCESSDATA Moving Your Business from Point A to Point e.(sm) http://www.accessdc.com/ -Original Message- From: Eric Loeb [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 05, 2001 4:40 PM To: [EMAIL PROTECTED] Subject: Know of any consulting companies? Is there an ARS-Digita-like consulting company that uses the various jakarta components to build web apps for clients? thanks in advance, Eric Loeb __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/
RE: Encodings on form submits?
Ben, Thanks for asking this question - this is almost exactly the question I posted yesterday. I didn't get an answer ;-) but perhaps we can generate some interest if we keep bringing it up. The form bean user is out in the cold right now. Even with setEncoding() in 2.3, it still has to be called before the POST data is processed. By the time the action servlet gains control, the conversion has happened. I suggested (like you did) that perhaps the best place to do this is as an encoding tag attribute in the form, or the individual text tags, etc. Right now, I rely on app-server specific features to set the encoding of POST data on a per-web-application basis. I wouldn't mind a similar mechanism in the struts-config file. That would be much more portable than what I'm doing now. Scott -Original Message- From: Ben Flaumenhaft [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 05, 2001 4:40 PM To: '[EMAIL PROTECTED]' Subject: Encodings on form submits? Folks, I'm struggling with how to handle form submissions with non-Latin character encodings using a Struts action and form beans. As I understand it, browsers use the character encoding of the form's page (hex-encoded) for submitting form parameters. I've seen plenty of code to convert request parameters by hand, e.g. try { return new String(inParam.getBytes(8859_1), encoding); } catch (UnsupportedEncodingException e) { return inParam; } ... but this implies that you know the character encoding. Until Servlet 2.3 is standard, you can't just say request.setEncoding (). So: how to do this in Struts? Ultimately, what I need is my form beans to have their Strings set properly. I can think of a few ways. (1) Let the form bean handle it on set () methods for Strings. Every form class could extend a base class with a decodeString (), and every form class could call this method. I'm not thrilled about this, since it'd be easy to forget and it's a lot of extra coding on every set call. (2) Modify Struts to do this automatically. This isn't trivial, since the calls to populate beans are buried pretty deeply in ActionServlet, RequestUtils, and BeanUtils. In either case, the handler (whether Struts utils or the beans themselves) would need to know the encoding to use! The best I can come up with is that every form would embed a hidden parameter encoding -- this is how iPlanet handles this, they have a j_encoding parameter on forms which tells the handler how to decode params. (I could modify html:form to do this automatically, too ...) Thoughts? Thanks, Ben
Re: Know of any consulting companies?
Maybe. The thing about ARS Digita is that they focus on web applications using their open source (open ACS) code. As a consequence, they have an extensive library/repetoire of commonly-done things that they can apply to the problem at hand. Does your company have a ready-made jakarta-based (turbine) e-commerce module, a personalization module, an email campaign management module, and so on? --- Chris Kmiec [EMAIL PROTECTED] wrote: Eric, I am a part of a consulting outfit that develops all kinds of solutions, including systems that use jakarta components: www.solutionarray.com. Is that what you mean? --Chris Original Message Follows From: Eric Loeb [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Know of any consulting companies? Date: Thu, 5 Jul 2001 13:40:06 -0700 (PDT) Is there an ARS-Digita-like consulting company that uses the various jakarta components to build web apps for clients? thanks in advance, Eric Loeb __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/ _ Get your FREE download of MSN Explorer at http://explorer.msn.com __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/
Re: html:link problem
Additionally, you can always use the type property to in effect "cast" a bean that you define, so you could do this: bean:define id="myCollectionElement" name="someBean" property="collectionElement" type="com.abc.struts.MyCollectionElementType" html:link page="/target.cm" paramId="value" paramName="%= myCollectionElement.getId() %"click here/html:link This way your referece to myCollectionElement will be of the correct type, so getId() will be valid... Hope this helps, Troy - Original Message - From: troy hart To: [EMAIL PROTECTED] Sent: Thursday, July 05, 2001 2:44 PM Subject: Re: html:link problem Well, there are a few different ways to handle this. One possible scenario is this: bean:define id="myId" name="myCollectionElement" property="id"/ html:link page="/target.cm" paramId="value" paramName="%= myId %"click here/html:link - Original Message - From: Rama Krishna To: [EMAIL PROTECTED] Sent: Thursday, July 05, 2001 2:40 PM Subject: Re: html:link problem cause it assumes myCollectionElement as a normal java Object and says no method getId() in java.lang.Object - Original Message - From: troy hart To: [EMAIL PROTECTED] Sent: Thursday, July 05, 2001 1:36 PM Subject: Re: html:link problem What doesn't work with that??? - Original Message - From: Rama Krishna To: [EMAIL PROTECTED] Sent: Thursday, July 05, 2001 2:25 PM Subject: Re: html:link problem no. this doesn't work. then i'll have to use jsp bean tag and do this. is there anyother way??? - Original Message - From: troy hart To: [EMAIL PROTECTED] Sent: Thursday, July 05, 2001 1:08 PM Subject: Re: html:link problem To the best of knowledge, you can't use the bean:write tag that way. I believe it would be: html:link page="/target.cm" paramId="value" paramName="%= myCollectionElement.getId() %"click here/html:link Hope this helps... - Original Message - From: Rama Krishna To: [EMAIL PROTECTED] Sent: Thursday, July 05, 2001 1:09 PM Subject: html:link problem is this correct html:link page="/target.cm" paramId="value" paramName="bean:write name='myCollectionElement' property='id'/"click here/html:link where myCollectionElement is a collection id is a property in the collection and i want http:///target.cm?value=2 (value of id) i get null when i say req.getParameter("value"); in my action class?? any help??? thanks, rama
Re: html:link problem
well, it works. thanks :)) rama - Original Message - From: troy hart To: [EMAIL PROTECTED] Sent: Thursday, July 05, 2001 1:44 PM Subject: Re: html:link problem Well, there are a few different ways to handle this. One possible scenario is this: bean:define id="myId" name="myCollectionElement" property="id"/ html:link page="/target.cm" paramId="value" paramName="%= myId %"click here/html:link - Original Message - From: Rama Krishna To: [EMAIL PROTECTED] Sent: Thursday, July 05, 2001 2:40 PM Subject: Re: html:link problem cause it assumes myCollectionElement as a normal java Object and says no method getId() in java.lang.Object - Original Message - From: troy hart To: [EMAIL PROTECTED] Sent: Thursday, July 05, 2001 1:36 PM Subject: Re: html:link problem What doesn't work with that??? - Original Message - From: Rama Krishna To: [EMAIL PROTECTED] Sent: Thursday, July 05, 2001 2:25 PM Subject: Re: html:link problem no. this doesn't work. then i'll have to use jsp bean tag and do this. is there anyother way??? - Original Message - From: troy hart To: [EMAIL PROTECTED] Sent: Thursday, July 05, 2001 1:08 PM Subject: Re: html:link problem To the best of knowledge, you can't use the bean:write tag that way. I believe it would be: html:link page="/target.cm" paramId="value" paramName="%= myCollectionElement.getId() %"click here/html:link Hope this helps... - Original Message - From: Rama Krishna To: [EMAIL PROTECTED] Sent: Thursday, July 05, 2001 1:09 PM Subject: html:link problem is this correct html:link page="/target.cm" paramId="value" paramName="bean:write name='myCollectionElement' property='id'/"click here/html:link where myCollectionElement is a collection id is a property in the collection and i want http:///target.cm?value=2 (value of id) i get null when i say req.getParameter("value"); in my action class?? any help??? thanks, rama
ActionError
Is there any way that I can use the ActionErrors and ActionError to display error messages that I get from the back-end of my application. For Example: if I get an error message I would like to do something like this. ActionErrors ae = new ActionErrors(); if(myResponse.getStatus().equals(ERROR)){ ae.add(reason, new ActionError(myResponse.getReason())); } ...That way I can show the reason for the error like the other error handlers do? thanks in advance. Gus
Re: Action forward to Action losing request objects ??
All keys are separated by an '' here is an example: /postsecure_jump.do?sessionid=12345height=10weight=100 HTH, Pete Jonathan wrote: It was a dumber mistake which I wont go into ;^>Its fixed, however I am now trying to redirect and it is not working. In my action perform() I am doing the following:String query = request.getSession().getId(); String action = "/postsecure_jump.do?sessionid="; System.out.println(action+query); return new ActionForward( action+query, true);Can someone tell me how to add query strings properly - Original Message - From: Peter Alfors To: [EMAIL PROTECTED] Sent: Thursday, July 05, 2001 3:49 PM Subject: Re: Action forward to Action losing request objects ?? Is it possible that you are redirecting instead of forwarding? Jonathan wrote: I am submitting to an Action which when successful places an object in the request and forwards to a second Action, which looks for the item in the request, and forwards yet again to a third Action which gets the item placed in the request object by the previous Action:Action1>Action2(put in object)>Action3(getobject) I am loosing the object in the request between Action1 and Action2 for sure. Anyone know why? begin:vcard n:; x-mozilla-html:FALSE org:BRIMG SRC=http://www.irista.com/images/common/logo_top_right.gif; adr:;; version:2.1 end:vcard
Re: turbine vs. struts
Chris Kmiec wrote: I am in charge of architecting a little web system which will use some of the jakarta components. I am torn between using Struts and Turbine. I am wondering if maintaining Velocity templates will be more difficult than just using straight JSPs with Struts. I want to come up with a solid, scaleable architecture. Any suggestions? Opinions? Pros and cons for either solution? Can I ask why you wonder if maintaining Velocity templates will be harder? Also, you can use Velocity with Struts if you wish... geir -- Geir Magnusson Jr. [EMAIL PROTECTED] System and Software Consulting Developing for the web? See http://jakarta.apache.org/velocity/ You have a genius for suggesting things I've come a cropper with!
RE: Know of any consulting companies?
Eric, I'm a project manager at Tallan ( www.tallan.com ) and we do quite a bit of custom web application development. We do not use any software solution exclusively, but have incorporated Jakarta components into solutions for many of our clients. An example that I managed personally is www.chcd.com. This project was originally developed using Tomcat (it now runs on resin) was built using ant and uses struts custom tags. Feel free to contact me for more information. Mike Grassotti [EMAIL PROTECTED] -Original Message- From: Eric Loeb [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 05, 2001 4:40 PM To: [EMAIL PROTECTED] Subject: Know of any consulting companies? Is there an ARS-Digita-like consulting company that uses the various jakarta components to build web apps for clients? thanks in advance, Eric Loeb __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/
Re: Know of any consulting companies?
iXL Inc. out of Atlanta, (particularly their New York office) are quite familiar with the jakarta components and intricately using the STRUTS framework quite extensively on existing projects and new business. www.ixl.com Hope this helps, Adam S. Grohs - Original Message - From: Eric Loeb [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 05, 2001 4:40 PM Subject: Know of any consulting companies? Is there an ARS-Digita-like consulting company that uses the various jakarta components to build web apps for clients? thanks in advance, Eric Loeb __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/
Re: turbine vs. struts
Geir Magnusson Jr. wrote: Chris Kmiec wrote: I am in charge of architecting a little web system which will use some of the jakarta components. I am torn between using Struts and Turbine. I am wondering if maintaining Velocity templates will be more difficult than just using straight JSPs with Struts. I want to come up with a solid, scaleable architecture. Any suggestions? Opinions? Pros and cons for either solution? Can I ask why you wonder if maintaining Velocity templates will be harder? Also, you can use Velocity with Struts if you wish... Sorry all - this was crossposted to the turbine list, where the above answer was intended. geir -- Geir Magnusson Jr. [EMAIL PROTECTED] System and Software Consulting Developing for the web? See http://jakarta.apache.org/velocity/ You have a genius for suggesting things I've come a cropper with!
Specifically, how does matching of Actions work - (requirements)
If this is a part of my struts-config.xml: action path="/presecure_jump" type="com.vnu.actions.PreSecureJumpAction"forward name="postsecure" path="/postsecure_jump.do"//action what specifically will match and not match my Action's path (path="/presecure_jump" ) I understood that any occurence of the string "/presecure_jump.do" in a url would trigger this Action. Is this not true?
multiple param's in query string
hi all, i have multiple params in query string to go when clicked on a link. i have gone through the user archive and found that we need to maintain a hashmap sought of thing. as i have a link in each row, the values differ for each link, so i have a vector of hashmaps. i am able to form the querystring but the problem is to iterate thru the vector as this hashmap vector is in another iteration. it is like this logic:iterate id="myCollectionElement" name="buildData" property="build" tr logic:iterate id="queryCollection" name="buildData" property="query" --- this will create problems td html:link page="/xxx" name="queryCollection" target="new"click/html:link /td /logic:iterate td bean:write name="myCollectionElement" property="versionNo"/ /td /tr /logic:iterate i tried length and offset of iterate but couldn't make it work. has anyone tried this??? thanks, rama.
Report to Recipient(s)
Incident Information:- Originator:Rama Krishna [EMAIL PROTECTED] Recipients:[EMAIL PROTECTED] Subject: multiple param's in query string Message from Rama Krishna [EMAIL PROTECTED] was quarantined because it contained banned content.
RE: html:link problem
Rama, Cant you use paramProperty? html:link page=/target.cm paramId=value paramName=myCollectionElement paramProperty=idclick here/html:link Niall -Original Message- From: Rama Krishna [mailto:[EMAIL PROTECTED]] Sent: 05 July 2001 20:10 To: [EMAIL PROTECTED] Subject: html:link problem is this correct html:link page=/target.cm paramId=value paramName=bean:write name='myCollectionElement' property='id'/click here/html:link where myCollectionElement is a collection id is a property in the collection and i want http:///target.cm?value=2 (value of id) i get null when i say req.getParameter(value); in my action class?? any help??? thanks, rama
processPath() method returning the wrong path
I am submitting to an Action which FORWARDS toa second Action, which REDIRECTS to a third Action which FORWARDS to a jsp Action1-(f)Action2-(r)Action3-(f)jsp Action 3 never gets triggered because the mapping somehow does not match. When I look to see the mappingthe ActionServlet generates, it appears that it has calculated the path incorrectly HERE ARE MY STEPS = step 1 - I am on localhost http://localhost:7001/successmtgs/index.jsp I jump to another server via a link step 2 - I am on another server http://anotherhost:8007/successmtgs/signin.jsp I submit a form to /process_logon.do step 3 - the servlet is triggered and runs an action path="/process_logon" this action FORWARDS to another action path="/presecure_jump.do" step 4 - this second action is run path="/presecure_jump" this action REDIRECTS to another action path="/postsecure_jump.do" (dies here..) step 5 - ACTION NEVER GETS RUN BECAUSE "No mapping available for path "/successmtgs/postsecure_jump" path="/postsecure_jump" FORWARD to path="/successmtgs/index.jsp" = I end up at the following URI with the following message http://localhost:7001/successmtgs/postsecure_jump.doInvalid path /successmtgs/postsecure_jump was requested The path that is being looked up for the mapping is "/successmtgs/postsecure_jump". I shouldnt get this value because the ActionServlet's processPath() method is supposed to find the last occurence of a "/" [int slash = path.lastIndexOf("/");] So my path to match becomes - /successmtgs/postsecure_jump instead of - /postsecure_jump Now the mapping is wrong and I wont be able to forward
Re: Using Struts in VisualAge for JAVA 3.5.3 WebSphere Test Environme nt
Look at the messages generated when you first start WTE. If you see error messages about DTDs as explained in http://www.mail-archive.com/struts-user@jakarta.apache.org/msg07524.html it's the WAS classloader bug. Other links that may be of interest: http://www.distribucon.com/struts/WASInstall.htm http://www.mail-archive.com/struts-user@jakarta.apache.org/msg10964.html Roxie At 07:01 AM 7/5/01 , you wrote: Error 503 An error has occured while processing request:http://localhost:8080/employeelist/ Message: Application is currently unavailable for service
Re: html:link problem
Niall , does it work for multiple param's??? or if not how do i tackle multiple params?? thanks, rama. - Original Message - From: Niall Pemberton [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 05, 2001 4:39 PM Subject: RE: html:link problem Rama, Cant you use paramProperty? html:link page=/target.cm paramId=value paramName=myCollectionElement paramProperty=idclick here/html:link Niall -Original Message- From: Rama Krishna [mailto:[EMAIL PROTECTED]] Sent: 05 July 2001 20:10 To: [EMAIL PROTECTED] Subject: html:link problem is this correct html:link page=/target.cm paramId=value paramName=bean:write name='myCollectionElement' property='id'/click here/html:link where myCollectionElement is a collection id is a property in the collection and i want http:///target.cm?value=2 (value of id) i get null when i say req.getParameter(value); in my action class?? any help??? thanks, rama
Re: If no ActionForm associated with Action....ActionForm is null???
It's OK - Original Message - From: Jonathan Asbell To: [EMAIL PROTECTED] Sent: Thursday, July 05, 2001 7:23 PM Subject: If no ActionForm associated with ActionActionForm is null??? Hello. In places where there are no forms and thus did not configure an ActionForm for a particular Action,does the ActionForm object which is passed to the perform method have a "null" vlaue?
Re: Team development with struts
Hi Jorge, Please let me know is there any visual UI to use with CVS ? I currently use cygwin bash shell but I am very tired of its interface Thanks Quan - Original Message - From: jorisumu [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, July 05, 2001 9:33 PM Subject: Re: Team development with struts Well you´re certainly right... those config files could be a mess if you don´t establish a good version control policy. We´ve been working with winCVS since we begun our projects, it has been quite good for the matter... The tool is just one thing, we usually distribute the job in different areas of development. So that way not many people actually touch the main config files including the famous struts-config.xml. But in your case it doesn´t look like a way. The idea is that you can let your people use CVS (graphic client or command line based) but let them never forget that every time you want to commit your changes to the file, you MUST do an update to it before. CVS will merge the version you create with the version in the repository and will announce you the conflicts. So the steps for succesful version control on a file are: 1) checkout/edit the file 2) make your changes 3) update 4) solve your conflicts locally 5) commit the file! Hope this could help you Bye Jorge Ivan Suarez Murillo Web Applications Engineer Commexnet. Medellin, Colombia - Mensaje original - De: Valeriy Zavidnoy [EMAIL PROTECTED] Fecha: Miércoles, Julio 4, 2001 4:03 pm Asunto: Team development with struts Our team is starting to use Struts, that means each developer needs to edit struts-config.xml and *.properties files. The issue we encountered is that several guys (12-15) want to edit these getting huge files at the same time. Of course, we are using currently source control by VSS, we thought about moving to CVS, but it won't completely let us avoid a headache. Can anyone give a suggestion how to solve this? Thanks. ___ Consigue tu e-mail gratuito TERRA.COM.CO Haz click en http://www1.terra.com.co/correo
Re: Team development with struts
WinCVS, jCVS. http://www.wincvs.org/ - Original Message - From: Pham Thanh Quan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 06, 2001 11:53 AM Subject: Re: Team development with struts Hi Jorge, Please let me know is there any visual UI to use with CVS ? I currently use cygwin bash shell but I am very tired of its interface Thanks Quan - Original Message - From: jorisumu [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, July 05, 2001 9:33 PM Subject: Re: Team development with struts Well you´re certainly right... those config files could be a mess if you don´t establish a good version control policy. We´ve been working with winCVS since we begun our projects, it has been quite good for the matter... The tool is just one thing, we usually distribute the job in different areas of development. So that way not many people actually touch the main config files including the famous struts-config.xml. But in your case it doesn´t look like a way. The idea is that you can let your people use CVS (graphic client or command line based) but let them never forget that every time you want to commit your changes to the file, you MUST do an update to it before. CVS will merge the version you create with the version in the repository and will announce you the conflicts. So the steps for succesful version control on a file are: 1) checkout/edit the file 2) make your changes 3) update 4) solve your conflicts locally 5) commit the file! Hope this could help you Bye Jorge Ivan Suarez Murillo Web Applications Engineer Commexnet. Medellin, Colombia - Mensaje original - De: Valeriy Zavidnoy [EMAIL PROTECTED] Fecha: Miércoles, Julio 4, 2001 4:03 pm Asunto: Team development with struts Our team is starting to use Struts, that means each developer needs to edit struts-config.xml and *.properties files. The issue we encountered is that several guys (12-15) want to edit these getting huge files at the same time. Of course, we are using currently source control by VSS, we thought about moving to CVS, but it won't completely let us avoid a headache. Can anyone give a suggestion how to solve this? Thanks. ___ Consigue tu e-mail gratuito TERRA.COM.CO Haz click en http://www1.terra.com.co/correo
processPath() method returning the wrong path
Hello all. I was reading aboutthe struts problem with i-Planet and wondering if I have the same problem. We are using i-Planet as a web server along with weblogic 5.1 as an app server. I am not sure which i-Planet version we have but I will find out tomorrow. My problem is below.. I am submitting to an Action which FORWARDS toa second Action, which REDIRECTS to a third Action which FORWARDS to a jsp Action1-(Fwd)Action2-(Redr)Action3-(Fwd)jsp Action 3 never gets triggered because the mapping somehow does not match. When I look to see the mappingthe ActionServlet generates at that point, it appears that it has calculated the path incorrectly. I end up at the following URI with the following message: http://localhost:7001/successmtgs/postsecure_jump.do Invalid path /successmtgs/postsecure_jump was requested The final action should be triggered by path="/postsecure_jump". The path that is being looked up for the mapping is "/successmtgs/postsecure_jump". I shouldnt be getting this value because the ActionServlet's processPath() method is supposed to find the last occurence of a "/" [int slash = path.lastIndexOf("/");] So my path to match becomes - /successmtgs/postsecure_jump instead of - /postsecure_jump Now the mapping is wrong and I wont be able to forward HERE ARE MY STEPS = step 1 - I am on localhost http://localhost:7001/successmtgs/index.jsp I jump to another server via a link step 2 - I am on another server http://anotherhost:8007/successmtgs/signin.jsp I submit a form to /process_logon.do step 3 - the servlet is triggered and runs an action path="/process_logon" this action FORWARDS to another action path="/presecure_jump.do" step 4 - this second action is run path="/presecure_jump" this action REDIRECTS to another action path="/postsecure_jump.do" (dies here..) step 5 - ACTION NEVER GETS RUN BECAUSE "No mapping available for path "/successmtgs/postsecure_jump" path="/postsecure_jump" FORWARD to path="/successmtgs/index.jsp" =
How to achieve URLrewriting, when my img uses Usemap
Hi I am using an img( i.e.html:img) for different links of my page. This img is using usemap for these different links.For this situation I could not achieve the URLrewriting when the cookies are disabled. If I can use html:link instead of href of the area tag of map tag, then the prob would be solved. So how can I get this. If any other alternatives are there, please mail me. EdaDo You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year!http://personal.mail.yahoo.com/