farhath farook

Ranch Hand
+ Follow
since Aug 01, 2007
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
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 farhath farook

Hi All,

For an assignment I have to develop an file sharing application for Android. For this purpose i selected the Dropbox as my server and to develop a client for it. Am new to Android .
can any one help me on how to do this.
thanks in advance .
11 years ago
hi all,
i am having an input filed to which the YUI autosearch is bind.
I need the tab key event in this field to be disabled till the search result is returned ( not being able to use the TAB key to go to the next input filed before the search result returns )
and when there s a selection being done( this should be able even by the TAB key ) from the list the tab key being enable, so that can navigate to the next field using the TAB key.


thanks in advance
i want the request headers not to be overwritten by the proxy servers.
so i tried adding the following snippet in the httpd.conf file n restart the WAMP. but still it get overridden.

<IfModule mod_proxy_http>
ProxyAddHeaders Off

</IfModule>

can any one help me.

thanks in advance.
I have a web application that was developed in a different structure to the default archtype of the mevan. And i need to write a pom for it. Is it possible to build using pom with out changing the structure of the project or do I have to change the structure according to the mevan.
11 years ago
can you please explain a bit more on how to configure the port and stuff. because am net in this area .

thank you
14 years ago
hi
i have to do peofiling fora webbased application which is deployed in Tomcat. And it call the business logic from a Jboss server.
It s developed using Spring with velocity as it view technology. And jQuery as the cripting lanaguage.
can any one recomment a profiler that will help me to to the profiling onth at web application.

thanks in advance
14 years ago
hi,

In traversing the DOM it s said that searching the elenent by ID s the effective and fast way .
But in JQuery when we write the code using the ID there are two possible ways
they are,

1. $('#title')
2. $('h2#title')

so among the above two which s the best in reducing the search time.

thanks in advance...
hi


i need find a way to export data to PDF,Ms Money and Quicken Format.
i haven't worked on this area before . can any once please suggest any way or any libraries that i can use for this purpose


thanks in advance

14 years ago
hi
i developed a sample application using spring and FreeMarker.

here i have a server side validation to be done. so i used the validator class in spring. ( just to check hte availability of the user name from the database)
when i used that the validation happened( where when i entered a existing user name it return to the form) but i could get the error message displayed there

there are the different variation i tried..
1. <#list spring.status.errorMessages as error> ${error}
</#list> - Here the list was empty.

2. <input type="text" name="username" id="username" value="${(user.username)!""}" class="required" />
<@form.errors path="username" cssClass="error"/>
- this did show any output in case of the error though the error have been added as this ---
errors.rejectValue("username", "error.usernameexist", "The username already exsist");---- in the validator class


can any one help me how to output the error message on a FreeMarker

thanks in advance
14 years ago
hi,

I am trying to write a simple program using Spring MVC. there i have a form( Edit user info) in which the for have to get populated with the existing information.

where i hope to use a AbstractController first to get the data and populate the form( when the user click the link it will go through the AbstractCotroller and call the .ftl that contain the for) . and from there on wards to use the SimpleFormController to do the processing. Just by looking at the SimpleFormController APi i found that there is a method called "referenceData" but i dont have any idea how to use this method and load the data in the form or whether it can be used.

i am new to spring . can any one tell me is that is possible and which is the proper way of doing it.

thanks in advance.

14 years ago

hi
am using spring security 2.0.4. Here most configurations are different from that of the acegi.

and i developed a system where the user details for the authentication is being taken from the database.
but here i used the default table that is required .
and xml config s given below.:
------------------------------------------------------------------------------------
<bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource">
<property name="driverClassName" value="com.mysql.jdbc.Driver"/>
<property name="url" value="jdbc:mysql://localhost/test"/>

<property name="username" value="admin"/>
<property name="password" value=""/>
</bean>
------------------
<security:authentication-provider>
<security:jdbc-user-service data-source-ref="dataSource" />
</security:authentication-provider>
----------------------------------------------------------------------

this worked fine.

And now i need to do it in a custom table ( using a table that has different field than that in the default required table)

can anyone please enlighten how can i configure( use custom queries ) to make it happen.


thanks in advance.
14 years ago
oh ...
i found the mistake...it is basically i have put with the slash(/) and it is getting called from the root rather than the application context
14 years ago
hi,

i am using "http://www.springbyexample.org/examples/simple-spring-security-webapp.html" to learn about spring security.
In it it has defined a link "/loginProcess" the path to process the login function but there isn't any servlet with that name.
the source code of the example worked fine. but when i tried that example by myself in IntelliJ IDE the application could'n detect that path and it gives a 404 error.

Can anyone explain why is it happening. do we have to write our own servlet other than the configuration in the security configuration file.

Thanks in advance

14 years ago
hi,
am new ti spring framework. i would like to learn bit about the spring security. i have no idea on how to do the authentication ( is that authentication and storing that user as a session object will help here? f i do so will the spring configuration will read the session to know the authorization of the user) . am so confuse.
can any one give ma a good tutorial or a example where i can know a bit no the way of authentication in spring secrity.

thanks in advance
14 years ago
hi.
i am new to Spring. can any one recommend me some resources that i can use to catch up quickly. Also am constrained to do my work using IntelliJ. which is then again new to me.
can any one help me on starting up with spring in Intellij

thanks in advance
14 years ago