Joseph Bashir

Ranch Hand
+ Follow
since Jun 16, 2004
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 Joseph Bashir

Hi,

I have made a portlet for sending comments/suggestions to a certain email address using JavaMail API. But when I submit the form I get the exception:

I have tested the host and IP using telnet and its connected. This java program works fine when run from a local machine. The problem occurs only when the portlet is deployed on live server. Please guide. Its urgent.

Regards,

Joseph
13 years ago
I have a website running on oracle portal. I want to migrate all those contents (applications/portlets) to weblogic portal. I dont know where to start from. Can somebody please guide me and give me some tutorials for this.

Thanks

Joseph
13 years ago
I have a website running on oracle portal. I want to migrate all those contents (applications/portlets) to weblogic portal. I dont know where to start from. Can somebody please guide me and give me some tutorials for this.

Thanks

Joseph
13 years ago
This post is regarding OpenCMS 7:

In normal contents position of DirectEdit button on browser is by default on right hand side. I want to change the location of this (Direct Edit) button on left side, or whatever position I want. I have been trying to do it for last few days but there is not success. Can someone please guide me how can I accomplish this. Thanks.

JBashir

[ August 12, 2008: Message edited by: Joseph Bashir ]
[ August 12, 2008: Message edited by: Joseph Bashir ]
Hi

I have tried a lot but still there is no success. I am still getting req.status = 404. And though I have set response.setContentType("text/xml"); in the servlet, but in the javascript code req.getAllResponseHeaders() shows Content-Type: text/html.

In browser's statusbar I still see this url http://pagead2.googlesyndication.com/. This url is not mentioned in the code anywhere than why is my application being directed to this url. Please help, its very urgent.


Joseph

[ January 05, 2008: Message edited by: Joseph Bashir ]

[ January 05, 2008: Message edited by: Joseph Bashir ]
[ January 05, 2008: Message edited by: Joseph Bashir ]
What is server-relative URL. Can you please suggest where should I make the change in the code?

Joseph
I am making a file upload progress bar using ajax. When I run the application on my local network the file is uploaded showing the progress bar. But when I upload the same application on remote server and test it live, the application does not work. In javascript I get req.status = 404. Another thing, in browser's statusbar I see this url http://pagead2.googlesyndication.com/. I dont know why my application is being directed to this url. Please help.

Here is the full source code.



Here is the servlet:

My website is running on Linux. I want to upload images using java code. Can someone please help me how can I do it? If someone can give me code, I will be thankful to him.

Specially I would like to know:
I have Windows 2000. When I browse the file to upload how does the Linux will read file from this windows path, say D:\images\myimages.jpg and how this image will be uploaded to some folder in my site that's on linux?

Thanks
[ December 14, 2007: Message edited by: Joseph Bashir ]
16 years ago
I have created a directory/folder as:

I want to set permissions for this directory as 777. How can I do that? Please help.
16 years ago
Hi

The below JSP code produces an image from text. I want to take this output to an XSL file. Please guide me how to do it?
16 years ago
JSP
I am builing an auction website using Struts framework. I need to update data in the database and retrieve data from database continously in order to update the satatus of items (i.e., which items have reached the closing date/time, which bidder have won the bid etc...).

I have written a class for this which does the above mentioned job. Each time any page is accessed on my website this class is called first. This result in java.lang.OutOfMemoryError. Below is the detail of this error:


Please help me to resolve this issue.


Joseph Bashir
16 years ago
Hi

My application uses Struts framework. Everytime I compile a java class, or I make changes in struts-config.xml file, I have to restart tomcat to enable java class and struts-config.xml file to show their effect. Is there any way taht I do not have to restart tomcat again and again.

I am using Tomcat 5.0.
16 years ago
I have used Struts framework in my website. Most of the time I have this error:

Can someone please tell me why I am getting this error?
16 years ago
I have uploaded the file via FTP, and also have uploaded it using "Binary" Transfer type, but still there is the same problem. Any idea...

Thanks
16 years ago
I have a .jsp file with method encrypt() to encrypt a string. This method works fine on my computer but when I upload it on the server, it throws this exception:

java.io.StreamCorruptedException

Can someone please help me solve this problem.

Here is the code to encrypt the string:



Thanks for the help.
16 years ago