Hi,
I am kind of looking for a solution,our application is a cgi script generated HTML which inturn calls Stored Procedure and populates the page. Now we are trying to interact with external system and get data and provide data from them.Can we use XML based https call and pass and get data...
I have array with multiple values in it,to display that I am putting it in the string buffer and then displaying it.
String[] svalue =strutsForm.getS();
vValue.append (svalue[i] + "<BR>");
session.setAttribute("UIVALUE",vValue);
While displaying it does not break to next line instead...
I am trying to put the content of my mail in html format but my tags are also being printed in the mail how should can i get it write.
strMailBody ="<HTML><BODY>" +"First Name:" + strutsForm.getFirstName() +"\n" +
Thanks!
I have select box which reads the value from the property file. When there are validation errors, i am trying to regenerate the page, but i am getting this error.
BeanUtils.populate: java.lang.IllegalArgumentException: argument type mismatch
Why am I getting this, onload works fine, it brings...
Thanks for the feed back, i was successfully able to generate the listbox, the problem now is when I do a view source, i see all the values as selected. why is that?
<td align=left ><html:select property="id" value=" ">
<logic:iterate id="UserRoleid" name="UserRole" type="java.lang.String"...
When I start the server i get this error
Failed.to.initialize.webapp, what am I missing, I went through my web.xml and config.xml so many times but could not figure out what's wrong.
Help please !
Thanks!
I have a query which is in a loop and is like this
select sum(a.time),sum(a.cost)
from a,b
where b.rid=10
and a.id=2
and a.id=b.id
The problem is we are connecting to the database via data link and is talking time to get connected,for eg 2 sec to connect and the loop can go only for 10 parts...
...= new Array()
for (i = 0; i < p; i++){
preBuffer[i] = new Image()
preBuffer[i].src = theImages[i]
}
var whichImage = Math.round(Math.random()*(p-1));
function showImage(){
document.write('<td background="'+theImages[whichImage]+'" width="516" height="115"...
I had a html page which I converted to Jsp, when I changed it to jsp the images are loaded very delayed, how do I make sure that the images and the text load at the same time.Right now what is happening is the text on the page is loaded and then the images appear.
<tr><td...
I have a query which is run on an external database, to which i have only select priveledges on 4 tables, but since the response time is pretty slow, I just wanted to see what is happening with the queries. Is it possible to run explain even though I have only limited access? If not what is the...
Hi,
I have a window with 3 frames in it the header frame has the name of the user and the body frame opens a popup window and display the data on the popup sreen. I need to prevent anyone other than valid users from accessing the popup screen. for eg. if someone gets the url then they should...
I have a servlet call being made by another application which is in a different server, when it calls my servlet I need to check if the call was made that application. This is a java servlet and uses webshpere 4.0. Can I access the session variable of that application?
What is the best way stop...
I have two tables :
Table 1
Code name
306 group1
310 group2
390 group3
520 group4
Table 2
Code details minidetails
310 y n
305 y n
312 y n
My result should be
310 y n group2
305 y n
312 y n
But when I...
I have a column(col1) which has values like
1-Apple
2-Orange
3-Grapes
I need to check if 1 is in the database,
but since the value is stored as 1-apple how can I compare it to 1.
Thanks!
I have two spreadsheets, i have to conditionally sum up based on the value from the other spreadsheet.
spreadsheet 1
A 10 10 100 100 100
B 20 10 10 20 30
A 3 2 10 30 30
C 40 30 40 10 30
G 20 20 20 20 20
F 40 13 39 20 18
B 90 20 20 20 20
G 19 10 20 10 30
spreadsheet 2...
I have a check box and two radio buttons.
<input type="checkbox" name="GA" value="GA"
style="background-color: rgb(239,239,239); color: rgb(239,239,239)">GA<br>
<input type="radio" name="thirty" value="Thirty"...
I have two radio buttons 'yes' and 'no'.If 'no' if picked i should not allow the user to enter into a text field.If the user picks 'yes' then he can enter the details in the text field.
How can i do it,without reloading the page.
Thanks.
I have a form with two radio buttons,based on the value of this button i have to enable or disable a text area in the same form.How can i do this?
If user picks 'yes' then the text area should be enabled and if the user picks 'no' then the text area should be disabled.
Thanks.
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.