rakshini nithya

Ranch Hand
+ Follow
since Jun 15, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by rakshini nithya

Hi i am running a iBatis application.
Am getting the pages displayed without fetching the values from the database and displayed as null.
Also all ht println statements next to
sqlMap.queryForObject("getContact",new Integer(contactForm.getContactId()))
is not working.
Please help me out in this issue
Hi am trying to run a Ibatis example using msaccess
Am getting the success page displayed with null values without fetching the values from the database

am getting the following error
com.ibatis.common.jdbc.exception.NestedSQLException:
--- The error occurred in Contact.xml.
--- The error occurred while executing query.
--- Check the select FIRSTNAME as firstName,LASTNAME as lastName from CONTACT where CONTACTID = ? .
--- Check the SQL Statement (preparation failed).
--- Cause: java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver]Optional feature not implemented
Caused by: java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver]Optional feature not implemented


Please help me to solve this issue
Thnaks in advance
Can anyone please tell me the site where i can download the TLD's for JSTL
18 years ago
JSP
I have downloaded the application and try running it.
But the problem is i dnt have SQL server with me
Is it possible to run the application without it.
Can anyone please help me
Hi
Can anyone please help me with a sample application using iBATIS
I tried Ajax chat project
using jboss.But when i deploy the war file am getting an error
No getter method for property username of bean org.apache.struts.taglib.html.BEAN
In my struts config.xml
it is specified that
[ CODE]<!-- Form Beans -->
<form-beans>

<form-bean name="LobbyActionForm" type="org.apache.struts.apps.ajaxchat.actionform.LobbyActionForm" />
<form-bean name="LoginActionForm" type="org.apache.struts.action.DynaActionForm">
<form-property name="username" type="java.lang.String" />
</form-bean>
<form-bean name="ajaxPostMessageActionForm" type="org.apache.struts.action.DynaActionForm">
<form-property name="msgText" type="java.lang.String" />
</form-bean>

</form-beans> [/CODE]

but since am using struts1.0
my server is not able to recognize form-property tag.
Cana nyone please help me to solve this issue
18 years ago
Hi merril
I tried Ajax chat project
using jboss.But when i deploy the war file am getting an error
No getter method for property username of bean org.apache.struts.taglib.html.BEAN
In my struts config.xml
it is specified that
[ CODE]<!-- Form Beans -->
<form-beans>

<form-bean name="LobbyActionForm" type="org.apache.struts.apps.ajaxchat.actionform.LobbyActionForm" />
<form-bean name="LoginActionForm" type="org.apache.struts.action.DynaActionForm">
<form-property name="username" type="java.lang.String" />
</form-bean>
<form-bean name="ajaxPostMessageActionForm" type="org.apache.struts.action.DynaActionForm">
<form-property name="msgText" type="java.lang.String" />
</form-bean>

</form-beans> [/CODE]

but since am using struts1.0
my server is not able to recognize form-property tag.
Can anyone please help me to solve this issue
18 years ago
Hi merril
I tried Ajax chat project
using jboss.But when i deploy the war file am getting an error
No getter method for property username of bean org.apache.struts.taglib.html.BEAN
In my struts config.xml
it is specified that
[ CODE]<!-- Form Beans -->
<form-beans>

<form-bean name="LobbyActionForm" type="org.apache.struts.apps.ajaxchat.actionform.LobbyActionForm" />
<form-bean name="LoginActionForm" type="org.apache.struts.action.DynaActionForm">
<form-property name="username" type="java.lang.String" />
</form-bean>
<form-bean name="ajaxPostMessageActionForm" type="org.apache.struts.action.DynaActionForm">
<form-property name="msgText" type="java.lang.String" />
</form-bean>

</form-beans> [/CODE]

but since am using struts1.0
my server is not able to recognize form-property tag.
Cana nyone please help me to solve this issue
18 years ago
Hi i think this code would help you



I have stored the details of a member in the list called member info in my action class from the data base and i have used scriptlets to display the values in the text box.
As struts does not allow nested tags inside a tag i think this is the possible way.
try this
18 years ago
Hi i would like to train myself in struts.
so can anyone please help me out in suggesting a project in struts and where to find for such suggestions.
18 years ago
Can anyone please tell me how to upload an image file from a jsp page to a particular directory using struts?
Thanks in advance.
18 years ago
How to make a word document displayed in a jsp page?
Am able to upload the word file in jsp page.
but its getting uploaded in a different format
How to open the word file exactly in the jsp page?
Can anyone please help me out?
Thanks in advance.
18 years ago
While trying with struts examples-upload
am getting the html file uploaded in the next page
but am not getting the word and excel files in the same format they are getting uploaded in different format.
Another problem i face is i am not able to upload the file in to another file.
Here is the action code

Am using struts 1.0
So ihave used Perform method
Can anyone please help me out to solve the problem.
18 years ago
Hi
I am facing problem in uploading files other than explorer files.


If i try to upload a html file its getting opened in a separate jsp page but not in my success jsp page.
Am getting an error
Cannot forward after response has been committed
Can anyone plesae help me out in this issue
18 years ago
Thank you am trying with the same example.
Am getting the first page displayed.
but when i click on the submit
am getting the following error
java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileUploadException
18 years ago