vishal avad

Ranch Hand
+ Follow
since Nov 29, 2001
Merit badge: grant badges
For More
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 vishal avad

But .....
While Using Dispatcher I found that browser is not aware that which page has been called as it is forwared into server interally. So in case of addition / deletion or some specialised sort of events. Page will get resubmitted when user refresh / reload the page which is undesirable from user perspective.
In case when jsp is submitted to servlet and servlet calling same jsp then in that case there is really no way out.
If anybody ve some workaround to it.Please suggest
Thanks
Vishal Avad
20 years ago
Hi all
I tried 2 call a local ejb with stateless session bean but its giving following error on WEBLOGIC 7.
javax.naming.LinkException: . Root exception is javax.naming.NameNotFoundException: Unable to resolve 'app/ejb/ApprovalFileImport
Bean.jar#ApprovalFileImportBean/local-home' Resolved: 'app/ejb' Unresolved:'ApprovalFileImportBean.jar#ApprovalFileImportBean' ; r
emaining name 'ApprovalFileImportBean.jar#ApprovalFileImportBean/local-home'

Pls help me asap
thanks in advance
vishal
20 years ago
Hi Ani
Constructors r responsible for initialization of a class and not instantiation. So they r bound to get fired when subclass constructor is fired by which the members of the servlet gets initialized but the same instance is used throught.
HIH
Cheers
Vishal
21 years ago
Hi
Best way to store objects is a HttpSession and not cookies as cookies reside on client computers and not trusted also they dont work when disabled.
HIH
Cheers
Vishal
21 years ago
Hi all

I m developing a program to send a mail to many people at a time. But i dont want others to c the email addresses. Thats y i stored all the addrs in bcc of message. Now i want set TO field of email as UNDISCLOSED-RECEPIENT.
This works in outlook express when we left TO as blank and Enter some values in BCC.
Pls help me out
thx in advance
regds
vishal
21 years ago
Hi
Is it possible to create ActivexObject in java.
I tried it with javascript locally it creates the object.
But on server side it gives error
Automation Server can't create an Object
Pls help me out
thx in advance
regds
vishal
21 years ago
Hi
How to read a web page if url is available. What r the classes needed?
The way search engines/web crawlers able to read the web pages.
Is it possible to read the files in a particular directory if url of the directory is known
thx in advance
regds
vishal
21 years ago
hi Randall
If i got your question i would like u to try following solution.

<% if(request.getParameter("name")!=null) { %>
<script language="javascript">
window.location.href="ErrPage.jsp"
</script>
<%
}
%>


OR u can try

<jsp:forward page="ErrPage.jsp" />


instead of javascript. I think after clicking on back button page gets loaded back but from html tag only so try putting the given code inside the body.
HIH
Cheers
vishal
21 years ago
JSP
Hi Smitha
Be sure that update button u r using shouldn't be a of input type="Submit". If it is change it to button also change the name of button other than submit b sure about the code on onclick
HIH
Regards
Vishal
21 years ago
JSP
hi sarim
classpath is needed to put inside the configuration file depending on the server. As u r using tomcat i suppose it has to be entered in tomcat.sh file
HIH
Regards
vishal
21 years ago
JSP
Hi Raja
I m not experienced with sendRedirect concept. I would like to suggest u to use <jsp:forward page:"<pagename>" />.This ll work fine 4 both
HIH
Regards
Vishal
21 years ago
JSP
Hi Vasha
It has to be like that only. Request.getParameter() only works for the page which is written in action of the form.As u r using IFrame that page is a different page u can store the value into session or bean and get it retrieve in the IFrame.
HIH
vishal
21 years ago
JSP
Hi Jim
Thanx It works Fine, Sorry for my repeat post of message in begineer. Actually i m a bit confused with the level of question. It wont happen again
thanx again
vishal
21 years ago
Hi all
Anybody has any idea how to achieve macro substitution in java.
I ve following code. Which works fine in fox pro

abc = "vishal"
xyz = "abc"
wait wind xyz
*it returns window displaying "abc"
wait wind &xyz
*it returns window displaying "vishal"

same thing is also possible in VB
So please let me know how to access a value inside a variable's value.
please reply asap
thx in adv
vishal
21 years ago
Hi all
Anybody has any idea how to achieve macro substitution in java.
I ve following code. Which works fine in fox pro

same thing is also possible in VB
So please let me know how to access a value inside a variable's value.
please reply asap
thx in adv
vishal
21 years ago