Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link

s. anitha

Greenhorn
+ Follow
since Jan 18, 2005
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by s. anitha

hai all,,

i m using display tag to display my tables.in my action class i used like this to retrieve table values

rs=stmt.executeQuery("select * from orderentry where name=\""+name+"\"");
while(rs.next())
{
order=new OrderForm();
order.setOrderno(rs.getInt("orderno"));
order.setSymbol(rs.getString("stocksym"));
order.setSegment(rs.getString("segment"));
order.setExchange(rs.getString("exchange"));
order.setBuysell(rs.getString("buysell"));
order.setQuantity(rs.getLong("quantity"));
order.setPrice(rs.getLong("price"));
order.setTriprice(rs.getLong("trigerprice"));
STATUS =(rs.getString("status").toUpperCase()) ;
order.setStatus(STATUS);
orders.add(order);
}
session.setAttribute("orders",orders);


in my JSP
<display table name="sessionScope.orders>means its working fine ang great..

now i m using arraylist to store the datas in action class
results is arraylist in form

form.setResults(orders);

in my jsp what should i mantion for the display name??
<display table name="?"

please help me...

thanks in advance..
Anitha

17 years ago
thanks a lot for ur help....


i dont hoew to set z-index to IFrame.please help me......


S.Anitha
thanks a lot for ur help....


i dont hoew to set z-index to IFrame.please help me......


S.Anitha
hi eric,,,

thanks . if possible sent me some sample code for that...

please help me...


S.Anitha
Hi,
I have drop down menu in JavaScript.. The menu can be unfolded by mouse over.

in my page there is one applet... which is top of page

However, when the menus "slide out" overtop of form elements the Applet render over the menus. This is quite disturbing sometimes.

May I ask if there is any way to let the expanded menus covers whatever on the form ?



Thanks in advance,Please help meee



S.Anitha
hai,
thanks sri

ur code is working. it refreshes my page. but i want to call my servlet which i specified in img src should me re execute.what shall i do.

i want to execute my servlet automatically for each minute


plz help me.

Anitha

17 years ago
hi all,

my jsp page having like this


<img src="/Chartservlet">

i want to auto refresh this page. in the meanwhile i want to call the servlet to display the image. the servlet response as image.pa help me. i want to aurto refresh the page for every minute.


Anitha

17 years ago
I want to Communicate swing to servlet,by passing a string from swing to servlet.Here iam sending the sample code here.please help me.

The problem is i cant able to communicate with the servlet.

Swing part
==========


StringBuffer sb=new StringBuffer("http://localhost:8080/AppletWatch/AppServlet?colwidth=");



for(i=0, len=columnOrderPref.length; i<len; i++)
{
if(i!=0) sb.append(", ");
sb.append(columnOrderPref[i]);
}
try
{
String urlsb = sb.toString();
URL servletURL = new URL(urlsb);
URLConnection connection = servletURL.openConnection();



Servlet Part
============

public void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException,IOException
{

String msg = req.getParameter("colwidth");
System.out.println("MEssage"+msg);
}
17 years ago
I want to Communicate swing to servlet,by passing a string from swing to servlet.Here iam sending the sample code here.please help me.

The problem is i cant able to communicate with the servlet.

Swing part
==========


StringBuffer sb=new StringBuffer("http://localhost:8080/AppletWatch/AppServlet?colwidth=");



for(i=0, len=columnOrderPref.length; i<len; i++)
{
if(i!=0) sb.append(", ");
sb.append(columnOrderPref[i]);
}
try
{
String urlsb = sb.toString();
URL servletURL = new URL(urlsb);
URLConnection connection = servletURL.openConnection();



Servlet Part
============

public void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException,IOException
{

String msg = req.getParameter("colwidth");
System.out.println("MEssage"+msg);
}
17 years ago
Thank u for ur Timely and great help, Shrikanth Shenoy


Its Working for me

17 years ago
Thanks for ur reply..

i m in situation of using frames..if i use include tags it will reloaded at each page. i want to keep my top frame constant. pls help me. is there any solution to clear the refresh problem...

Thanks in Advance.

S.Anitha
17 years ago
i m using frames for my application..my problem is these.

using action forwards, but the url in the browser never changes. Everything works happily, so the only thing i want is for the browser to change and display the new URL (mainly for the refresh button).

Refresh repeats the last request.and does not refreshing current page. what shall i do please help me......


Thanks in advance........

S.Anitha :
17 years ago
In my Jsp page i m having two frames ...

according to my link in first frame the second frame will changes...


if i click refresh it will refresh the whole page. i want to refresh the current frame only.. what shall i do to refresh Current frame..plz help me ..

Anitha
Hai ,

i m new to the Log4j i m using PropertyConfigurator to get the content of the .property file.

how did i get the .Xml file which is a property file.if i specify property in xml file ,how can i read that in java file(like property Configurator)

pls help me.

Thanks in Advance.
i m very new to log4j. what is the use of setting levels in log4j.
debug,warn,info.what is the difference between this.

plz help me to know this thiongs