vivek mahajan

Greenhorn
+ Follow
since Jun 18, 2009
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 vivek mahajan

But still it is not working
12 years ago
I want to have a session interceptor to monitor session, so i have created it as :


and i have configured the interceptor in struts.xml as below :


but the sop of interceptor in not getting printed on server output, even i tried to debug the interceptor but it is not being called. please help.

Thanks in advance
12 years ago
I am also facing the same problem I need to host struts application so please suggest the best web hosting company
13 years ago
Hi,
I am working on email application in struts, I want to download the attachments by opening the file dialog box on clicking the download link. How to do it ?
14 years ago
I wanna use validwhen for matching two password filed i.e. New Password and Retype New Password with following code


but I am not getting any error message when they mismatch.
14 years ago
Hi,
I wanna use two new fields for registering new users, they are college name and contact number. I have changed user_new.htm to take these new and mendetory input but i can't add this fields into database. After adding these fileds i want to access and populate them in user profile page.

Please help.
I am using <html:rewrite action="" /> tag for a link and i want to add two parameter and both of them are dynamic. I used following code but found only one parameter attached to url
14 years ago
Thanks Sagar
But the page which you suggested me shows the same technique as I have used with JSP and servlets (enctype="multipart/form-data"). With Struts do I need to follow the same technique or it has some thing different for form upload.
14 years ago
Hi Kishore Welcome,
you must have getStatus() method in your Bean class which is used to render the html elements usins <HTML:XXX> tags as your error shows you don't have it. Do you want the options to be generated dynamically by arraylist.
14 years ago
Hi Friends,
I want to insert image file into the database for that i am using Bean as follows

and in my Action Class i am using the form bean as

I am getting an exception as java.io.FileNotFoundException: demo.jpeg (No such file or directory)
14 years ago
Thanks Friends I got the solution. Now its working fine
14 years ago
I have designed an action class which redirects the user according to the link clicked e.g. /action/employee.do?cmd=create redirects to insert employee page and /action/employee.do?cmd=edit redirects to Edit Employee page. the following lines shows the struts-config.xml entries
I cannot submit both the pages of Create employee as well as Edit Employee i have checked it by the following code in execute methods of CreateProfile as well as EditProfile

I can't get the line printed
and it shows the Insert and Edit Page back even after clicking the submit button
Please Help Me
14 years ago
thank you sagar
14 years ago
thanks kartik
it worked thanks alot
14 years ago