Reply

Reply

View Answers

August 29, 2008 at 5:30 PM

Hi Ragini,


If you save code "admin_home.html" then this code works not properly.
beacuse file name with .html extension static page.



<%
String jspPath = application.getRealPath(request.getServletPath());
java.io.File jspFile = new java.io.File(jspPath);
java.util.Date lastModified = new java.util.Date(jspFile.lastModified());
java.text.SimpleDateFormat fmt = new java.text.SimpleDateFormat("MMM dd, yyyy, K:mm a (zz)");
out.println(fmt.format(lastModified));
%>

The code between scriplets <% %> are servertside.You save the file name
with "admin_home.jsp".

For any more problem give details and visit the link...

http://www.roseindia.net/jsp/

Thanks









Related Tutorials/Questions & Answers:
reply to the mail
reply to the mail  Hi! which jar file needed to be added? Thanks   Question not clearADS_TO_REPLACE_1
reply must
reply must  is it critical to do a software job based on games(java) i know core java & advanced java basics only please give me answer
Advertisements
reply
ModuleNotFoundError: No module named 'reply'
ModuleNotFoundError: No module named 'reply'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'reply' How to remove the ModuleNotFoundError: No module named 'reply'
Reply Me - Java Beginners
Reply Me  Hi, This is not correct url please send me again coorect url
Reply me - Java Beginners
Reply me  Hi,   Hi Ragini please specify main problem. where are problem in your code. Thanks
reply - Java Beginners
reply  Hi friends I have a 255 fields i want to insert data in the table please let me know how to insert data in the database please reply me its very urgent
Reply me - Java Beginners
Reply me  Hi Friends, Quest:- Tell em what is the difference between java and php, dotnet Quest:- what is the similar point of php and java... Please tell me its very urgent
Reply me soon.........
Reply me soon.........  Any body plzz help.....how to get d checked details from previous page to current page and den insert into table
Reply Me - Java Beginners
Reply Me  Hi,.. I have a some fields in one form like security and some more fields this fields maintain the table if user click security... question then reply me
Reply Me - Java Beginners
Reply Me  Hi All, I want to using query string in my page please write the query string in java script and send me and I have a some link...=13c222b87273340cf002bfba4ab9d045. please reply me fast its urgent
Reply me - Java Beginners
Reply me  If u r not understood my just posted question plz let me know  Hi Ragini, Please specify your requirements in detail. It would be good for me to provide you the solution if problem is clear. And also
Reply Me - Struts
Reply Me  Hi Friends, Please write the code using form element...because i got error in textbox null value  Hi Soniya Would you please explain, in which technology are you creating page? I promise
reply me - Java Beginners
reply me  Hi, user enter vend_id in text box ten open the addform.jsp In the addform.jsp have two button Update and delete addform.jsp is display with fetching data in all text box I m sending code before 5
Reply me - Java Beginners
Reply me  Hi, There are one form product_master these fields are prod_id,prod_name,prod_opstock,prod_excise,prod_vat,reorder_level,reorder_qty,vendor_name All fields are input manualy but i want this vendor_name take
Reply Me - Struts
Reply Me  Hi Friends, I am new in struts please help me How to arrange the folder using oracle 10g database where store web.xml file,jsp file,connection file....etc please let me know its very urgent  
Reply - JSP-Servlet
... Thanks for your fast reply.. Thanks/Regards, R.Ragavendran..  
Reply Me - Java Beginners
Reply Me  Hi Amardeep I am sending database table name,code and db file please insert this data in this table its very urgent.... My project deadline is very near this code i am using then i got the some error
Reply me - Java Beginners
Reply me   Hi, I am using this code for session but i am calling admin_home1.jsp then page is going on the admin_home1.jsp but this data will be not displaying, and i am calling with .html extention means admin_home1.html
PLease reply its urgent
PLease reply its urgent   Write a java function that has the signature ΓΆβ?¬Ε?Public static int clock Inter sections(int hours, int minutes)ΓΆβ?¬Β? That takes a number of hours and minutes (up to several days), and returns
Reply Me - Java Beginners
Reply Me  Hi, Please Help Me using jsp technologies I have a form click the link and open the popup window main page have already a html table with text box These fields are popup window I have a form thise fields
Reply Me - Java Beginners
Reply Me  Hi deepak, your sending web application is good (alphabetical searching dropdown menu) Steps:- 1:-searching is good 2:- user click inser vtton then open the pop-up windows this is write 3
hi plzz reply
hi plzz reply  in our program of Java where we r using the concept of abstraction Plz reply i m trying to learn java ...   means in language of coding we r not using abstraction this will be used only for making ideas
Reply me - Java Beginners
Reply me  HI I m sending structure of table vend_id,vend_name,vend_address,vend_mobile,vend_panno,vend_phone,vend_creditday,vend_tinno this is the table and i want searchning table field using name and display wole
Reply Me - Java Beginners
Reply Me  Hi, Details structure Using jsp code I m sending table structure and again sending our problem Steps:- 1:-If user input in name text box like a,then display record related to a not b and c(means
Reply Me - Java Beginners
Reply Me   Hi I am sending some code please check it and solve this code is only insert into the data base please insert data in the database table and reply me fast...I got two error 1 is catch is without try 2 is try
Reply Me - Java Beginners
Reply Me  Hi, I m working in jsp please any information provide the jsp code.not servlet or any other. I m writing a problem clearly . basically i want to search data(not whole data) from database and display, only
Reply me - Java Beginners
Reply me  Hi, this code is .java file but i am working in jsp tchnologies and i wantr this if user input a in text box the table have no record in related to a then message will be displayed record was not found
Reply Me - Java Beginners
Reply Me  Hi, For table I have a two table first is sales transaction and second is sales_line sales_transaction fields are comp_id,vend_id,invoice_no,invoice_date,lpono,lpo_date,purcase_order_no,country_of_origin
Reply Me - Java Beginners
Reply Me  Hi Rajnikant, I know MVC Architecture but how can use this i don't know... please tell me what is the use of this ....and also solve my previous problem.... Thanks   Hello Ragini MVC
Version of com.klinkerapps>wearable-reply dependency
List of Version of com.klinkerapps>wearable-reply dependency
Reply - Java Beginners
Reply  Hi amardeep Thanks for reply i know my code is very large....i am sending database table file please chk sequence and let me know USERCODE NUMBER(10) POSTDATE DATE FORMID VARCHAR2(20) LOCATIONID VARCHAR2(20
Java Program(Please reply asap)
Java Program(Please reply asap)  Find out the ways in which numbers can be added to get the same result Example:- 10 1+9=10 1+2+3+4=10 1+9=10
Reply to ur mail(Hibernate Error)
Reply to ur mail(Hibernate Error)  Hi! Im using Eclipse. Steps : 1. Downloaded the example code and library from rose india and extracted the content in a directory. 2. Downloaded file contains the Eclipse project. 3. Started
Reply to the mail(import files error)
Reply to the mail(import files error)  Hi Its already there in the bin. If its class path should be set , how can i do dat?   Hi, Wait for 20 minutes. I will send you link to download new project file.ADS_TO_REPLACE_1
Reply to the mail(import files error)
Reply to the mail(import files error)  Hi! Thank you. That error has gone and i have worked out an example, but its giving a null pointer exception as org.hibernate.MappingException: Error reading resource: contact.hbm.xml
ModuleNotFoundError: No module named 'py-email_reply_parser'
ModuleNotFoundError: No module named 'py-email_reply_parser'  Hi...: No module named 'py-email_reply_parser' How to remove the ModuleNotFoundError: No module named 'py-email_reply_parser' error? Thanks   Hi
ModuleNotFoundError: No module named 'pywe-message-reply'
ModuleNotFoundError: No module named 'pywe-message-reply'  Hi, My... named 'pywe-message-reply' How to remove the ModuleNotFoundError: No module named 'pywe-message-reply' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'wagtail-contact-reply'
ModuleNotFoundError: No module named 'wagtail-contact-reply'  Hi...: No module named 'wagtail-contact-reply' How to remove the ModuleNotFoundError: No module named 'wagtail-contact-reply' error? Thanks   Hi
ModuleNotFoundError: No module named 'email_reply_parser'
ModuleNotFoundError: No module named 'email_reply_parser'  Hi, My... named 'email_reply_parser' How to remove the ModuleNotFoundError: No module named 'email_reply_parser' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'gs_reply_bot'
ModuleNotFoundError: No module named 'gs_reply_bot'  Hi, My Python... 'gs_reply_bot' How to remove the ModuleNotFoundError: No module named 'gs_reply_bot' error? Thanks   Hi, In your python
goto statement problem. reply fast.
goto statement problem. reply fast.  I have done some operation, and want to repeat same operation again at users choice. but its not working properly. I am using goto statement. void main() { float rs, p; char z
Maven Dependency wearable-reply >> 1.0.0
You should include the dependency code given in this page to add Maven Dependency of com.klinkerapps >> wearable-reply version1.0.0 in your project
hi see and give me reply as soon as possible
hi see and give me reply as soon as possible  Hi Friend, I got path,but it will again ask path error first i was gave index.jsp.It... be send reply soon. Thanks & Regards, N.Ramesh
Plz chk it and reply again - Java Beginners
Plz chk it and reply again  Hi Deepak, Thanks for fast reply,your application is good,u write this code for user click the view database... fast reply.  Hi Ragini, Please specify your requirements
Reply - Struts
Reply - Struts
Reply - Struts
Maven Repository/Dependency: com.klinkerapps | wearable-reply
Maven Repository/Dependency of Group ID com.klinkerapps and Artifact ID wearable-reply. Latest version of com.klinkerapps:wearable-reply dependencies. # Version Release Date You can read
Plz Plz reply Me - JSP-Servlet
Plz Plz reply Me  Respected Sir/madam, I am R.Ragavendran.. Actually I got your coding.. But This code is not enabling the user to click and change the image.. I request you to remember the code which you have provided for me

Ads