srinivas.b

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

Recent posts by srinivas.b

Hi all

I would like to install weblogic on oracle enterprise linux. My goal is to work with weblogic portal. can any one please suggest me which one i need to install weblogic platform or weblogic portal.

I selected weblogic portal 10.2 and installed on my system but i am not able to access portal examples.

please suggest me
15 years ago
Hi all,

I would like to learn how to handle log4j. Please suggest me practical oriented material. I am working with struts and hibernate.

Thanks in advance.
[ October 21, 2008: Message edited by: VarnamAiyram ]
Hi all,

I would like to learn how to handle log4j. Please suggest me practical oriented material. I am working with struts and hibernate.

Thanks in advance.
15 years ago
I am unable to add dataFieldName attribute for autocompleter in struts2.0.6
and able to get the attribute in struts2.0.9
was the release having some issues in 2.0.6?
16 years ago
Will that tile applicable for whole package?
I am using different package will this tiles reflect to all packages?

also i saw someware, tiles in struts2 is in beta version isit?
16 years ago
Hi all,

I am trying to integrate tiles in struts2
I have followed the below link
http://struts.apache.org/2.0.11.2/docs/tiles-plugin.html
can any one mention where to include the 3 rd point
i.e.

<result-types>
<result-type name="tiles" class="org.apache.struts2.views.tiles.TilesResult"/>
</result-types>


I mean in struts.xml or else in the include file of struts.xml
if i include the above code in struts.xml I am getting error like
the contents of the element struts must match package.

and also in the Example given i am getting error
cannot find the descrpition for "http://tiles.apache.org/tags-tiles"
which was mentioned in taglib uri.

Thanks in advance.
16 years ago
Hi all,

I have mentioned showDownArrow="false" but even the down arrow was displaying.
I have mentioned in such a way
<s:autocompleter theme="simple" list="user" name="userName" showDownArrow="false"/>

Please help me how to disable the down arrow in autocompleter.
16 years ago
Hi all,

I had a query regarding date data type as in hibernate document it was mentioned hibernate preserve full date and time information by mapping the property with a timestamp converter.

if we want to compare only dates without time stamp how to achive this?
Hi all,

I have a changepassword JSP page wich contains Image.firsttime i am getting the image if i hit the page directly.
once the username and password are entered wrongly i need to show the same JSP page but this time it goes to action and displaying the page but the image is not visible.

first time : I am able to see the image
<html:img src="../images/unet_banner.gif" align="left"/>

once going to action and displaying the same page i am unable to view the image.

Please help me . I will be very thank full.
16 years ago
Hi,

In the below xml file i want to include
<c:Address> for current address and
<pa:Address> for Permanent address
i am unable to create namespace for those
could any one help me how to create those ?

<?xml version="1.0"?>
<!-- This XML Contains New Account details for a bank customer by using Schema -->
<?xml-stylesheet type="text/xml" href="http://siosjrp1/Sample.xsl"?>
<ipo:Transaction Id="100012345"
xmlns:ipo="http://siosjrp1"
xsi:schemaLocation="http://siosjrp1 http://siosjrp1/SampleTransaction1.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>

<Bank Name="HDFC" Id="10002001">
<NewAccount>
<!-- New Account element node -->
<CustomerName>
<FirstName>Mark</FirstName>
<MiddleName/>
<LastName>Shimrock</LastName>
</CustomerName>
<Address>
<Line1/>
<Line2/>
<City>Malvern</City>
<State>Pennsylvania</State>
<Zipcode>19355</Zipcode>
<Country>United States</Country>
</Address>
<!-- <pa:Address xmlns:pa="http://siosjrp1">
<pa:Line1/>
<pa:Line2/>
<pa:City/>
<pa:State/>
<pa:Zipcode/>
<pa:Country/>
</pa:Address>
-->
<EmailId>Mark.Shimrock@unisys.com</EmailId>
<MinBalance>
<![CDATA[ Minimum balance must not be < 1000 ]]>
</MinBalance>
<TypeofAccount>
<?note default is taken as Saving?>
<Saving>2000</Saving>
</TypeofAccount>
<FaxNo><757 9008></FaxNo>
<Phone/>
<MobileNo/>
</NewAccount>
</Bank>
</ipo:Transaction>

schema:
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://siosjrp1"
xmlns="http://siosjrp1"
elementFormDefault="qualified"
attributeFormDefault="qualified"
>
<xs:element name="Transaction">
<xs:annotation>
<xs:documentation>Comment describing your root element</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Bank">
<xs:complexType>
<xs:choice>
<xs:element name="Transfer">
<xs:complexType>
<xs:sequence>
<xs:element name="BankId"/>
<xs:element name="BankName"/>
<xs:element name="CustomerId"/>
<xs:element name="CustomerName"/>
<xs:element name="AccountNO"/>
<xs:element name="Branch"/>
<xs:element name="Amount"/>
<xs:element name="AvilableBalance"/>
<xs:element name="Date"/>
<xs:element name="Charge"/>
</xs:sequence>
<xs:attribute name="type" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="NewAccount">
<xs:complexType>
<xs:sequence>
<xs:element name="CustomerName">
<xs:complexType>
<xs:sequence>
<xs:element name="FirstName"/>
<xs:element name="MiddleName"/>
<xs:element name="LastName"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Address">
<xs:complexType>
<xs:sequence>
<xs:element name="Line1"/>
<xs:element name="Line2"/>
<xs:element name="City"/>
<xs:element name="State"/>
<xs:element name="Zipcode"/>
<xs:element name="Country"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<!--<xs:element name="PermenantAddress">
<xs:complexType>
<xs:sequence>
<xs:element name="Line1"/>
<xs:element name="Line2"/>
<xs:element name="City"/>
<xs:element name="State"/>
<xs:element name="ZipCode"/>
<xs:element name="Counrty"/>
</xs:sequence>
</xs:complexType>
</xs:element>-->
<xs:element name="EmailId"/>
<xs:element name="MinBalance"/>
<xs:element name="TypeofAccount">
<xs:complexType>
<xs:choice>
<xs:element name="Saving"/>
<xs:element name="Current"/>
<xs:element name="Retirement "/>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:element name="FaxNo"/>
<xs:element name="Phone"/>
<xs:element name="MobileNo"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
<xs:attribute name="Id" use="required"/>
<xs:attribute name="Name"/>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="Id" use="required"/>
</xs:complexType>
</xs:element>
</xs:schema>
Hi all,

I am new to ejbs. I finished core java,jsp,servlets,struts and i would like to study ejb3.0. I dont have any idea on ejb technology.
can i start Ejb3.0 directly? what is the best book for it.
Can anyone please suggest me.

Thank you
I assumed in such a way

404 error mean file not found

so obviously for "a page or servlet that cannot be found" will display not_found.html
is there any difference between JSP Documnet and JSP page ?

if they are same then scripting is valid by default.
For manageability purpose,you have been told to add a "count instance variable to a critical JSP document so that a JMX MBean can track how frequent this JSP is being invoked.Which JSP code snippet must you use to declare this instance variable in the JSP Documnet?

a)<jsp eclaration>
int count=0;
<jsp eclaration>

b)<%! int count=0;%>

the right answer is "a" why not "b" ?
Hi all,

I am developing application using swings. I have a thirdparty software called javalauncher. i am able to create exe file. later in my application i used jfreechart to generate graphs.To do that we need to include few jar files.
Now i got a problem to generate execute file.It is saying main not found.

Can anyone help me how to generate executable file or executable jar.

Thank you in advance.

[ UD: gave it a more descriptive title ]
[ April 03, 2008: Message edited by: Ulf Dittmer ]
16 years ago