Sandeepesh shah

Greenhorn
+ Follow
since Feb 11, 2010
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Sandeepesh shah

Dear All,
I am executing a Qry like Select EmpName from Empolyee;

Result : RajesKumar#00214588

But I wnat to retriew the value only like RajeshKumar and want to remove the EmployeeID from result.

So How I can get the Substring in SQL Query.
Thank's , I will use the Code Tag from next time.
14 years ago
JSP

Dear Friends,
I am creating a JSP Program using bean Class to set the name, lastname & address of an emplyee.
But I am getting Confused to Put the bean folder , So please tell me the exact location of bean folder as I used in my program like bean.Employees.





<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<html>
<body>
<h1>Get Value from bean</h1>
<jsp:useBean id="emp" class="bean.Employees" scope="page" />

<jsp:setProperty name="emp" property="firstName" value="Komal Singh"/>
<jsp:setProperty name="emp" property="lastName" value="Choudhary"/>
<jsp:setProperty name="emp" property="adddress" value="Delhi"/>

<table>
<tr>
<td>First Name</td>
<td> : </td>
<td> <jsp:getProperty name="emp" property="firstName"/> </td>
</tr>
<tr>
<td>Last Name</td>
<td> : </td>
<td> <jsp:getProperty name="emp" property="lastName"/> </td>
</tr>
<tr>
<td>Address</td>
<td> : </td>
<td> <jsp:getProperty name="emp" property="address"/> </td>
</tr>
</table>

</body>
</html>

14 years ago
JSP
Dear friends,
I have developed a Java Desktop Application which is having the Swing based GUI Pages as (Frontend) and MYSQL Database as (Backend). My Application retriews the Data from Database and display on the Screen, I can also Update,Delete,Modify all the SQL Operation through Screen.

I have Installed this Application on One machine which act as a Server and Given the shortcut of .EXE file to Different User within an Intranet to access the Application.

But I just want to know the Architecture Of My Application Can I called it "Client Server based Application"or What I can Called its Architecture.


14 years ago
But What Should i suppose to do for it.
14 years ago
Thank's I hope it should work.
14 years ago

In simple way:

String s ="First Line \n"+"Second Line \n"+"Third Line"; // The value of String s would be dynamic.
JTextArea jt = new JTextArea();
jt.setText(s);

please find the attachment
14 years ago
Ok I explain in more detailed what i want to do.

I have a JTextarea of setbounds width=200 and height =50.in which suppose i can write 5 line ok.

but my text generate dynamically it is not sure whether it will fit into 2 line 3 line or more.......

if suppose my dynamic text feet till 3 line and i have the height of Jtextarea is 50 which can hold 5number of line so the last
2 line will remain blank ok/

But i want to set my dynamic text from bottom to top.means all my three line should feet from line number 5,4,3

and my JTextarea will display the above two line blank and the last three line should hold my dynamic text......

for more clearity please check the attachment........

14 years ago

sandeepshah shah wrote:Hi All,
I just want to set the text into textarea start from bottom to top.
But i am not able to do it.what should i supposed to do or is there any other component of having the propert to set the text from bottom to top.

waiting for reply.......

14 years ago
Hi All,
I just want to set the text into textarea start from bottom to top.
But i am not able to do it.what should i supposed to do or is there any other component of having the propert to set the text from bottom to top.

waiting for reply.......
14 years ago