About Tomcat 4.0.1 setting.....
Hi all,
Since I setup a tomcat on win98 workstation, I can open the a JSP and store the data into database successfully, within my workstation (http://localhost:8080/test). However, the other workstation in LAN can't access my application via my IP (http://xxx.xxx.xxx.xxx/test).
And the following error occur........
HTTP Error 405
405 Method Not Allowed
The method specified in the Request Line is not allowed for the resource identified by the request. Please ensure that you have the proper MIME type set up for the resource you are requesting.
Please contact the server's administrator if this problem persists.
Do my tomcat seting or any computer setting wrong?
Kindly please help :)
Hi All, (Tung)
1.
The error is because the request method is NOT implemented.For example, I want a get, but the servlet did not have a doGet.
http://localhost:8080/servlet/get
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class get extends HttpServlet
public void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException , IOException
HTTP Status 405 - HTTP method GET is not supported by this URL
The specified HTTP method is not allowed for the requested resource
(HTTP method GET is not supported by this URL).
2. Check your code, if the method that you want (doGet, doPost, doDelete, doOptions, doPut, doHead, doTrace, ect..)
are implemented.
-- Paul
Similar Messages
-
Why...about TOMCAT config
i use tomcat 3.2.4
to run my .jsp application i add
<if exist "%TOMCAT_HOME%\lib\IAO.jar" set CP=%CP%;%TOMCAT_HOME%\lib\IAO.jar> in tomcat_home\bin\tomcat.bat
and then i add IAO.jar package into tomcat_home\lib\
so i run startup.bat well
but once i add j2ee.jar as same steps as i do with IAO.jar,
the tomcat can not run at all
is j2ee has confilct with tomcat ....
i am fightting about this problem about 2 hours
pls give me some idea and solve the problemHere's my a.e.bat - Hope this helps;-
SET CLASSPATH=C:\jdk1.3.1\jakarta-tomcat-3.2.3\lib\servlet.jar
SET TOMCAT_HOME=C:\jdk1.3.1\jakarta-tomcat-3.2.3
set JAVA_HOME=C:\jdk1.3.1
PATH C:\WINDOWS;C:\WINDOWS\WINDOWS;C:\DOS;C:\jdk1.3.1\BIN
I've linked Tomcat in the same place as my java bin - but I also have j2sdkee1.3 where I've written servlets for testing -
Looking for a plug-in to pre-configure the firefox setting with following information.
a) Pop-up blocker - Setting an default exception say for specific site
b) about:config - dom.allow_scripts_to_close_windows;true
Set this parameter as true.You could do this by installing a Firefox extension along with Firefox, or by customizing the Firefox installer: http://mike.kaply.com/2010/06/18/customizing-the-firefox-installer-on-windows/
-
I was so excited about apple pay and now setting it up and boom 8 cards and you are done is that the wallet replacement they thought they'll do? really? I mean most people have 10-15 cards at least and I am, well because of my side business I have lots so 8 is nothing to me!
Not sure what you are saying. I was able to very quickly set up my AmEx card - no problems at all. For my PNC and Macy's cards, companies still working on being ApplePay-ready.
It will happen, just not as fast as we might like, but I think it is going to be fabulous. -
My iPad 2 does not say software update between about and usage in general setting anyone know why this any help welcome thanks
Keith. Look in settings, general, about. About halfway down the screen is an entry labeled version. If it is anything lower than 5.0, then you wil not get wireless updates. You need to plug your pad into your computer that you set it up with which is running the current version of I tunes to get the update.
When you plug it in to i tunes, be sure to do a backup. Also, the machine will ask if you want to transfer purchases. Tell it yes. This saves your content and purchased apps and music to your iTunes on the computer. When you do the software update, it will then reload that material onto your pad.
If you have taken any pictures on your pad, be sure to upload those to I photo, or whatever photo library you are using so that they are not lost when you do the upgrade.
Once you get to the current version, any future software updates can be done over the air, not requiring you to use the computer. That feature was enabled with version 5. But it is a good idea to do backup and syncs with your computer from time to time. -
Question about metadata filtering and document sets
Hello,
I have a question about the metadata filtering when using document sets.
When i use the metadata filter for example for "Installatie: P00001" it shows.
But i wan't to show only the document set and not all the documents. Is this possible OOTB?Hi striker,
You can add the "Content Type" in Hierarchy Fields for your list, then click the "Document Set" to filter the document set type item, then you can input the "P00001" in Installatle key filter, click apply, then it should show only document set
items with field value P00001.
http://office.microsoft.com/en-001/sharepoint-help/set-up-metadata-navigation-for-a-list-or-library-HA102832523.aspx
Thanks
Daniel Yang
TechNet Community Support -
Hi all, I'm new to Tomcat and I have a few questions...
1) I have a HttpServlet class in my server. Will an instance of this class be created for each request?. For performance reasons, can I specify a number of instances to be pre-created before user requests? (creating them at user request may be too slow)
2) I'd like to know more about threads in Servlet Containers. If my HttoServlet class has an instance of a class, will the attributes of this class be thread-safe? How does this work?
thank you in advance1) I have a HttpServlet class in my server. Will an
instance of this class be created for each request?.No. There is one instance of each servlet object.
For performance reasons, can I specify a number of
instances to be pre-created before user requests?
(creating them at user request may be too slow)On my laptop creating a simple object takes 0.00000001 seconds. Object creation is fast in Java; don't worry about it (unless you really are trying to create a hundred million objects per second and profiling shows that's the bottleneck in your application.)
2) I'd like to know more about threads in Servlet
Containers. If my HttoServlet class has an instance
of a class, will the attributes of this class be
thread-safe? How does this work?Don't put fields in servlets. Synchronize access to any data that are shared between threads. -
Select information about programs of sceduled report sets
Hi,
We would like to get information about all scheduled Report Sets in our production system.
We need names of each 'Report Set', when it's report set - each program under it, and parameters passed for all Report Sets that were scheduled.
For Report set we need to know schedule too.
We use Oracle Apps 11.5.10.2
Could someone help me?
Thanks,
AlexHi Alex,
In this case, you will have to include FND_RUN_REQUESTS tables (and other tables if required -- see eTRM for details) to those queries. I do not have a ready query to share, but I think with the help of the documents referenced above you can write this query.
Regards,
Hussein -
Please tell me about Enhancement Technique like BTE , SET and Formula
Hi Experts .
Please guide me about Enhancement Techniques used in SAP apart from BADI/User-Exit .
1.) what is set and how to create it ?
2.) What is formula is SAP and How to set it for Enhancement Pupose .
3.) What is BTE (Buisness Transection Events) ? How to create it for Enhancement Pupose ?
Please Elabarate the reply with step by step procedure .
Thanx .
Regards : RajneeshHi rajneesh mittal ,
Business Transaction Events
Business Transaction Events (Open FI) The Open FI enhancement technique was developed in the Financial Accounting component. Open FI is based upon the following principles: Application developers must define their interface in a function module, an assignment table is read in the accompanying (generated) code, and the customer modules assigned are called dynamically. This technique differentiates between enhancements that are only allowed to have one implementation and enhancements that can call multiple implementations in any sequence desired. Both industry-specific and country-specific enhancements may be defined.
SAP business transaction events are one type of customer enhancements provided by SAP! We can access the business transaction events using FIBF.Next we have to find the process interface for duplicate invoice check!
check this blog for details on SAP business transaction events
Business Transaction Events
Business Transaction Events
http://fuller.mit.edu/user_exits/business_transaction_event.htm
FI Enhancement Technique How-To-Guide on the Usage of Business Transaction Events (BTE)
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/207835fb-0a01-0010-34b4-fef1240ba9b7
Creation of Events via Business Transaction Events
http://help.sap.com/saphelp_nw04/helpdata/en/3b/7f3e8be57c11d1951f0000e82dec10/content.htm
In SAP R/3 you must activate the business transaction events (BTEs) for Availability Check Using SAP R/3. To set this indicator in SAP R/3:........
http://help.sap.com/saphelp_crm40/helpdata/en/b6/de3efc6bbcdc4b948d466857a10323/content.htm
cheers!
gyanaraj
****Pls reward points if u find this helpful -
ITS URGENT,please can anyone tell me how to install tomcat including how we developing an application in tomcat.I am already installed tomcat in an anither computer ,it works properly,but now it is not working so please anyone help me in this matter.
Bishnu_Panda wrote:
ITS URGENTCompletely irrelevant. That's your problem, not ours.
please can anyone tell me how to install tomcat Tomcat comes along with good documentation. Start here: [http://tomcat.apache.org/tomcat-6.0-doc/index.html]. There's a section called 'Setup'.
including how we developing an application in tomcat.You normally don't develop for a specific application server. Just follow the JSP/Servlet standard. All you need to do is to create a WAR of the application and deploy it.
I am already installed tomcat in an anither computer,it works properly, You are installed?
but now it is not working so please anyone help me in this matter.You need to elaborate a bit more about "not working". What happens and what happens not? Do you get any error messages or exceptions? Do you have read the server's logs? Those are really helpful in understanding the cause of the problem so that you can solve it easily. -
Newbie thread about global variables and result set
Hello everyone this is my first post, im from colombia and now im learning about this world !! the WCC !!
Now im doing a practice but im so noob that i cant get it so far... i wrote some of the oracle documentation.. and it was so usefull for starting.. but now im trying to do custom components builded in java + resources + services + template etcc .. all good stuff :D.
i want to retrieve a result set coming from a custom service ... and then i want to store this result set in some kind of global variable !! why ? because i want to use this data from the result set again and again without making more call to the service !!
ive tried to copy this resultset but i think it cant be done because i use a popUp window to display the rows from the RS.. and when i close the window .. it dies!!
i want to use this RS for 3 custom metadata field.. but i have no idea how to do this....
this is a part of my custom resource
<$if fieldName like "xElaborador"$>
<$executeService("SERVICE_ALLUSERS")$>
<$trace(" ### executing service ###","#log")$>
<!--i tried to copy the rs here but this is wrong i guess -->
<$nuevoRS="usuarios_LDAP"$>
<$endif$>
<!-- usuarios_LDAP is the RS parameter coming from the java calss -->
<$if rsExists("usuarios_LDAP")$>
<$if rsFirst("usuarios_LDAP")$>
<$loop usuarios_LDAP$>
<$trace(" ### inside RS ###","#log")$>
<$include each_user_LDAP$>
<$endloop$>
<$else$>
<$include therearenotusers$>
<$endif$>
<$endif$>
<!-- THIS CODE IS USELSS BASICALLY-->
<$if fieldName like "xRevisor"$>
<$if rsExists("nuevoRS")$>
<$if rsFirst("nuevoRS")$>
<$loop nuevoRS$>
<$trace(" ### inside rs for revisor ###","#log")$>
<$include each_user_LDAP$>
<$endloop$>
<$else$>
<$include therearenotusers$>
<$endif$>
<$endif$>
<$endif$>
pls tell me if im too lost im all ears to learn the good practices for this tool.Hi ,
One of the good resource on this topic is :
http://jonathanhult.com/blog/2012/11/resultset-versus-dataresultset/
Thanks,
Srinath -
My Mac computer freezes after running for 15 min even after seeting the energy saving to 3 hours. Any ideas how to stop the freezing/
Hi Teodorafrombc,
Thanks for visiting Apple Support Communities.
If your computer is becoming unresponsive, you may want to see if specific applications are causing this behavior. Try using the Force Quit menu to check for unresponsive applications:
Using the Force Quit feature of OS X makes an application close, even when it is not responsive.
Important: Normally you should not need to force quit an app to close it. When an app is forced to quit, any unsaved changes to open documents are not saved, so try these methods to normally close the app first:
Choose Quit from the app menu. For example, in Safari, choose Safari > Quit Safari.
Choose Quit by right-clicking or control-clicking on an app's icon in the Dock
You can find the article with these steps here:
OS X: How to quit an unresponsive application using Force Quit
http://support.apple.com/kb/ht3411
If your display is going blank or seems to be going to sleep unexpectedly, try these steps first:
Reset the system
You can reset the Mac's parameter RAM and SMC.
You can find the article with these steps and more information here:
Apple computers: Troubleshooting issues with video on internal or external displays
http://support.apple.com/kb/ht1573
If these steps don't resolve the issue, feel free to reply with more information about the symptoms you are experiencing.
Best,
Jeremy -
Does anyone know anything about Tomcat security policy?
I already searched the forum, but no help:(
Any expert out there that can help me a little on Catalina.policy file?
Thanks
Please see this thread:
http://forum.java.sun.com/thread.jsp?forum=33&thread=510173the tomcat is the container of servlets. Catalina.policy is filed under conf. i think this is where you grant the permission for the servlets contained therein. i hop this helps.
-
Hello,
In the webapps folder of tomcat I setup my file structure for my application.
This being:
tomcat/webapps/dbtest
tomcat/webapps/dbtest/src/ ----- src contains the .java files
tomcat/webapps/dbtest/web/ ------ web contains the .jsp and html files
tomcat/webapps/dbtest/web/web-inf/ ---- web-inf contains web.xml
tomcat/webapps/dbtest/web/web-inf/classes/code/ ------- contains the .class file
Placing the jsp and html files in the web folders, I discovered allows these files to be accessed using something like:
http://localhost/dbtest/addfiles.jsp
But for security reasons should the .jsp files be placed in the web-inf folder, and called by a servlet. So the jsp pages cannot be directly accessed by the user?
Or if I move the jsp files to the web-inf folder would I need to add the jsp pages in the web.xml?
Thanksmove the class file to
C:\Program Files\Apache Group\Tomcat 4.1\webapps\ROOT\WEB-INF\classes
change the HTML to
FORM action='http://localhost:8080/servlet/HTTPGetServlet' METHOD = 'GET'>
The servlet classes need to be under WEB-INF/classes and accessed with /servlet in the url. -
The site was JustCloud.com, and it wasn't every page that triggered the warning. I've looked through Options: Security, Advanced, etc., and can't find access to the stored exception in order to remove it. Below is the URL of one page that triggered it:
How did Firefox showed that warning?
Was the a pop-up on a sliding bar at the top of the browser page or a message on the web page?
Do you remember any content of that message?
Was it about a certificate (secure connection)?
Rename the file "permissions.sqlite" to permissions.sqlite.sav in the Firefox Profile Folder to remove all exceptions (cookies, images, pop-ups, software).
If renaming didn't help then you can undo and rename the file permissions.sqlite.sav to permissions.sqlite to get back the old exceptions.
You can use this button to go to the Firefox profile folder:
*Help > Troubleshooting Information > Profile Directory: Open Containing Folder
Please update Firefox to the latest version via "Help > About Firefox" or "Help > Check for Updates"
The Firefox Firefox/4.0.1 version that you currently run is no longer supported with security updates.
*http://en.wikipedia.org/wiki/Vulnerability_(computing)
*http://www.mozilla.org/security/known-vulnerabilities/
You can find the latest Firefox release in all languages and for all Operating Systems here:
*Firefox 10.0.x: http://www.mozilla.org/en-US/firefox/all.html
Maybe you are looking for
-
Mac mini (MB463LL/A) giving static sound
Hi, I have this mac mini - MB463LL/A - and it has worked perfectly well without any issues all this well. But of late it started giving a static sound (don't know how to explain it, but it sounds like a sound from radio transmission or FM). It's cont
-
Hi, I have a problem with some cr2 files. If I download the files from my camera to my computer, preview displays them fine, but if I add some meta-data to the files (GPS coordinates) they result corrupted according to preview, but are being opened b
-
As a long time Quicktime user, I've overcome every obstacle until now. ("Grrrrr!" sayeth he.) In trying to play avi's, I'm finding most files won't play sound, and have downloaded DivX 5.2.1 and VP3.2 for Quicktime. Instructions dictate I must "enabl
-
I use my secondary monitor to see movies on a video projector, is there a way to turn off the primary monitor of my imac? Anybody could help me? Thanks Andrea Ambrosi
-
"The file you selected does not exist" when the file definitely exists?
Hi all, Using Contribute CS3 against Contribute Publishing Server-- I have the site uploaded and set up within Contribute and CPS. But I am experiencing consistent "The selected file does not exist" errors whenever I try to open most documents within