Rishi Chopra

Ranch Hand
+ Follow
since Mar 07, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Rishi Chopra

Michał Płachta wrote:I tried to show only cor FP concepts that are not only available in Scala, Haskell, but also in F#, and even Java or Python (like pattern matching that has just been introduced for both!)



It would be great to read this book.
3 months ago
What would this book be about ? Core Functional programming concepts that can be applied to languages like Scala, Haskell?
3 months ago
How does this paradigm fits with OOP, DOP etc..

3 months ago
Hi,
I am a developer in a financial organisation and have not heard about this paradigm

What is it, where is it best applied onto, how does it differ from Object oriented & functional paradigm  ?

Regards
Rishi Chopra
Thanks Joe

1. Without extending ActionSupport it does not work or am i missing something?

2. But if you build your war using maven (mvn clean package) it places the HelloAction-validation.xml away from the .class files
It places it alongside classes folder. ( May be maven war plugin can be configured to do it as well) .

Thanks & Regards,
Rishi.
12 years ago
Hi,

I have written a basic example for struts 2 with validation framework

JSP Page:- having a single field named 'name' and submit button
Action class :- com.package.HelloAction
struts.xml : the action tag has a result with type 'input' and 'success'

HelloAction-validation.xml :- having a requiredstring validation on the name field.

The question is:-
1) why i have to extend ActionSupport to make it working..Isn't that a question against POJO based programming?
2) why is HelloAction-validation.xml needs to be placed under com.package to make it working
Should it not be alnogside classes folder??? the whole concept of configuration files under src package is really confusing??

Thanks & Regards
Rishi.
12 years ago
I have been unable to get the validation framework working even after extending from ActionSupport

Please help?
12 years ago
Welcome Craig

Have learnt so much from Spring in Action 2...expecting an interesting read about Spring 3



12 years ago
Hi all,

I have below mentioned code in my Action class method

ActionMessages messages = new ActionMessages();
ActionMessage message = new ActionMessage("error.unspecified");
messages.add("unspecified",message);
saveMessages(request, messages);
return mapping.getInputForward();

and the following code in the JSP page to which this is forwarded.

<logic:messagesPresent message="true" >
Messages:
<html:messages id="message" message="true" >
<bean:write name="message" />

</html:messages>

</logic:messagesPresent>


But somehow i get this error saying that

javax.servlet.jsp.JspException: Cannot find bean: "message" in any scope

I am really struck.. Struts version 1.2.9

Thanks & Regards
Rishi Chopra.
14 years ago
Hi all,

I am Java programmer with 3 years of experience, i am currently here in UK from past 8-9 months on a work permit.

I have mostly worked on web-apps based on Struts Framework .

I am planning to move back to india when my visa expired around nov mid, Can you please will that be a feasible option to do considering the bad period in IT in india.

If say i decide to move back too, would you please guide me which are good paymasters in Mumbai, Delhi

Thanks & Regards
Rishi
14 years ago
Hi Bear Bibeault,

Please advice, its UERGENT!!

Thanks,
14 years ago
JSP
Thanks for your prompt reply. The page functionality is such that usually it comes with very few records for a particular entity in database. However, paging cannot be implemented on this page as just one of the entity details break the page. Any other solution?
14 years ago
JSP
I am stuck with a JSP page which is displaying data fetched from database. It works fine but fails to render page completely when the records from database exceeds....the page loading gets slow and also is incomplete.
No error is thrown....
Any help is appreciated.
14 years ago
JSP