venkataramana raju

Greenhorn
+ Follow
since Sep 11, 2005
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
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 venkataramana raju

Hi,

In my project i want to copy some folders to destination folder.

For example:

My folder structure is as shown below
src-
|
- config
- META-INF
- j2ee-apps
- main-
|
-java
-resources

I need to copy config,META-INF,j2ee-apps and some other folder from different location TO build folder.

Thanks
13 years ago

Hi,

1) How to achive sync In MAVEN, as in ANT <sync todir="${basedir}" >...
2) Can we use same plugin twice in single pom.xml,
I mean two times "maven-resources-plugin" in same pom.xml

Thanks
13 years ago
Hi all,

i am very new to Struts 2, i am using "optiontransferselect" tag.

1) How can i validate doubleList(right side selected list should not be empty) in javascript ?
2) How can i get doubleList in action class?

Code which is in my jsp is :-
<s:optiontransferselect id="listOfObjects" name="listOfObjects" list="myMap" doubleId="selectedObjects" doubleName="selectedObjects" doubleList="" allowUpDownOnLeft="false" allowSelectAll="false" allowUpDownOnRight="false" />

Thanks, in advance...
14 years ago
Hi All,


Is weblogic 9.2 supports EJB3 ? if yes, then which jar contains classes related to ejb3 ?

if no , then in weblogic 10.3 which jar contains classes related to ejb3 ?


Thanks
For your help

Venkataramana
14 years ago
=======================================================================
Are you saying that the text in the adressbar is some thing like

javascript:alert(123);
=======================================================================
Yes Yes i mean it Eric.
what could be the problem?

Thanks for reply
hi,

problem: Java script is displaying in address bar with out submiting
the page. i mean java script function is displaying in URL by replacing
everything which is in address bar.

script files are placed at proper place only..

what could be the problem ?

Help me please...

Thanks
Hi all,

I know it's not new question.
but i am not able to find out answer.

so can you please anybody tell me how to debug JSP/Web application
Using Eclipse 3.2 on weblogic 8.1 server.

and i need a plugin so that i can just unzip it in my plugins folder
of Eclipse and some settings if necessary.

Thanks in advance
as i told u i sloved this problem

Actualy problem is with xmlns namespace
this namespace already spicifeid as "http://www.w3.org/2001/XMLSchema"

so we just need to spicify in our xml file like below

<mapping xmlns:xmlns1="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:adlcp="http://www.adlnet.org/xsd/adlcp_rootv1p2"
xmlns:imsss="http://www.imsglobal.org/xsd/imsss"
xmlns:adlnav="http://www.adlnet.org/xsd/adlnav_v1p3">

Thats it Problem is solved
Hi All
Even Our JavaRanch people doesn't help me then,
it is better to change from castor to other Xml Binding Technologies.
Becoz as a open source castor there own website is down .
and i mailed so many castor forums but i dnt get any reply
But i will try to solve this problem for some more days
so that i may find solution and in future i can help others

Thanks
venkataramana
Hi David O'Meara

First of all thanks for reply
and sorry for the (URGENT) word in subject


I am using castor.0.9.5.2.jar for xml binding
and i am getting problem while

mapping.loadMapping( "mappingFilePath" );
Below lines are my Mapping.xml :-

<?xml version="1.0"?>
<!DOCTYPE mapping PUBLIC "-//EXOLAB/Castor Object Mapping DTD Version 1.0//EN" "mapping.dtd" >

<mapping>
<class name="com.hcl.scorm.mappingbeans.manifest.Manifest">
<map-to xml="manifest"/>

<field name="Identifier"
type="java.lang.String">
<bind-xml name="identifier" node="attribute"/>
</field>

<field name="Xmlns"
type="java.lang.String">
<bind-xml name="xmlns" node="attribute"/>
</field>

<field name="Xsi"
type="java.lang.String">
<bind-xml name="xmlns:xsi" node="attribute"/>
</field>

<field name="Adlcp"
type="java.lang.String">
<bind-xml name="xmlns:adlcp" node="attribute"/>
</field>

<field name="Imsss"
type="java.lang.String">
<bind-xml name="xmlns:imsss" node="attribute"/>
</field>

<field name="Adlseq"
type="java.lang.String">
<bind-xml name="xmlns:adlseq" node="attribute"/>
</field>
<field name="Adlnav"
type="java.lang.String">
<bind-xml name="xmlns:adlnav" node="attribute"/>
</field>

<field name="SchemaLocation"
type="java.lang.String">
<bind-xml name="xsi:schemaLocation" node="attribute"/>
</field>


<field name="Metadata"
type="com.hcl.scorm.mappingbeans.manifest.metadata.MetaData">
<bind-xml name="metadata"/>
</field>

<field name="Organizations"
type="com.hcl.scorm.mappingbeans.manifest.organizations.Organizations">
<bind-xml name="organizations"/>
</field>
<field name="Resources"
type="com.hcl.scorm.mappingbeans.manifest.resources.Resources">
<bind-xml name="resources"/>
</field>


</class>


..............
................
</mapping>

Thanks
venkataramana
Hi All,

1)Please tell me the cause of this problem.

2)how to solve this problem?

i am getting this problem while loading mapping.xml

Error is
there rg.exolab.castor.mapping.MappingException:
Nested error: org.xml.sax.SAXException: The namespace associated with the prefix: xmlns is null.
org.xml.sax.SAXException: The namespace associated
with the prefix: xmlns is null.
at
org.exolab.castor.xml.UnmarshalHandler.resolveNamespace(UnmarshalHandler.java:2751)
at
org.exolab.castor.xml.UnmarshalHandler.processAttribute(UnmarshalHandler.java:2512)
at
org.exolab.castor.xml.UnmarshalHandler.processAttributes(UnmarshalHandler.java:2218)
at org.exolab.castor.xml.UnmarshalHandler.startElement(UnmarshalHandler.java:1922)
at
org.exolab.castor.xml.UnmarshalHandler.startElement(UnmarshalHandler.java:1149)
at
org.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1376)
at
org.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidator.java:1284)
at
org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanner.java:1806) at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1182)
at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
at
org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
at
org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:291)
at
org.exolab.castor.mapping.Mapping.loadMappingInternal(Mapping.java:296) at
org.exolab.castor.mapping.Mapping.loadMappingInternal(Mapping.java:269)
at
org.exolab.castor.mapping.Mapping.loadMapping(Mapping.java:222)
at
com.hcl.scorm.mappingbeans.manifest.organizations.sequencing.TestSeq.main(TestSeq.java:124)

if u want i can send my mapping.xml also.

its urgent so plz help me.

thanks in advance
venkataramana
[ June 02, 2006: Message edited by: Bear Bibeault ]
Hi,
we are using castor-0.9.2.jar,castor-0.9.2-xml.jar versions
for xml binding.
we are able to marshel javabeans to xml.
but while unmarsahling that XML file we are facing problem.
at <adlcp:location> tag.
data in XML file is like below :---

<metadata>
<schema>ADL SCORM</schema>
<adlcp:location>imsmanifestlom.xml</adlcp:location>
</metadata>


and error is below :----

org.xml.sax.SAXException: unable to find FieldDescriptor for 'location' in ClassDescriptor of com.scorm.mappingbeans.manifest.metadata.Meta-data{file: ; line: 12; column: 25}


how to solve this ...
plz help me
thanks in advance.
[ June 02, 2006: Message edited by: Bear Bibeault ]
hi ,
i find out way

ByteArrayInputStream byteArrayInputStream = sysObj.getContent();
String outStr=byteArrayInputStream.toString();

File newFile=new File("somefilname");
FileOutputStream fos = new FileOutputStream(newFile);
int data;
while((data=byteArrayInputStream.read())!=-1)
{
char ch = (char)data;
fos.write(ch);
}
fos.flush();
fos.close();

thanks
17 years ago
hi,

i got data as a Object of ByateArrayInputstream
how can i write in to a file

thanks in advance
17 years ago
Hi ranchers,

we are facing some problems while generating XML file using some XSDS

we have some SCORM complaint XSDs.
we have to generate SCORM complaint imsmanifest.xml file which should
be valid with that XSDs.
i mean output xml should be valid with all the XSDs at the end.

now i am trying to use XMLBEANS for this task.
but i am new to this XMLBEANS,

can you suggest me best strategy, if there is any way.

if possible sample code also .please.............