Re: Streaming Video?

2007-09-30 Thread Muhammad Momin Rashid
uts 2 action e.g. http://localhost:8080/View.action?videoId=12, and I am having trouble streaming video using a sturts 2 action. Regards, Muhammad Momin Rashid. Pierre Goupil wrote: Hello, I once used this page : http://rainbow.arch.scriptmania.com/scripts/music/video.html This is not S

Streaming Video?

2007-09-30 Thread Muhammad Momin Rashid
le.length()); response.addHeader("Cache-Control", "max-age=25"); while ((bytesRead = fileInputStream.read(buffer)) != -1) { outputStream.write(buffer, 0, bytesRead); } fileInputStream.close(); } catch (Ex

Re: JAAS struts 2 Tutorial?

2007-09-17 Thread Muhammad Momin Rashid
ut.println("o0o0o subject:" + subject); System.out.println("o0o0o principle:" + principalList); } catch (LoginException e) { e.printStackTrace(); returnValue = ERROR; } return returnValue; Regards, Muhammad Momin Rashid. tom tom wrot

Re: JAAS struts 2 Tutorial?

2007-09-13 Thread Muhammad Momin Rashid
public information, a logged in user can access his private data, and an logged in admin user can access the admin console. Regards, Muhammad Momin Rashid. tom tom wrote: what exactly you are trying to do? --- Muhammad Momin Rashid <[EMAIL PROTECTED]> wrote: Hello Everyone, I am l

Re: JAAS struts 2 Tutorial?

2007-09-12 Thread Muhammad Momin Rashid
looking for a tutorial that can guide me through implementation of JAAS based security for my web application. I am starting from scratch here. Regards, Muhammad Momin Rashid. Mark McLaren wrote: Hi Muhammad, With respect to JAAS integration. Do you mean something like this? <h

JAAS struts 2 Tutorial?

2007-09-12 Thread Muhammad Momin Rashid
to relevant tutorials? Regards, Muhammad Momin Rashid. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: VALIDATION FOR TWO FIELDSHELP

2005-05-23 Thread Muhammad Momin Rashid
Metal KoRn wrote: Hey guys I need to validate two fields for password and confirmation but I can get the jakarta example work can anybody tell me how to do taht with struts? Here is a snippit of validation rule from our live application test (passwo

Re: Where does ValidatorForm saves its errors?

2005-05-22 Thread Muhammad Momin Rashid
use logic:messagesPresent and set "property" to the name of the field you are validating e.g. Error ! The messagesPresent tag will evaluate to true if there is a validation error for nickName, and there are (error) messages for "nickName". Notice html:errors tag, the "property" is

Using validation from a locale different from that of user

2005-05-21 Thread Muhammad Momin Rashid
there is better alternate, then I would like you to share your thoughts with me. Thanks for your time, Regards, Muhammad Momin Rashid - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

problem with formatKey in bean:write

2005-01-17 Thread Muhammad Momin Rashid
the correct value. Am I doing something wrong here? or it is a bug with bean:write tag while applying localised format to amounts. Regards, Muhammad Momin Rashid - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Documentation for validator regular expression

2004-12-14 Thread Muhammad Momin Rashid
Hello, Can anyone point me to documentation I can refer to for struts validator regular expressions. Regards, Muhammad Momin Rashid - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

security issue

2004-11-07 Thread Muhammad Momin Rashid
ent fields). Hence the business Logic Layer and the database layer simply pass the object for persistance etc. Any idea on the best way to tackle this problem? Regards, Muhammad Momin Rashid. - To unsubscribe, e-mail: [EMAIL

Re: checking for an object in a collection

2004-10-08 Thread Muhammad Momin Rashid
. Which struts tags allow me to check if a desired rule is defined or not in the hashMap? Regards, Muhammad Momin Rashid. <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Obviously, it's still too early for me. A HashMap is what I meant to say. Dennis [EMAIL PROTECTED]

checking for an object in a collection

2004-10-07 Thread Muhammad Momin Rashid
collection if rule y is present display y table end if end iterate A sample code snippit would be highly apprecated, Thanks for your time. Regards, Muhammad Momin Rashid. - To unsubscribe, e-mail: [EMAIL PROTECTED

validation rules for differnt locale giving exception No form found under 'FormSelectCountry' in locale 'en_PK'

2004-09-24 Thread Muhammad Momin Rashid
his seems a bit strange to me, will I have to duplicate the validations for each form in all my localised formsets? Have I missed something here? Can anyone show me what is the right way to do this? Having to duplicating form entries in each locale seems wrong. R

locale in validation.xml

2004-09-23 Thread Muhammad Momin Rashid
I missed something here? Can anyone show me what is the right way to do this? Having to duplicating form entries in each locale seems wrong. Regards, Muhammad Momin Rashid. - To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

Re: doubleRange validation check?

2004-09-21 Thread Muhammad Momin Rashid
vided. Regards, Muhammad Momin Rashid. "Matt Bathje" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Muhammad Momin Rashid wrote: > >> Hello, >> >> I've just migrated our application from strtus 1.1 to 1.2.4. >> >> I wanted to add

Re: ActionErrors and ActionMessages struts 1.2.4 confusion

2004-09-21 Thread Muhammad Momin Rashid
Muhammad Momin Rashid. "Matt Bathje" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Muhammad Momin Rashid wrote: > >> Hello All, >> >> I have recently migrated our application from struts 1.1 to 1.2.4. There >> is some confusion in my min

ActionErrors and ActionMessages struts 1.2.4 confusion

2004-09-21 Thread Muhammad Momin Rashid
errors and messages. 5. Currently I am using at the appropriate places in my jsp pages, how will that be effected, and what is the desired tags and their usage given the change of things. Regards, Muhammad Momin Rashid

doubleRange validation check?

2004-09-20 Thread Muhammad Momin Rashid
is a standard built in validtion. Can anyone shed some light on this? Regards, Muhammad Momin Rashid. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: updating values in a collection of beans through JSP

2004-08-26 Thread Muhammad Momin Rashid
Finally I figured out the solution on my own, I would like to thank everyone who made an effort to help me resolve the issue at hand. Regards, Muhammad Momin Rashid. "Muhammad Momin Rashid" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello, > >

nested collections and index

2004-08-26 Thread Muhammad Momin Rashid
success. The code snippit from JSP is pasted at the end for your reference, incase you need to look at it. Thanks for your time and effort. Regards, Muhammad Momin Rashid.   Field Name Type Required Recursive

Re: updating values in a collection of beans through JSP

2004-08-25 Thread Muhammad Momin Rashid
fields in my bean, but I didn't understand the part where you said about getter and setters for the beans in my collection. I'll look up the indexed properties as you mentioned, but a small demo might be more helpful. Regards, Muhammad Momin Rashid. "Richard Aukland" <[

Re: updating values in a collection of beans through JSP

2004-08-25 Thread Muhammad Momin Rashid
ready confirmed this in my action class. Regards, Muhammad Momin Rashid. "Richard Yee" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Muhammad, > The JSP is evaluated on the server and then sent to the browser. When you > change a value on the web page, you subm

update values in a collection of beans through JSP

2004-08-24 Thread Muhammad Momin Rashid
guide me how to accomplish this? Thanks for your time and effort Regards, Muhammad Momin Rashid. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

updating values in a collection of beans through JSP

2004-08-24 Thread Muhammad Momin Rashid
anyone guide me how to accomplish this? Thanks for your time and effort Regards, Muhammad Momin Rashid. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Form Bean and decions based on Business Logic calls

2004-07-25 Thread Muhammad Momin Rashid
guidance. Regards, Muhammad Momin Rashid. "Robert Taylor" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > The information which exists in the query string is just string values. > The correpsonding parameter names can be defined in the form. > When invoked,

Two collections and iterate: How to set corresponding values in second collection while iterating through first?

2004-07-24 Thread Muhammad Momin Rashid
something like this ?? for the corresponding answer in the answers collection ?? set the questionId ?? display a text box for user to enter answer text Regards, Muhammad Momin Rashid - To unsubscribe, e

Re: Form Bean and decions based on Business Logic calls

2004-07-24 Thread Muhammad Momin Rashid
sent to him/her. Here the information embeded in the URL needs to be sent to the Business Logic for processing. Based on information returned by the Business Logic the user is allowed to proceed to reset password or not. Regards, Muhammad Momin Rashid "Robert Taylor" <[EMAIL PROTECT

Re: Form Bean and decions based on Business Logic calls

2004-07-22 Thread Muhammad Momin Rashid
, Muhammad Momin Rashid. "Robert Taylor" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Define success and failure forwards in your struts-config file for the > specified action. > > In the action class (which should delegate to a business object), >

Form Bean and decions based on Business Logic calls

2004-07-22 Thread Muhammad Momin Rashid
the information I would like to take user to a different page to indicate error. What would be the best way to accomplish this? I am using struts 1.1 with Tiles. Regards, Muhammad Momin Rashid - To unsubscribe, e-mail: [EMAIL