Hello ALL
I have this select drop down
<select name="title" class="form" onChange="javascript:addField();">
<option value="Mr">Mr</option>
<option value="Mrs">Mrs</option>
<option value="Others">Others</option>
</select><br>
This is somewhere in my JSP page. On Change of title as Other, I...
I CAN NOT BELIEVE IT - THIS IS THE BEST ANSWER I EVER EVER GOT FROM THIS FORUM - THANKS A TONS
AMAZING AND EXTREEMLY HAPPY THAT YOU HAVE HELPED ME - I UNDERSTAND THE PATTERN AS WELL AND THANK YOU SOO MUCH
Hello ALL,
I have to come up with a pattern to match with fulfilling my following criteria for a password field
1. It must have to be at least 8 characters long
2. It must have atleast one number (digit)
3. It must have one capital letter (character)
please advise how should i form a pattern...
I appologize if my previous comments have offended you or anyone in any ways. That's not my nature or intention in this serious discussion borad. Please except my appology and execuse me if being impolite.
You are absolutely correct and that's how I understood the problem. But the issue is that...
No Sir that's not even close and that's the reason I wrote for a precise answer in the first place. I guess people use this message board for some serious issue they may not find PRECISELY from textbooks.
Think, why the API gives you the method to setHeader from response object and then get...
I have a very typical and conceptual problem. I want a precise answer and I request everyone to
provide me the answer to the best of their understanding. The problem seems simple but it's not
working.
Question Summary -
I am trying to set headers from my Servlet and forwarding to the JSP...
No that's not what I want,
I want to separate these all by pipe delimited field and store them separately. Return that datastructure back to calling method for further processing.
The design should be modular rather then storing in separate variable types.
I tried to separate them using...
Hello ALL
I need to create a hashMap or some kinda data structure of name=value pair after reading these contents from a file
abcd@email.com|1|2|3|4|n|y
efgh@email.com|1|2|3|4|n|y
ijkl@email.com|1|2|3|4|n|y
mnop@email.com|1|2|3|4|n|y
How can i do this in JAVA
Please advise
Thanks a lot
That works Venu, but then I get an undefined error when I try to use the same variable as parameter in one of the constructor call to java
something like
<%
Country usacountry = new Country (country);
%>
Now as long as i keep using this variable something like <%= country %> it displays value...
I guess what my problem is that I am using preparedStatement and is doing an insert based on values that are dynamic, now when i am doing an insert, I want to check if the value is already in the database, if so i don't want to do an insert, if the value is not there then only i wan to do an...
How can i be more precise then what i explained ? Which part of the issue you could not understand. It's as clear as possible, read it again and you will understand.
Hello ALL
I am using a preparedStatement and is passing values dynamically.
Now I want to "insert" values in the table based on condition - Insert only if a particular
value is not present else do not perform insert
below is query -
insert into CUSTOMER (EMAIL_ADDRESS,ZIPCODE) values...
How can i get the value from <bean:write> tag.
I have this bean write tag that gives me the value. I can see that coming up on the JSP page
I need to use this value in other parts of JSP page using something like
<% =country %>/imgs/help.jpg
My bean tag is something like
<bean:write...
Hello ALL,
I have some values in vector say {501, 502}.
Now I have an array of Integer that gets SOME, ALL or NONE values that are in the above vector.
My problem is to check if the values coming from this dynamic array exits in the vector.
Based on presence and absence I have to do some...
Well thanks for the post - It did help. Here's the full solution (may help anyone else)
function refresh(f) {
var MainForm = this.f;
var i = document.MainForm.subscrIds.length
if(document.MainForm.checkbox.checked)
{
for (i=0; i< document.MainForm.subscrIds.length;i++)
{...
Yes you are correct, but then I thought may be a javascript function will be an alternative solution as well. Anyhow, as per your suggestion, the same posting is now in struts
Hello ALL {STRUTS GURUS}
I have this struts driven JSP page that has a checkbox - Named as "Unsubscribe" having value of on/off depending on property = checkbox. When you check the box I call a javascript function go(). I need to implement this function "or" if you have a better Idea you can...
Hello ALL {STRUTS GURUS}
I have this struts driven JSP page that has a checkbox - Named as "Unsubscribe" having value of on/off depending on property = checkbox. When you check the box I call a javascript function go(). I need to implement this function "or" if you have a better Idea you can...
...page with values retrieved after a database look up. I am using STRUTS framework.
The DAO retrieves the values by doing something like "select * from where blah blah blah". Everything is fine till i get the values.
Now, I have to populate a bean or something (i don't know for sure ??) that...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.