srivatsan srinivasan

Greenhorn
+ Follow
since Jun 08, 2001
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 srivatsan srinivasan

Hi all,
I am getting the same exception in one of my application. Can anyone help me to solve this.
I am using weblogic connection pool to access an oracle database. The same connection pool is used by 2 apps. One app works fine without any error, but in the other one i am getting this exception.
The worst part of this is, everything seems to be fine in Win NT and not in Solaris.
18 years ago
hi r u using requestdispatcher or jsp:forward in your code
can u post the code
18 years ago
hi kajal,
glad to hear that you have deceide to do project in java.going downslide and upslide is common in software industry.i would suggest you to not to go for web enabled projects,go for application project in the wireless side using java,ejb.wireless is going to be the hot technology for the coming three years and most of the major companies are in process of opening a wirless division.infosys,cts,satyam are in the run and also Air2web usa the one of the leading company in wireless market has opened it's office in india.
srivatsan
hi
set your classpath to weblogic.jar and weblogic_sp.jar which is in lib folder of weblogic
srivatsan
hi sergei,
sorry for the intrruption.this is my opinion about weblogic.
1) weblogic is a pure java based application server.and also it is the best j2ee server accepted by the world and also most of the companies go for weblogic.
2) weblogic server has the highest load balencing capability and it's cluster envirnment is the best known thwn other servers.
3) weblogic6.0 also requires evrything to be configured in xml file and also it supports hot and auto deployment.
4) it has inbuilt graphical load and stress test capability.
and also our company mobile platform is deployed in weblogic server which is accessed by thousands of customer everyday.
i have not worked with orion server,but if u can tell any advantages of it over welcome,it would be great.

srivatsan
hi dave,
assume your xml is stored in a string called str
String str=your xml
in your jsp file write
session.putValue("xmlvalue",str);
in your servlet write the following code
HttpSession session=req.getSession();
String str1=(String)session.getValue("xmlvalue");
This may work for you.
if u have any doubt please fell free to ask
srivatsan
18 years ago
hi dave,
yes dopost method has some limits and u cannot configure it in ur properties.what u do is put your xml file in session,dont pass it as a query string.again get it in the servlet usaing session.getValue().i think this may solve your problem.
srivatsan
18 years ago
hi prathiba,
you can start with weblogic server,starting with it may be little bit difficult but once u r through it will be very easy.you can get the documents in http://edocs.bea.com/
srivatsan
hi all,
i am facing a problem with my xsl,This is my first example using formatting objects.when i run the following in the browser i get empty response,can anyone help me in solving the problem,
this is my xml file
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="srivat.xsl"?>
<greeting>
Hello from srivatsan
</greeting>
this is my xsl file
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl" xmlns:fo="http://www.w3.org/TR/WD-xsl/FO"
result-ns="fo">
<xsl:template match="greeting">
<fo:block color="red" font-size="16pt">
<process-children/>
</fo:block>
</xsl:template>
</xsl:stylesheet>
Thanks in advance,
srivatsan
hi friend,
you have to just specift this line in the deploymnetdescriptor and the rest is taken care by the container.
maxBeansInFreePool 100
i am here setting the maxmium number of bean in the pool to 100.
srivatsan
18 years ago
hi friend,
you can find weblogic tutorials at the weblogic site itself,
the link for that is http://edocs.bea.com/.I think it will be a great help for you.
srivatsan
18 years ago
hi friend
in order to know the changes in a combo box if a value is selected,i think the only alternative can be javascript.so without javascript i am not able to get through it.if u get a better alternative please suggest me.
thank you
srivatsan
18 years ago
hi map,
Thanks it is working fine.i just changed the text/xml to text/xsl.thank u for ur timely help and also sending me the faq which is of great help.
srivatsan
hi all,
i am new to the world of xsl.i tried my first example and couldn't get the ouput.if i apply the stylesheet it is showing the xml itself and not the output after the stylesheet is applied i am sending the program also which i downloaded from a website anyone please help me to get out of this
<?xml version="1.0"?>
<?xml-stylesheet type="text/xml" href="srivat.xsl"?>
<PERIODIC_TABLE>
<ATOM STATE="GAS">
<NAME>Hydrogen</NAME>
<SYMBOL>H</SYMBOL>
<ATOMIC_NUMBER>1</ATOMIC_NUMBER>
<ATOMIC_WEIGHT>1.00794</ATOMIC_WEIGHT>
<BOILING_POINT UNITS="Kelvin">20.28</BOILING_POINT>
<MELTING_POINT UNITS="Kelvin">13.81</MELTING_POINT>
<DENSITY UNITS="grams/cubic centimeter"><!-- At 300K -->
0.0899
</DENSITY>
</ATOM>
<ATOM STATE="GAS">
<NAME>Helium</NAME>
<SYMBOL>He</SYMBOL>
<ATOMIC_NUMBER>2</ATOMIC_NUMBER>
<ATOMIC_WEIGHT>4.0026</ATOMIC_WEIGHT>
<BOILING_POINT UNITS="Kelvin">4.216</BOILING_POINT>
<MELTING_POINT UNITS="Kelvin">0.95</MELTING_POINT>
<DENSITY UNITS="grams/cubic centimeter"><!-- At 300K -->
0.1785
</DENSITY>
</ATOM>

</PERIODIC_TABLE>

<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
<xsl:template match="/">
<html>
<xsl:apply-templates/>
</html>
</xsl:template>

<xsl:template match="PERIODIC_TABLE">
<xsl:apply-templates/>
</xsl:template>

<xsl:template match="ATOM">
<P>
<xsl:value-of select="."/>
</P>
</xsl:template>

</xsl:stylesheet>
thanks in advance
srivatsan
hi,
you r passing values in the query string,so the dogetmethod is called by default.inside the doGet method call doPost(req,res)
which will call the dopost method.
18 years ago