ajay halmandge

Greenhorn
+ Follow
since Oct 04, 2005
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 ajay halmandge

I am also facing same problem as Nila dhan,I mean to same scenario of Mr.Nila Dhan....So there no problem verion

Any type of help is kindly appriciated
Thanks in Advance
Yes myself found the solution.

Touch the top level descriptor. Updating the file works as well as it changes the timestamp.

Here are the descriptors for the most common archive types:

.JAR
META-INF/ejb-jar.xml

.WAR
WEB-INF/web.xml

.EAR
META-INF/application.xml

.SAR
META-INF/jboss-service.xml
16 years ago
To turn on servlet reloading, edit Edit install_dir/conf/context.xml and change

<Context>
to
<Context reloadable="true">



for Tomcat 5.X

for Tomcat less then 5.x put

<Context path="" docBase="ROOT" debug="0"/>
<DefaultContext reloadable="true"/>

in server.xml


There is a possibility to restart only webappl without restarting the sever, it could be a solution.


1. go and change ur tomcat-users.xml and add a user with such a line

<user name="yourname" password="yourpassword" roles="manager" />

2. restart ur tomcat.

3. in ur web browser, type http://localhost:8080/manager/list (or whatever port u r using)

4. log in with the password and name, u shld see the list of the applications running

5. type http://localhost:8080/manager/stop?path=/myapp to stop that specific app

6. type http://localhost:8080/manager/start?path=/myapp to start that app again.

7. the updated compiled beans or classes should load properly
16 years ago
Ajay Here!!

Offcourse you get the above three errors ....but can be rectified by following steps...

1----->Set up proper classpath up to /jboss/.../WEB-INF/classes/
2----->There should be package (Single file can not be used...i mean it may be depend on version but in case it worked so)

<jsp:useBean id="objWash" class="test.mysql_bean" scope="page" />

Here test is the package ( i mean a directory in /WEB-INF)classes ,that contains the package classes(here mysql_bean.class) )

Thats it!!!
Good Luck!!!
16 years ago
JSP
Hello Srini!!
Here is my post!!!
-----
response.setContentType("application/vnd.ms-excel");
response.setHeader("Content-Disposition","attachment;filename=\"" + date_num + "\"");
.....
here date_num variable is for name of file in terms of date string.

I am working with Mysql,jsp,excel,linux.The above code line works pefectly.And i am able to see the data in Excel sheet. But the problem is that ,The excel file is opening in the name like http://www.localhost/21.jsp?list=20051002?list=

When user wants to save the excel file,default will be (html*,htm*)...But the requirement is to save in .xls extension (Note: user should not go on to edit filename while saving it)

Point: I am not downloading the file from server, infact it is generated dynamically .... And displaying in the excel.

One more thing : I want to open excel file with in the explorer browser
any Idea. I have tried by replacing attachment with inline...but didnt work.

Help Me!!!

Thanks in Advance
16 years ago
I posted since two days no reply ....If you want detail ...i will provide further more...
Thanks in Advance
16 years ago
-----
response.setContentType("application/vnd.ms-excel");
response.setHeader("Content-Disposition","attachment;filename=\"" + date_num + "\"");
.....
here date_num variable is for name of file in terms of date string.

I am working with Mysql,jsp,excel,linux.The above code line works pefectly.And i am able to see the data in Excel sheet. But the problem is that ,The excel file is opening in the name like http://www.localhost/21.jsp?list=20051002?list=

When user wants to save the excel file,default will be (html*,htm*)...But the requirement is to save in .xls extension (Note: user should not go on to edit filename while saving it)

Point: I am not downloading the file from server, infact it is generated dynamically .... And displaying in the excel.

One more thing : I want to open excel file with in the explorer browser
any Idea. I have tried by replacing attachment with inline...but didnt work.

Help Me!!!

Thanks in Advance
16 years ago