Kalaiselvan Selvamani

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

Recent posts by Kalaiselvan Selvamani

Our site would be linked to another e-commerce site but the user would not come to know when he is redirected to the e-commerce site, because the url of the site as well as the look and feel would remain same (css would be provided to the e-commerce vendor). After the transaction is completed the user should return back to our site.

How can we achieve this?
19 years ago
Our site would be linked to another e-commerce site but the user would not come to know when he is redirected to the e-commerce site, because the url of the site as well as the look and feel would remain same (css would be provided to the e-commerce vendor). After the transaction is completed the user should return back to our site.�



How can we achieve this?
19 years ago
Hi ALL,
Am working on Struts stuff, while adding a html:text tag in jsp program, am getting the following error
No getter method for property "userKeyword" of bean org.apache.struts.taglib.html.BEAN
userKeyword is property of html:text. pls advise me.
Thanks
Jowsaki
your form bean must have the set,get method for userKeyword
(ie) your form bean must have

private String _userKeyword;
public void setUserKeyword(String userKeyword){
_userKeyword = userKeyword;
}
public String getUserKeyword(){
return _userKeyworkd;
}
These Methods
May this help you
Thanx
Kalaiselvan.S
21 years ago
Hai All
I want to clear formbean values. But i couldnt able to clear the values. The request values are not cleared.
if (mapping.getAttribute() != null) {
if ("request".equals(mapping.getScope())) {
request.removeAttribute(mapping.getAttribute());
} else {
HttpSession session = request.getSession();
session.removeAttribute(mapping.getAttribute());
}
}
This only cleared the request attribute not request parameter. How can we clear our request parameter values. If get the request.getParameterNames() i got all the values setted before the screen. Before moving to another screen i have to clear all the formbean values.
Thanx in Advance
Kalaiselvan.S
21 years ago
Calendar cal = Calendar.getInstance();
//if you want to move exactly 60days previous
cal.add( Calendar.DATE, -60 );
//or if you want to move 2 month previous
cal.add( Calendar.MONTH, -2 );
21 years ago
Here i need a help in Struts..
I'm Using Struts 1.0.2b
<logic:iterate id="table" type="com.mousetech.strutsdemo.Table"
name="<%=Constants.TABLE%>" scope="request">
<tr>
<td>
<bean:write name="table" property="vector"/>
</td>
</tr>
</logic:iterate>
This iteration return a Vector. I want to handle this Vector. (ie) i want to iterate again.. How it is???
Thanx in Advance
Kalaiselvan.S
22 years ago
Because of my need is,
I have created an entity bean.
Here have did some db process. In this mean time some outside sources updates or deletes some of my table in my DB. But the reflection is not affected in my Entity Bean. That's y i need to know how to destory the entity bean explicitly in my program..
Is there any possibilites. Let me know.
Thanx in Advance
Kalaiselvan
22 years ago
Hii everyone,
I really need to destroy an object end of my program. But i dont know how to destroy a java object..
Editor editor = new Editor();
i want to destroy or kill this editor object end of my program.
How it is possible???
Thanx in Advance,
KalaiSelvan
22 years ago
Hi All,
Now i'm using Tomcat4.0.1 . where i use JDBCRealm for User Authentication.. Which is FORM based..
I have a doubt regarding how to give the successor jsp following the login.jsp. I havent index.jsp in my project instead i have main.jsp.
Now i manage these probelm like
I gave my main.jsp in my welcome-list.
<welcome-file-list>
<welcome-file>main.jsp</welcome-file>
</welcome-file-list>
also i gave my login.jsp in
<login-config>
<auth-method>FORM</auth-method>
<realm-name>Addval Info</realm-name>
<form-login-config>
<form-login-page>/login.jsp</form-login-page>
<form-error-page>/error.jsp</form-error-page>
</form-login-config>
</login-config>
Its working fine when i give the root path like
http://localhost:8080/project1
It will go to login.jsp and ask username and password. If user successfully login they will redirect to main.jsp..
Instead if i give
http://localhost:8080/project1/login.jsp
It will go to login.jsp.. If user successfully login, it will give error like,
Type Status report
MESSAGE : Invalid direct reference to form login page
DESCRIPTION : The request sent by the client was syntactically incorrect (Invalid direct reference to form login page).
Sorry for my poor English...

Thanx in Advance
Kalaiselvan.S
22 years ago
Hii,
If you are using ant 1.4.1 you must set ANT_HOME = D:\jakarta-ant-1.4.1\bootstrap..
One more thing ant.jar and any XML parser likely xercers.jar are in classpath..
ant.jar is in the directory
D:\jakarta-ant-1.4.1\bootstrap\lib
Hope u get Work fine
22 years ago
Thanx for ur reply Mr.Dharmesh Chheda..
I'm going through the book. If i have any doubt i will contact u further ..
Thanx.
Kalaiselvan.S
I created a Entity Bean.
If i update or delete a table through a bean whether that changes will affect all the beans or not.
Also if i hard codedly changes the values in the table.. How the Bean knows the changed are made in table. Is it any possible way to do these...
Hello,

I'm a new one for JMS. When i run the JMS samples in weblogic 6.0..
I got the error like
Exception in thread "main" javax.naming.NameNotFoundException: Unable to resolve weblogic.examples.jms.QueueConnectionFactory Resolved: 'weblogic' Unresolved:'examples' ; remaining name 'jms.QueueConnectionFactory'
at weblogic.rmi.internal.AbstractOutboundRequest.sendReceive(AbstractOutboundRequest.java:90)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:247)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:225)
at weblogic.jndi.internal.ServerNamingNode_WLStub.lookup(ServerNamingNode_WLStub.java:121)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:323)
at javax.naming.InitialContext.lookup(InitialContext.java:350)
at examples.jms.queue.QueueSend.init(QueueSend.java:51)
at examples.jms.queue.QueueSend.main(QueueSend.java:98).
But before i set the JNDI name for that that JMS in Console. where i got the following changes in my config.xml...
<JMSConnectionFactory AllowCloseInOnMessage="false" ClientId="0"
DefaultDeliveryMode="Persistent" DefaultPriority="4"
DefaultTimeToLive="1"
JNDIName="weblogic.examples.jms.QueueConnectionFactory"
MessagesMaximum="10" Name="weblogic.examples.jms.QueueConnectionFactory" OverrunPolicy="KeepNew"/>
<Realm FileRealm="wl_default_file_realm" Name="wl_default_realm"/>

But still i found the same error.. What i should do for next
Thanx in advance
-Kalaiselvan.S
www.kalaiselvan.com
22 years ago
Hello All,,
Anyone know about SVG using JSP. If anyone have experice working with SVG plz help me to config and run in JRUN. Then where i get the books and online help about SVG.
Thanks
Regards
Kalaiselvan.S
22 years ago
JSP
In smartupload we have the option SaveAs with argument frompath and destpath
SaveAs(frompath, destpath) where in destpath we can give our own name to save. :roll:
22 years ago
JSP