Shaik Vali

Greenhorn
+ Follow
since Feb 07, 2008
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Shaik Vali

Hi Raghuraman ,

many thanks for you reply . First of all sorry for the mistake.

Thanks for the motivation. Surely I will step into Chennai. Language or food is not a problem for me

I know little bit of Tamil. I can speak.



Thanks a lot
15 years ago
Hi Guys,

I have some doubts reg relocation

I have 5+ yrs in Java,J2ee technologies , just 2 months back I joined some x company

and relocated to Hyderabad from Bangalore.Now my company is saying that you have to relocate to chenni.

There is no other option for me. So my question is if I relocated to Chenni how it could be , how about the

future opening. I am thinking to put down the papers and try in Bangalore.

So guys please suggest me.



Thanks in Advance
15 years ago
Hi Guys

in of the articles I found

"One of the trickiest parts of running a Java application is knowing what Java class file to invoke (Java applications may consist of hundreds of individual class files). InstallAnywhere has solved the complexity of this issue by allowing you to automatically find the application's Main Classes in the "Choose Main" step. Alternatively you can type in the fully-qualified package name for your main() class"

but in Java Web Application we don't have any main class ,so how we can choose that . Please help me guys.

Thanks
15 years ago
Hi Manoj thanks for reply,

I would like to create installer to support multiple OSes.

How can I split into sub tasks ?

I have gone through docs ,there I found that we need to select main class .I did not understand how to proceed .


Guys please help me.


Thanks a lot,
Shaik Vali.
15 years ago


Hi Guys ,

I have a requirement like I need to create the installer for a very big Java WebApplication.

So that I have created sample web application with Jsp,Struts,Hibernate,Mysql , Weblogic.

I have downloaded InstallAnyWhere Enterprise edition and installed the tool.

If I want to create the installer for WebApplication I need to select main class or complete package name.

I am not getting what I need to select .


Could you please help me out how I can Create the installer for multiple platforms. by using InstallAnyWhere Enterprise Edition ?


Thanks a lot,
Shaik Vali
15 years ago
Hi Bear Bibeault ,

many thanks for reply .

You mena to say that make the servlet to implent SingleThreadModel interface or use Sycronized keyword or Synchronized block

right ..? then only one therad will allowed at a time , how abt other clients/threads. The thread should wait until the completion of previous thread sthen it will

take too much time to give the access to others. If I am wrong please correct me.

Please reply me.

Thanks a lot .
15 years ago
JSP
Hi Guys ,

I have a doubt from long back, if I am wrong please correct me.

# For multiple requests to a servlet ,instead of creating multiple instances webcontainer will create one copy for each request thread,

so each thead will have it's own copy.


# Servlets are not thread-safe , then how they will work in Railway reservation where 100s clients used to access.

# Please give some code regarding this.


Thanks a lot

15 years ago
JSP
Hi Guys Good Morning ,

I am working swings. In my application I have JFrame,JPanels,windows, comboboxes.. etc and application is connected to database

through Hibernate. Now I want to create this application as set file , which I can install in any other windows machine.

Guys please give some tips/code/suggetion to work towards the installation file .


Thanks
15 years ago
This is 100% accurate code .No errors
16 years ago
JSP
Hi Guys Good Morning

I have a requirement to upload files.

upload.jsp:
-------------
<s:file name="image" accept="image/*" theme="simple" id="imageFile" value="%{imageUrl}"/>
<s:file name="icon" accept="image/*" theme="simple" id="iconFile" value="%{iconUrl}"/>

UploadAction.java:
---------------------
File image;
File icon;

and setters and getters. So based on the name I can able upload the files into different directories like icons will be icons folder , images will be into images folder.

Now the requirement is I need to upload a set of images & set of icons not sure the count.


Please help me out how to do this........

Thanks

16 years ago
Hi All,

I have arequirement like

1. in displayAllUsers.jsp I am displaying list of all users with other paramerters like name,age,sex,address. with checkbox in each row.

2. Click checkbox and submit edit button in edit.jsp I can able to edit & update an User Object.

3 if I select more than one checkbox in displayAllUsers.jsp and submit I took the selected keys into arrayList, so based on arrayList through the iterator I am able to display details of
user in edit.jsp.

4. now the problem if I edit & update any of user details I am getting old values only. I have get all edited users details and I need to update through the user object.


could you please help me out how can I do it.


Thanks a lot in advance
ShaikVali.
16 years ago
JSP
Hi.. All ,
I am able to set the image in JEditorPane , I want to save the same image to some other folder which is in JEdiotorPane when click the save button . Please give some suggestion


Thanks
17 years ago
Hi , this may be related to Cache memory
please try the following code in jsp pages

<% response.setHeader("Cache-Control","no-cache");
response.setHeader("Pragma","no-cache");
response.setDateHeader("Expires", 0);
response.setHeader("Cache-Control","no-store"); //HTTP 1.1

%>
All the best
17 years ago
JSP
Hi every body ,

I need a regular expression which should not allow the special characters in a given String and throw some message , please help me


Thanks
17 years ago
Hi Good Mornig,

I am using Acegi security frame work with Struts2.0 in my project to authenticate the user. I need to do same thing with Action class , how can I have the Acegi security frame work in the Action class to do the authentication, please give some solution

Thanks
17 years ago
JSP