RE: Wrapper cannot find servlet class

2006-05-15 Thread M Faizal
I have placed struts.jar in my webroot\WEB-INF\lib directory... -Original Message- From: Philihp Busby [mailto:[EMAIL PROTECTED] Sent: May 16, 2006 2:24 PM To: Struts Users Mailing List Subject: Re: Wrapper cannot find servlet class Is the Struts JAR included within your WAR file or d

Re: Automatic bean introspection in jsp form

2006-05-15 Thread Philihp Busby
I agree, writing your own tags would be a good, clean, modular way to do this. With JSTL, if you had a list of names of properties that one of your beans *could* have, this wouldn't be as much of a problem (see EL's empty operator). I don't know if this would be convenient through JAXB. On 5/15/

Re: Wrapper cannot find servlet class

2006-05-15 Thread Philihp Busby
Is the Struts JAR included within your WAR file or deployment directory? And if so, where? On 5/16/06, M Faizal <[EMAIL PROTECTED]> wrote: Hi, I am using struts 1.2.9 with tomcat 4.1.27..and Jbuilder X i have just one jsp in my root context and my web.xml has configured like below acti

Wrapper cannot find servlet class

2006-05-15 Thread M Faizal
Hi, I am using struts 1.2.9 with tomcat 4.1.27..and Jbuilder X i have just one jsp in my root context and my web.xml has configured like below action org.apache.struts.action.ActionServlet config /WEB-INF/struts-config.xml debug 2

Re: What am I missing here?

2006-05-15 Thread Jerome Gagner
I saw very similar results: This is on a Dual Core Intel iMac, running Resin. The command is ab -c 50 -n 1000 (Do 1000 requests 50 at a time) and the DAO is in memory (hashmap essentially). Two separate pages, but doing the exact same operations: But this time, not with JSTL, but with Quercus (

Re: [shale] clay jsfid=void

2006-05-15 Thread Gary VanMatre
>From: "Ryan Wynn" <[EMAIL PROTECTED]> > > > > Try the following: > > Remove Me > > Hey Gary, > > Soon after I created this email I noticed I had an unmatched > tag. After I corrected this the void component worked properly. Is > there any support to report on non well-formed templates? > Th

What am I missing here?

2006-05-15 Thread Larry Meadors
OK, I did this tutorial thing that was like webwork for struts devs. Then last week, a friend of mine did a little load test with it. We discovered that when I use this code on a form: === === We were getting about 8-10 pages per

Re: Automatic bean introspection in jsp form

2006-05-15 Thread Dave Newton
Williams, Kevin C wrote: > Is it possible that I can use JSTL to solve this problem? > JSTL? Don't really see how. You basically need to be able to generate HTML from an introspected bean, correct? Personally I'd skip doing this w/ Struts. Barring that, I'd write custom tags to do this (if I

Re: Browser Back Button

2006-05-15 Thread Manfred Wolff
Found at http://husted.com/struts/catalog.html Use the Action Token methods to prevent duplicate submits There are methods built into the Struts action to generate one-use tokens. A token is placed in the session when a form is populated and also into the HTML form as a hidden property.

today in Silicon Valley

2006-05-15 Thread netsql
http://www.baychi.org/bof/java/20060515 This is today. I'll be there, you can say hi. .V - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How to dertermine the url from which a request is made ?

2006-05-15 Thread Hassan Schroeder
On 5/15/06, temp temp <[EMAIL PROTECTED]> wrote: The method request.getServletPath returns current request uri.Can I get the previous request uri .ie I have a filter which is mapped to all .do's .So any .do is called this filter is invoked.In this filter I can retrieve the requested url.

RE: Automatic bean introspection in jsp form

2006-05-15 Thread Williams, Kevin C
Is it possible that I can use JSTL to solve this problem? > -Original Message- > From: Williams, Kevin C > Sent: Friday, May 12, 2006 6:27 PM > To: user@struts.apache.org > Subject: Automatic bean introspection in jsp form > > Forgive me if this is simple but so far I haven't figured ou

Set selected item to

2006-05-15 Thread Yariel Ramos Moreno
Hi everybody: How can I set the selected value to ??? My problem is that I have a field in my site (using struts-tiles) that remains functional in every page of it. When I submit the form that contains it (in it's tile), the selected value is loaded from the ActionForm very well. But when I g

Re: [shale] clay jsfid=void

2006-05-15 Thread Ryan Wynn
Try the following: Remove Me Hey Gary, Soon after I created this email I noticed I had an unmatched tag. After I corrected this the void component worked properly. Is there any support to report on non well-formed templates? Thanks, Ryan

Re: How to dertermine the url from which a request is made ?

2006-05-15 Thread Ed Griebel
You can check the "referer" field in the request, notice that the actual field name is misspelled. Also, the field is optional and browser-dependent if it's sent (but most/all modern browsers will send it), and a user could spoof this field as well. You may be better off putting the current URL i

How to dertermine the url from which a request is made ?

2006-05-15 Thread temp temp
The method request.getServletPath returns current request uri.Can I get the previous request uri .ie I have a filter which is mapped to all .do's .So any .do is called this filter is invoked.In this filter I can retrieve the requested url. Is there any way I can determine url from which th

Re: Conditional Statements (if/else) Using logic tag

2006-05-15 Thread Dave Newton
J Gotsch wrote: > I guess my problem is larger than using an if/else statement. This much is certainly true ;) > I figured how to do that, but I'm iterating over a List in the JSP, and want > to be able to exit the loop whenever certain item exist. I don't suppose > there's a way to do that, i

Re: Browser Back Button

2006-05-15 Thread temp temp
Can U suggets me an article which clearly explains using struts tokens mechanisim? Manfred Wolff <[EMAIL PROTECTED]> wrote: Lixin. I think mostly it is no problem to go back in a struts implemented application. If it ist a problem (e.g. after a logout or if you saved data) you can take the s

How to dertermine the url from which a request is made ?

2006-05-15 Thread temp temp
The method request.getServletPath returns current request uri.Can I get the previous request uri .ie I have a filter which is mapped to all .do's .So any .do is called this filter is invoked.In this filter I can retrieve the requested url. Is there any way I can determine url from which th

using modules with JSPs behind WEB-INF

2006-05-15 Thread Berk, Jason R.
I'm using struts 1.2.9 which the struts site claims is the "prime time" ready version. I would like to use modules and put my JSPs behind WEB-INF to protect them. When I try this with struts, it rewrites my URL with the module name and causes 404 errors on validation failures. I read all over th

two forms on the same page?

2006-05-15 Thread Franklin Phan
I am working with a page that has essentially two forms. Top form is search criteria, a table with three text input boxes and a submit button. Upon getting results from searching, the bottom table appears. The bottom table is where I like it to be a second form because that's where users will

RE: Indexed Properties

2006-05-15 Thread I HARIKRISHNA
Ad you have a list of checkboxes,its better to use multi box and try to reduce javascript code Harikrishna "Vidya (Suvarna) Mahavadi" <[EMAIL PROTECTED]> wrote: I wonder why there are no responses today.. Guys, I really need help on this.. Any expert views? -Original Message- From:

format/format key in

2006-05-15 Thread Vidya \(Suvarna\) Mahavadi
Hi, Need some info.. How do we specify the values for the attributes format and format key in ? Thanks, Vidya This message and any attachments are confidential and intended solely for the addressee. If you have received this message in error, please notify Discovery immediately, teleph

getting datas from another session

2006-05-15 Thread Andreas . Hartmann
Hello! I have an application, which uses session-id's handled by URL-rewriting in a loginfilter, which checks for an existing session user object. The user has the choice to open a new window of the application, which must get a new session-id. If the user opens this new window, there should not

RE: Indexed Properties

2006-05-15 Thread Vidya \(Suvarna\) Mahavadi
I wonder why there are no responses today.. Guys, I really need help on this.. Any expert views? -Original Message- From: Vidya (Suvarna) Mahavadi [mailto:[EMAIL PROTECTED] Sent: Monday 15 May 2006 11:42 To: Struts Users Mailing List Subject: Indexed Properties Hi everyone! I am ha

Indexed Properties

2006-05-15 Thread Vidya \(Suvarna\) Mahavadi
Hi everyone! I am having problem to use indexed properties. I need to display a table with the list of transactions and a check box next to each transaction which can add the transaction amount to a text field. In my action form I have a list of displayObjects and the displayObject is like

Re: Browser Back Button

2006-05-15 Thread Manfred Wolff
Lixin. I think mostly it is no problem to go back in a struts implemented application. If it ist a problem (e.g. after a logout or if you saved data) you can take the struts token mechanism to prevend such backs. Manfred Lixin Chu wrote: > A cleaner back button solution is almost a must-have fo

Class diagrams in an Struts application

2006-05-15 Thread Vaneet Sharma
Hii Frnds I ahve developed a application using Struts and EJB, Now i need to create class daigrams of my projrect. Can somebody clear some doubts In class diagrams do we incl;ude action classes, form beans classes ,helper classes, (EJB classes) ? Disclaimer : This message and any attachm

Re: Browser Back Button

2006-05-15 Thread Lixin Chu
A cleaner back button solution is almost a must-have for logout: after logout, the back button should not bring back the previous page. looking at that Gmail does. any idea how it is implemented ?

Re: problem with using Tag and Scriplets together

2006-05-15 Thread Jorge Martín Cuervo
You can't mix jsp and scriptlet those manner. Scriptlet generates the output, and the output can't modify the scriptlet code. Instead of using scriptlets try to use c:set tag from jstl library. El lun, 15 de 05 de 2006 a las 09:04, J Gotsch escribió: > Any idea how I can set a local JSP variab

Re: Conditional Statements (if/else) Using logic tag

2006-05-15 Thread Jorge Martín Cuervo
Filter the List before sent to jsp, can you do it? or you must do it in jsp? you can implement your own custom tag extending iterate. Other solution is to define a variable in jsp with c:set when you found and item, and only print when variable isn't set or false. Take a look to jstl common tag

Validation Bug 29151

2006-05-15 Thread Vinit Sharma
Hi, Can some one please elaborate the resolution on bug 29151 in Validator 1.2.0: http://issues.apache.org/bugzilla/show_bug.cgi?id=29151 I'm pretty much confused with what Don has mentioned in para 1 and para 2. I think instead of mentioning "While I'm not convinced that is a good idea for most

problem with using Tag and Scriplets together

2006-05-15 Thread J Gotsch
Any idea how I can set a local JSP variable with the value of a bean property in a JSP? In the example below, I want to set tempRole to the value of the securityRoleName prperty. But This is not working. <% String tempRole = null; %> <% if (tempRole=