siraj baig

Ranch Hand
+ Follow
since Jul 11, 2006
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 siraj baig

Hi,

I am creating a file object
File file = new File("http://localhost:8080/Myapp/downloadFiles/somefile.txt");

when i run this application i am getting:
java.io.FileNotFoundException: http:\localhost:8080\Myapp\downloadFiles\somefile.txt

Here double slash is converting to single slash. [ http://localhost is converting to http:\localhost ]

i tried in many ways of regular expression.



please let me know the solution.


thanks,
siraj.
11 years ago
Hi jsf professionals,

waiting for your reply
12 years ago
JSF
Hi,

i am getting struck with rich listshuttle with list of beans. If i use list of strings it's fine.
please check the code.




When i call submit button on the page it's[eclipse] giving me warning message and not calling bean action method.
And in my action method i am calling target list.

sourceId=createworkflowform:myListShuttle[severity=(ERROR 2), summary=("Component createworkflowform:myListShuttle has invalid value expression com.test.workflow.TaskBean@40627c"), detail=("Component createworkflowform:myListShuttle has invalid value expression com.test.workflow.TaskBean@40627c")]


Please tell me how to do with List of Beans

thanks
siraj.
12 years ago
JSF
Hi,

I have to read word template files and generate word doc files by filling information from database
I searched and found some api's like: Apache POI, WordProcessing, IText, JACOB
Can you suggests me the suitable and best one, if possible if any one has done some example.




thanks,
siraj.
12 years ago
Hi,

Yes, there is no significance of application name, but i would like to know can we do this way also



siraj
12 years ago
Hi,
If i want my app with the same name "SampleWebApp" Instead of ROOT, How can i achieve this





siraj
12 years ago
Hi,

I have changed my app name to ROOT and accessed with http://localhost:8080/
But it's displaying me Tomcat Admin page.



siraj
12 years ago
Hi,
I have developed a web application : "SampleWebApp"
To Access i will give : http://localhost:8080/SampleWebApp
But i want to access my application with out providing application name, as http://localhost:8080/


Please tell me, how can i configure in my web.xml




thanks,
siraj.





12 years ago
Hi James,

Thanks For Your Reply.
I have provided the below line in my wsdd

<beanMapping qname="ns:InfoBean" xmlns:ns="InfoBean" languageSpecificType="java:com.Info" />


It's working fine.


Thanks
siraj.
12 years ago
Hi All,

I am developing web service application using axis.
i have two files to deploy my webservice
1. service class
which has 2 methods. One returns String and second returns My Own Bean
2. wsdd file



Here how can i provide <operation> tag for getUserInfo() method of user defined class


Thanks
siraj.

12 years ago
Hi,

I have to develope Application with these Technologies

jsf
facelets
tomcat
myfaces
eclipse

please suggest me which technologies jsf 1.1 supports.
And which jsf 1.2.


thanks
siraj.
12 years ago
JSF
Hi,
I am using apachi cxf to implement web services.
I would like to know how the userid and password values enter by user
will set to " UsernameToken "
Please let me know the flow or please provide me a brief documentation

[ code ]

<bean id="saajInInterceptor" class="org.apache.cxf.binding.soap.saaj.SAAJInInterceptor" abstract="true"/>
<bean id="wss4jInInterceptor" class="org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor" abstract="true">
<constructor-arg>
<map>
<entry key="action" value="UsernameToken"/>
<entry key="passwordType" value="PasswordText"/>
<entry key="passwordCallbackClass" value="com.bipt.tiva.ws.ServerPasswordCallback"/>
</map>
</constructor-arg>
</bean>

[/ code ]

Thanks
siraj.
12 years ago
Hi,
I have a file in my web applicatoin.
I am taking it's url to read that file.
StringBuffer sb = request.getRequestURL();
I am reading the using: FileOutputStream(sb)

But here i am getting only single slash(/) in my url
http:/localhost:8080/test/file/
how can i replace double slash in http:/

Thanks
siRaj
12 years ago