Shyam Hai

Ranch Hand
+ Follow
since Feb 04, 2009
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Shyam Hai



Hai,


I want to display date format like this --/--/---- [DD/MM/YYYY].

When i enter in text filed for the date like this 12/ then back slash should come automatically.

how can i do for that.Please give solution for that.


Shyam


hai

How to resolve this problem.
please give any fessible solution.

shyam
13 years ago


Hai ,

I am using this code



But i got this error

EVERE: ServletException in '/micro/addrBookBody.jsp':
Cannot find bean: "collection" in any scope javax.servlet.ServletException: javax.servlet.jsp.JspException:
Cannot find bean: "collection" in any scope

Thanks & Regards,
Shyam.
13 years ago

Hai Sai,

Thanks for your replay.

if i remove the redirect="true" then i'm getting
Error 500 Internal server error.

Give me any other idea.


14 years ago

i created one jsp(confirmPaymnt.jsp) like this and run from my server machine.
its working fine.




but i cann't run from any other system.
because this url for bank transaction so they are configure with
our server machine to there server machine.i cann't access the url from any other system.
so only way i have to call the url from server side.

i tried like this.


this is also not going with parameters.


please give any feasible solution and give any sample code.


14 years ago
Hai Jeanne

Thanks.
how to do that.
can you give example code for that.

Ragav
14 years ago
Hai

I have using ActionRedirect like this.



i'm getting the values is correct.
the parameters sending like this.

http://192.168.8.8:7001/SampleStrutsApp/getRedirect.do?param1=hai¶m2=tnj¶m3=india

But i don't want to show the parameters.
how can i send using post method or i want hiddent the parameters.

please help...

Thanks.
Ragav
14 years ago
Hai

I want to pass hidden parameters to another URL from server side.
So i gave like this.



In confirm.jsp have some hidden parameters.
here i can reach the url. but parameters are not going.

how can i send hidden parameters from server side.

Please give the solution.
Thanks.

Ragav
14 years ago


Hai

I want to pass hidden parameters to another URL from server side.
So i gave like this.



In confirm.jsp have some hidden parameters.
here i can reach the url. but parameters are not going.

how can i send hidden parameters from server side.

Please give the solution.
Thanks.

Ragav
14 years ago

Dear All,

I have 2 jsp page .
first one is root page . second one is new pupop window(using window.open() )
I have populate a value in popup window jsp page .
Now i need that value and display inside the text box at root jsp page and also i want to close that pupop window jsp page.

Please give any sample code.
ASAP.

Thanks


Thanks for your reply.

But still i'm not get correct output.

i'm not getting image, i got only normal button.


please check this code also.
14 years ago
I want to put an image as a submit button instead of using the button that is given.

Now i am try like this

CSS:
-----

JSP:
----

But it came normal button only. not image.


Please give the solution.
14 years ago

hi,

I want do download the file from server and save in client side in temp folder.

I want to store the file without knowing the user.

Now i am using this code.


When i use this code in servlet.
its working fine but its ask location for store the file.

But i want to save the file in Temp foler without knowing user.
please help me.
how can i do.
15 years ago

ok i understand.

Actually if i run
call Applet to servlet
the file upload from applet and stored in sevlet side.

but if i call applet from struts action.
then i will get waring only.

<Warning> <Socket> <BEA-000449> <Closing socket as no data read from it during the configured idle timeout of 5 secs>

please help how to upload the file applet to struts action calss.
15 years ago
Hai,

I want to do file uploading from applet to action class.
How can i do.

But i tried file uploading from Applet to servlet.
its working fine.

But i need Applet to action class.

First i put the code for Applet to servlet.

Applet Class Code:



Servlet Code :





web.xml :




Its working fine.

But If i call Action class like this from applet.
it not working.



Its not working.
How can i call the action.

Or please give any idea
for uploading the file from applet to struts action class.



15 years ago