Win a copy of JDBC Workbook this week in the JDBC and Relational Databases forum
or A Day in Code in the A Day in Code forum!

Gaurav Manral

Greenhorn
+ Follow
since Jun 29, 2012
Gaurav likes ...
Java
Delhi
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
6
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Gaurav Manral

Clearly the values in your List 'Course' are not being set. Because your setter method is not executing. call this setter method like this-

May be this will fix your problem. Cheers..!!
7 years ago

Shashank Gollapudi wrote:
Replace your radio button line with

<td><s:radio name="selectedId" list="#{'accountNo':''}" theme="simple"></s:radio></td>


Doing so is displaying the radio button as desired.
But when i am selecting the radio button and sending request no value with radio button is sending.
How to do it.?
7 years ago
I got the answer friends. I had to do this-

Thanks BTW.
7 years ago

vikas sharmaa wrote:

David Newton wrote:


This was very useful David Newton.
But can you tell me, can we do the same like this?

7 years ago
When i use this code to send request to the Action class from a link in struts2, it works fine.

struts.xml

But when i am using this link, i am getting HTTP Status 404 - /Judicial/link error.

struts.xml remains the same both time.
How to do this, please help.
7 years ago
Yes JOE, you are right.
As i said earlier I am new to struts. Thanks for your reply.
7 years ago
I have the same problem.
after logout, when i click back button it goes back to the previous page.
BUT if i refresh this previous page then it redirects to the login page.
I want, when i click the Back button, it redirect to the login page.
Please tel me JOE how you solve this problem.
7 years ago
Dear friends, please tell me can we use stored procedure in my struts2 application.
I'm using MySQL database.
Also tell the way to implement it.
I'm new to it and don't know much about it. so please help me.
7 years ago
I am using <s:radio> tag in struts 2 application. but i don't want to pass a collection in the required attribute list. How can i do this? I am using this code in my Action class-

and in view i have the code-

But output is not as expected. In page source of output i am getting code like this-

How to fix it? Please tell. Thanks in advance.
7 years ago
hello frnds..i'm making a basic struts2 application.
but when i deploy it on weblogic 10 it gives error...

My code is--

index.jsp


web.xml


MyAction.java


struts.xml


report.jsp


error.jsp



when i deploy it in weblogic 10, it gives this error....

Unable to access the selected application.
Message icon - Error Exception in AppMerge flows' progression
Message icon - Error Exception in AppMerge flows' progression
Message icon - Error '<' expected a valid beginning name character
Message icon - Error '<' expected a valid beginning name character

Please tell me what is the error..
help me..
7 years ago
the same code executes perfectly on tomcat...
can one suggest what is the problem with my weblogic 10...??
7 years ago
i have tried running it.
but NullPointerException is still there...
7 years ago
Hello Friends I'm creating a Basic Struts1 application. And i'm getting InternalServerError.
my code is--

index.jsp


web.xml


struts-config.xml


Form class
MyForm.java


Action class
MyAction.java


View Files
success.jsp


error.jsp


The Exception msg is--


Please help...
7 years ago

I have tried with & without "VALUES". there is no effect.