Is there any class in java named State .and also HTML tag
while reading a code of Servlet
I came across a class called State in the code which is added in the Vector
vector.addElement(new State("instating"));
I have never heared of this class.
and also in the same code I came across This 2 tag's of HTML
out.println("<META HTTP-EQUIV=\"Pragma\" CONTENT=\"no-cache\">");
out.println("<a href=\"/lifecycle/servlet/freak\">Reload</a></p>");
please if any one can explain me this tags as I don't know HTML.
Thank for Gussing actually there is a method in the application which take String as a parameter.name of the method is createState(String message) .I thik they have written wrong code by adding State ("string")
in the book .the book is from the WROX press the name of the book is
Java server programming J2EE edition but so far there was'nt any mistake in the book.
any what about those HTML tag.
Similar Messages
-
I there any dependcy between Java Enterprise Edition and Java standard Edit
Hi Friends,
Is J2EE 1.4 uses Java SDK 1.4 or 1.5.Please reply as earlier as possible.It is urgent
Thanks
ByeEach version of the Java EE platform must be able to run on the associated version of the Java SE platform. So, J2EE 1.4 must be able to run on J2SE 1.4 , Java EE 5 must be able to run on Java SE 5, etc. Note that this doesn't mean a particular implementation of Java EE can't be run with a more recent version of the JDK. For example, the J2EE 1.4 SDK can be run with J2SE 1.4 or Java SE 5. The key is that both the implementation of the Java EE platform and the applications written to that particular release of the platform must write to the corresponding Java SE version API. In other words, neither a J2EE 1.4 implementation nor a J2EE 1.4 application should make use of an API that was added in Java SE 5.
--ken -
Is there any class to get the head, title, anchors of any page?
hi, i am study at computer science and i have a senior project that is related to Focused Crawler.
1 ) So, i have an issue. I have to get head,title,metas, anchors of any page. But, i don't want to recode it, may be there any classes that performs my willings. For example:
URL a = new URL(....)
string1 = a.getHeadComponent();
string2 = a.getTitleComponent();
string3 = a.getMetas();
string4 = a.getAnchors();
As i written above, is there any code to get these components without extra codding?
2 ) Is it possible to modulate download speed while downloading a page by using URL class of java?
Thanks for responses.fuatsungur wrote:
hi, i am study at computer science and i have a senior project that is related to Focused Crawler.
1 ) So, i have an issue. I have to get head,title,metas, anchors of any page. But, i don't want to recode it, may be there any classes that performs my willings. For example:
URL a = new URL(....)
string1 = a.getHeadComponent();
string2 = a.getTitleComponent();
string3 = a.getMetas();
string4 = a.getAnchors();
As i written above, is there any code to get these components without extra codding? No.
You have to open a connection. Get the input stream. Read the input stream. Parse the content.
There are HTML parsers out there.
>
2 ) Is it possible to modulate download speed while downloading a page by using URL class of java?
By using URLConnection? No.
If you use raw sockets then increase speed maybe. But "modulate" not really either way. -
Is there any class similar as cl_GUi_alv_grid for normal report
we have a requirement to put one report some part of in the screen.
so we know there is class on which we can display ALV
i.e "cl_GUi_alv_grid".in the same way is there any class in which we can use as a normal report.
right now i have an idea of keeping a container on the screen and i want some class whcih can handle as normal report.
please help. this is very urgent.
Thanks & Regards
Anil Kumar KEND_OF_LIST will trigger at the end of list only. but to see the o/p u have to pass print parameters into set_table_for firstdisplay.
DATA: lt_lvcfieldcat type lvc_t_fcat,
ls_lvcfieldcat type lvc_s_fcat,
LS_PRINT TYPE LVC_S_PRNT.
CLASS LCL_EVENT_RECEIVER DEFINITION.
PUBLIC SECTION.
METHODS HANDLE_TOP_OF_PAGE
FOR EVENT PRINT_TOP_OF_PAGE OF CL_GUI_ALV_GRID.
METHODS HANDLE_END_OF_LIST
FOR EVENT PRINT_END_OF_LIST OF CL_GUI_ALV_GRID.
ENDCLASS. "cl_event_receiver DEFINITION
CLASS CL_EVENT_RECEIVER IMPLEMENTATION
CLASS LCL_EVENT_RECEIVER IMPLEMENTATION.
METHOD HANDLE_TOP_OF_PAGE.
perform top_of_page.
ENDMETHOD . "handle_top_of_page
METHOD HANDLE_END_OF_LIST .
PERFORM END_OF_LIST.
ENDMETHOD . "handle_end_of_list
ENDCLASS . "cl_event_receiver IMPL
*& Form TOP_OF_PAGE
text
FORM TOP_OF_PAGE.
DATA: V_HEAD LIKE YBUYOFFQA_QDMST-QA_DESC.
SKIP 1.
SELECT SINGLE QA_DESC FROM YBUYOFFQA_QDMST INTO V_HEAD
WHERE QUALITYAUDIT = S_AUDIT-LOW.
FORMAT INTENSIFIED OFF.
WRITE: 40 'V-MSD/AM8',70 'DATE :'.
WRITE:/40 'REVISION NO.01', 70 'SHIFT:'.
SKIP 1.
WRITE:/35 V_HEAD .
ENDFORM. "TOP_OF_PAGE
*& Form END_OF_LIST
text
FORM END_OF_LIST.
SKIP.
uline at 1(44).
WRITE:/ sy-vline,
8 'No. Of Vehicles without any defects',44 sy-vline.
write:/ sy-vline, 'FRC%=',10 sy-uline(35).
write:/ sy-vline,12 'No. Of Vehicles Checked',44
sy-vline.
write:/ sy-uline(44).
uline at 1(44).
skip.
uline at 1(47).
WRITE:/ sy-vline,
8 'No. Of Vehicles worked within tact time',47 sy-vline.
write:/ sy-vline, 'FBO%=',10 sy-uline(38).
write:/ sy-vline,12 'No. Of Vehicles Checked',47
sy-vline.
write:/ sy-uline(47).
uline at 1(47).
ENDFORM. "END_OF_LIST
*& Form PRINT_PARAMS
text
--> p1 text
<-- p2 text
FORM PRINT_PARAMS .
LS_PRINT-GRPCHGEDIT = 'X'.
LS_PRINT-RESERVELNS = '3'.
LS_PRINT-NO_COLWOPT = 'X'.
ENDFORM. " PRINT_PARAMS
********display data******
perform PRINT_PARAMS.
CALL METHOD GO_GRID->SET_TABLE_FOR_FIRST_DISPLAY
EXPORTING
IS_LAYOUT = LS_LVCLAYOUT
IS_PRINT = LS_PRINT
IT_TOOLBAR_EXCLUDING = IT_EXCLUDE
CHANGING
IT_OUTTAB = <TEMP_TAB>
IT_FIELDCATALOG = LT_LVCFIELDCAT[]
IT_SORT = LVC_TSORT[].
ENDFORM. " DISP_DATA -
Is there any method in Java to convert from system time to variant time?
From MSDN:
A variant time is stored as an 8-byte real value (double), representing a date between January 1, 100 and December 31, 9999, inclusive. The value 2.0 represents January 1, 1900; 3.0 represents January 2, 1900, and so on. Adding 1 to the value increments the date by a day. The fractional part of the value represents the time of day. Therefore, 2.5 represents noon on January 1, 1900; 3.25 represents 6:00 A.M. on January 2, 1900, and so on. Negative numbers represent dates prior to December 30, 1899.
Is there any method in Java to do this or do I need to write it?do I need to write it?yes
-
Is There Any Tool in Java That Can Create Reports?
Is there any tool in Java that can create reports? What is the tool?
Google is your friend
http://www.google.com/search?q=java+reporting+tools&sourceid=mozilla-search&start=0&start=0&ie=utf-8&oe=utf-8
I've heard good things about JasperReports (theres a link on the first results page from the above Google search) but I haven't used it myself. -
Is there any class similar to CL_GUI_FRONTEND_SERVICES for WD4A?
Hi SDN.
I am want to give same functionality i.e. present in CL_GUI_FRONTEND_SERVICES such as create directory, create folder file etc in a web dyn pro.
Is there any class similar to CL_GUI_FRONTEND_SERVICES for WD4A?
If there no similar class then please tell me the alternative way for solving above problem.
This is would be of great help.
Regards,
Rahul.To download a file on desktop you can use method of class" cl_wd_runtime_services"
cl_wd_runtime_services=>attach_file_to_response( ). I have provided a code to download a file to desktop.It may help you to gain a good understanding.
call transformation ('ID') source tab = itab_sflight[] result xml xml_out.
CALL FUNCTION 'CRM_IC_XML_STRING2XSTRING'
EXPORTING
INSTRING = xml_out
IMPORTING
OUTXSTRING = content.
conv_out = cl_abap_conv_out_ce=>create( encoding = 'UTF-8' ).
DATA: lv_filename TYPE string.
* attach the first file
conv_out->convert( exporting data = xml_out IMPORTING buffer = content ).
cl_wd_runtime_services=>attach_file_to_response(
i_filename = 'Sales_order_release.xls'
i_content = content
i_mime_type = 'application/msexcel'
i_in_new_window = i_in_new_window
i_inplace = i_inplace ). -
Are there any classes Apple store offers for new mac owners
Are there any classes Apple store offers for new mac owners, Are there any classes Apple store offers for new mac owners
Yes.
One to One is just $99 for a full year and is available only at the time you buy a Mac from the Apple Retail Store or the Apple Online Store
http://www.apple.com/retail/learn/one-to-one/
http://www.apple.com/retail/learn/one-to-one/terms.html
http://store.apple.com/us/browse/campaigns/onetoone -
Is there any difference in SAP 4.7 and ECC 5.0
Dear,
Is there any difference in SAP 4.7 and ECC 5.0...
Thanx & Regards,
Mohammad NabiHi,
Check this out
Hi I'm providing the ECC 6.0 functionality if you knows the
4.7EE the difference is as follows:
ECC 6.0 New GL Functionality
1.Activate the New General Ledger Accounting by a single
click on the clock icon
2.You will reach to change view "activation of New GL A/cg"
detail screen and tick the checkbox and save.
3. After activation of New General Ledger Accounting, you
exit the IMG screen when you re-enter, you find that a new
node is added Financial Accounting (New)
4.After activation of New General Ledger Accounting; a new
sub node appears in the IMG structure.
This sub node is Define Segment
The menu path is:
SAP Customizing IMG ---> Enterprise Structure -
>
Definition --> Financial Accounting --> Define Segment
In this IMG activity, you define your segments.
If you then define your profit centers, you can enter an
associated segment in the master record of a profit center.
The segment is then derived from the assigned profit center
during posting.
5. Activation has created a new field in Profit Center
Master Record: the SEGMENT
6.Leading and Non- Leading Ledgers
In General Ledger Accounting, you can use several Ledgers
in parallel. This allows you to produce financial
statements according to different accounting principles. A
ledger uses several dimensions from the totals table it is
based upon. When defining Ledgers, one must be defined as
the Leading Ledger. The Leading Ledger is based on the same
accounting principles as that of the consolidated financial
statements. It is integrated with all subsidiary ledgers
and is updated in all company codes. This means that it is
automatically assigned to all company codes. In each
company code, the Leading Ledger receives exactly the same
settings that apply to that company code : the currencies,
the fiscal year variant and posting period variant .
You must designate one of your ledgers as the Leading
Ledger. It is not possible to designate more than one
ledger as the leading ledger.
The menu path is:
SAP Customizing IMG -
> Financial Accounting (New) -
>
Financial Accounting Basic Settings (New) -
> Ledgers ---
-> Ledger -
> Define Ledgers for General Ledger
Accounting
Clicking on the checkbox identifies one of your ledgers as
the Leading Ledger.
7. Activation of Non Leading Ledgers
Non Leading Ledgers are parallel ledgers to the Leading
Ledger . They can be based on local accounting principle,
for example. You have to activate a non- Leading Ledger for
individual company codes. Non- Leading Ledgers can have
different fiscal year variants and posting period variants
per company code to the Leading Ledger of this company
code.
The menu path is :
SAP Customizing IMG -
> Financial Accounting ( New ) -
> Financial Accounting Basic Settings (New) -
> Ledgers -
---> Ledger -
> Define and Activate Non --Leading
Ledgers
8.Assign scenarios to ledgers
A Scenario combines Customizing settings from different
business views. Each business view specifies which posting
data is transferred from different application components
in General Ledger Accounting, such as cost Center update or
Profit Center update .You assign the desired scenarios to
your ledgers. For each ledger, you define which fields are
filled with posting data from other application components.
SAP delivers a number of scenarios in the standard system.
It is not possible to create additional scenarios.
The menu path is:
SAP Customizing IMG -
> Financial Accounting (New) -
> Financial Accounting Basic Settings (New) -
> Ledgers -
--->Fields -
> Display Scenarios for General Ledger
Accounting.
9. Cost of sales accounting
Cost of sales accounting is a way to create a profit and
loss statement (P&L) for a company by comparing the
revenues to the costs or expenses incurred to obtain these
revenues.
The expenses are mainly divided by functional area such as:
Manufacturing
Administration
Sales
Research and Development
We can activate Cost of Sales Accounting by the following
menu path :
SAP Customizing IMG -
> Financial Accounting ( New ) -
-> Financial Accounting Basic Settings (New) -
>
Ledgers ->Ledger---> Activate Cost of Sales Accounting
Offsetting Account Report ECC 5.0
Offsetting account report for vendors in ECC 5.0 is
possible after implementing the OSS Note 1034354
Reward if helpful.
Regards
Ravi -
I live in South Africa and I am looking to get a mac book air to help me with all of my schoolwork and presentations. Are there any discounts that students can get and if so how much of a discount?
Hi, actually there is, but you have to inquire according to Apple.com/za website. Here is the statement:
Student Discounts
Students, staff and academic institutions are eligible for ongoing discounts on Apple products and solutions. Call 011 535 9080 for further information. -
Where is the bookmarks stored?
I Install the Firefox once again since I upgrade my computer.
And I try to move the bookmarks from the old computer to the new one.
But I can't find anyone of them.
Is there any folder just like "favourite" to store the html file?
I really want to find out the bookmarks because actually i can't remember all the website that are important to me~ URGENT!!!~THANKS~You can move file named places.sqlite from your old profile to the new one. It contains bookmarks and browsing history.
Here's a knowledge base article about it: [[Recovering important data from an old profile]]
If you don't care about saving your current bookmarks, you can skip creating new profile (Firefox does it by itself at first run anyway).
I'd might suggest you to install addon https://addons.mozilla.org/en-US/firefox/addon/2410/|Xmarks Bookmark and Password Sync]. It is a free web service which synchronizes bookmarks and (optionally) passwords with central server, and then to other computers, if you installed it on more. You may treat is as a backup too. -
is there any way to view full pdf and office documents opened in safari? they just open partically if they are bigs
Drag them to your iTunes library. Download the free iBooks app. Select the PDFs you want too sync in the iTunes books pane. The iBooks app will show your books collection or your PDFs collection as you select.
-
I've copied my itunes library onto an external hard drive. Is there any way I can do this and delete songs from my PC without also deleting from the external drive? Already lost two songs!!! I just want a back up - using a work PC and don't want others accessing my songs. Hope someone can help. Thanks!
I see. To get a better idea of what is being stored where please download and run the script iTunesInfo which should output something like this:
I'm interested in the block of 4 results starting ITL location. If your profile name shows up somewhere replace it with <Name>. It is also worth checking under Edit > Preferences > Advanced to see where iTunes thinks your media is supposed to go. My script estimates the setting based on the location of the first media file it can actually find.
tt2 -
How Do I Get Java For Mac OSX 10.5.8 On A PowerBook G4 Or Update To Minimum MAC OSX 10.6.8 or later Without Spending Any Tech Mind Of My Own And Also Not Buy ANYTHING AT ALL!!!????? Please Help!!!
Sorry, it's for 64 bit IntelMacs only...
updating Java SE 6 to 1.6.0_26 for 64-bit capable Intel-based Macs.
Java for Mac OS X 10.5 Update 10 -
I have installed mountain lion on my early 2009 macbook (not unibody) and it is terrible, it's like owning a windows pc again (almost) What can I do? I paid for mountain lion, is there any way of giving it back and getting a refund? obvisoulsy after unintalling it. I couldn't see any reason why it would be bad for my particular macbook, and it downloaded without a problem.
In what way is it terrible? Mountain Lion is pretty stable. If you are having problems, most likely they are unique to your particular system and can be fixed. If you don't like some of the new features, that does not constitute reason for a refund.
If that does not suit you, you will have to discuss a refund with Apple, as they are the only ones who can say. Note that the App Store terms do say that all sales are final, so you are not guaranteed a refund, especially since whatever problems you had are not due to defective software.
Maybe you are looking for
-
My uncle is across the country and has turned to me for help on accessing his apple mail account on a pc. Is it as simple as having a web address and typing in his user name and password? His email ends with @sbcglobal.net, but both he and his wife
-
Calendar will not display events in month view?
A few days ago my calendar stopped displaying events in the Month view (where I originally entered them). I can see them in the List view, although I cannot edit them. They are also not visible in the Day view. Moreover at the top of the screen where
-
Urgent help need. DB is crashed. To save it I try to Upgrade from Oracle XE
Hi. We have DB on Oracle XE 10.2.0.1. PC (Windows XP) was reboot and DB don't start with C:\oraclexe\app\oracle\flash_recovery_area\XE\ONLINELOG\O1_MF_2_6YJ6WJX9_.LOG file. It is crashed with 0600 internal error. I have deleted this file and start DB
-
How to change browser title!?!
Does anybody know how to change the browser title?! Using Dreamweaver 8 on a Mac. www.myvirtuemagazine.com on my site it is called "demo" how can I change this? Also does anybody know how to create a little logo in the URL bar at the start of the URL
-
New Password wont let me log in
I had a accident last night. I spilled some water on my Imac Wireless key board (the new one with blue tooth technology). Well thats not the problem the problem arises when I couldnt use one of the keys to type in my password to log into my compute