Cannot find bean error

2002-10-06 Thread Anoop
Hi, I am trying to loop through an ArrayList returnd by a bean inside Name in the Iterator tag specifies a bean set in request scope in my ActionBean, getter on which will return an ArrayList. I am trying to read the bean returned by the ArrayList inside the Iterator tag. There

Re: Problem when writing bean value into textbox

2002-10-06 Thread Eddie Bush
Well, you can't "nest" tags the way your first example shows - it's invalid XML, I believe. Your second example should work, but I have to question what you're calling "function" and "functionName". The name attribute should be the name of a bean - in request scope (since you've stated that'

Re: Problem when writing bean value into textbox

2002-10-06 Thread Steve Vanspall
if this is in a tag, which it would need to be then just use this will automatically populate the bean providing there is a getFunctionName() method in your form Regards Steve - Original Message - From: "Kalaiselvan" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTE

Problem when writing bean value into textbox

2002-10-06 Thread Kalaiselvan
Hii " /> Its not working. How can i write ( set ) the bean value for my textbox "> Its working. May be it will be very simple. But i couldnt get the solution yet. Any suggestion will helpe me better. Thanx Kalaiselvan.

Re: Specifying button-specific actions in a form

2002-10-06 Thread K Br
DispatchAction works fine. Thanks. However I need to submit different ActionForms with different subactions in ... Since DispatchAction multiplexes different subactions using the same action mapping entry, it will use the same ActionForm. The other way is to define d

Re: Any Idea about Paging Logic

2002-10-06 Thread Brian Alexander Lee
I looked at the display tag library: http://edhill.its.uiowa.edu/display/ Did I majorly screw something up or is this tag not thread safe? I noticed when I sorted a page of data, the next user to hit the page got that default sort. It was quite infuriating. I hope it was just me. BAL - Orig

RE: Session management for cached resources

2002-10-06 Thread Andrew Hill
Im running 1.1, so in your case, running 1.0 you would need to make changes in the ActionServlet, as afaik the RequestProcessor is a 1.1 thing. -Original Message- From: James A. Hillyerd [mailto:[EMAIL PROTECTED]] Sent: Saturday, October 05, 2002 01:21 To: [EMAIL PROTECTED] Cc: Struts Use

Re: [NESTED TAGS] Questions regarding nested:iterate and indexid....

2002-10-06 Thread David M. Karr
> "Jeff" == Jeff Mychasiw <[EMAIL PROTECTED]> writes: Jeff> I am using 1.1b1 Jeff> Summary: I cannot make use of the indexId reference in side a java method, unless I specify an id="XX" attribute. Jeff> The funny thing is that the id attribute can be named anything. It may not b

[NESTED TAGS] Questions regarding nested:iterate and indexid....

2002-10-06 Thread Jeff_Mychasiw
I am using 1.1b1 Summary: I cannot make use of the indexId reference in side a java method, unless I specify an id="XX" attribute. The funny thing is that the id attribute can be named anything. I have been coding my list in this manner for some time without problems. I am using the logic:itera

RE: enforcing max upload file size - before its too late!

2002-10-06 Thread James Higginbotham
Realistically, something is needed in the core web server (Apache, or in the lower layers of the socket listeners in the servlet spec) to stop incoming POST requests that exceed a certain amount. With this code (which I've used before as well), you can't stop the upload and close the connection, y

Re: enforcing max upload file size - before its too late!

2002-10-06 Thread Thomas Eichberger
Hi, here is my piece of source code for that problem: stream = file.getInputStream(); zipFile = new File( user.path, user.kurzname + "-upload.zip" ); bos = new BufferedOutputStream( new FileOutputStream( zipFile ) ); int bytesRead = 0; int count = 0; byte[] buffer = new byte[ 8192 ]; while (

Using CheckLogin tag from within tiles

2002-10-06 Thread Alan P Sexton
I am switching from plain JSP to using tiles. I was using a CheckLogin tag on my JSP based on the one in the example for struts. This checks if there is a valid user in the session and, if not, creates an ActionError indicating that the session has timed out and forwards to logon. Now I have a s

Re: enforcing max upload file size - before its too late!

2002-10-06 Thread jfc
jfc wrote: > Hi, > > I have implemented the functionality for file uploads as demonstrated > in struts-upload.war however I have a question. > > How could I implement the example such that the file is uploaded chunk > by chunk thereby giving the server the opportunity of stopping the > upload

Re: NullPointerException in TabsLayout??

2002-10-06 Thread Matt Veitas
That is the correct fix for it. Someone posted a patch for this earlier this week. :-D Curtney Jacobs wrote: >Greetings!! > >Well, I managed to get the tabs to work. However, I am not to sure if it was a >proper solution to the problem or just a hack. > >I changed the following: > > > >to >

Re: NullPointerException in TabsLayout??

2002-10-06 Thread Curtney Jacobs
Greetings!! Well, I managed to get the tabs to work. However, I am not to sure if it was a proper solution to the problem or just a hack. I changed the following: to The id attribute was missing. Thanks David. It looks like a little debugging time did the job. (Cedric please let me k

Re: Specifying button-specific actions in a form

2002-10-06 Thread Pavel Kolesnikov
On 6 Oct 2002, K Br wrote: > I would like to make the JSP more readable by > specifying distinct actions to distinct buttons: >Add -> /performAdd.do >Delete -> /performDelete.do >Logout -> /logout.do > > (these actions may be implemented by the same > Action class, but that's hidden

Specifying button-specific actions in a form

2002-10-06 Thread K Br
I have a form with three commands (add, delete and logout). It appears to me that I must forward them to a single action and conveying the specific operation using a property as in: //... I would like to make the JSP more readable by specifying distinct ac

RE: No Context Configured to Process this request

2002-10-06 Thread K Br
can you clarify? I thought you are passing the full path ("/popUp") as the parameter? THank you /Kobe On Sun, 6 Oct 2002 15:24:56 +0530 Divakar Satyanarayan <[EMAIL PROTECTED]> wrote: >Hi, > > I resolved this .. I had to pass the full path when I am passing action as >a paramter

RE: [OT] Should I use a persistence layer?

2002-10-06 Thread Cliff Rowley
Yeah, I'm totally for it - I need some time to spend tidying up and documenting what I've done (I did reply to Matt personally), but then I'm happy to feed it to the lions. As I said to Matt, it's just a brain dump and needs a shed load of work. I'm hoping to get some time after Tuesday. In the

RE: No Context Configured to Process this request

2002-10-06 Thread Divakar Satyanarayan
Hi, I resolved this .. I had to pass the full path when I am passing action as a paramter .. Regards, Divakar > -Original Message- > From: Divakar Satyanarayan [SMTP:[EMAIL PROTECTED]] > Sent: Sunday, October 06, 2002 1:34 PM > To: 'Struts Users Mailing List' > Subject: No Conte

No Context Configured to Process this request

2002-10-06 Thread Divakar Satyanarayan
Hi , I have a pop up window that opens when the user clicks on a button. I have made use of the action parameter"/popUp" to be sent as the URL. I have defined a forward for the action in my struts-config.xml. Below is my content of my struts-config.

Re: NullPointerException in TabsLayout??

2002-10-06 Thread Curtney Jacobs
Hi, It seems that the "tabList" variable is null. I checked the tiles-examples-defs.xml to make sure the variable is properly initialize or constructed. Everything appears to be OK. The following is an excerpt from the tiles-examples-defs.xml file.

AW: [OT] Should I use a persistence layer?

2002-10-06 Thread Ralf E. Stranzenbach
Hi, i would like to underline that. My own (toy) project is also based on hibernate and i spend much time doing very basic things, reinventing the wheel. May be there are many of us out there all doing the same who could at least act as a sparring partner. - Ralf -Ursprüngliche Nachricht---