Hi. I can not get the imports in my jsp to work. I keep getting this import error. I have tried deploying on Tomcat, Jboss and Weblogic and always get the import error. I think it has to do wi...
Hello Everyone,
I have a jsp page which acts as a template in the main page, the jsp page does not have any body tags,I want to call a javascript function within this jsp page whenever the ...
Hello,
Would anyone be-able to demonstrate how the getParameter() can be used to capture the values in the jsp posted from the html.
I would like to check the values were enter in the ht...
I want to read the content of a directory in JSP. I have some example code, but can't get it to print, except "NULL".
Current coding as below:
for (int i = 0; i < arr.length; i++)
{
char newlinechar = ' ';
newlinechar = arr[i].replace((char)13, " ");
combine= combine + newlinechar;
}
i get...
I have to set a value in the http header and I know how to do this in a servlet but I'm not sure how to do so in a JSP. I am basically trying to implement Single Sign On within a product cal...
Hi there
I have a simple JSP application that displays reports from data from a SQL database. I want to give the user the option of exporting the results to an excel or csv file by pressing...
HI,
I am having a problem in Struts Date Validation. My question , how to validate date fields in Struts
This is my form bean
<form-bean name="orderForm" type="org.apache.struts.v...
I had a JSP with a form that DID use "method=POST" and DID NOT use "enctype=multipart/form-data" and itworked beautifully. - Now I need to upload a file in the same form.
I figured out how to...
In a JSP web application deployed to Tomcat 5.5 on XP, I have a property file, its content is something like (name/value pair, note the value is comma separated file names) ...
fileName=fil...
I'm trying to access a bean from a supporting java class.
The page generates a pdf. The pdf is generated in a class that is called from a method in the bean.
The request / session scope ...
Hi,
I have a resultset from a query in a bean which I want to populate a 2D arraylist with.
The arraylist then gets passed back to the displaypage, and I need to get the values from the ...
Can anyone have such expereicen in converting this?
I mean from YYYYMMDD to DD/MM/YYYY or the other way DD/MM/YYYY to YYYYMMDD ?
SQLException: No suitable driver
SQLState: 08001
VendorError: 0
1. I have /usr/local/mysql-connector-java-3.1.6/mysql-connector-java-3.1.6-bin.jar
2. The userconfig.sh file is in /usr/lo...
I got the error message below from logs.
java.sql.SQLException: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=153092352)(ERR=12519)(ERROR_STACK=(ERROR=(CODE=12519)(EMFI=4))))
.....
Hi experts,
I'm wondering about why my jsp parameter passing does not work.
I am trying to send in a variable to a menu.jspf file, to tell it what labels to display.
when i try the exam...
Hi,
I would like to create multiple war and deploy in one ear.
How do i do that? Can we use different WAR utils in other WAR?
Do i need to add utils in all my WAR? can it be sharable ac...
I've a JSP with some 'HTML select options'.
When selecting (onClick) one of the options, I'd like to call a JSP/Java method which should dynamically RETURN the result to another 'HTML select ...
How would I go about reading a text file and displaying it to the screen? I have an application I am writing where I enter my CD/DVD names into a form and it places them into a txt file (I kn...
how do i pre-select radio button using javascript function ?
i am using Dynaaction form.
here is the code.
<html:radio property="card" value="Diners" >Diners </html:radio>
<html:r...
This one is driving me nuts -
<form...............>
<input type='checkbox' name='chk'>
<input type='submit' name='test'>
At the servlet if I say request.getParameter("checkbox") orgetP...
Hi,
In several of my JSP pages I get the Tomcat Error page, and the error it gives is
java.net.BindException: Address Already in use:connect
I cant figure out what exactly the error is...
I am using eclipse. Followed is the code that I use, I get the error
---------------------------
Java Virtual Machine Launcher
---------------------------
Could not find the main class. Pr...
Hi,
I'm currently working on a project involving JSP documents being served from an Apache Tomcat 2.2.25 server. The application and the pages are served out without any issues but I notic...
I am sure this is very simple, but I have not yet found the solution, so please help me!
I need to add the content of an external file to the site. The specific file is deternined by one of...