Connect the WIFI adapter and add it in VirtualBox USB Settings TP-Link TL-WN725N 150Mbps Wireless N Nano USB Adapter https://www.amazon.in/gp/product/B008IFXQFU Check the Adapter Chippet lsusb Bus 001 Device 002 : ID 2357 : 0109 TP-Link TL-WN823N v2 / v3 [Realtek RTL8192EU] Bus 001 Device 001 : ID 1 d6b: 0002 Linux Foundation 2 . 0 root hub Bus 002 Device 002 : ID 80 ee: 0021 VirtualBox USB Tablet Bus 002 Device 001 : ID 1 d6b: 0001 Linux Foundation 1 . 1 root hub Find Appropriate Driver for Realtek RTL8192EU from GitHub https://github.com/clnhub/rtl8192eu-linux Install the dependencies sudo apt install linux-headers-generic build-essential dkms git Clone the Driver git clone https://github.com/clnhub/rtl8192eu-linux.git Configure the Architecture and Monitor Mode Open MakeFile in Text Editor or Nano If you're using a different architecture than x86, the set (MakeFile) CONFIG_PLATFORM_I386_PC = n set your architecture CONFIG_PLATFORM_ARM_AARCH64...
Get link
Facebook
X
Pinterest
Email
Other Apps
Developing Java Servlet Web Application using Eclipse and Tomcat Server
Get link
Facebook
X
Pinterest
Email
Other Apps
Servlet is a Java technology used for developing Web Applications and managed by a container called a servlet engine. It generates dynamic content and interacts with the client through Request and Response. Servlet extends the functionality of a web server. Java Servlet API is available in javax.servlet package.
Web Application Architecture (Three Tier)
Presentation Layer
Client layer: to view the application)
Application Layer
Business Logic Layer : interacts with the Database layer and sends required information to the Presentation layer
Data Layer
The data is stored in this layer. The application layer communicates with the Database layer to retrieve the data
Java Servlet Life-Cycle
The Java Servlet Life cycle includes three stages,
init() : gets invoked is when the servers are fired up
service() : the service requests from the client end
destroy() : Servlet performs the cleanup activities
Creating Dynamic Web Project using Eclipse
Download eclipse from the following link (For Windows 64 Bit)
Connect the WIFI adapter and add it in VirtualBox USB Settings TP-Link TL-WN725N 150Mbps Wireless N Nano USB Adapter https://www.amazon.in/gp/product/B008IFXQFU Check the Adapter Chippet lsusb Bus 001 Device 002 : ID 2357 : 0109 TP-Link TL-WN823N v2 / v3 [Realtek RTL8192EU] Bus 001 Device 001 : ID 1 d6b: 0002 Linux Foundation 2 . 0 root hub Bus 002 Device 002 : ID 80 ee: 0021 VirtualBox USB Tablet Bus 002 Device 001 : ID 1 d6b: 0001 Linux Foundation 1 . 1 root hub Find Appropriate Driver for Realtek RTL8192EU from GitHub https://github.com/clnhub/rtl8192eu-linux Install the dependencies sudo apt install linux-headers-generic build-essential dkms git Clone the Driver git clone https://github.com/clnhub/rtl8192eu-linux.git Configure the Architecture and Monitor Mode Open MakeFile in Text Editor or Nano If you're using a different architecture than x86, the set (MakeFile) CONFIG_PLATFORM_I386_PC = n set your architecture CONFIG_PLATFORM_ARM_AARCH64...
Download the plugin: You can either download the plugin from the Redmine plugin directory or from a third-party source. https://www.redmine.org/plugins https://github.com/haru/redmine_code_review/releases/tag/1.1.0 Install the plugin: Extract the Archive file and Place the plugin in the "plugins" directory of your Redmine installation. The path should look like "redmine_root/plugins/". sudo cp -r redmine_code_review/ /opt/redmine/plugins Restart Redmine: Restart the Redmine application and Apache web Server to ensure that it recognizes the new plugin. cd /opt/ redmine/ sudo rake redmine: plugins: migrate RAILS_ENV=production sudo sudo systemctl reload apache2 Activate the plugin: Log in to your Redmine application as an administrator, then go to the "Administration" section and click on "Plugins". Find the newly installed plugin and click on the "Configure" link to activate it. Configure the plugin: Some plugins may...
ChatGPT is a powerful language model developed by OpenAI that can generate human-like text. It can be used for a variety of tasks such as language translation, text summarization, and conversation generation. In this document, we will go over the basics of using ChatGPT. Prerequisites In order to use ChatGPT, you will need to have Python 3 and the OpenAI API key. You can sign up for a free API key on the OpenAI website. Installation To use ChatGPT, you will need to install the openai python package. You can do this by running the following command: import openai openai .api_key = "YOUR_API_KEY" prompt = "Write a short story about a robot" completions = openai .Completion .create ( engine= "text-davinci-002" , prompt=prompt, max_tokens= 1024 , n= 1 , stop=None, temperature= 0.5 , ) message = completions .choices [ 0 ] .text print (message) In this example, we are using the text-davinci-002 engine, which is the latest ve...
Comments
Post a Comment