Call methods from JSTL

2003-08-02 Thread stephan
hi list, I don't manage to use methods from my classes with JSTL. This is normal Java code: BuchKatalog bk = new BuchKatalog(); java.util.Iterator i = bk.getBuecher(); How can I achieve the same with JSTL? (tons of examples to continue afterwards, but none to this point .-()

Iteration without Javacode

2003-08-02 Thread stephan
Hi list, I want to iterate over a number of rows from my database. I have removed most of my Javacode, but two statements remain. Any way I can get rid of those too? <% BuchKatalog bk = new BuchKatalog(); %>

Re: Form action url get rewritten.

2003-08-02 Thread Curtney Jacobs
Oopse, I forge to add that my action is no longer being called. It was working fine two days ago. I don't know what broke it. The only thing I notice was what I have written below. Also, I have pasted the relevant parts of my struts-config.xml file. The funny thing is that all of my other acti

Form action url get rewritten.

2003-08-02 Thread Curtney Jacobs
Greetings!! I am getting this strange behavior in my forms. Within my jsp form I have my action written as the following: action="/student/update.do" However, when the form is displayed via the browser, and a doing a view source, I see the following: action="/sesm/student/update.do" It seems

Action Chaining & BeanUtils.populate() Exception after first Action

2003-08-02 Thread tim
I have a sequence of actions (a chain), action A input page -> request -> action A -> action B -> action A input page. *Note action A and action B use different form classes. Action A receives the initial request from the client, the request contains a collection of elements of which Action A do

dyna form property size.

2003-08-02 Thread Mark Lowe
Can anyone help me with some nice ways of changing the length (size attribute in stuts-config) for a form property.. James Turner;s primer is great on this subject apart from the details of how to do this are skipped over.. You can even dynamically specify the size of the form (and prepopulate

error in writing message on JSP using

2003-08-02 Thread Sunil Sharma (C)
Hi, While using tag I am getting following error on my server console. java.lang.ClassCastException: java.lang.String at org.apache.struts.util.RequestUtils.message(RequestUtils.java:930) at org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:294) Can any one te

Tiles definition and multiple roles

2003-08-02 Thread Alex Shneyderman
I have a need to assign multiple roles to a tile definition but the attribute role only will take one. What do I need to do if I need multiple roles able to have access to the tile? Thanks, Alex. - To unsubscribe, e-mail: [EMAIL

Re: JSP Exception - URGENT!!!

2003-08-02 Thread Ted Husted
When you "come back" to the page, you are probably not going through an action-mapping that instantiates the bean with the accountNo property, which is probably set to request scope. Once the page is rendered and waiting for input, the JSP engine and Struts are out of the picture. It's just a p

RE: html:radio

2003-08-02 Thread Alex Shneyderman
Sure you need to process your url thru an action, struts will create your form bean, you will set the values of your formbean attribute that is rendered as a radio button, and then you redirect your request to the presentation page that has your . Alex. > -Original Message- > From: Prash

RE: html:radio

2003-08-02 Thread Prashant Samant
i mean,is there any way,if i could keep any of the radio button selected(or checked) when the page is loaded. T & R, Prashant S -Original Message- From: Alex Shneyderman [mailto:[EMAIL PROTECTED] Sent: Saturday, August 02, 2003 5:45 PM To: 'Struts Users Mailing List' Subject: RE: html:ra

RE: html:radio

2003-08-02 Thread Alex Shneyderman
Not sure what you mean by "any way out of this". Can you be more detailed? > -Original Message- > From: Prashant Samant [mailto:[EMAIL PROTECTED] > Sent: Saturday, August 02, 2003 5:42 AM > To: Struts Users Mailing List (E-mail) > Subject: html:radio > > Hello Group, > I have a JSP

RE: getting value of html:multibox

2003-08-02 Thread Alex Shneyderman
If you are just linking, then you are not submitting your form, that contains your checkbox. You need to rethikn your design. The only way your checkbox vaulue gets to the server thru you submitting the form, clicking the link does not do it, unless your link has some javascript that goes something

JSP Exception - URGENT!!!

2003-08-02 Thread Samanth Athrey
Hello All, This is a real strange exception am getting. I have a main page which has 6 links. First time I can select any of the link and the page is rendered. Once I come back the main page and select any other link, I get the following message: === javax.servlet.jsp.JspException: No getter meth

getting value of html:multibox

2003-08-02 Thread Prashant Samant
Hello everybody, I want to get the value of the checkbox which i have clicked. For that i am building the following JSP page some image When i click the link, the framework calls the Action class(Shown below) but print blank on the console. But if i use ,than everything works fine. How ca

Re: Cannot find bean error in any scope

2003-08-02 Thread Koni Roth
I had the same problem. When I wrote 'errors' it worked for me. Try and ! Hope it helps. Koni Swaroop George wrote: Why don't u use html:errors instead?? Just give -Original Message- From: Altug B. Altintas [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2003 4:07 PM To: 'Struts Users

RE: unsubcribe

2003-08-02 Thread Jitesh Sinha
Axel, if you want to unsubscribe scroll down to the lowest part of any email of this mailing list... -Original Message- From: Axel Sachmann [mailto:[EMAIL PROTECTED] Sent: Saturday, August 02, 2003 2:34 PM To: Struts Users Mailing List Subject: unsubcribe message message wrote: > > Sorry

html:radio

2003-08-02 Thread Prashant Samant
Hello Group, I have a JSP page in which i have 4 radio buttons . I have to select any one of them when the page is loaded. Is there any way out of this. Best Regards, Prashant S. - To unsubscribe, e-mai

RE: Cannot find bean error in any scope

2003-08-02 Thread Swaroop George
Why don't u use html:errors instead?? Just give -Original Message- From: Altug B. Altintas [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2003 4:07 PM To: 'Struts Users Mailing List' Subject: RE: Cannot find bean error in any scope Strange ! Now i have got no custom validation

Re: unsubcribe

2003-08-02 Thread message message
Are you telling me to unsubcribe ? From: Axel Sachmann <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> Subject: unsubcribe Date: Sat, 02 Aug 2003 11:03:58 +0200 message message wrote: Sorry , I found what I wanted!!!

unsubcribe

2003-08-02 Thread Axel Sachmann
message message wrote: Sorry , I found what I wanted!!! From: "message message" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Resultsets with struts 1.1 Date: Sat, 02 Aug 2003 12:28:46 +0400 I am looking for an example showing the use

Re: Resultsets with struts 1.1 IGNORE

2003-08-02 Thread message message
Sorry , I found what I wanted!!! From: "message message" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Resultsets with struts 1.1 Date: Sat, 02 Aug 2003 12:28:46 +0400 I am looking for an example showing the use of resultsets preferabl

Resultsets with struts 1.1

2003-08-02 Thread message message
I am looking for an example showing the use of resultsets preferably with struts 1.1. thanks. _ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus

display using bean-write

2003-08-02 Thread sfax minn
hi, I have a problem in dispaying the values in my JSP. I have values like Langugae: Java Language: C Language: C++ XXX : tyu I'm using mutator methods and displaying the values in my JSP using bean-wite. But My problem is if I have the word 'Lan

display using bean-write

2003-08-02 Thread sfax minn
hi, I have a problem in dispaying the values in my JSP. I have values like Langugae: Java Language: C Language: C++ XXX : tyu I'm using mutator methods and displaying the values in my JSP using bean-wite. But My problem is if I have the word 'Lan

RE: ActionForm Design Question

2003-08-02 Thread Navjot Singh
|> Question 1: Do I use conventional ActionForm? |> Map-backed ActionForm? or DynaActionForm for this |> project? | |If I were you, I would use the conventional ActionForm if |most of the properties are Strings. If your data is fixed on form, then it is good to have ActionForm. More, you may use