RE: Validation message Help
Hi Possible solution: Write tags to check if the error message is set in the request and correspondingly apply the style on the text boxes to render them in RED color and also show the same error message. Thanks regards Tejas -Original Message- From: Krishna, Hari [mailto:[EMAIL PROTECTED] Sent: Thursday, August 10, 2006 12:03 PM To: user@struts.apache.org Subject: Validation message Help Hi I have a registration page where i have a list of text boxes (all are mandatory).Is it possible to show one single error message for all the fields while highlighting all of them in RED color?Please get me ur advice.I know only one way of validation where we show multiple mandatory validation messages for multiple fields while highlighting all of them in RED color. I need one message but multiple highlighting . With Best Regards, I.Hari krishna. Franklin Templeton Investments +91- 44 - 24407000 Extn:17123 -- Notice: All email and instant messages (including attachments) sent to or from Franklin Templeton Investments (FTI) personnel may be retained, monitored and/or reviewed by FTI and its agents, or authorized law enforcement personnel, without further notice or consent. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://www.patni.com World-Wide Partnerships. World-Class Solutions. _ This e-mail message may contain proprietary, confidential or legally privileged information for the sole use of the person or entity to whom this message was originally addressed. Any review, e-transmission dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this e-mail in error kindly delete this e-mail from your records. If it appears that this mail has been forwarded to you without proper authority, please notify us immediately at [EMAIL PROTECTED] and delete this mail. _ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: session lost between JSP and Struts
Could you try to encode your link URL to struts using the encodeURL method of the http response object. The encodeURL method will encode the URL with session id if cookies are disabled. See if this works. Thanks Tejas -Original Message- From: Jin Chen [mailto:[EMAIL PROTECTED] Sent: Friday, August 04, 2006 3:19 AM To: struts-user@jakarta.apache.org Subject: session lost between JSP and Struts I have a login.jsp page and it directs to welcome.jsp page. Inside welcome.jsp page, it has one link to call struts action and another link to call another jsp. All jsp and struts are running within the same browser. However, I debug and find struts one always creates a new session, because I print out its session id and the id is different from the one in welcome.jsp. The jsp one still keeps the same session (session id). Weird to me. I am using tomcat 5.5.17. Any idea about where I should check? Many thanks! http://www.patni.com World-Wide Partnerships. World-Class Solutions. _ This e-mail message may contain proprietary, confidential or legally privileged information for the sole use of the person or entity to whom this message was originally addressed. Any review, e-transmission dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this e-mail in error kindly delete this e-mail from your records. If it appears that this mail has been forwarded to you without proper authority, please notify us immediately at [EMAIL PROTECTED] and delete this mail. _ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Struts based opensource e-Learning/Distance Learning framework
Hi I doubt if there are any ready made frameworks such as the ones you are looking for. Probably, you are going to have to write one on your own. Also, you can publish the framework once done or may be start it as a project on sourceforge. It will be interesting to see what others have to say on this. Thanks Tejas -Original Message- From: Raghu Kanchustambham [mailto:[EMAIL PROTECTED] Sent: Thursday, August 03, 2006 10:25 AM To: Struts Users Mailing List Subject: Struts based opensource e-Learning/Distance Learning framework Hi, I am interested in building a e-Learning/Distance learning framework. Was wondering if there is any framework that exists that I can use as a starting point. First preference would be for a struts based application since I need to integrate it with my existing struts code. But anything in Java/J2EE would also suit my bill. And yes, if not that, I am willing to experiment with some thing like a java-php bridge if someone vouches for an excellent e-learning framework written in (say) php. Any of the struts users here have any pointers to any open source projects for education? Thanks. Regards, Raghu http://www.patni.com World-Wide Partnerships. World-Class Solutions. _ This e-mail message may contain proprietary, confidential or legally privileged information for the sole use of the person or entity to whom this message was originally addressed. Any review, e-transmission dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this e-mail in error kindly delete this e-mail from your records. If it appears that this mail has been forwarded to you without proper authority, please notify us immediately at [EMAIL PROTECTED] and delete this mail. _ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Give me a solution
Hi One of the ideas ... Create a stored procedure in the database that will be triggered everytime a row is deleted, checks the rowid and rearranges the records based on which row is deleted. Though I am not sure about what performance impact this will have. Thanks Tejas -Original Message- From: senthil.s [mailto:[EMAIL PROTECTED] Sent: Monday, July 24, 2006 11:26 AM To: user@struts.apache.org Subject: Give me a solution Hi all I have a table of records in SQL Server with UniqueID (unique ID enabled with increment of 1 starting from 1 for each record, now I have 100 records in that having Unique ID 1 - 100 now I want to delete records (only 10 records in the middle) having Unique id 50 - 59 and I want the remaining records (say 60... 100) has to rearrange themself (say 50... 90 as Unique ID) Thank You Senthil.S http://www.patni.com World-Wide Partnerships. World-Class Solutions. _ This e-mail message may contain proprietary, confidential or legally privileged information for the sole use of the person or entity to whom this message was originally addressed. Any review, e-transmission dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this e-mail in error kindly delete this e-mail from your records. If it appears that this mail has been forwarded to you without proper authority, please notify us immediately at [EMAIL PROTECTED] and delete this mail. _
RE: Ejb
Hello There are some standard advantages mentioned in favour of EJBs like transaction management, application scalability, security, database connection pools, etc. You can read through the advantages by browsing through the EJB specification. However, recently there have been loads of talks of not using EJBs and instead using different approaches. There is a book called J2EE without EJBs by Rod Johnson that talks a lot about building applications without using EJBs. Thanks regards Tejas -Original Message- From: Abhimanyu Koul [mailto:[EMAIL PROTECTED] Sent: Thursday, June 29, 2006 3:08 PM To: Struts Mailing list Subject: Ejb hi! Why do we use ejbs in our application particularly entity and sessions. can't we write java classes to do the same and use java beans as data carriers. what are the true benefits of using ejbs with struts. Regards, Abhimanyu Koul FinEng Solutions (P) Ltd. Mobile : +91 9819510090 http://www.patni.com World-Wide Partnerships. World-Class Solutions. _ This e-mail message may contain proprietary, confidential or legally privileged information for the sole use of the person or entity to whom this message was originally addressed. Any review, e-transmission dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this e-mail in error kindly delete this e-mail from your records. If it appears that this mail has been forwarded to you without proper authority, please notify us immediately at [EMAIL PROTECTED] and delete this mail. _ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: How o display a hashtable in jsp
Hi Pankaj Not sure if this can be done by the tag, may be others can comment. But you can definitely do this using a scriptlet. Hashtable has keys() method that returns an Enumeration of keys. You can traverse through this enumeration to print the keys and corresponding values. Hope that helps Regards Tejas -Original Message- From: Pankaj Gupta [mailto:[EMAIL PROTECTED] Sent: Saturday, June 24, 2006 2:04 PM To: Struts Users Mailing List Subject: How o display a hashtable in jsp Hi, Can you please suggest how can I display key and value(both) from a hashtable in my jsp. Currently I am using the following approach but it prints only the value and not the key. logic:iterate id=match name=eventInfo tr td width=131font face=Arial size=2bean:write name=match property=value//font /td /tr /logic:iterate regards, Pankaj - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://www.patni.com World-Wide Partnerships. World-Class Solutions. _ This e-mail message may contain proprietary, confidential or legally privileged information for the sole use of the person or entity to whom this message was originally addressed. Any review, e-transmission dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this e-mail in error kindly delete this e-mail from your records. If it appears that this mail has been forwarded to you without proper authority, please notify us immediately at [EMAIL PROTECTED] and delete this mail. _ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]