This week's book giveaway is in the Design and Architecture forum.
We're giving away four copies of Communication Patterns: A Guide for Developers and Architects and have Jacqui Read on-line!
See this thread for details.

vinoth kumar v

Greenhorn
+ Follow
since Sep 27, 2010
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by vinoth kumar v

Thanks a lot . .
iam able to get the values now
13 years ago


Iam loading <html: option>(TicketTypes) dropdownbox from database.

But when a form is submitted the returned value for the ticketType is <% out.println(ticketTypes[i]); %> iam not getting variable name.

How can i get the dbitemname instead of <% out.println(ticketTypes[i]); %> in the ticketType variable in the form bean.
for eg.,

ticketTypes = {"apple","orange"}
If a person select "apple" in the dropdown box.
ticketType should be sent as "apple"
But in here it is sent as <% out.println(ticketTypes[i]); %> to the form bean.

Please shed some light on me.

Thanks in advance.
13 years ago
I use the following code in action class to create cookie



Struts config code


entertask.jsp


When I first login through login page .
Iam successfully redirected to Entertask.jsp but cookies are not found in the first time.
(ie., It shows only welcome)

When I refresh Welcome username is displayed.

I dont know why its happening so.

Can any one please say the cause?

Is there any other way to manage cookies in STRUTS ?
13 years ago
Iam still facing the issue.
Can anyone help me on this.
13 years ago
Hi I pasted the css in the web content and i changed my code as below



and



but still it doesnt work. It would be great if you provide me some example.

I like to have css and javascripts in seperate folder.

so please give an example assuming that it is in some folder
and also give me good programming practices of placing the css and js files in STRUTS appliction with example

thanks

13 years ago
How should i mention the path in my jsp page so that i can include css or js?

My Struts Structure

-WebInf
--CSS
---style.css
-failure.jsp


failure.jsp


I used the above code but iam not getting the css applied in my jsp.

Thanks in advance
13 years ago