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...
how to call this from a jsp
<!-- Begin
// Set up the image files to be used.
var theImages = new Array() // do not change this
// To add more image files, continue with the
// pattern below, adding to the array.
theImages[0] = 'images/vehicle1.jpg'
theImages[1] = 'images/vehicle2.jpg'...
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...
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.