LookupDispatchAction

2003-02-12 Thread Jonathan
Ok the reason I had just put strings in the Map was because of Lack of internationalisation, I've now done this but still I get The same error that of a NullPointerException. I'm assuming this Is because of a method not found error from my ServletException Output in Tomcat... (See attached) Am I

RE: LookupDispatchAction

2003-02-12 Thread Jonathan
Ok, here goes... I've definately defined the internationalization Stuff in ApplicationResources. Note the struts config bit below And the fact that I've specified the scope as session, does this make a difference?

RE: Session Problems

2003-02-27 Thread Jonathan
ng List Subject: RE: Session Problems Can you summarize the form bean you are using for the first page? What are its properties? How is the Collection maintained? How is the bean being created? Sri -Original Message- From: JONATHAN PHILIP HOLLOWAY [mailto:[EMAIL PROTECTED] Sent: Thursd

RE: Session Problems

2003-02-27 Thread Jonathan
mailto:[EMAIL PROTECTED] Sent: February 27, 2003 1:54 PM To: Struts Users Mailing List Subject: RE: Session Problems Can you summarize the form bean you are using for the first page? What are its properties? How is the Collection maintained? How is the bean being created? Sri -----Original Mess

Sessions

2003-03-02 Thread Jonathan
addaddress.jsp where they can enter an address and are then returned to the main page where they can view the list of addresses that they have currently entered. Is this correct? Many thanks, Jon. *-* Jonathan Holloway, Dept. Of

URL Rewrite & Cookies

2003-03-03 Thread Jonathan
t page. Jon. *-* Jonathan Holloway, Dept. Of Computer Science, Aberystwyth University, Ceredigion, West Wales, SY23 3DV. 07968 902140

Iterate + indexed property arghhh....

2003-03-03 Thread Jonathan
#x27;t use: String action = (String)request.getParameter("action"); Because the index causes a problem, Many thanks in advance for any help or tips you can provide me with, this seems to be the last part of my problems. Jon. *---

RE: J2EE and Tomcat and struts (Question re "Struts in Action" by Husted)

2003-03-04 Thread Jonathan
Tomcat is an implementation of the servlet spec that is part of the J2EE architecture. You should be able to include the jar files that are in tomcat as part of your classpath in order to compile your servlets. Jon. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] S

RE: Problem with Monkey examples

2003-03-05 Thread Jonathan
I've got the monkey complex example workign with Tomcat 4.1.18 using Struts 1.1b2 but it was a pain in the arse to get working, if you need the file then you can download it from http://users.aber.ac.uk/jph8/monkey.war Hope that's of some help to you people working with the nested tags. Monkey

Mutually Exclusive Radio Buttons

2003-03-12 Thread Jonathan
ult in the property being different for each of them because of the nested index, e.g. like property="Banana[0].ripe" Rather than just: property="ripe" which would allow mutual exclusion. Is there any way around this, Many thanks, Jon. *--

Nested Radio Buttons + Mutual Exclusion

2003-03-13 Thread Jonathan
Does anybody know how to use the nested:radio button component so That you can have mutually exclusive sets of radio buttons? Jon. *-* Jonathan Holloway, Dept. Of Computer Science, Aberystwyth University, Ceredigion

Paper

2003-01-09 Thread Jonathan
en It'd be extremely appreciative, Many thanks, Jonathan Holloway. *-* Jonathan Holloway, Dept. Of Computer Science, Aberystwyth University, Ceredigion, West Wales,

Paper

2003-01-09 Thread Jonathan
ac.uk/jph8/frameworks.zip Many thanks again for any feedback you can provide me with : ) Jonathan Holloway. --- Hi everyone, I'm currently writing a paper for one of my University assignments on web application frameworks. It basically covers the different approaches that web framework

Web Application Frameworks Paper & Overview

2003-01-09 Thread Jonathan
the struts framework itself. If you could possibly spare some time to give me some help and feedback on it then I'd be extremely appreciative, Many thanks, Jonathan Holloway. PDF Document http://users.aber.ac.uk/jph8/frameworks.pdf Word Document http://users.aber.ac.uk/jph8/frameworks.do

Login

2003-03-24 Thread Jonathan
. *-* Jonathan Holloway, Dept. Of Computer Science, Aberystwyth University, Ceredigion, West Wales, SY23 3DV. 07968 902140 http://users.aber.ac.uk

Re: still fighting HTTP HTTPS problem

2001-05-11 Thread Jonathan
ll fighting HTTP HTTPS problem > well i am using a tomcat-standalone version... i know, that some webservers > like apache would do that task for me... > > well jonathan... thanks... i´ll try it and get back to You if i have further > questions... alright?! > > michy > >

Re: filtering unwanted characters

2001-05-11 Thread Jonathan
try a sax parser - Original Message - From: "Nanduri, Amarnath" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, May 11, 2001 8:35 AM Subject: filtering unwanted characters > > Hi all, > > I might be posting this message in the wrong forum. My apologies if i > have offende

Re: filtering unwanted characters

2001-05-11 Thread Jonathan
0 PM Subject: RE: filtering unwanted characters > I have to check each and every character send as input by the user...Will > SAX help me in this regard ? > > cheers, > Amar.. > > -Original Message- > From: Jonathan [mailto:[EMAIL PROTECTED]] > Sent: Friday, May 1

will 2 submit buttons work?

2001-05-12 Thread Jonathan
I have 2 submit inputs with one form.  both have name="RESULT" but different values.  Is this legal?  

Re: XML Data out of a property into an XSL Transformation by JSP-Tag

2001-05-15 Thread Jonathan
My suggestion would be that your action should forward you to a jsp page that has a custom tag in it. That tag could do 1 of 2 things: 1) search for a bean in the request which has the pre generated html result from a stylesheet transformation 2) get, process and display the transformed data usin

Re: National characters don't reach Action class correctly

2001-05-17 Thread Jonathan
This Article is not completely accurate. The following is true and comes from an e-mail conversation with Hans Bergsten who wrote the Java Server Pages Book: The Servlet spec before the new 2.3 uses ISO-8859 as the default encoding and de-coding for the servlet container. How you encode your we

Donating Xml Configurable Character filter

2001-05-23 Thread Jonathan
Character Filter Donation - Original Message - From: "Nanduri, Amarnath" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 23, 2001 9:39 AM Subject: Suggestions for Struts 1.1 TODO LIST Request Filtering technology for Struts > Hi Everybody, > > I would really

Re: Donating Xml Configurable Character filter

2001-05-23 Thread Jonathan
its read only. Also, people on the list have been looking for a character filter, and here is one. It may be useful or not. You guys are the brains around here ;^> I'm just trying to learn from you.=) Jonathan - Original Message - From: "Nanduri, Amarnath" <[EMAIL

I want to override some struts classes

2001-05-25 Thread Jonathan
Hello.  I am placing more debugging in the struts source files and I want these new classes to override the ones in the struts.jar   I have placed the edited ActionServlet class in the WEB-INF/classes/org/struts/action/ directory. It should be working right?  Its not.  I also have 2 war file

Resources clarification :^)

2001-05-29 Thread Jonathan
resources (strings) that work with that ActionForm   The reason is that it is much easier to manage the artifacts on a page by page basis. How can I do this properly   Thanks Jonathan

Re: Resources clarification - is there a work around

2001-05-31 Thread Jonathan
, rather than 100 different bundles to duplicate. > As for naming problems, there is a simple solution. Use a naming strategy for > each key. > > .=Value > or > common.=Value <-- if this is common across all pages. > > HTH, > Pete > > > Jonathan Asbell wrote:

Why does struts-documentation have to be deployed?

2001-05-31 Thread Jonathan
I have the strus classes already in the classpath with out the struts.jar  I shouldnt need the struts-documentation.war file I ask this because I cant figure out what struts is doing when the ActionServlet is loaded.  Below is my own printout using weblogic.  Notice how it calls init() twice

Re: Resources clarification - is there a work around

2001-06-01 Thread Jonathan
if I were going to have a huge number of bundles like one per page, > I would pull my resources from a database using a custom > DatabaseMessageResourceFactory. I have considered writing a such a factory > and the accompanying webapp to maintain the translations but I haven't > fol

I am finding that templates are SLOW

2001-06-01 Thread Jonathan
I am using weblogic 6 on w2k.  I clicked on a templated page and MAN.I wait atleast 1 minute for the results.  Is this known?

nested TokenStreamException, WL6, & Templates

2001-06-01 Thread Jonathan
the Exception   javax.servlet.jsp.JspException: JSP compilation of /inc/template2.jsp failed: weblogic.utils.ParsingException: nested TokenStreamException: antlr.TokenStreamException: Could not include inc/imports.jsp    at org.apache.struts.taglib.template.InsertTag.doEndTag(InsertTag.

Re: *TED* Re: I am finding that templates are SLOW

2001-06-04 Thread Jonathan
hat templates are SLOW > Weblogic sometimes has trouble parsing relative paths. Are you using > Weblogic 6.0? It might be fixed in SP2. I do this <%@ include > file="/include/toppage.inc" %> and it works. Try /inc/imports.jsp. > > > -Original Message- >

visual changes based on state

2001-06-04 Thread Jonathan
Just wondering how you all were implementing visual changes based on state.  Ex. when a menu button says "logon" before the person loggs on, and then says "logoff" after the person has logged on.  How are you doing this switching based on state?  In the action?  in the template? Or are you a

throwing Exceptions from perform()

2001-06-05 Thread Jonathan
telll me why I am limited to these two exceptions and what you all are doing about this.  The reason is that I have my own exceptions for my app, and will need to throw them sometimes within the perform method. Thanx Jonathan

Re: throwing Exceptions from perform()

2001-06-05 Thread Jonathan
his base - they implement a different, > protected method called doPerform() that can throw any exception. The > base perform() method calls doPerform(), catches exceptions and handles > them appropriately. Would this design work for you? > > > Jonathan wrote: > > >

Re: input in XML config

2001-06-06 Thread Jonathan
I for one dont even understand the value in the "input value" parameter. There could be MANY pages that got you to the page you are on. The "input" value just makes one possible origin available for you to have as a return target should things go fowl. I had been saying on this discussion that t

Re: How to add .props files to web.xml

2001-06-07 Thread Jonathan
why put it in the session when you can put it in the application scope? I say this because heavily filled session objects have caused us problems in weblogic, and it is really for the application anyway - Original Message - From: "Peter Alfors" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>

Re: FW: Scope of the form - TED

2001-06-07 Thread Jonathan
Ted, I have been questioning the value of the input property. The input property in Joyce's case is literally the submitting page, which I hardcoded into the struts-config.xml. If I came from another page, however, I will STILL be forwarded to the uri of the input property. I believe this is no

Concepts in working with multipart request

2001-06-08 Thread Jonathan
y Stream data representing the file   I realy have no idea, and I am looking around for answers but am coming up empty. Can someone sum up what is happening here, what the request contains, what values the request works with, and what are the requirements.   Thanks sincerely, Jonathan

Re: Handling Multipart forms (sort of Wizard)

2001-06-12 Thread Jonathan
I am married. Its ME WHO IS EVIL ;^> - Original Message - From: "Darryl Pentz" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "Jonathan Asbell" <[EMAIL PROTECTED]> Sent: Tuesday, June 12, 2001 8:53 AM Subject: RE: Handling Multipart forms (sort o

Re: help with package struts-classpath

2001-06-13 Thread Jonathan
/breconbeacons/it/class.java  is this correct procedure in Cheers Chuck     Jonathan Asbell 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 B

Re: mailing list

2001-06-13 Thread Jonathan
a new mailbox ? ;^> - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 13, 2001 2:45 PM Subject: mailing list   What do I need to do to get off of this mailing list?  It's overflowing my inbox!

Re: help with package struts-classpath

2001-06-14 Thread Jonathan
Chuck, I need the WHOLE path from root. - Original Message - From: Chuck Amadi To: [EMAIL PROTECTED] Sent: Thursday, June 14, 2001 8:40 AM Subject: Re: help with package struts-classpath Hi Jonathan , I sent u a word.doc with a alt & print scrn visual o

Re: help with package struts-classpath

2001-06-14 Thread Jonathan
tomcat-3.2.1\webapps\struts-bbnpa\WEB-INF\classes Now try and tell me what happened - Original Message - From: "Chuck Amadi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 14, 2001 10:50 AM Subject: Re: help with package struts-classpath

Opening a file

2001-06-14 Thread Jonathan
Hello All. If I want to read in a file from a class which is NOT A SERVLET, such as Action, how do I refer to it.  Let me clarify this.  If it was a servlet I could have got the context, and from there a relative path.  BUT, from within a class there IS NO CONTEXT.  For example, I am running

"Beans shouldnt return values" (my collegues argue)

2001-06-14 Thread Jonathan
My 2 collegues argue that the ActionForm (or any bean) should not return values.  They argue that if some day they decide they want to insert a service between the Tag and the Bean, it would complicate things because the inserted service would be forced to return the Beans object to the Tag

Re: strut diagram

2001-06-15 Thread Jonathan
- Original Message - From: "Kiet Nguyen" <[EMAIL PROTECTED]> To: "Struts-User (E-mail)" <[EMAIL PROTECTED]> Sent: Friday, June 15, 2001 4:23 PM Subject: strut diagram > <<...OLE_Obj...>> > Does any have struts diagram I can use. I created this one, any suggestion. > thanks > (See att

Re: Extending ActionServlet

2001-06-20 Thread Jonathan
I dont understand. Noone has to concat anything. You can include xml fragments in your master struts-config.xml like this: ]> where "config1.inc" is a file with xml fragments of parameters and "config2.inc" is a file with xml fragments of more parameters. You just point to the file. Wantto

Re: Extending ActionServlet

2001-06-20 Thread Jonathan
it? If not e-mail me back. - Original Message - From: "Dan Miser" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "Jonathan" <[EMAIL PROTECTED]> Sent: Wednesday, June 20, 2001 1:14 PM Subject: Re: Extending ActionServlet > I tried using entity referen

Re: Extending ActionServlet

2001-06-20 Thread Jonathan
I suspect that you may have problems pointing to the external file. You have file:// I have file:/// Also, I think it is better to use relative references - Original Message - From: "Dan Miser" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "Jonathan" <

Re: [EJB] Design Patterns (was JavaReport ...)

2001-06-21 Thread Jonathan
set of ActionForm beans and a set of other beans, and > need to find the best way to transfer data between the two. > > Jonathan Asbell wrote: > > > > I was on this track in another thread where I was saying... > > > > "What if ActionForm was an

Global values as Tag parameters....How???

2001-06-27 Thread Jonathan
I am creating a custom Struts tag which needs to search for an object in a HashMap.  I want the 'key" for the object in the HashMap to be some agreed upon, pre-defined, final global value defined in a file available to the whole application.  How do I refer to this value in a Tag attribute?

concatenating resources files - in which class?

2001-06-27 Thread Jonathan
Anyone have any suggestions as to where in the code I should concatenate my multiple resource files?  I actually would like the resource files to be in the same directory as the templates to which they pertain (ie in with the jsp files).  Assuming I put my jsp's in WEB-INF/pages, I guess I w

Action forward to Action losing request objects ??

2001-07-05 Thread Jonathan
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(p

Re: Action forward to Action losing request objects ??

2001-07-05 Thread Jonathan
ion 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

Specifically, how does matching of Actions work - (requirements)

2001-07-05 Thread Jonathan
If this is a part of my struts-config.xml:         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?

processPath() method returning the wrong path

2001-07-05 Thread Jonathan
I am submitting to an Action which FORWARDS to a 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 mapp

redirecting within perform() seems to produce path mismatching

2001-07-06 Thread Jonathan
My request triggers the servlet to use Action1. In the perform method I create an ActionForward which redirects to "http://localhost:7001/successmtgs/postsecure_jump.do" == I get this message: "Invalid path /successmtgs/postsecure_jump was requested"   console

Will the servlet work with GET and a query string?

2001-07-06 Thread Jonathan
It looks like the servlet cant match the path correctly when I redirect to an Action ex.   REDIRECTING TO; http://localhost:7001/successmtgs/postsecure_jump.do org.apache.struts.action.ActionServlet doGet() org.apache.struts.action.ActionServlet processPath() PATH - getAttribute("javax.serv

OK - I think I found a bug in ActionServlet - Actions that redirect to Actions - no can do

2001-07-06 Thread Jonathan
I can forward from an action to another action. Action1 (forward to *.do)> Action2 (forward)>   I can NOT successfully redirect from an action to another action Action1 (redirect to  *.do)> Action2 (forward)>   The mapping gets screwed up so that the path

Re: OK - I think I found a bug in ActionServlet - Actions that redirect to Actions - no can do

2001-07-06 Thread Jonathan
ou come up with a quick WAR that demonstrates the issue that we can > try under different containers? > > > Jonathan wrote: > > > > I can forward from an action to another action. > > Action1 (forward to *.do)> Action2 (forward)> > > > > I can N

Revisiting models for jumping between secure and non-secure servers

2001-07-08 Thread Jonathan
In this example I will complete a secure activity by: 1) starting on a nonsecure server 2) jumping to a secure server 3) do my secure activity 4) jump back to the non-secure server   SUGGESTED ACTION CLASSES AND THEIR LOCATIONS (non-secure side) NonSecureSideSslJump - does pre-processing if n

requirements for path triggering actions

2001-07-09 Thread Jonathan
Can someone tell me if there is a way to configure an action to match a path regardless of how deep it is in a directory?  That is, I want "/display.do" to be triggered in each case below:   "/charts/display.do""/news/display.do "/events/outdoors/display.do"   How can I accomplish this?

can Struts tags create a bean using constructor instead of setter

2001-07-10 Thread Jonathan
Are struts tags currently designed to handle this for me?: package com.vnu.models;   public class JumpUrlsBean extends java.lang.Object{       private String targetUrl = null; private String successUrl = null; private String failureUrl = n

Re: can Struts tags create a bean using constructor instead of setter

2001-07-10 Thread Jonathan
--Original Message-From: Jonathan [mailto:[EMAIL PROTECTED]]Sent: Tuesday, July 10, 2001 3:01 PMTo: [EMAIL PROTECTED]Subject: can Struts tags create a bean using constructor instead of setter Are struts tags currently designed to handle t

getting indexId to put in textfield

2001-07-30 Thread Jonathan
I am trying to get the "indexId" as the value for the field.  Any help?         action="/test/bill_to_old_credit_card.do"     type="com.vnu.struts.forms.CreditCardForm"     name="existingCardForm"     scope="request">        id="list"         name="cardList"         type="Cred

** CAN SOMEONE PLEASE ANSWER MY QUESTIONS BELOW **

2001-04-24 Thread Jonathan
 

Can someone explain the "path" attribute in action-mappings

2001-04-24 Thread Jonathan
  How exactly do I implement it?  The doc say "The application context-relative path to the action", but this is not clear to me.  I am having the same trouble implementing the "input" attribute.  Can anyone make this clear for me:  What should the v

*** implementing consecutive form validation? ***

2001-04-24 Thread Jonathan
ActionForm's validation method with "if/then" statements to test if I am on the first, second, or third page of the form and then use the Action's validate method at the end? I was interested in what you all were implementing. Cheers   Jonathan

Re: *** implementing consecutive form validation? ***

2001-04-24 Thread Jonathan
n that value, do the corresponding validation in the Form.   Amar.. -Original Message-From: Jonathan [mailto:[EMAIL PROTECTED]]Sent: Tuesday, April 24, 2001 3:35 PMTo: [EMAIL PROTECTED]Subject: *** implementing consecu

*** Can someone please elaborate on multi form validation ***

2001-04-24 Thread Jonathan
Please share some techniques guys.

Is the Local object a given in Struts ?

2001-04-24 Thread Jonathan
Do we get a Local object when we use struts, or do we have to implement it?  It look like I get a default Local object for free, but if I want to be able to change languages on the fly I have to implement more Local objects.  The documentation says:   "When the user logs on, the application c

Re: simple question

2001-04-25 Thread Jonathan
Title: Java Bean log file. page scope does NOT HOLD VALUES BETWEEN pages.  request scope holds values UNTIL THE END OF THE REQEST which could be one or more jsps/servlets.  That is, the page request is like a variable useful within the jsp page and not from another page.  You can ask the jsp

Re: What is token and When/Why/Where to use it?

2001-04-25 Thread Jonathan
Im not sure...but if you get more please pass one my way - Original Message - From: "Suriyanarayanan, Senthil Kumar" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 25, 2001 7:00 PM Subject: What is token and When/Why/Where to use it? > Hello, > I would like to know

Can someone PLEASE PLEASE explain in more detail the "path" & "input" attribute values of Action

2001-04-26 Thread Jonathan
It is not clear to me exactly whatthese values could or should be.  I understand that the ".do" is stripped of the request, so does that mean I only have to match everything up to the ".do" ?  Why is a "/" used?  To me this means "root", and in fact in the Login example the path changes fro

Re: FormBeans and Thread Safety

2001-04-26 Thread Jonathan
Where in the docs does it say that Action objects are pooled?!! - Original Message - From: "Rajan Gupta" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "Ryan Rich" <[EMAIL PROTECTED]> Sent: Thursday, April 26, 2001 8:58 AM Subject: Re: FormBeans and Thread Safety > No. ActionForm are cre

#### Can someone pleeeeeeeeese elaborate on the rules regarding Action attribues "input" and "path" ....Please ####

2001-04-26 Thread Jonathan
It is not clear to me exactly whatthese values could or should be.  I understand that the ".do" is stripped of the request, so does that mean I only have to match everything up to the ".do" ?  Why is a "/" used?  To me this means "root", and in fact in the Login example the path changes fro

Re: #### Can someone pleeeeeeeeese elaborate on the rules regarding Action attribues "input" and "path" ....Please ####

2001-04-26 Thread Jonathan
input attribute in the config file is the name of the jsp to which the control should be forwarded in case of errors, which in most of the cases is the input form whcih generated the errors. Hope this helps.   Thanks, Uday.   [Natra, Uday]  -Original Message-From: Jonat

To Roman Fail

2001-04-26 Thread Jonathan
of the capable individuals I have met on this list. - Original Message - From: "Roman Fail" <[EMAIL PROTECTED]> To: "Jonathan" <[EMAIL PROTECTED]@i-2000.com>; <[EMAIL PROTECTED]> Sent: Thursday, April 26, 2001 5:19 PM Subject: RE: FormBe

Re: To Roman Fail

2001-04-26 Thread Jonathan
I will omit the ## *** in my questions than. I had no idea this was considered an expression of pushyness. - Original Message - From: "Iraklis Kourtidis" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, April 26, 2001 5:11 PM Subject: RE: To Roman Fail

Re: switch from http to https

2001-04-27 Thread Jonathan
You have to use url rewriting to send and save the session temporarily on the https side, and when you are done you have to resend the saved session info, again via url rewriting, back to the non-secure side which will still have your session if you didnt take too long on the https side, and then

Re: Override Input Form / JSP when Errors Are Encountered

2001-05-08 Thread Jonathan
String referrer = request.getHeader(Referrer); requestDispatcher requestDispatcher = request.getRequestDispatcher requestDispatcher. forward(referrer); - Original Message - From: Jeff Trent To: [EMAIL PROTECTED] Sent: Tuesday, May 08, 2001 5:12 PM Subject: Re: Overr

Re: Struts debugging in Emacs/JDE

2001-05-08 Thread Jonathan
Emacs is geek overload. Try textpad, jbuilder(which is free), or webgain - Original Message - From: "Jon Brisbin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 08, 2001 4:50 PM Subject: Struts debugging in Emacs/JDE > I've been using the awesome Emacs ECB and JDE for

Re: Potential Security Flaw in Struts MVC....Christian.......are you lurking about?

2001-05-09 Thread Jonathan
If your User bean is constructed from data in a database ONLY, via the constructor and not by set() methods, then the object can only contain info it was constructed with. This means that you cant guess and pass whatever parameters because they were obtained from the database. So unless someone k

Anchor tags in a page

2003-06-26 Thread Jonathan Holloway
Hi, I have a page that is quite large so i'm trying to put anchor tags in the page so that i can redirect the user to a specific part of the page. this is quite easy to achieve so I'm told using the following piece of code in the struts-config.xml file: action path="/action"

RE: Formatting form data inside the *view* (JSP's)

2003-08-28 Thread Jonathan Lehr
is in your Action to get the locale and set it on the form instance: public ActionForward execute(...) { ... Locale currLocale = (Locale) request.getSession().getAttribute(Globals.LOCALE_KEY); form.setLocale(currLocale); ... } Jonathan > -Original Message

[ANN] FreeMarker 2.3pre13 available

2003-09-04 Thread Jonathan Revusky
logies such as JSP and XSLT, FreeMarker really deserves some serious attention. For more information, visit http://freemarker.org/ (or http://freemarker.sourceforge.net/) or the FreeMarker project page at http://sf.net/projects/freemarker . Best Regards,

Multipage JDBC result

2003-09-16 Thread Jonathan Hawkins
Howdy, Any tips as to where I can find code examples of how to break down a large JDBC result into say 25 rows per page? Jon Hawkins - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

JSP Expression inside Struts html:text property

2003-10-13 Thread Jonathan Hawkins
c tag and think that may be the way to go, but I can't find an example Please helpsuper powers..failing.must .stop evilbad code before it'stoo late thanks jonathan ---

Struts, Tomcat And Performance

2003-11-04 Thread Jonathan Holloway
Does anybody have any information, case studies or figures they can share on the performance of struts under tomcat. Whats the maximum number of simultaneous users that can be supported by a single tomcat instance running struts? I've got up to around 40-60 but need to increase this to more

Error Handling without using errorPage directive

2003-11-05 Thread Jonathan Gordon
es for every type of exception that seems relevant in both places but they don't seem to be getting called. Thanks for your help, Jonathan. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Token documentation

2003-11-21 Thread Fullam, Jonathan
I found the description of how and when to use tokens in "The Struts Framework, Practical Guide for Java Programming" by Sue Spielman very useful. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, November 21, 2003 11:19 AM To: [EMAIL PROTECTED] Subject: To

Re: links without underline/border

2003-11-24 Thread Jonathan Sampson
Sonam, You do not want to kill a text-decoration simply because images do not have text decorations. Instead, on your image add this property border="0" So your image tag should be: I hope this helps. You can delete the style tag all together. - Original Message - From: "Sonam Belbase"

RE: Session Scope ActionForm, ActionErrors and the Back Button

2003-12-02 Thread Fullam, Jonathan
John, ActionErrors is stored under the key: Globals.ERROR_KEY. You can implement your ActionForm reset (which is called on all ActionForm objects on every request) method to remove the ActionErrors found under this key from your Request or Session. Jonathan -Original Message- From: John

RE: Why isn't an ActionForm just a Map?

2003-12-03 Thread Fullam, Jonathan
One guess would be because then you would lose some of the methods which provide more functionality than just a TransferObject provides. Such methods are validate and reset. -Jonathan -Original Message- From: Antony Paul [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 03, 2003 8:39

RE: Variable value in logic:equal tag Help Req

2003-12-03 Thread Fullam, Jonathan
ute to a String for comparisons). If refValue is not a String you can try the following <%= refValue.toString() %>. -Jonathan -Original Message- From: Shakti [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 03, 2003 10:27 AM To: Struts Developers List; Struts Users Mailing

RE: Select Property !

2003-12-03 Thread Fullam, Jonathan
You are referencing modelYear as the property but your baseVO appears to have a property called strModelYear. -Original Message- From: Rama, Shreekantha (K.) [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 03, 2003 11:04 AM To: Struts Users Mailing List Subject: Select Property ! Impor

RE: Variable value in logic:equal tag Help Req [SOLVED]

2003-12-03 Thread Fullam, Jonathan
still getting the same error. > 1) I want to know how do i get the value of the variable created using > bean:define ??? I am using <%= var %> but i am not getting it .. plz help . > > Plz help me out of this . > Thanks > Shakti > - Original Message - > F

RE: How do I combine tiles and pre-populated forms?

2003-12-04 Thread Fullam, Jonathan
u pre-populate your form in the ViewSystemProperties action. return mapping.findForward("success"); -Jonathan -Original Message- From: Glanville, Jay [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2003 11:02 AM To: Struts User List Subject: How do I combine tiles and pre-

RE: How do I combine tiles and pre-populated forms?

2003-12-04 Thread Fullam, Jonathan
Sorry...I replied before I received this response. -Original Message- From: Greg Reddin [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2003 2:47 AM To: Struts Users Mailing List Subject: Re: How do I combine tiles and pre-populated forms? Jay, Use the first action mapping, but d

Subclassing ActionServlet

2003-12-04 Thread Fullam, Jonathan
All, I need to check the Session for an authenticated user before most requests. To do this I subclassed ActionServlet and only call super(request, response) upon verification that authenticated user is in the Session. if (request.getRequestURI().endsWith("welcome.do") | request.getRequestURI().

  1   2   3   4   >